| OLD | NEW |
| 1 #! /bin/sh | 1 #! /bin/sh |
| 2 # Guess values for system-dependent variables and create Makefiles. | 2 # Guess values for system-dependent variables and create Makefiles. |
| 3 # Generated by GNU Autoconf 2.61 for yasm 0.8.0. | 3 # Generated by GNU Autoconf 2.65 for yasm 1.1.0. |
| 4 # | 4 # |
| 5 # Report bugs to <bug-yasm@tortall.net>. | 5 # Report bugs to <bug-yasm@tortall.net>. |
| 6 # | 6 # |
| 7 # |
| 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 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 # This configure script is free software; the Free Software Foundation | 13 # This configure script is free software; the Free Software Foundation |
| 10 # gives unlimited permission to copy, distribute and modify it. | 14 # gives unlimited permission to copy, distribute and modify it. |
| 11 ## --------------------- ## | 15 ## -------------------- ## |
| 12 ## M4sh Initialization. ## | 16 ## M4sh Initialization. ## |
| 13 ## --------------------- ## | 17 ## -------------------- ## |
| 14 | 18 |
| 15 # Be more Bourne compatible | 19 # Be more Bourne compatible |
| 16 DUALCASE=1; export DUALCASE # for MKS sh | 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 emulate sh | 22 emulate sh |
| 19 NULLCMD=: | 23 NULLCMD=: |
| 20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 21 # is contrary to our usage. Disable this feature. | 25 # is contrary to our usage. Disable this feature. |
| 22 alias -g '${1+"$@"}'='"$@"' | 26 alias -g '${1+"$@"}'='"$@"' |
| 23 setopt NO_GLOB_SUBST | 27 setopt NO_GLOB_SUBST |
| 24 else | 28 else |
| 25 case `(set -o) 2>/dev/null` in | 29 case `(set -o) 2>/dev/null` in #( |
| 26 *posix*) set -o posix ;; | 30 *posix*) : |
| 31 set -o posix ;; #( |
| 32 *) : |
| 33 ;; |
| 27 esac | 34 esac |
| 28 | |
| 29 fi | 35 fi |
| 30 | 36 |
| 31 | 37 |
| 32 | 38 as_nl=' |
| 33 | 39 ' |
| 34 # PATH needs CR | 40 export as_nl |
| 35 # Avoid depending upon Character Ranges. | 41 # Printing a long string crashes Solaris 7 /usr/bin/printf. |
| 36 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
| 38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
| 39 as_cr_digits='0123456789' | 45 # Prefer a ksh shell builtin over an external printf program on Solaris, |
| 40 as_cr_alnum=$as_cr_Letters$as_cr_digits | 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 # The user is always right. | 76 # The user is always right. |
| 43 if test "${PATH_SEPARATOR+set}" != set; then | 77 if test "${PATH_SEPARATOR+set}" != set; then |
| 44 echo "#! /bin/sh" >conf$$.sh | 78 PATH_SEPARATOR=: |
| 45 echo "exit 0" >>conf$$.sh | 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
| 46 chmod +x conf$$.sh | 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
| 47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 81 PATH_SEPARATOR=';' |
| 48 PATH_SEPARATOR=';' | 82 } |
| 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 | |
| 60 fi | 83 fi |
| 61 | 84 |
| 62 | 85 |
| 63 # IFS | 86 # IFS |
| 64 # We need space, tab and new line, in precisely that order. Quoting is | 87 # We need space, tab and new line, in precisely that order. Quoting is |
| 65 # there to prevent editors from complaining about space-tab. | 88 # there to prevent editors from complaining about space-tab. |
| 66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
| 67 # splitting by setting IFS to empty value.) | 90 # splitting by setting IFS to empty value.) |
| 68 as_nl=' | |
| 69 ' | |
| 70 IFS=" "" $as_nl" | 91 IFS=" "" $as_nl" |
| 71 | 92 |
| 72 # Find who we are. Look in the path if we contain no directory separator. | 93 # Find who we are. Look in the path if we contain no directory separator. |
| 73 case $0 in | 94 case $0 in #(( |
| 74 *[\\/]* ) as_myself=$0 ;; | 95 *[\\/]* ) as_myself=$0 ;; |
| 75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 76 for as_dir in $PATH | 97 for as_dir in $PATH |
| 77 do | 98 do |
| 78 IFS=$as_save_IFS | 99 IFS=$as_save_IFS |
| 79 test -z "$as_dir" && as_dir=. | 100 test -z "$as_dir" && as_dir=. |
| 80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 81 done | 102 done |
| 82 IFS=$as_save_IFS | 103 IFS=$as_save_IFS |
| 83 | 104 |
| 84 ;; | 105 ;; |
| 85 esac | 106 esac |
| 86 # We did not find ourselves, most probably we were run as `sh COMMAND' | 107 # We did not find ourselves, most probably we were run as `sh COMMAND' |
| 87 # in which case we are not to be found in the path. | 108 # in which case we are not to be found in the path. |
| 88 if test "x$as_myself" = x; then | 109 if test "x$as_myself" = x; then |
| 89 as_myself=$0 | 110 as_myself=$0 |
| 90 fi | 111 fi |
| 91 if test ! -f "$as_myself"; then | 112 if test ! -f "$as_myself"; then |
| 92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name"
>&2 | 113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file n
ame" >&2 |
| 93 { (exit 1); exit 1; } | 114 exit 1 |
| 94 fi | 115 fi |
| 95 | 116 |
| 96 # Work around bugs in pre-3.0 UWIN ksh. | 117 # Unset variables that we do not need and which cause bugs (e.g. in |
| 97 for as_var in ENV MAIL MAILPATH | 118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
| 98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | 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 done | 124 done |
| 100 PS1='$ ' | 125 PS1='$ ' |
| 101 PS2='> ' | 126 PS2='> ' |
| 102 PS4='+ ' | 127 PS4='+ ' |
| 103 | 128 |
| 104 # NLS nuisances. | 129 # NLS nuisances. |
| 105 for as_var in \ | 130 LC_ALL=C |
| 106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 131 export LC_ALL |
| 107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 132 LANGUAGE=C |
| 108 LC_TELEPHONE LC_TIME | 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 do | 188 do |
| 110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | 189 IFS=$as_save_IFS |
| 111 eval $as_var=C; export $as_var | 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 "$SHEL
L"; } 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 else | 232 else |
| 113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | 233 $as_echo "$0: Please tell bug-autoconf@gnu.org and |
| 234 $0: bug-yasm@tortall.net about your system, including any |
| 235 $0: error possibly output before this message. Then install |
| 236 $0: a modern shell, or manually run the script under such a |
| 237 $0: shell if you do have one." |
| 114 fi | 238 fi |
| 115 done | 239 exit 1 |
| 116 | 240 fi |
| 117 # Required to use basename. | 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 if expr a : '\(a\)' >/dev/null 2>&1 && | 378 if expr a : '\(a\)' >/dev/null 2>&1 && |
| 119 test "X`expr 00001 : '.*\(...\)'`" = X001; then | 379 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 120 as_expr=expr | 380 as_expr=expr |
| 121 else | 381 else |
| 122 as_expr=false | 382 as_expr=false |
| 123 fi | 383 fi |
| 124 | 384 |
| 125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | 385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 126 as_basename=basename | 386 as_basename=basename |
| 127 else | 387 else |
| 128 as_basename=false | 388 as_basename=false |
| 129 fi | 389 fi |
| 130 | 390 |
| 131 | 391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 132 # Name of the executable. | 392 as_dirname=dirname |
| 393 else |
| 394 as_dirname=false |
| 395 fi |
| 396 |
| 133 as_me=`$as_basename -- "$0" || | 397 as_me=`$as_basename -- "$0" || |
| 134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 135 X"$0" : 'X\(//\)$' \| \ | 399 X"$0" : 'X\(//\)$' \| \ |
| 136 X"$0" : 'X\(/\)' \| . 2>/dev/null || | 400 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 137 echo X/"$0" | | 401 $as_echo X/"$0" | |
| 138 sed '/^.*\/\([^/][^/]*\)\/*$/{ | 402 sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 139 s//\1/ | 403 s//\1/ |
| 140 q | 404 q |
| 141 } | 405 } |
| 142 /^X\/\(\/\/\)$/{ | 406 /^X\/\(\/\/\)$/{ |
| 143 s//\1/ | 407 s//\1/ |
| 144 q | 408 q |
| 145 } | 409 } |
| 146 /^X\/\(\/\).*/{ | 410 /^X\/\(\/\).*/{ |
| 147 s//\1/ | 411 s//\1/ |
| 148 q | 412 q |
| 149 } | 413 } |
| 150 s/.*/./; q'` | 414 s/.*/./; q'` |
| 151 | 415 |
| 152 # CDPATH. | 416 # Avoid depending upon Character Ranges. |
| 153 $as_unset CDPATH | 417 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 154 | 418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 155 | 419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 156 if test "x$CONFIG_SHELL" = x; then | 420 as_cr_digits='0123456789' |
| 157 if (eval ":") 2>/dev/null; then | 421 as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 158 as_have_required=yes | 422 |
| 159 else | 423 |
| 160 as_have_required=no | 424 as_lineno_1=$LINENO as_lineno_1a=$LINENO |
| 161 fi | 425 as_lineno_2=$LINENO as_lineno_2a=$LINENO |
| 162 | 426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
| 163 if test $as_have_required = yes && » (eval ": | 427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
| 164 (as_func_return () { | 428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
| 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. :-) | |
| 440 sed -n ' | 429 sed -n ' |
| 441 p | 430 p |
| 442 /[$]LINENO/= | 431 /[$]LINENO/= |
| 443 ' <$as_myself | | 432 ' <$as_myself | |
| 444 sed ' | 433 sed ' |
| 445 s/[$]LINENO.*/&-/ | 434 s/[$]LINENO.*/&-/ |
| 446 t lineno | 435 t lineno |
| 447 b | 436 b |
| 448 :lineno | 437 :lineno |
| 449 N | 438 N |
| 450 :loop | 439 :loop |
| 451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | 440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
| 452 t loop | 441 t loop |
| 453 s/-\n.*// | 442 s/-\n.*// |
| 454 ' >$as_me.lineno && | 443 ' >$as_me.lineno && |
| 455 chmod +x "$as_me.lineno" || | 444 chmod +x "$as_me.lineno" || |
| 456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell
" >&2 | 445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX s
hell" >&2; as_fn_exit 1; } |
| 457 { (exit 1); exit 1; }; } | |
| 458 | 446 |
| 459 # Don't try to exec as it changes $[0], causing all sort of problems | 447 # Don't try to exec as it changes $[0], causing all sort of problems |
| 460 # (the dirname of $[0] is not the place where we might find the | 448 # (the dirname of $[0] is not the place where we might find the |
| 461 # original and so on. Autoconf is especially sensitive to this). | 449 # original and so on. Autoconf is especially sensitive to this). |
| 462 . "./$as_me.lineno" | 450 . "./$as_me.lineno" |
| 463 # Exit status is that of the last command. | 451 # Exit status is that of the last command. |
| 464 exit | 452 exit |
| 465 } | 453 } |
| 466 | 454 |
| 467 | |
| 468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
| 469 as_dirname=dirname | |
| 470 else | |
| 471 as_dirname=false | |
| 472 fi | |
| 473 | |
| 474 ECHO_C= ECHO_N= ECHO_T= | 455 ECHO_C= ECHO_N= ECHO_T= |
| 475 case `echo -n x` in | 456 case `echo -n x` in #((((( |
| 476 -n*) | 457 -n*) |
| 477 case `echo 'x\c'` in | 458 case `echo 'xy\c'` in |
| 478 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | 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 esac;; | 463 esac;; |
| 481 *) | 464 *) |
| 482 ECHO_N='-n';; | 465 ECHO_N='-n';; |
| 483 esac | 466 esac |
| 484 | 467 |
| 485 if expr a : '\(a\)' >/dev/null 2>&1 && | |
| 486 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
| 487 as_expr=expr | |
| 488 else | |
| 489 as_expr=false | |
| 490 fi | |
| 491 | |
| 492 rm -f conf$$ conf$$.exe conf$$.file | 468 rm -f conf$$ conf$$.exe conf$$.file |
| 493 if test -d conf$$.dir; then | 469 if test -d conf$$.dir; then |
| 494 rm -f conf$$.dir/conf$$.file | 470 rm -f conf$$.dir/conf$$.file |
| 495 else | 471 else |
| 496 rm -f conf$$.dir | 472 rm -f conf$$.dir |
| 497 mkdir conf$$.dir | 473 mkdir conf$$.dir 2>/dev/null |
| 498 fi | 474 fi |
| 499 echo >conf$$.file | 475 if (echo >conf$$.file) 2>/dev/null; then |
| 500 if ln -s conf$$.file conf$$ 2>/dev/null; then | 476 if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 501 as_ln_s='ln -s' | 477 as_ln_s='ln -s' |
| 502 # ... but there are two gotchas: | 478 # ... but there are two gotchas: |
| 503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | 479 # 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. | 480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 505 # In both cases, we have to default to `cp -p'. | 481 # In both cases, we have to default to `cp -p'. |
| 506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | 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 as_ln_s='cp -p' | 487 as_ln_s='cp -p' |
| 508 elif ln conf$$.file conf$$ 2>/dev/null; then | 488 fi |
| 509 as_ln_s=ln | |
| 510 else | 489 else |
| 511 as_ln_s='cp -p' | 490 as_ln_s='cp -p' |
| 512 fi | 491 fi |
| 513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 514 rmdir conf$$.dir 2>/dev/null | 493 rmdir conf$$.dir 2>/dev/null |
| 515 | 494 |
| 516 if mkdir -p . 2>/dev/null; then | 495 if mkdir -p . 2>/dev/null; then |
| 517 as_mkdir_p=: | 496 as_mkdir_p='mkdir -p "$as_dir"' |
| 518 else | 497 else |
| 519 test -d ./-p && rmdir ./-p | 498 test -d ./-p && rmdir ./-p |
| 520 as_mkdir_p=false | 499 as_mkdir_p=false |
| 521 fi | 500 fi |
| 522 | 501 |
| 523 if test -x / >/dev/null 2>&1; then | 502 if test -x / >/dev/null 2>&1; then |
| 524 as_test_x='test -x' | 503 as_test_x='test -x' |
| 525 else | 504 else |
| 526 if ls -dL / >/dev/null 2>&1; then | 505 if ls -dL / >/dev/null 2>&1; then |
| 527 as_ls_L_option=L | 506 as_ls_L_option=L |
| 528 else | 507 else |
| 529 as_ls_L_option= | 508 as_ls_L_option= |
| 530 fi | 509 fi |
| 531 as_test_x=' | 510 as_test_x=' |
| 532 eval sh -c '\'' | 511 eval sh -c '\'' |
| 533 if test -d "$1"; then | 512 if test -d "$1"; then |
| 534 test -d "$1/."; | 513 » test -d "$1/."; |
| 535 else | 514 else |
| 536 » case $1 in | 515 » case $1 in #( |
| 537 -*)set "./$1";; | 516 » -*)set "./$1";; |
| 538 esac; | 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 ???[sx]*):;;*)false;;esac;fi | 519 ???[sx]*):;;*)false;;esac;fi |
| 541 '\'' sh | 520 '\'' sh |
| 542 ' | 521 ' |
| 543 fi | 522 fi |
| 544 as_executable_p=$as_test_x | 523 as_executable_p=$as_test_x |
| 545 | 524 |
| 546 # Sed expression to map a string onto a valid CPP name. | 525 # Sed expression to map a string onto a valid CPP name. |
| 547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 548 | 527 |
| 549 # Sed expression to map a string onto a valid variable name. | 528 # Sed expression to map a string onto a valid variable name. |
| 550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 551 | 530 |
| 552 | 531 |
| 553 | 532 test -n "$DJDIR" || exec 7<&0 </dev/null |
| 554 exec 7<&0 </dev/null 6>&1 | 533 exec 6>&1 |
| 555 | 534 |
| 556 # Name of the host. | 535 # Name of the host. |
| 557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 536 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
| 558 # so uname gets run too. | 537 # so uname gets run too. |
| 559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 538 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
| 560 | 539 |
| 561 # | 540 # |
| 562 # Initializations. | 541 # Initializations. |
| 563 # | 542 # |
| 564 ac_default_prefix=/usr/local | 543 ac_default_prefix=/usr/local |
| 565 ac_clean_files= | 544 ac_clean_files= |
| 566 ac_config_libobj_dir=. | 545 ac_config_libobj_dir=. |
| 567 LIBOBJS= | 546 LIBOBJS= |
| 568 cross_compiling=no | 547 cross_compiling=no |
| 569 subdirs= | 548 subdirs= |
| 570 MFLAGS= | 549 MFLAGS= |
| 571 MAKEFLAGS= | 550 MAKEFLAGS= |
| 572 SHELL=${CONFIG_SHELL-/bin/sh} | |
| 573 | 551 |
| 574 # Identity of this package. | 552 # Identity of this package. |
| 575 PACKAGE_NAME='yasm' | 553 PACKAGE_NAME='yasm' |
| 576 PACKAGE_TARNAME='yasm' | 554 PACKAGE_TARNAME='yasm' |
| 577 PACKAGE_VERSION='0.8.0' | 555 PACKAGE_VERSION='1.1.0' |
| 578 PACKAGE_STRING='yasm 0.8.0' | 556 PACKAGE_STRING='yasm 1.1.0' |
| 579 PACKAGE_BUGREPORT='bug-yasm@tortall.net' | 557 PACKAGE_BUGREPORT='bug-yasm@tortall.net' |
| 558 PACKAGE_URL='' |
| 580 | 559 |
| 581 # Factoring default headers for most tests. | 560 # Factoring default headers for most tests. |
| 582 ac_includes_default="\ | 561 ac_includes_default="\ |
| 583 #include <stdio.h> | 562 #include <stdio.h> |
| 584 #ifdef HAVE_SYS_TYPES_H | 563 #ifdef HAVE_SYS_TYPES_H |
| 585 # include <sys/types.h> | 564 # include <sys/types.h> |
| 586 #endif | 565 #endif |
| 587 #ifdef HAVE_SYS_STAT_H | 566 #ifdef HAVE_SYS_STAT_H |
| 588 # include <sys/stat.h> | 567 # include <sys/stat.h> |
| 589 #endif | 568 #endif |
| (...skipping 18 matching lines...) Expand all Loading... |
| 608 # include <inttypes.h> | 587 # include <inttypes.h> |
| 609 #endif | 588 #endif |
| 610 #ifdef HAVE_STDINT_H | 589 #ifdef HAVE_STDINT_H |
| 611 # include <stdint.h> | 590 # include <stdint.h> |
| 612 #endif | 591 #endif |
| 613 #ifdef HAVE_UNISTD_H | 592 #ifdef HAVE_UNISTD_H |
| 614 # include <unistd.h> | 593 # include <unistd.h> |
| 615 #endif" | 594 #endif" |
| 616 | 595 |
| 617 gt_needs= | 596 gt_needs= |
| 618 ac_subst_vars='SHELL | 597 ac_subst_vars='am__EXEEXT_FALSE |
| 598 am__EXEEXT_TRUE |
| 599 LTLIBOBJS |
| 600 LIBOBJS |
| 601 HAVE_PYTHON_BINDINGS_FALSE |
| 602 HAVE_PYTHON_BINDINGS_TRUE |
| 603 HAVE_PYTHON_FALSE |
| 604 HAVE_PYTHON_TRUE |
| 605 PYTHON_INCLUDES |
| 606 pkgpyexecdir |
| 607 pyexecdir |
| 608 pkgpythondir |
| 609 pythondir |
| 610 PYTHON_PLATFORM |
| 611 PYTHON_EXEC_PREFIX |
| 612 PYTHON_PREFIX |
| 613 PYTHON_VERSION |
| 614 PYTHON |
| 615 CPP_FOR_HOST |
| 616 CCLD_FOR_BUILD |
| 617 CC_FOR_BUILD |
| 618 MORE_CFLAGS |
| 619 GCC |
| 620 ARCH |
| 621 POSUB |
| 622 LTLIBINTL |
| 623 LIBINTL |
| 624 INTLLIBS |
| 625 LTLIBICONV |
| 626 LIBICONV |
| 627 host_os |
| 628 host_vendor |
| 629 host_cpu |
| 630 host |
| 631 build_os |
| 632 build_vendor |
| 633 build_cpu |
| 634 build |
| 635 XGETTEXT_EXTRA_OPTIONS |
| 636 MSGMERGE |
| 637 XGETTEXT_015 |
| 638 XGETTEXT |
| 639 GMSGFMT_015 |
| 640 MSGFMT_015 |
| 641 GMSGFMT |
| 642 MSGFMT |
| 643 GETTEXT_MACRO_VERSION |
| 644 USE_NLS |
| 645 EGREP |
| 646 GREP |
| 647 BUILD_MAN_FALSE |
| 648 BUILD_MAN_TRUE |
| 649 XMLTO |
| 650 RANLIB |
| 651 ac_ct_AR |
| 652 AR |
| 653 LN_S |
| 654 CPP |
| 655 am__fastdepCC_FALSE |
| 656 am__fastdepCC_TRUE |
| 657 CCDEPMODE |
| 658 AMDEPBACKSLASH |
| 659 AMDEP_FALSE |
| 660 AMDEP_TRUE |
| 661 am__quote |
| 662 am__include |
| 663 DEPDIR |
| 664 OBJEXT |
| 665 EXEEXT |
| 666 ac_ct_CC |
| 667 CPPFLAGS |
| 668 LDFLAGS |
| 669 CFLAGS |
| 670 CC |
| 671 MAINT |
| 672 MAINTAINER_MODE_FALSE |
| 673 MAINTAINER_MODE_TRUE |
| 674 am__untar |
| 675 am__tar |
| 676 AMTAR |
| 677 am__leading_dot |
| 678 SET_MAKE |
| 679 AWK |
| 680 mkdir_p |
| 681 MKDIR_P |
| 682 INSTALL_STRIP_PROGRAM |
| 683 STRIP |
| 684 install_sh |
| 685 MAKEINFO |
| 686 AUTOHEADER |
| 687 AUTOMAKE |
| 688 AUTOCONF |
| 689 ACLOCAL |
| 690 VERSION |
| 691 PACKAGE |
| 692 CYGPATH_W |
| 693 am__isrc |
| 694 INSTALL_DATA |
| 695 INSTALL_SCRIPT |
| 696 INSTALL_PROGRAM |
| 697 target_alias |
| 698 host_alias |
| 699 build_alias |
| 700 LIBS |
| 701 ECHO_T |
| 702 ECHO_N |
| 703 ECHO_C |
| 704 DEFS |
| 705 mandir |
| 706 localedir |
| 707 libdir |
| 708 psdir |
| 709 pdfdir |
| 710 dvidir |
| 711 htmldir |
| 712 infodir |
| 713 docdir |
| 714 oldincludedir |
| 715 includedir |
| 716 localstatedir |
| 717 sharedstatedir |
| 718 sysconfdir |
| 719 datadir |
| 720 datarootdir |
| 721 libexecdir |
| 722 sbindir |
| 723 bindir |
| 724 program_transform_name |
| 725 prefix |
| 726 exec_prefix |
| 727 PACKAGE_URL |
| 728 PACKAGE_BUGREPORT |
| 729 PACKAGE_STRING |
| 730 PACKAGE_VERSION |
| 731 PACKAGE_TARNAME |
| 732 PACKAGE_NAME |
| 619 PATH_SEPARATOR | 733 PATH_SEPARATOR |
| 620 PACKAGE_NAME | 734 SHELL' |
| 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 INSTALL_PROGRAM | |
| 656 INSTALL_SCRIPT | |
| 657 INSTALL_DATA | |
| 658 am__isrc | |
| 659 CYGPATH_W | |
| 660 PACKAGE | |
| 661 VERSION | |
| 662 ACLOCAL | |
| 663 AUTOCONF | |
| 664 AUTOMAKE | |
| 665 AUTOHEADER | |
| 666 MAKEINFO | |
| 667 install_sh | |
| 668 STRIP | |
| 669 INSTALL_STRIP_PROGRAM | |
| 670 mkdir_p | |
| 671 AWK | |
| 672 SET_MAKE | |
| 673 am__leading_dot | |
| 674 AMTAR | |
| 675 am__tar | |
| 676 am__untar | |
| 677 MAINTAINER_MODE_TRUE | |
| 678 MAINTAINER_MODE_FALSE | |
| 679 MAINT | |
| 680 CC | |
| 681 CFLAGS | |
| 682 LDFLAGS | |
| 683 CPPFLAGS | |
| 684 ac_ct_CC | |
| 685 EXEEXT | |
| 686 OBJEXT | |
| 687 DEPDIR | |
| 688 am__include | |
| 689 am__quote | |
| 690 AMDEP_TRUE | |
| 691 AMDEP_FALSE | |
| 692 AMDEPBACKSLASH | |
| 693 CCDEPMODE | |
| 694 am__fastdepCC_TRUE | |
| 695 am__fastdepCC_FALSE | |
| 696 CPP | |
| 697 LN_S | |
| 698 RANLIB | |
| 699 XMLTO | |
| 700 BUILD_MAN_TRUE | |
| 701 BUILD_MAN_FALSE | |
| 702 GREP | |
| 703 EGREP | |
| 704 USE_NLS | |
| 705 MSGFMT | |
| 706 GMSGFMT | |
| 707 MSGFMT_015 | |
| 708 GMSGFMT_015 | |
| 709 XGETTEXT | |
| 710 XGETTEXT_015 | |
| 711 MSGMERGE | |
| 712 build | |
| 713 build_cpu | |
| 714 build_vendor | |
| 715 build_os | |
| 716 host | |
| 717 host_cpu | |
| 718 host_vendor | |
| 719 host_os | |
| 720 INTL_MACOSX_LIBS | |
| 721 LIBICONV | |
| 722 LTLIBICONV | |
| 723 INTLLIBS | |
| 724 LIBINTL | |
| 725 LTLIBINTL | |
| 726 POSUB | |
| 727 ARCH | |
| 728 GCC | |
| 729 MORE_CFLAGS | |
| 730 CC_FOR_BUILD | |
| 731 CCLD_FOR_BUILD | |
| 732 HOST_CC | |
| 733 PYTHON | |
| 734 PYTHON_VERSION | |
| 735 PYTHON_PREFIX | |
| 736 PYTHON_EXEC_PREFIX | |
| 737 PYTHON_PLATFORM | |
| 738 pythondir | |
| 739 pkgpythondir | |
| 740 pyexecdir | |
| 741 pkgpyexecdir | |
| 742 PYTHON_INCLUDES | |
| 743 HAVE_PYTHON_TRUE | |
| 744 HAVE_PYTHON_FALSE | |
| 745 HAVE_PYTHON_BINDINGS_TRUE | |
| 746 HAVE_PYTHON_BINDINGS_FALSE | |
| 747 LIBOBJS | |
| 748 LTLIBOBJS' | |
| 749 ac_subst_files='' | 735 ac_subst_files='' |
| 736 ac_user_opts=' |
| 737 enable_option_checking |
| 738 enable_maintainer_mode |
| 739 enable_debug |
| 740 enable_warnerror |
| 741 enable_profiling |
| 742 enable_gcov |
| 743 enable_python |
| 744 enable_python_bindings |
| 745 enable_dependency_tracking |
| 746 with_dmalloc |
| 747 enable_nls |
| 748 with_gnu_ld |
| 749 enable_rpath |
| 750 with_libiconv_prefix |
| 751 with_libintl_prefix |
| 752 ' |
| 750 ac_precious_vars='build_alias | 753 ac_precious_vars='build_alias |
| 751 host_alias | 754 host_alias |
| 752 target_alias | 755 target_alias |
| 753 CC | 756 CC |
| 754 CFLAGS | 757 CFLAGS |
| 755 LDFLAGS | 758 LDFLAGS |
| 756 LIBS | 759 LIBS |
| 757 CPPFLAGS | 760 CPPFLAGS |
| 758 CPP | 761 CPP |
| 759 CC_FOR_BUILD | 762 CC_FOR_BUILD |
| 760 CCLD_FOR_BUILD' | 763 CCLD_FOR_BUILD |
| 764 CPP_FOR_HOST' |
| 761 | 765 |
| 762 | 766 |
| 763 # Initialize some variables set by options. | 767 # Initialize some variables set by options. |
| 764 ac_init_help= | 768 ac_init_help= |
| 765 ac_init_version=false | 769 ac_init_version=false |
| 770 ac_unrecognized_opts= |
| 771 ac_unrecognized_sep= |
| 766 # The variables have the same names as the options, with | 772 # The variables have the same names as the options, with |
| 767 # dashes changed to underlines. | 773 # dashes changed to underlines. |
| 768 cache_file=/dev/null | 774 cache_file=/dev/null |
| 769 exec_prefix=NONE | 775 exec_prefix=NONE |
| 770 no_create= | 776 no_create= |
| 771 no_recursion= | 777 no_recursion= |
| 772 prefix=NONE | 778 prefix=NONE |
| 773 program_prefix=NONE | 779 program_prefix=NONE |
| 774 program_suffix=NONE | 780 program_suffix=NONE |
| 775 program_transform_name=s,x,x, | 781 program_transform_name=s,x,x, |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 854 datadir=$ac_optarg ;; | 860 datadir=$ac_optarg ;; |
| 855 | 861 |
| 856 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | 862 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
| 857 | --dataroo | --dataro | --datar) | 863 | --dataroo | --dataro | --datar) |
| 858 ac_prev=datarootdir ;; | 864 ac_prev=datarootdir ;; |
| 859 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | 865 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
| 860 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | 866 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
| 861 datarootdir=$ac_optarg ;; | 867 datarootdir=$ac_optarg ;; |
| 862 | 868 |
| 863 -disable-* | --disable-*) | 869 -disable-* | --disable-*) |
| 864 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 870 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 865 # Reject names that are not valid shell variable names. | 871 # Reject names that are not valid shell variable names. |
| 866 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && | 872 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 867 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 873 as_fn_error "invalid feature name: $ac_useropt" |
| 868 { (exit 1); exit 1; }; } | 874 ac_useropt_orig=$ac_useropt |
| 869 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` | 875 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 870 eval enable_$ac_feature=no ;; | 876 case $ac_user_opts in |
| 877 *" |
| 878 "enable_$ac_useropt" |
| 879 "*) ;; |
| 880 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disabl
e-$ac_useropt_orig" |
| 881 » ac_unrecognized_sep=', ';; |
| 882 esac |
| 883 eval enable_$ac_useropt=no ;; |
| 871 | 884 |
| 872 -docdir | --docdir | --docdi | --doc | --do) | 885 -docdir | --docdir | --docdi | --doc | --do) |
| 873 ac_prev=docdir ;; | 886 ac_prev=docdir ;; |
| 874 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | 887 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
| 875 docdir=$ac_optarg ;; | 888 docdir=$ac_optarg ;; |
| 876 | 889 |
| 877 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | 890 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
| 878 ac_prev=dvidir ;; | 891 ac_prev=dvidir ;; |
| 879 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | 892 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
| 880 dvidir=$ac_optarg ;; | 893 dvidir=$ac_optarg ;; |
| 881 | 894 |
| 882 -enable-* | --enable-*) | 895 -enable-* | --enable-*) |
| 883 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 896 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 884 # Reject names that are not valid shell variable names. | 897 # Reject names that are not valid shell variable names. |
| 885 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && | 898 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 886 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 899 as_fn_error "invalid feature name: $ac_useropt" |
| 887 { (exit 1); exit 1; }; } | 900 ac_useropt_orig=$ac_useropt |
| 888 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` | 901 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 889 eval enable_$ac_feature=\$ac_optarg ;; | 902 case $ac_user_opts in |
| 903 *" |
| 904 "enable_$ac_useropt" |
| 905 "*) ;; |
| 906 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable
-$ac_useropt_orig" |
| 907 » ac_unrecognized_sep=', ';; |
| 908 esac |
| 909 eval enable_$ac_useropt=\$ac_optarg ;; |
| 890 | 910 |
| 891 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 911 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
| 892 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 912 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| 893 | --exec | --exe | --ex) | 913 | --exec | --exe | --ex) |
| 894 ac_prev=exec_prefix ;; | 914 ac_prev=exec_prefix ;; |
| 895 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | 915 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
| 896 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | 916 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
| 897 | --exec=* | --exe=* | --ex=*) | 917 | --exec=* | --exe=* | --ex=*) |
| 898 exec_prefix=$ac_optarg ;; | 918 exec_prefix=$ac_optarg ;; |
| 899 | 919 |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1070 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | 1090 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
| 1071 target_alias=$ac_optarg ;; | 1091 target_alias=$ac_optarg ;; |
| 1072 | 1092 |
| 1073 -v | -verbose | --verbose | --verbos | --verbo | --verb) | 1093 -v | -verbose | --verbose | --verbos | --verbo | --verb) |
| 1074 verbose=yes ;; | 1094 verbose=yes ;; |
| 1075 | 1095 |
| 1076 -version | --version | --versio | --versi | --vers | -V) | 1096 -version | --version | --versio | --versi | --vers | -V) |
| 1077 ac_init_version=: ;; | 1097 ac_init_version=: ;; |
| 1078 | 1098 |
| 1079 -with-* | --with-*) | 1099 -with-* | --with-*) |
| 1080 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1100 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 1081 # Reject names that are not valid shell variable names. | 1101 # Reject names that are not valid shell variable names. |
| 1082 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && | 1102 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1083 { echo "$as_me: error: invalid package name: $ac_package" >&2 | 1103 as_fn_error "invalid package name: $ac_useropt" |
| 1084 { (exit 1); exit 1; }; } | 1104 ac_useropt_orig=$ac_useropt |
| 1085 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` | 1105 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1086 eval with_$ac_package=\$ac_optarg ;; | 1106 case $ac_user_opts in |
| 1107 *" |
| 1108 "with_$ac_useropt" |
| 1109 "*) ;; |
| 1110 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$
ac_useropt_orig" |
| 1111 » ac_unrecognized_sep=', ';; |
| 1112 esac |
| 1113 eval with_$ac_useropt=\$ac_optarg ;; |
| 1087 | 1114 |
| 1088 -without-* | --without-*) | 1115 -without-* | --without-*) |
| 1089 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1116 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 1090 # Reject names that are not valid shell variable names. | 1117 # Reject names that are not valid shell variable names. |
| 1091 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && | 1118 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1092 { echo "$as_me: error: invalid package name: $ac_package" >&2 | 1119 as_fn_error "invalid package name: $ac_useropt" |
| 1093 { (exit 1); exit 1; }; } | 1120 ac_useropt_orig=$ac_useropt |
| 1094 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` | 1121 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1095 eval with_$ac_package=no ;; | 1122 case $ac_user_opts in |
| 1123 *" |
| 1124 "with_$ac_useropt" |
| 1125 "*) ;; |
| 1126 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--withou
t-$ac_useropt_orig" |
| 1127 » ac_unrecognized_sep=', ';; |
| 1128 esac |
| 1129 eval with_$ac_useropt=no ;; |
| 1096 | 1130 |
| 1097 --x) | 1131 --x) |
| 1098 # Obsolete; use --with-x. | 1132 # Obsolete; use --with-x. |
| 1099 with_x=yes ;; | 1133 with_x=yes ;; |
| 1100 | 1134 |
| 1101 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | 1135 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
| 1102 | --x-incl | --x-inc | --x-in | --x-i) | 1136 | --x-incl | --x-inc | --x-in | --x-i) |
| 1103 ac_prev=x_includes ;; | 1137 ac_prev=x_includes ;; |
| 1104 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | 1138 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
| 1105 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | 1139 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
| 1106 x_includes=$ac_optarg ;; | 1140 x_includes=$ac_optarg ;; |
| 1107 | 1141 |
| 1108 -x-libraries | --x-libraries | --x-librarie | --x-librari \ | 1142 -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
| 1109 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | 1143 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
| 1110 ac_prev=x_libraries ;; | 1144 ac_prev=x_libraries ;; |
| 1111 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 1145 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
| 1112 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 1146 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| 1113 x_libraries=$ac_optarg ;; | 1147 x_libraries=$ac_optarg ;; |
| 1114 | 1148 |
| 1115 -*) { echo "$as_me: error: unrecognized option: $ac_option | 1149 -*) as_fn_error "unrecognized option: \`$ac_option' |
| 1116 Try \`$0 --help' for more information." >&2 | 1150 Try \`$0 --help' for more information." |
| 1117 { (exit 1); exit 1; }; } | |
| 1118 ;; | 1151 ;; |
| 1119 | 1152 |
| 1120 *=*) | 1153 *=*) |
| 1121 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 1154 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
| 1122 # Reject names that are not valid shell variable names. | 1155 # Reject names that are not valid shell variable names. |
| 1123 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | 1156 case $ac_envvar in #( |
| 1124 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | 1157 '' | [0-9]* | *[!_$as_cr_alnum]* ) |
| 1125 { (exit 1); exit 1; }; } | 1158 as_fn_error "invalid variable name: \`$ac_envvar'" ;; |
| 1159 esac |
| 1126 eval $ac_envvar=\$ac_optarg | 1160 eval $ac_envvar=\$ac_optarg |
| 1127 export $ac_envvar ;; | 1161 export $ac_envvar ;; |
| 1128 | 1162 |
| 1129 *) | 1163 *) |
| 1130 # FIXME: should be removed in autoconf 3.0. | 1164 # FIXME: should be removed in autoconf 3.0. |
| 1131 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 1165 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
| 1132 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | 1166 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 1133 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | 1167 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| 1134 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_opti
on} | 1168 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_opti
on} |
| 1135 ;; | 1169 ;; |
| 1136 | 1170 |
| 1137 esac | 1171 esac |
| 1138 done | 1172 done |
| 1139 | 1173 |
| 1140 if test -n "$ac_prev"; then | 1174 if test -n "$ac_prev"; then |
| 1141 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1175 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
| 1142 { echo "$as_me: error: missing argument to $ac_option" >&2 | 1176 as_fn_error "missing argument to $ac_option" |
| 1143 { (exit 1); exit 1; }; } | |
| 1144 fi | 1177 fi |
| 1145 | 1178 |
| 1146 # Be sure to have absolute directory names. | 1179 if test -n "$ac_unrecognized_opts"; then |
| 1180 case $enable_option_checking in |
| 1181 no) ;; |
| 1182 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; |
| 1183 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opt
s" >&2 ;; |
| 1184 esac |
| 1185 fi |
| 1186 |
| 1187 # Check all directory arguments for consistency. |
| 1147 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | 1188 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
| 1148 datadir sysconfdir sharedstatedir localstatedir includedir \ | 1189 datadir sysconfdir sharedstatedir localstatedir includedir \ |
| 1149 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | 1190 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
| 1150 libdir localedir mandir | 1191 libdir localedir mandir |
| 1151 do | 1192 do |
| 1152 eval ac_val=\$$ac_var | 1193 eval ac_val=\$$ac_var |
| 1194 # Remove trailing slashes. |
| 1195 case $ac_val in |
| 1196 */ ) |
| 1197 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
| 1198 eval $ac_var=\$ac_val;; |
| 1199 esac |
| 1200 # Be sure to have absolute directory names. |
| 1153 case $ac_val in | 1201 case $ac_val in |
| 1154 [\\/$]* | ?:[\\/]* ) continue;; | 1202 [\\/$]* | ?:[\\/]* ) continue;; |
| 1155 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 1203 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
| 1156 esac | 1204 esac |
| 1157 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_
val" >&2 | 1205 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" |
| 1158 { (exit 1); exit 1; }; } | |
| 1159 done | 1206 done |
| 1160 | 1207 |
| 1161 # There might be people who depend on the old broken behavior: `$host' | 1208 # There might be people who depend on the old broken behavior: `$host' |
| 1162 # used to hold the argument of --host etc. | 1209 # used to hold the argument of --host etc. |
| 1163 # FIXME: To remove some day. | 1210 # FIXME: To remove some day. |
| 1164 build=$build_alias | 1211 build=$build_alias |
| 1165 host=$host_alias | 1212 host=$host_alias |
| 1166 target=$target_alias | 1213 target=$target_alias |
| 1167 | 1214 |
| 1168 # FIXME: To remove some day. | 1215 # FIXME: To remove some day. |
| 1169 if test "x$host_alias" != x; then | 1216 if test "x$host_alias" != x; then |
| 1170 if test "x$build_alias" = x; then | 1217 if test "x$build_alias" = x; then |
| 1171 cross_compiling=maybe | 1218 cross_compiling=maybe |
| 1172 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --ho
st. | 1219 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use
--host. |
| 1173 If a cross compiler is detected then cross compile mode will be used." >&2 | 1220 If a cross compiler is detected then cross compile mode will be used." >&2 |
| 1174 elif test "x$build_alias" != "x$host_alias"; then | 1221 elif test "x$build_alias" != "x$host_alias"; then |
| 1175 cross_compiling=yes | 1222 cross_compiling=yes |
| 1176 fi | 1223 fi |
| 1177 fi | 1224 fi |
| 1178 | 1225 |
| 1179 ac_tool_prefix= | 1226 ac_tool_prefix= |
| 1180 test -n "$host_alias" && ac_tool_prefix=$host_alias- | 1227 test -n "$host_alias" && ac_tool_prefix=$host_alias- |
| 1181 | 1228 |
| 1182 test "$silent" = yes && exec 6>/dev/null | 1229 test "$silent" = yes && exec 6>/dev/null |
| 1183 | 1230 |
| 1184 | 1231 |
| 1185 ac_pwd=`pwd` && test -n "$ac_pwd" && | 1232 ac_pwd=`pwd` && test -n "$ac_pwd" && |
| 1186 ac_ls_di=`ls -di .` && | 1233 ac_ls_di=`ls -di .` && |
| 1187 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 1234 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
| 1188 { echo "$as_me: error: Working directory cannot be determined" >&2 | 1235 as_fn_error "working directory cannot be determined" |
| 1189 { (exit 1); exit 1; }; } | |
| 1190 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 1236 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
| 1191 { echo "$as_me: error: pwd does not report name of working directory" >&2 | 1237 as_fn_error "pwd does not report name of working directory" |
| 1192 { (exit 1); exit 1; }; } | |
| 1193 | 1238 |
| 1194 | 1239 |
| 1195 # Find the source files, if location was not specified. | 1240 # Find the source files, if location was not specified. |
| 1196 if test -z "$srcdir"; then | 1241 if test -z "$srcdir"; then |
| 1197 ac_srcdir_defaulted=yes | 1242 ac_srcdir_defaulted=yes |
| 1198 # Try the directory containing this script, then the parent directory. | 1243 # Try the directory containing this script, then the parent directory. |
| 1199 ac_confdir=`$as_dirname -- "$0" || | 1244 ac_confdir=`$as_dirname -- "$as_myself" || |
| 1200 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 1245 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 1201 » X"$0" : 'X\(//\)[^/]' \| \ | 1246 » X"$as_myself" : 'X\(//\)[^/]' \| \ |
| 1202 » X"$0" : 'X\(//\)$' \| \ | 1247 » X"$as_myself" : 'X\(//\)$' \| \ |
| 1203 » X"$0" : 'X\(/\)' \| . 2>/dev/null || | 1248 » X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
| 1204 echo X"$0" | | 1249 $as_echo X"$as_myself" | |
| 1205 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 1250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 1206 s//\1/ | 1251 s//\1/ |
| 1207 q | 1252 q |
| 1208 } | 1253 } |
| 1209 /^X\(\/\/\)[^/].*/{ | 1254 /^X\(\/\/\)[^/].*/{ |
| 1210 s//\1/ | 1255 s//\1/ |
| 1211 q | 1256 q |
| 1212 } | 1257 } |
| 1213 /^X\(\/\/\)$/{ | 1258 /^X\(\/\/\)$/{ |
| 1214 s//\1/ | 1259 s//\1/ |
| 1215 q | 1260 q |
| 1216 } | 1261 } |
| 1217 /^X\(\/\).*/{ | 1262 /^X\(\/\).*/{ |
| 1218 s//\1/ | 1263 s//\1/ |
| 1219 q | 1264 q |
| 1220 } | 1265 } |
| 1221 s/.*/./; q'` | 1266 s/.*/./; q'` |
| 1222 srcdir=$ac_confdir | 1267 srcdir=$ac_confdir |
| 1223 if test ! -r "$srcdir/$ac_unique_file"; then | 1268 if test ! -r "$srcdir/$ac_unique_file"; then |
| 1224 srcdir=.. | 1269 srcdir=.. |
| 1225 fi | 1270 fi |
| 1226 else | 1271 else |
| 1227 ac_srcdir_defaulted=no | 1272 ac_srcdir_defaulted=no |
| 1228 fi | 1273 fi |
| 1229 if test ! -r "$srcdir/$ac_unique_file"; then | 1274 if test ! -r "$srcdir/$ac_unique_file"; then |
| 1230 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 1275 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| 1231 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | 1276 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" |
| 1232 { (exit 1); exit 1; }; } | |
| 1233 fi | 1277 fi |
| 1234 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 1278 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
| 1235 ac_abs_confdir=`( | 1279 ac_abs_confdir=`( |
| 1236 » cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $a
c_msg" >&2 | 1280 » cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" |
| 1237 { (exit 1); exit 1; }; } | |
| 1238 pwd)` | 1281 pwd)` |
| 1239 # When building in place, set srcdir=. | 1282 # When building in place, set srcdir=. |
| 1240 if test "$ac_abs_confdir" = "$ac_pwd"; then | 1283 if test "$ac_abs_confdir" = "$ac_pwd"; then |
| 1241 srcdir=. | 1284 srcdir=. |
| 1242 fi | 1285 fi |
| 1243 # Remove unnecessary trailing slashes from srcdir. | 1286 # Remove unnecessary trailing slashes from srcdir. |
| 1244 # Double slashes in file names in object file debugging info | 1287 # Double slashes in file names in object file debugging info |
| 1245 # mess up M-x gdb in Emacs. | 1288 # mess up M-x gdb in Emacs. |
| 1246 case $srcdir in | 1289 case $srcdir in |
| 1247 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | 1290 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
| 1248 esac | 1291 esac |
| 1249 for ac_var in $ac_precious_vars; do | 1292 for ac_var in $ac_precious_vars; do |
| 1250 eval ac_env_${ac_var}_set=\${${ac_var}+set} | 1293 eval ac_env_${ac_var}_set=\${${ac_var}+set} |
| 1251 eval ac_env_${ac_var}_value=\$${ac_var} | 1294 eval ac_env_${ac_var}_value=\$${ac_var} |
| 1252 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | 1295 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
| 1253 eval ac_cv_env_${ac_var}_value=\$${ac_var} | 1296 eval ac_cv_env_${ac_var}_value=\$${ac_var} |
| 1254 done | 1297 done |
| 1255 | 1298 |
| 1256 # | 1299 # |
| 1257 # Report the --help message. | 1300 # Report the --help message. |
| 1258 # | 1301 # |
| 1259 if test "$ac_init_help" = "long"; then | 1302 if test "$ac_init_help" = "long"; then |
| 1260 # Omit some internal or obsolete options to make the list less imposing. | 1303 # Omit some internal or obsolete options to make the list less imposing. |
| 1261 # This message is too long to be a string in the A/UX 3.1 sh. | 1304 # This message is too long to be a string in the A/UX 3.1 sh. |
| 1262 cat <<_ACEOF | 1305 cat <<_ACEOF |
| 1263 \`configure' configures yasm 0.8.0 to adapt to many kinds of systems. | 1306 \`configure' configures yasm 1.1.0 to adapt to many kinds of systems. |
| 1264 | 1307 |
| 1265 Usage: $0 [OPTION]... [VAR=VALUE]... | 1308 Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1266 | 1309 |
| 1267 To assign environment variables (e.g., CC, CFLAGS...), specify them as | 1310 To assign environment variables (e.g., CC, CFLAGS...), specify them as |
| 1268 VAR=VALUE. See below for descriptions of some of the useful variables. | 1311 VAR=VALUE. See below for descriptions of some of the useful variables. |
| 1269 | 1312 |
| 1270 Defaults for the options are specified in brackets. | 1313 Defaults for the options are specified in brackets. |
| 1271 | 1314 |
| 1272 Configuration: | 1315 Configuration: |
| 1273 -h, --help display this help and exit | 1316 -h, --help display this help and exit |
| 1274 --help=short display options specific to this package | 1317 --help=short display options specific to this package |
| 1275 --help=recursive display the short help of all the included packages | 1318 --help=recursive display the short help of all the included packages |
| 1276 -V, --version display version information and exit | 1319 -V, --version display version information and exit |
| 1277 -q, --quiet, --silent do not print \`checking...' messages | 1320 -q, --quiet, --silent do not print \`checking...' messages |
| 1278 --cache-file=FILE cache test results in FILE [disabled] | 1321 --cache-file=FILE cache test results in FILE [disabled] |
| 1279 -C, --config-cache alias for \`--cache-file=config.cache' | 1322 -C, --config-cache alias for \`--cache-file=config.cache' |
| 1280 -n, --no-create do not create output files | 1323 -n, --no-create do not create output files |
| 1281 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | 1324 --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
| 1282 | 1325 |
| 1283 Installation directories: | 1326 Installation directories: |
| 1284 --prefix=PREFIX install architecture-independent files in PREFIX | 1327 --prefix=PREFIX install architecture-independent files in PREFIX |
| 1285 » » » [$ac_default_prefix] | 1328 [$ac_default_prefix] |
| 1286 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | 1329 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
| 1287 » » » [PREFIX] | 1330 [PREFIX] |
| 1288 | 1331 |
| 1289 By default, \`make install' will install all the files in | 1332 By default, \`make install' will install all the files in |
| 1290 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | 1333 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
| 1291 an installation prefix other than \`$ac_default_prefix' using \`--prefix', | 1334 an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
| 1292 for instance \`--prefix=\$HOME'. | 1335 for instance \`--prefix=\$HOME'. |
| 1293 | 1336 |
| 1294 For better control, use the options below. | 1337 For better control, use the options below. |
| 1295 | 1338 |
| 1296 Fine tuning of the installation directories: | 1339 Fine tuning of the installation directories: |
| 1297 --bindir=DIR user executables [EPREFIX/bin] | 1340 --bindir=DIR user executables [EPREFIX/bin] |
| 1298 --sbindir=DIR system admin executables [EPREFIX/sbin] | 1341 --sbindir=DIR system admin executables [EPREFIX/sbin] |
| 1299 --libexecdir=DIR program executables [EPREFIX/libexec] | 1342 --libexecdir=DIR program executables [EPREFIX/libexec] |
| 1300 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | 1343 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
| 1301 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | 1344 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
| 1302 --localstatedir=DIR modifiable single-machine data [PREFIX/var] | 1345 --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
| 1303 --libdir=DIR object code libraries [EPREFIX/lib] | 1346 --libdir=DIR object code libraries [EPREFIX/lib] |
| 1304 --includedir=DIR C header files [PREFIX/include] | 1347 --includedir=DIR C header files [PREFIX/include] |
| 1305 --oldincludedir=DIR C header files for non-gcc [/usr/include] | 1348 --oldincludedir=DIR C header files for non-gcc [/usr/include] |
| 1306 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | 1349 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
| 1307 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | 1350 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
| 1308 --infodir=DIR info documentation [DATAROOTDIR/info] | 1351 --infodir=DIR info documentation [DATAROOTDIR/info] |
| 1309 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | 1352 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
| 1310 --mandir=DIR man documentation [DATAROOTDIR/man] | 1353 --mandir=DIR man documentation [DATAROOTDIR/man] |
| 1311 --docdir=DIR documentation root [DATAROOTDIR/doc/yasm] | 1354 --docdir=DIR documentation root [DATAROOTDIR/doc/yasm] |
| 1312 --htmldir=DIR html documentation [DOCDIR] | 1355 --htmldir=DIR html documentation [DOCDIR] |
| 1313 --dvidir=DIR dvi documentation [DOCDIR] | 1356 --dvidir=DIR dvi documentation [DOCDIR] |
| 1314 --pdfdir=DIR pdf documentation [DOCDIR] | 1357 --pdfdir=DIR pdf documentation [DOCDIR] |
| 1315 --psdir=DIR ps documentation [DOCDIR] | 1358 --psdir=DIR ps documentation [DOCDIR] |
| 1316 _ACEOF | 1359 _ACEOF |
| 1317 | 1360 |
| 1318 cat <<\_ACEOF | 1361 cat <<\_ACEOF |
| 1319 | 1362 |
| 1320 Program names: | 1363 Program names: |
| 1321 --program-prefix=PREFIX prepend PREFIX to installed program names | 1364 --program-prefix=PREFIX prepend PREFIX to installed program names |
| 1322 --program-suffix=SUFFIX append SUFFIX to installed program names | 1365 --program-suffix=SUFFIX append SUFFIX to installed program names |
| 1323 --program-transform-name=PROGRAM run sed PROGRAM on installed program names | 1366 --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
| 1324 | 1367 |
| 1325 System types: | 1368 System types: |
| 1326 --build=BUILD configure for building on BUILD [guessed] | 1369 --build=BUILD configure for building on BUILD [guessed] |
| 1327 --host=HOST cross-compile to build programs to run on HOST [BUILD] | 1370 --host=HOST cross-compile to build programs to run on HOST [BUILD] |
| 1328 _ACEOF | 1371 _ACEOF |
| 1329 fi | 1372 fi |
| 1330 | 1373 |
| 1331 if test -n "$ac_init_help"; then | 1374 if test -n "$ac_init_help"; then |
| 1332 case $ac_init_help in | 1375 case $ac_init_help in |
| 1333 short | recursive ) echo "Configuration of yasm 0.8.0:";; | 1376 short | recursive ) echo "Configuration of yasm 1.1.0:";; |
| 1334 esac | 1377 esac |
| 1335 cat <<\_ACEOF | 1378 cat <<\_ACEOF |
| 1336 | 1379 |
| 1337 Optional Features: | 1380 Optional Features: |
| 1381 --disable-option-checking ignore unrecognized --enable/--with options |
| 1338 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | 1382 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 1339 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | 1383 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 1340 --enable-maintainer-mode enable make rules and dependencies not useful | 1384 --enable-maintainer-mode enable make rules and dependencies not useful |
| 1341 (and sometimes confusing) to the casual installer | 1385 (and sometimes confusing) to the casual installer |
| 1342 --enable-debug Turn on debugging and compile time warnings | 1386 --enable-debug Turn on debugging and compile time warnings |
| 1343 --enable-warnerror Treat GCC warnings as errors | 1387 --enable-warnerror Treat GCC warnings as errors |
| 1344 --enable-profiling Enable profiling (requires GCC) | 1388 --enable-profiling Enable profiling (requires GCC) |
| 1345 --enable-gcov Enable gcov code coverage (requires GCC) | 1389 --enable-gcov Enable gcov code coverage (requires GCC) |
| 1346 --enable-python Enable Python-requiring portions of build | 1390 --enable-python Enable Python-requiring portions of build |
| 1347 --enable-python-bindings | 1391 --enable-python-bindings |
| (...skipping 13 matching lines...) Expand all Loading... |
| 1361 --without-libiconv-prefix don't search for libiconv in includedir and libd
ir | 1405 --without-libiconv-prefix don't search for libiconv in includedir and libd
ir |
| 1362 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib | 1406 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib |
| 1363 --without-libintl-prefix don't search for libintl in includedir and libdir | 1407 --without-libintl-prefix don't search for libintl in includedir and libdir |
| 1364 | 1408 |
| 1365 Some influential environment variables: | 1409 Some influential environment variables: |
| 1366 CC C compiler command | 1410 CC C compiler command |
| 1367 CFLAGS C compiler flags | 1411 CFLAGS C compiler flags |
| 1368 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | 1412 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
| 1369 nonstandard directory <lib dir> | 1413 nonstandard directory <lib dir> |
| 1370 LIBS libraries to pass to the linker, e.g. -l<library> | 1414 LIBS libraries to pass to the linker, e.g. -l<library> |
| 1371 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if | 1415 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
| 1372 you have headers in a nonstandard directory <include dir> | 1416 you have headers in a nonstandard directory <include dir> |
| 1373 CPP C preprocessor | 1417 CPP C preprocessor |
| 1374 CC_FOR_BUILD | 1418 CC_FOR_BUILD |
| 1375 build system C compiler | 1419 build system C compiler |
| 1376 CCLD_FOR_BUILD | 1420 CCLD_FOR_BUILD |
| 1377 build system C linker frontend | 1421 build system C linker frontend |
| 1422 CPP_FOR_HOST |
| 1423 host system C preprocessor |
| 1378 | 1424 |
| 1379 Use these variables to override the choices made by `configure' or to help | 1425 Use these variables to override the choices made by `configure' or to help |
| 1380 it to find libraries and programs with nonstandard names/locations. | 1426 it to find libraries and programs with nonstandard names/locations. |
| 1381 | 1427 |
| 1382 Report bugs to <bug-yasm@tortall.net>. | 1428 Report bugs to <bug-yasm@tortall.net>. |
| 1383 _ACEOF | 1429 _ACEOF |
| 1384 ac_status=$? | 1430 ac_status=$? |
| 1385 fi | 1431 fi |
| 1386 | 1432 |
| 1387 if test "$ac_init_help" = "recursive"; then | 1433 if test "$ac_init_help" = "recursive"; then |
| 1388 # If there are subdirs, report their specific --help. | 1434 # If there are subdirs, report their specific --help. |
| 1389 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 1435 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
| 1390 test -d "$ac_dir" || continue | 1436 test -d "$ac_dir" || |
| 1437 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
| 1438 continue |
| 1391 ac_builddir=. | 1439 ac_builddir=. |
| 1392 | 1440 |
| 1393 case "$ac_dir" in | 1441 case "$ac_dir" in |
| 1394 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 1442 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 1395 *) | 1443 *) |
| 1396 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 1444 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
| 1397 # A ".." for each directory in $ac_dir_suffix. | 1445 # A ".." for each directory in $ac_dir_suffix. |
| 1398 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` | 1446 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| 1399 case $ac_top_builddir_sub in | 1447 case $ac_top_builddir_sub in |
| 1400 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | 1448 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 1401 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | 1449 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 1402 esac ;; | 1450 esac ;; |
| 1403 esac | 1451 esac |
| 1404 ac_abs_top_builddir=$ac_pwd | 1452 ac_abs_top_builddir=$ac_pwd |
| 1405 ac_abs_builddir=$ac_pwd$ac_dir_suffix | 1453 ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 1406 # for backward compatibility: | 1454 # for backward compatibility: |
| 1407 ac_top_builddir=$ac_top_build_prefix | 1455 ac_top_builddir=$ac_top_build_prefix |
| 1408 | 1456 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 1424 | 1472 |
| 1425 cd "$ac_dir" || { ac_status=$?; continue; } | 1473 cd "$ac_dir" || { ac_status=$?; continue; } |
| 1426 # Check for guested configure. | 1474 # Check for guested configure. |
| 1427 if test -f "$ac_srcdir/configure.gnu"; then | 1475 if test -f "$ac_srcdir/configure.gnu"; then |
| 1428 echo && | 1476 echo && |
| 1429 $SHELL "$ac_srcdir/configure.gnu" --help=recursive | 1477 $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
| 1430 elif test -f "$ac_srcdir/configure"; then | 1478 elif test -f "$ac_srcdir/configure"; then |
| 1431 echo && | 1479 echo && |
| 1432 $SHELL "$ac_srcdir/configure" --help=recursive | 1480 $SHELL "$ac_srcdir/configure" --help=recursive |
| 1433 else | 1481 else |
| 1434 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 1482 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| 1435 fi || ac_status=$? | 1483 fi || ac_status=$? |
| 1436 cd "$ac_pwd" || { ac_status=$?; break; } | 1484 cd "$ac_pwd" || { ac_status=$?; break; } |
| 1437 done | 1485 done |
| 1438 fi | 1486 fi |
| 1439 | 1487 |
| 1440 test -n "$ac_init_help" && exit $ac_status | 1488 test -n "$ac_init_help" && exit $ac_status |
| 1441 if $ac_init_version; then | 1489 if $ac_init_version; then |
| 1442 cat <<\_ACEOF | 1490 cat <<\_ACEOF |
| 1443 yasm configure 0.8.0 | 1491 yasm configure 1.1.0 |
| 1444 generated by GNU Autoconf 2.61 | 1492 generated by GNU Autoconf 2.65 |
| 1445 | 1493 |
| 1446 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 1494 Copyright (C) 2009 Free Software Foundation, Inc. |
| 1447 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
| 1448 This configure script is free software; the Free Software Foundation | 1495 This configure script is free software; the Free Software Foundation |
| 1449 gives unlimited permission to copy, distribute and modify it. | 1496 gives unlimited permission to copy, distribute and modify it. |
| 1450 _ACEOF | 1497 _ACEOF |
| 1451 exit | 1498 exit |
| 1452 fi | 1499 fi |
| 1500 |
| 1501 ## ------------------------ ## |
| 1502 ## Autoconf initialization. ## |
| 1503 ## ------------------------ ## |
| 1504 |
| 1505 # ac_fn_c_try_compile LINENO |
| 1506 # -------------------------- |
| 1507 # Try to compile conftest.$ac_ext, and return whether this succeeded. |
| 1508 ac_fn_c_try_compile () |
| 1509 { |
| 1510 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1511 rm -f conftest.$ac_objext |
| 1512 if { { ac_try="$ac_compile" |
| 1513 case "(($ac_try" in |
| 1514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1515 *) ac_try_echo=$ac_try;; |
| 1516 esac |
| 1517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1518 $as_echo "$ac_try_echo"; } >&5 |
| 1519 (eval "$ac_compile") 2>conftest.err |
| 1520 ac_status=$? |
| 1521 if test -s conftest.err; then |
| 1522 grep -v '^ *+' conftest.err >conftest.er1 |
| 1523 cat conftest.er1 >&5 |
| 1524 mv -f conftest.er1 conftest.err |
| 1525 fi |
| 1526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1527 test $ac_status = 0; } && { |
| 1528 test -z "$ac_c_werror_flag" || |
| 1529 test ! -s conftest.err |
| 1530 } && test -s conftest.$ac_objext; then : |
| 1531 ac_retval=0 |
| 1532 else |
| 1533 $as_echo "$as_me: failed program was:" >&5 |
| 1534 sed 's/^/| /' conftest.$ac_ext >&5 |
| 1535 |
| 1536 ac_retval=1 |
| 1537 fi |
| 1538 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_
lineno;} |
| 1539 as_fn_set_status $ac_retval |
| 1540 |
| 1541 } # ac_fn_c_try_compile |
| 1542 |
| 1543 # ac_fn_c_try_cpp LINENO |
| 1544 # ---------------------- |
| 1545 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
| 1546 ac_fn_c_try_cpp () |
| 1547 { |
| 1548 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1549 if { { ac_try="$ac_cpp conftest.$ac_ext" |
| 1550 case "(($ac_try" in |
| 1551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1552 *) ac_try_echo=$ac_try;; |
| 1553 esac |
| 1554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1555 $as_echo "$ac_try_echo"; } >&5 |
| 1556 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
| 1557 ac_status=$? |
| 1558 if test -s conftest.err; then |
| 1559 grep -v '^ *+' conftest.err >conftest.er1 |
| 1560 cat conftest.er1 >&5 |
| 1561 mv -f conftest.er1 conftest.err |
| 1562 fi |
| 1563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1564 test $ac_status = 0; } >/dev/null && { |
| 1565 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 1566 test ! -s conftest.err |
| 1567 }; then : |
| 1568 ac_retval=0 |
| 1569 else |
| 1570 $as_echo "$as_me: failed program was:" >&5 |
| 1571 sed 's/^/| /' conftest.$ac_ext >&5 |
| 1572 |
| 1573 ac_retval=1 |
| 1574 fi |
| 1575 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_
lineno;} |
| 1576 as_fn_set_status $ac_retval |
| 1577 |
| 1578 } # ac_fn_c_try_cpp |
| 1579 |
| 1580 # ac_fn_c_try_run LINENO |
| 1581 # ---------------------- |
| 1582 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
| 1583 # that executables *can* be run. |
| 1584 ac_fn_c_try_run () |
| 1585 { |
| 1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1587 if { { ac_try="$ac_link" |
| 1588 case "(($ac_try" in |
| 1589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1590 *) ac_try_echo=$ac_try;; |
| 1591 esac |
| 1592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1593 $as_echo "$ac_try_echo"; } >&5 |
| 1594 (eval "$ac_link") 2>&5 |
| 1595 ac_status=$? |
| 1596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1597 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
| 1598 { { case "(($ac_try" in |
| 1599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1600 *) ac_try_echo=$ac_try;; |
| 1601 esac |
| 1602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1603 $as_echo "$ac_try_echo"; } >&5 |
| 1604 (eval "$ac_try") 2>&5 |
| 1605 ac_status=$? |
| 1606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1607 test $ac_status = 0; }; }; then : |
| 1608 ac_retval=0 |
| 1609 else |
| 1610 $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 1611 $as_echo "$as_me: failed program was:" >&5 |
| 1612 sed 's/^/| /' conftest.$ac_ext >&5 |
| 1613 |
| 1614 ac_retval=$ac_status |
| 1615 fi |
| 1616 rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 1617 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_
lineno;} |
| 1618 as_fn_set_status $ac_retval |
| 1619 |
| 1620 } # ac_fn_c_try_run |
| 1621 |
| 1622 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
| 1623 # ------------------------------------------------------- |
| 1624 # Tests whether HEADER exists, giving a warning if it cannot be compiled using |
| 1625 # the include files in INCLUDES and setting the cache variable VAR |
| 1626 # accordingly. |
| 1627 ac_fn_c_check_header_mongrel () |
| 1628 { |
| 1629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1630 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1632 $as_echo_n "checking for $2... " >&6; } |
| 1633 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1634 $as_echo_n "(cached) " >&6 |
| 1635 fi |
| 1636 eval ac_res=\$$3 |
| 1637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1638 $as_echo "$ac_res" >&6; } |
| 1639 else |
| 1640 # Is the header compilable? |
| 1641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
| 1642 $as_echo_n "checking $2 usability... " >&6; } |
| 1643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1644 /* end confdefs.h. */ |
| 1645 $4 |
| 1646 #include <$2> |
| 1647 _ACEOF |
| 1648 if ac_fn_c_try_compile "$LINENO"; then : |
| 1649 ac_header_compiler=yes |
| 1650 else |
| 1651 ac_header_compiler=no |
| 1652 fi |
| 1653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
| 1655 $as_echo "$ac_header_compiler" >&6; } |
| 1656 |
| 1657 # Is the header present? |
| 1658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
| 1659 $as_echo_n "checking $2 presence... " >&6; } |
| 1660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1661 /* end confdefs.h. */ |
| 1662 #include <$2> |
| 1663 _ACEOF |
| 1664 if ac_fn_c_try_cpp "$LINENO"; then : |
| 1665 ac_header_preproc=yes |
| 1666 else |
| 1667 ac_header_preproc=no |
| 1668 fi |
| 1669 rm -f conftest.err conftest.$ac_ext |
| 1670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
| 1671 $as_echo "$ac_header_preproc" >&6; } |
| 1672 |
| 1673 # So? What about this header? |
| 1674 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
| 1675 yes:no: ) |
| 1676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compil
er, rejected by the preprocessor!" >&5 |
| 1677 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preproc
essor!" >&2;} |
| 1678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the co
mpiler's result" >&5 |
| 1679 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
| 1680 ;; |
| 1681 no:yes:* ) |
| 1682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be
compiled" >&5 |
| 1683 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
| 1684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing
prerequisite headers?" >&5 |
| 1685 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;
} |
| 1686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf docum
entation" >&5 |
| 1687 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
| 1688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present
But Cannot Be Compiled\"" >&5 |
| 1689 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >
&2;} |
| 1690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the co
mpiler's result" >&5 |
| 1691 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
| 1692 ( cat <<\_ASBOX |
| 1693 ## ----------------------------------- ## |
| 1694 ## Report this to bug-yasm@tortall.net ## |
| 1695 ## ----------------------------------- ## |
| 1696 _ASBOX |
| 1697 ) | sed "s/^/$as_me: WARNING: /" >&2 |
| 1698 ;; |
| 1699 esac |
| 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 eval "$3=\$ac_header_compiler" |
| 1706 fi |
| 1707 eval ac_res=\$$3 |
| 1708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1709 $as_echo "$ac_res" >&6; } |
| 1710 fi |
| 1711 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_
lineno;} |
| 1712 |
| 1713 } # ac_fn_c_check_header_mongrel |
| 1714 |
| 1715 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
| 1716 # ------------------------------------------------------- |
| 1717 # Tests whether HEADER exists and can be compiled using the include files in |
| 1718 # INCLUDES, setting the cache variable VAR accordingly. |
| 1719 ac_fn_c_check_header_compile () |
| 1720 { |
| 1721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1723 $as_echo_n "checking for $2... " >&6; } |
| 1724 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1725 $as_echo_n "(cached) " >&6 |
| 1726 else |
| 1727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1728 /* end confdefs.h. */ |
| 1729 $4 |
| 1730 #include <$2> |
| 1731 _ACEOF |
| 1732 if ac_fn_c_try_compile "$LINENO"; then : |
| 1733 eval "$3=yes" |
| 1734 else |
| 1735 eval "$3=no" |
| 1736 fi |
| 1737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1738 fi |
| 1739 eval ac_res=\$$3 |
| 1740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1741 $as_echo "$ac_res" >&6; } |
| 1742 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_
lineno;} |
| 1743 |
| 1744 } # ac_fn_c_check_header_compile |
| 1745 |
| 1746 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
| 1747 # ------------------------------------------- |
| 1748 # Tests whether TYPE exists after having included INCLUDES, setting cache |
| 1749 # variable VAR accordingly. |
| 1750 ac_fn_c_check_type () |
| 1751 { |
| 1752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1754 $as_echo_n "checking for $2... " >&6; } |
| 1755 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1756 $as_echo_n "(cached) " >&6 |
| 1757 else |
| 1758 eval "$3=no" |
| 1759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1760 /* end confdefs.h. */ |
| 1761 $4 |
| 1762 int |
| 1763 main () |
| 1764 { |
| 1765 if (sizeof ($2)) |
| 1766 return 0; |
| 1767 ; |
| 1768 return 0; |
| 1769 } |
| 1770 _ACEOF |
| 1771 if ac_fn_c_try_compile "$LINENO"; then : |
| 1772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1773 /* end confdefs.h. */ |
| 1774 $4 |
| 1775 int |
| 1776 main () |
| 1777 { |
| 1778 if (sizeof (($2))) |
| 1779 return 0; |
| 1780 ; |
| 1781 return 0; |
| 1782 } |
| 1783 _ACEOF |
| 1784 if ac_fn_c_try_compile "$LINENO"; then : |
| 1785 |
| 1786 else |
| 1787 eval "$3=yes" |
| 1788 fi |
| 1789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1790 fi |
| 1791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1792 fi |
| 1793 eval ac_res=\$$3 |
| 1794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1795 $as_echo "$ac_res" >&6; } |
| 1796 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_
lineno;} |
| 1797 |
| 1798 } # ac_fn_c_check_type |
| 1799 |
| 1800 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES |
| 1801 # -------------------------------------------- |
| 1802 # Tries to find the compile-time value of EXPR in a program that includes |
| 1803 # INCLUDES, setting VAR accordingly. Returns whether the value could be |
| 1804 # computed |
| 1805 ac_fn_c_compute_int () |
| 1806 { |
| 1807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1808 if test "$cross_compiling" = yes; then |
| 1809 # Depending upon the size, compute the lo and hi bounds. |
| 1810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1811 /* end confdefs.h. */ |
| 1812 $4 |
| 1813 int |
| 1814 main () |
| 1815 { |
| 1816 static int test_array [1 - 2 * !(($2) >= 0)]; |
| 1817 test_array [0] = 0 |
| 1818 |
| 1819 ; |
| 1820 return 0; |
| 1821 } |
| 1822 _ACEOF |
| 1823 if ac_fn_c_try_compile "$LINENO"; then : |
| 1824 ac_lo=0 ac_mid=0 |
| 1825 while :; do |
| 1826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1827 /* end confdefs.h. */ |
| 1828 $4 |
| 1829 int |
| 1830 main () |
| 1831 { |
| 1832 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
| 1833 test_array [0] = 0 |
| 1834 |
| 1835 ; |
| 1836 return 0; |
| 1837 } |
| 1838 _ACEOF |
| 1839 if ac_fn_c_try_compile "$LINENO"; then : |
| 1840 ac_hi=$ac_mid; break |
| 1841 else |
| 1842 as_fn_arith $ac_mid + 1 && ac_lo=$as_val |
| 1843 if test $ac_lo -le $ac_mid; then |
| 1844 ac_lo= ac_hi= |
| 1845 break |
| 1846 fi |
| 1847 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val |
| 1848 fi |
| 1849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1850 done |
| 1851 else |
| 1852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1853 /* end confdefs.h. */ |
| 1854 $4 |
| 1855 int |
| 1856 main () |
| 1857 { |
| 1858 static int test_array [1 - 2 * !(($2) < 0)]; |
| 1859 test_array [0] = 0 |
| 1860 |
| 1861 ; |
| 1862 return 0; |
| 1863 } |
| 1864 _ACEOF |
| 1865 if ac_fn_c_try_compile "$LINENO"; then : |
| 1866 ac_hi=-1 ac_mid=-1 |
| 1867 while :; do |
| 1868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1869 /* end confdefs.h. */ |
| 1870 $4 |
| 1871 int |
| 1872 main () |
| 1873 { |
| 1874 static int test_array [1 - 2 * !(($2) >= $ac_mid)]; |
| 1875 test_array [0] = 0 |
| 1876 |
| 1877 ; |
| 1878 return 0; |
| 1879 } |
| 1880 _ACEOF |
| 1881 if ac_fn_c_try_compile "$LINENO"; then : |
| 1882 ac_lo=$ac_mid; break |
| 1883 else |
| 1884 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val |
| 1885 if test $ac_mid -le $ac_hi; then |
| 1886 ac_lo= ac_hi= |
| 1887 break |
| 1888 fi |
| 1889 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val |
| 1890 fi |
| 1891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1892 done |
| 1893 else |
| 1894 ac_lo= ac_hi= |
| 1895 fi |
| 1896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1897 fi |
| 1898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1899 # Binary search between lo and hi bounds. |
| 1900 while test "x$ac_lo" != "x$ac_hi"; do |
| 1901 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val |
| 1902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1903 /* end confdefs.h. */ |
| 1904 $4 |
| 1905 int |
| 1906 main () |
| 1907 { |
| 1908 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
| 1909 test_array [0] = 0 |
| 1910 |
| 1911 ; |
| 1912 return 0; |
| 1913 } |
| 1914 _ACEOF |
| 1915 if ac_fn_c_try_compile "$LINENO"; then : |
| 1916 ac_hi=$ac_mid |
| 1917 else |
| 1918 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val |
| 1919 fi |
| 1920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1921 done |
| 1922 case $ac_lo in #(( |
| 1923 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; |
| 1924 '') ac_retval=1 ;; |
| 1925 esac |
| 1926 else |
| 1927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1928 /* end confdefs.h. */ |
| 1929 $4 |
| 1930 static long int longval () { return $2; } |
| 1931 static unsigned long int ulongval () { return $2; } |
| 1932 #include <stdio.h> |
| 1933 #include <stdlib.h> |
| 1934 int |
| 1935 main () |
| 1936 { |
| 1937 |
| 1938 FILE *f = fopen ("conftest.val", "w"); |
| 1939 if (! f) |
| 1940 return 1; |
| 1941 if (($2) < 0) |
| 1942 { |
| 1943 long int i = longval (); |
| 1944 if (i != ($2)) |
| 1945 return 1; |
| 1946 fprintf (f, "%ld", i); |
| 1947 } |
| 1948 else |
| 1949 { |
| 1950 unsigned long int i = ulongval (); |
| 1951 if (i != ($2)) |
| 1952 return 1; |
| 1953 fprintf (f, "%lu", i); |
| 1954 } |
| 1955 /* Do not output a trailing newline, as this causes \r\n confusion |
| 1956 on some platforms. */ |
| 1957 return ferror (f) || fclose (f) != 0; |
| 1958 |
| 1959 ; |
| 1960 return 0; |
| 1961 } |
| 1962 _ACEOF |
| 1963 if ac_fn_c_try_run "$LINENO"; then : |
| 1964 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 |
| 1965 else |
| 1966 ac_retval=1 |
| 1967 fi |
| 1968 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 1969 conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 1970 rm -f conftest.val |
| 1971 |
| 1972 fi |
| 1973 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_
lineno;} |
| 1974 as_fn_set_status $ac_retval |
| 1975 |
| 1976 } # ac_fn_c_compute_int |
| 1977 |
| 1978 # ac_fn_c_try_link LINENO |
| 1979 # ----------------------- |
| 1980 # Try to link conftest.$ac_ext, and return whether this succeeded. |
| 1981 ac_fn_c_try_link () |
| 1982 { |
| 1983 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1984 rm -f conftest.$ac_objext conftest$ac_exeext |
| 1985 if { { ac_try="$ac_link" |
| 1986 case "(($ac_try" in |
| 1987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1988 *) ac_try_echo=$ac_try;; |
| 1989 esac |
| 1990 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1991 $as_echo "$ac_try_echo"; } >&5 |
| 1992 (eval "$ac_link") 2>conftest.err |
| 1993 ac_status=$? |
| 1994 if test -s conftest.err; then |
| 1995 grep -v '^ *+' conftest.err >conftest.er1 |
| 1996 cat conftest.er1 >&5 |
| 1997 mv -f conftest.er1 conftest.err |
| 1998 fi |
| 1999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2000 test $ac_status = 0; } && { |
| 2001 test -z "$ac_c_werror_flag" || |
| 2002 test ! -s conftest.err |
| 2003 } && test -s conftest$ac_exeext && { |
| 2004 test "$cross_compiling" = yes || |
| 2005 $as_test_x conftest$ac_exeext |
| 2006 }; then : |
| 2007 ac_retval=0 |
| 2008 else |
| 2009 $as_echo "$as_me: failed program was:" >&5 |
| 2010 sed 's/^/| /' conftest.$ac_ext >&5 |
| 2011 |
| 2012 ac_retval=1 |
| 2013 fi |
| 2014 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
| 2015 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
| 2016 # interfere with the next link command; also delete a directory that is |
| 2017 # left behind by Apple's compiler. We do this before executing the actions. |
| 2018 rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 2019 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_
lineno;} |
| 2020 as_fn_set_status $ac_retval |
| 2021 |
| 2022 } # ac_fn_c_try_link |
| 2023 |
| 2024 # ac_fn_c_check_func LINENO FUNC VAR |
| 2025 # ---------------------------------- |
| 2026 # Tests whether FUNC exists, setting the cache variable VAR accordingly |
| 2027 ac_fn_c_check_func () |
| 2028 { |
| 2029 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2031 $as_echo_n "checking for $2... " >&6; } |
| 2032 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 2033 $as_echo_n "(cached) " >&6 |
| 2034 else |
| 2035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2036 /* end confdefs.h. */ |
| 2037 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
| 2038 For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 2039 #define $2 innocuous_$2 |
| 2040 |
| 2041 /* System header to define __stub macros and hopefully few prototypes, |
| 2042 which can conflict with char $2 (); below. |
| 2043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 2044 <limits.h> exists even on freestanding compilers. */ |
| 2045 |
| 2046 #ifdef __STDC__ |
| 2047 # include <limits.h> |
| 2048 #else |
| 2049 # include <assert.h> |
| 2050 #endif |
| 2051 |
| 2052 #undef $2 |
| 2053 |
| 2054 /* Override any GCC internal prototype to avoid an error. |
| 2055 Use char because int might match the return type of a GCC |
| 2056 builtin and then its argument prototype would still apply. */ |
| 2057 #ifdef __cplusplus |
| 2058 extern "C" |
| 2059 #endif |
| 2060 char $2 (); |
| 2061 /* The GNU C library defines this for functions which it implements |
| 2062 to always fail with ENOSYS. Some functions are actually named |
| 2063 something starting with __ and the normal name is an alias. */ |
| 2064 #if defined __stub_$2 || defined __stub___$2 |
| 2065 choke me |
| 2066 #endif |
| 2067 |
| 2068 int |
| 2069 main () |
| 2070 { |
| 2071 return $2 (); |
| 2072 ; |
| 2073 return 0; |
| 2074 } |
| 2075 _ACEOF |
| 2076 if ac_fn_c_try_link "$LINENO"; then : |
| 2077 eval "$3=yes" |
| 2078 else |
| 2079 eval "$3=no" |
| 2080 fi |
| 2081 rm -f core conftest.err conftest.$ac_objext \ |
| 2082 conftest$ac_exeext conftest.$ac_ext |
| 2083 fi |
| 2084 eval ac_res=\$$3 |
| 2085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2086 $as_echo "$ac_res" >&6; } |
| 2087 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_
lineno;} |
| 2088 |
| 2089 } # ac_fn_c_check_func |
| 1453 cat >config.log <<_ACEOF | 2090 cat >config.log <<_ACEOF |
| 1454 This file contains any messages produced by compilers while | 2091 This file contains any messages produced by compilers while |
| 1455 running configure, to aid debugging if configure makes a mistake. | 2092 running configure, to aid debugging if configure makes a mistake. |
| 1456 | 2093 |
| 1457 It was created by yasm $as_me 0.8.0, which was | 2094 It was created by yasm $as_me 1.1.0, which was |
| 1458 generated by GNU Autoconf 2.61. Invocation command line was | 2095 generated by GNU Autoconf 2.65. Invocation command line was |
| 1459 | 2096 |
| 1460 $ $0 $@ | 2097 $ $0 $@ |
| 1461 | 2098 |
| 1462 _ACEOF | 2099 _ACEOF |
| 1463 exec 5>>config.log | 2100 exec 5>>config.log |
| 1464 { | 2101 { |
| 1465 cat <<_ASUNAME | 2102 cat <<_ASUNAME |
| 1466 ## --------- ## | 2103 ## --------- ## |
| 1467 ## Platform. ## | 2104 ## Platform. ## |
| 1468 ## --------- ## | 2105 ## --------- ## |
| (...skipping 15 matching lines...) Expand all Loading... |
| 1484 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | 2121 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
| 1485 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | 2122 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
| 1486 | 2123 |
| 1487 _ASUNAME | 2124 _ASUNAME |
| 1488 | 2125 |
| 1489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1490 for as_dir in $PATH | 2127 for as_dir in $PATH |
| 1491 do | 2128 do |
| 1492 IFS=$as_save_IFS | 2129 IFS=$as_save_IFS |
| 1493 test -z "$as_dir" && as_dir=. | 2130 test -z "$as_dir" && as_dir=. |
| 1494 echo "PATH: $as_dir" | 2131 $as_echo "PATH: $as_dir" |
| 1495 done | 2132 done |
| 1496 IFS=$as_save_IFS | 2133 IFS=$as_save_IFS |
| 1497 | 2134 |
| 1498 } >&5 | 2135 } >&5 |
| 1499 | 2136 |
| 1500 cat >&5 <<_ACEOF | 2137 cat >&5 <<_ACEOF |
| 1501 | 2138 |
| 1502 | 2139 |
| 1503 ## ----------- ## | 2140 ## ----------- ## |
| 1504 ## Core tests. ## | 2141 ## Core tests. ## |
| 1505 ## ----------- ## | 2142 ## ----------- ## |
| (...skipping 13 matching lines...) Expand all Loading... |
| 1519 for ac_pass in 1 2 | 2156 for ac_pass in 1 2 |
| 1520 do | 2157 do |
| 1521 for ac_arg | 2158 for ac_arg |
| 1522 do | 2159 do |
| 1523 case $ac_arg in | 2160 case $ac_arg in |
| 1524 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | 2161 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
| 1525 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 2162 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 1526 | -silent | --silent | --silen | --sile | --sil) | 2163 | -silent | --silent | --silen | --sile | --sil) |
| 1527 continue ;; | 2164 continue ;; |
| 1528 *\'*) | 2165 *\'*) |
| 1529 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 2166 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1530 esac | 2167 esac |
| 1531 case $ac_pass in | 2168 case $ac_pass in |
| 1532 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | 2169 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
| 1533 2) | 2170 2) |
| 1534 ac_configure_args1="$ac_configure_args1 '$ac_arg'" | 2171 as_fn_append ac_configure_args1 " '$ac_arg'" |
| 1535 if test $ac_must_keep_next = true; then | 2172 if test $ac_must_keep_next = true; then |
| 1536 ac_must_keep_next=false # Got value, back to normal. | 2173 ac_must_keep_next=false # Got value, back to normal. |
| 1537 else | 2174 else |
| 1538 case $ac_arg in | 2175 case $ac_arg in |
| 1539 *=* | --config-cache | -C | -disable-* | --disable-* \ | 2176 *=* | --config-cache | -C | -disable-* | --disable-* \ |
| 1540 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | 2177 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
| 1541 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | 2178 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
| 1542 | -with-* | --with-* | -without-* | --without-* | --x) | 2179 | -with-* | --with-* | -without-* | --without-* | --x) |
| 1543 case "$ac_configure_args0 " in | 2180 case "$ac_configure_args0 " in |
| 1544 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | 2181 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
| 1545 esac | 2182 esac |
| 1546 ;; | 2183 ;; |
| 1547 -* ) ac_must_keep_next=true ;; | 2184 -* ) ac_must_keep_next=true ;; |
| 1548 esac | 2185 esac |
| 1549 fi | 2186 fi |
| 1550 ac_configure_args="$ac_configure_args '$ac_arg'" | 2187 as_fn_append ac_configure_args " '$ac_arg'" |
| 1551 ;; | 2188 ;; |
| 1552 esac | 2189 esac |
| 1553 done | 2190 done |
| 1554 done | 2191 done |
| 1555 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_
configure_args0=; export ac_configure_args0; } | 2192 { ac_configure_args0=; unset ac_configure_args0;} |
| 1556 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_
configure_args1=; export ac_configure_args1; } | 2193 { ac_configure_args1=; unset ac_configure_args1;} |
| 1557 | 2194 |
| 1558 # When interrupted or exit'd, cleanup temporary files, and complete | 2195 # When interrupted or exit'd, cleanup temporary files, and complete |
| 1559 # config.log. We remove comments because anyway the quotes in there | 2196 # config.log. We remove comments because anyway the quotes in there |
| 1560 # would cause problems or look ugly. | 2197 # would cause problems or look ugly. |
| 1561 # WARNING: Use '\'' to represent an apostrophe within the trap. | 2198 # WARNING: Use '\'' to represent an apostrophe within the trap. |
| 1562 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | 2199 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
| 1563 trap 'exit_status=$? | 2200 trap 'exit_status=$? |
| 1564 # Save into config.log some information that might help in debugging. | 2201 # Save into config.log some information that might help in debugging. |
| 1565 { | 2202 { |
| 1566 echo | 2203 echo |
| 1567 | 2204 |
| 1568 cat <<\_ASBOX | 2205 cat <<\_ASBOX |
| 1569 ## ---------------- ## | 2206 ## ---------------- ## |
| 1570 ## Cache variables. ## | 2207 ## Cache variables. ## |
| 1571 ## ---------------- ## | 2208 ## ---------------- ## |
| 1572 _ASBOX | 2209 _ASBOX |
| 1573 echo | 2210 echo |
| 1574 # The following way of writing the cache mishandles newlines in values, | 2211 # The following way of writing the cache mishandles newlines in values, |
| 1575 ( | 2212 ( |
| 1576 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\
''`; do | 2213 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\
''`; do |
| 1577 eval ac_val=\$$ac_var | 2214 eval ac_val=\$$ac_var |
| 1578 case $ac_val in #( | 2215 case $ac_val in #( |
| 1579 *${as_nl}*) | 2216 *${as_nl}*) |
| 1580 case $ac_var in #( | 2217 case $ac_var in #( |
| 1581 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a
newline." >&5 | 2218 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $
ac_var contains a newline" >&5 |
| 1582 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | 2219 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 1583 esac | 2220 esac |
| 1584 case $ac_var in #( | 2221 case $ac_var in #( |
| 1585 _ | IFS | as_nl) ;; #( | 2222 _ | IFS | as_nl) ;; #( |
| 1586 *) $as_unset $ac_var ;; | 2223 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 2224 *) { eval $ac_var=; unset $ac_var;} ;; |
| 1587 esac ;; | 2225 esac ;; |
| 1588 esac | 2226 esac |
| 1589 done | 2227 done |
| 1590 (set) 2>&1 | | 2228 (set) 2>&1 | |
| 1591 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | 2229 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
| 1592 *${as_nl}ac_space=\ *) | 2230 *${as_nl}ac_space=\ *) |
| 1593 sed -n \ | 2231 sed -n \ |
| 1594 "s/'\''/'\''\\\\'\'''\''/g; | 2232 "s/'\''/'\''\\\\'\'''\''/g; |
| 1595 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''
/p" | 2233 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''
/p" |
| 1596 ;; #( | 2234 ;; #( |
| 1597 *) | 2235 *) |
| 1598 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | 2236 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 1599 ;; | 2237 ;; |
| 1600 esac | | 2238 esac | |
| 1601 sort | 2239 sort |
| 1602 ) | 2240 ) |
| 1603 echo | 2241 echo |
| 1604 | 2242 |
| 1605 cat <<\_ASBOX | 2243 cat <<\_ASBOX |
| 1606 ## ----------------- ## | 2244 ## ----------------- ## |
| 1607 ## Output variables. ## | 2245 ## Output variables. ## |
| 1608 ## ----------------- ## | 2246 ## ----------------- ## |
| 1609 _ASBOX | 2247 _ASBOX |
| 1610 echo | 2248 echo |
| 1611 for ac_var in $ac_subst_vars | 2249 for ac_var in $ac_subst_vars |
| 1612 do | 2250 do |
| 1613 eval ac_val=\$$ac_var | 2251 eval ac_val=\$$ac_var |
| 1614 case $ac_val in | 2252 case $ac_val in |
| 1615 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | 2253 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`
;; |
| 1616 esac | 2254 esac |
| 1617 echo "$ac_var='\''$ac_val'\''" | 2255 $as_echo "$ac_var='\''$ac_val'\''" |
| 1618 done | sort | 2256 done | sort |
| 1619 echo | 2257 echo |
| 1620 | 2258 |
| 1621 if test -n "$ac_subst_files"; then | 2259 if test -n "$ac_subst_files"; then |
| 1622 cat <<\_ASBOX | 2260 cat <<\_ASBOX |
| 1623 ## ------------------- ## | 2261 ## ------------------- ## |
| 1624 ## File substitutions. ## | 2262 ## File substitutions. ## |
| 1625 ## ------------------- ## | 2263 ## ------------------- ## |
| 1626 _ASBOX | 2264 _ASBOX |
| 1627 echo | 2265 echo |
| 1628 for ac_var in $ac_subst_files | 2266 for ac_var in $ac_subst_files |
| 1629 do | 2267 do |
| 1630 eval ac_val=\$$ac_var | 2268 eval ac_val=\$$ac_var |
| 1631 case $ac_val in | 2269 case $ac_val in |
| 1632 » *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | 2270 » *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g
"`;; |
| 1633 esac | 2271 esac |
| 1634 » echo "$ac_var='\''$ac_val'\''" | 2272 » $as_echo "$ac_var='\''$ac_val'\''" |
| 1635 done | sort | 2273 done | sort |
| 1636 echo | 2274 echo |
| 1637 fi | 2275 fi |
| 1638 | 2276 |
| 1639 if test -s confdefs.h; then | 2277 if test -s confdefs.h; then |
| 1640 cat <<\_ASBOX | 2278 cat <<\_ASBOX |
| 1641 ## ----------- ## | 2279 ## ----------- ## |
| 1642 ## confdefs.h. ## | 2280 ## confdefs.h. ## |
| 1643 ## ----------- ## | 2281 ## ----------- ## |
| 1644 _ASBOX | 2282 _ASBOX |
| 1645 echo | 2283 echo |
| 1646 cat confdefs.h | 2284 cat confdefs.h |
| 1647 echo | 2285 echo |
| 1648 fi | 2286 fi |
| 1649 test "$ac_signal" != 0 && | 2287 test "$ac_signal" != 0 && |
| 1650 echo "$as_me: caught signal $ac_signal" | 2288 $as_echo "$as_me: caught signal $ac_signal" |
| 1651 echo "$as_me: exit $exit_status" | 2289 $as_echo "$as_me: exit $exit_status" |
| 1652 } >&5 | 2290 } >&5 |
| 1653 rm -f core *.core core.conftest.* && | 2291 rm -f core *.core core.conftest.* && |
| 1654 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | 2292 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
| 1655 exit $exit_status | 2293 exit $exit_status |
| 1656 ' 0 | 2294 ' 0 |
| 1657 for ac_signal in 1 2 13 15; do | 2295 for ac_signal in 1 2 13 15; do |
| 1658 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | 2296 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
| 1659 done | 2297 done |
| 1660 ac_signal=0 | 2298 ac_signal=0 |
| 1661 | 2299 |
| 1662 # confdefs.h avoids OS command line length limits that DEFS can exceed. | 2300 # confdefs.h avoids OS command line length limits that DEFS can exceed. |
| 1663 rm -f -r conftest* confdefs.h | 2301 rm -f -r conftest* confdefs.h |
| 1664 | 2302 |
| 2303 $as_echo "/* confdefs.h */" > confdefs.h |
| 2304 |
| 1665 # Predefined preprocessor variables. | 2305 # Predefined preprocessor variables. |
| 1666 | 2306 |
| 1667 cat >>confdefs.h <<_ACEOF | 2307 cat >>confdefs.h <<_ACEOF |
| 1668 #define PACKAGE_NAME "$PACKAGE_NAME" | 2308 #define PACKAGE_NAME "$PACKAGE_NAME" |
| 1669 _ACEOF | 2309 _ACEOF |
| 1670 | 2310 |
| 1671 | |
| 1672 cat >>confdefs.h <<_ACEOF | 2311 cat >>confdefs.h <<_ACEOF |
| 1673 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 2312 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
| 1674 _ACEOF | 2313 _ACEOF |
| 1675 | 2314 |
| 1676 | |
| 1677 cat >>confdefs.h <<_ACEOF | 2315 cat >>confdefs.h <<_ACEOF |
| 1678 #define PACKAGE_VERSION "$PACKAGE_VERSION" | 2316 #define PACKAGE_VERSION "$PACKAGE_VERSION" |
| 1679 _ACEOF | 2317 _ACEOF |
| 1680 | 2318 |
| 1681 | |
| 1682 cat >>confdefs.h <<_ACEOF | 2319 cat >>confdefs.h <<_ACEOF |
| 1683 #define PACKAGE_STRING "$PACKAGE_STRING" | 2320 #define PACKAGE_STRING "$PACKAGE_STRING" |
| 1684 _ACEOF | 2321 _ACEOF |
| 1685 | 2322 |
| 1686 | |
| 1687 cat >>confdefs.h <<_ACEOF | 2323 cat >>confdefs.h <<_ACEOF |
| 1688 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 2324 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
| 1689 _ACEOF | 2325 _ACEOF |
| 1690 | 2326 |
| 2327 cat >>confdefs.h <<_ACEOF |
| 2328 #define PACKAGE_URL "$PACKAGE_URL" |
| 2329 _ACEOF |
| 2330 |
| 1691 | 2331 |
| 1692 # Let the site file select an alternate cache file if it wants to. | 2332 # Let the site file select an alternate cache file if it wants to. |
| 1693 # Prefer explicitly selected file to automatically selected ones. | 2333 # Prefer an explicitly selected file to automatically selected ones. |
| 2334 ac_site_file1=NONE |
| 2335 ac_site_file2=NONE |
| 1694 if test -n "$CONFIG_SITE"; then | 2336 if test -n "$CONFIG_SITE"; then |
| 1695 set x "$CONFIG_SITE" | 2337 ac_site_file1=$CONFIG_SITE |
| 1696 elif test "x$prefix" != xNONE; then | 2338 elif test "x$prefix" != xNONE; then |
| 1697 set x "$prefix/share/config.site" "$prefix/etc/config.site" | 2339 ac_site_file1=$prefix/share/config.site |
| 2340 ac_site_file2=$prefix/etc/config.site |
| 1698 else | 2341 else |
| 1699 set x "$ac_default_prefix/share/config.site" \ | 2342 ac_site_file1=$ac_default_prefix/share/config.site |
| 1700 » "$ac_default_prefix/etc/config.site" | 2343 ac_site_file2=$ac_default_prefix/etc/config.site |
| 1701 fi | 2344 fi |
| 1702 shift | 2345 for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
| 1703 for ac_site_file | |
| 1704 do | 2346 do |
| 1705 if test -r "$ac_site_file"; then | 2347 test "x$ac_site_file" = xNONE && continue |
| 1706 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 2348 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
| 1707 echo "$as_me: loading site script $ac_site_file" >&6;} | 2349 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file"
>&5 |
| 2350 $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
| 1708 sed 's/^/| /' "$ac_site_file" >&5 | 2351 sed 's/^/| /' "$ac_site_file" >&5 |
| 1709 . "$ac_site_file" | 2352 . "$ac_site_file" |
| 1710 fi | 2353 fi |
| 1711 done | 2354 done |
| 1712 | 2355 |
| 1713 if test -r "$cache_file"; then | 2356 if test -r "$cache_file"; then |
| 1714 # Some versions of bash will fail to source /dev/null (special | 2357 # Some versions of bash will fail to source /dev/null (special files |
| 1715 # files actually), so we avoid doing that. | 2358 # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
| 1716 if test -f "$cache_file"; then | 2359 if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
| 1717 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 2360 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
| 1718 echo "$as_me: loading cache $cache_file" >&6;} | 2361 $as_echo "$as_me: loading cache $cache_file" >&6;} |
| 1719 case $cache_file in | 2362 case $cache_file in |
| 1720 [\\/]* | ?:[\\/]* ) . "$cache_file";; | 2363 [\\/]* | ?:[\\/]* ) . "$cache_file";; |
| 1721 *) . "./$cache_file";; | 2364 *) . "./$cache_file";; |
| 1722 esac | 2365 esac |
| 1723 fi | 2366 fi |
| 1724 else | 2367 else |
| 1725 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | 2368 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
| 1726 echo "$as_me: creating cache $cache_file" >&6;} | 2369 $as_echo "$as_me: creating cache $cache_file" >&6;} |
| 1727 >$cache_file | 2370 >$cache_file |
| 1728 fi | 2371 fi |
| 1729 | 2372 |
| 1730 gt_needs="$gt_needs " | 2373 gt_needs="$gt_needs " |
| 1731 # Check that the precious variables saved in the cache have kept the same | 2374 # Check that the precious variables saved in the cache have kept the same |
| 1732 # value. | 2375 # value. |
| 1733 ac_cache_corrupted=false | 2376 ac_cache_corrupted=false |
| 1734 for ac_var in $ac_precious_vars; do | 2377 for ac_var in $ac_precious_vars; do |
| 1735 eval ac_old_set=\$ac_cv_env_${ac_var}_set | 2378 eval ac_old_set=\$ac_cv_env_${ac_var}_set |
| 1736 eval ac_new_set=\$ac_env_${ac_var}_set | 2379 eval ac_new_set=\$ac_env_${ac_var}_set |
| 1737 eval ac_old_val=\$ac_cv_env_${ac_var}_value | 2380 eval ac_old_val=\$ac_cv_env_${ac_var}_value |
| 1738 eval ac_new_val=\$ac_env_${ac_var}_value | 2381 eval ac_new_val=\$ac_env_${ac_var}_value |
| 1739 case $ac_old_set,$ac_new_set in | 2382 case $ac_old_set,$ac_new_set in |
| 1740 set,) | 2383 set,) |
| 1741 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the
previous run" >&5 | 2384 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$a
c_old_val' in the previous run" >&5 |
| 1742 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >
&2;} | 2385 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous ru
n" >&2;} |
| 1743 ac_cache_corrupted=: ;; | 2386 ac_cache_corrupted=: ;; |
| 1744 ,set) | 2387 ,set) |
| 1745 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run"
>&5 | 2388 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in
the previous run" >&5 |
| 1746 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 2389 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
| 1747 ac_cache_corrupted=: ;; | 2390 ac_cache_corrupted=: ;; |
| 1748 ,);; | 2391 ,);; |
| 1749 *) | 2392 *) |
| 1750 if test "x$ac_old_val" != "x$ac_new_val"; then | 2393 if test "x$ac_old_val" != "x$ac_new_val"; then |
| 1751 » { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous
run:" >&5 | 2394 » # differences in whitespace do not lead to failure. |
| 1752 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 2395 » ac_old_val_w=`echo x $ac_old_val` |
| 1753 » { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 | 2396 » ac_new_val_w=`echo x $ac_new_val` |
| 1754 echo "$as_me: former value: $ac_old_val" >&2;} | 2397 » if test "$ac_old_val_w" != "$ac_new_val_w"; then |
| 1755 » { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 | 2398 » { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed
since the previous run:" >&5 |
| 1756 echo "$as_me: current value: $ac_new_val" >&2;} | 2399 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
| 1757 » ac_cache_corrupted=: | 2400 » ac_cache_corrupted=: |
| 2401 » else |
| 2402 » { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace
changes in \`$ac_var' since the previous run:" >&5 |
| 2403 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the p
revious run:" >&2;} |
| 2404 » eval $ac_var=\$ac_old_val |
| 2405 » fi |
| 2406 » { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'
" >&5 |
| 2407 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
| 2408 » { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'
" >&5 |
| 2409 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
| 1758 fi;; | 2410 fi;; |
| 1759 esac | 2411 esac |
| 1760 # Pass precious variables to config.status. | 2412 # Pass precious variables to config.status. |
| 1761 if test "$ac_new_set" = set; then | 2413 if test "$ac_new_set" = set; then |
| 1762 case $ac_new_val in | 2414 case $ac_new_val in |
| 1763 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 2415 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1764 *) ac_arg=$ac_var=$ac_new_val ;; | 2416 *) ac_arg=$ac_var=$ac_new_val ;; |
| 1765 esac | 2417 esac |
| 1766 case " $ac_configure_args " in | 2418 case " $ac_configure_args " in |
| 1767 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | 2419 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
| 1768 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | 2420 *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
| 1769 esac | 2421 esac |
| 1770 fi | 2422 fi |
| 1771 done | 2423 done |
| 1772 if $ac_cache_corrupted; then | 2424 if $ac_cache_corrupted; then |
| 1773 { echo "$as_me:$LINENO: error: changes in the environment can compromise the b
uild" >&5 | 2425 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 1774 echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 2426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 1775 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file
' and start over" >&5 | 2427 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can
compromise the build" >&5 |
| 1776 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start ov
er" >&2;} | 2428 $as_echo "$as_me: error: changes in the environment can compromise the build" >&
2;} |
| 1777 { (exit 1); exit 1; }; } | 2429 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$
LINENO" 5 |
| 1778 fi | 2430 fi |
| 1779 | 2431 ## -------------------- ## |
| 1780 | 2432 ## Main body of script. ## |
| 1781 | 2433 ## -------------------- ## |
| 1782 | |
| 1783 | |
| 1784 | |
| 1785 | |
| 1786 | |
| 1787 | |
| 1788 | |
| 1789 | |
| 1790 | |
| 1791 | |
| 1792 | |
| 1793 | |
| 1794 | |
| 1795 | |
| 1796 | |
| 1797 | |
| 1798 | |
| 1799 | |
| 1800 | |
| 1801 | |
| 1802 | |
| 1803 | 2434 |
| 1804 ac_ext=c | 2435 ac_ext=c |
| 1805 ac_cpp='$CPP $CPPFLAGS' | 2436 ac_cpp='$CPP $CPPFLAGS' |
| 1806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 2437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 1807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | 2438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
| 1808 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 2439 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 1809 | 2440 |
| 1810 | 2441 |
| 1811 #AC_CONFIG_SRCDIR([src/main.c]) | 2442 #AC_CONFIG_SRCDIR([src/main.c]) |
| 1812 ac_aux_dir= | 2443 ac_aux_dir= |
| 1813 for ac_dir in config "$srcdir"/config; do | 2444 for ac_dir in config "$srcdir"/config; do |
| 1814 if test -f "$ac_dir/install-sh"; then | 2445 for ac_t in install-sh install.sh shtool; do |
| 1815 ac_aux_dir=$ac_dir | 2446 if test -f "$ac_dir/$ac_t"; then |
| 1816 ac_install_sh="$ac_aux_dir/install-sh -c" | 2447 ac_aux_dir=$ac_dir |
| 1817 break | 2448 ac_install_sh="$ac_aux_dir/$ac_t -c" |
| 1818 elif test -f "$ac_dir/install.sh"; then | 2449 break 2 |
| 1819 ac_aux_dir=$ac_dir | 2450 fi |
| 1820 ac_install_sh="$ac_aux_dir/install.sh -c" | 2451 done |
| 1821 break | |
| 1822 elif test -f "$ac_dir/shtool"; then | |
| 1823 ac_aux_dir=$ac_dir | |
| 1824 ac_install_sh="$ac_aux_dir/shtool install -c" | |
| 1825 break | |
| 1826 fi | |
| 1827 done | 2452 done |
| 1828 if test -z "$ac_aux_dir"; then | 2453 if test -z "$ac_aux_dir"; then |
| 1829 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in confi
g \"$srcdir\"/config" >&5 | 2454 as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir
\"/config" "$LINENO" 5 |
| 1830 echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/
config" >&2;} | |
| 1831 { (exit 1); exit 1; }; } | |
| 1832 fi | 2455 fi |
| 1833 | 2456 |
| 1834 # These three variables are undocumented and unsupported, | 2457 # These three variables are undocumented and unsupported, |
| 1835 # and are intended to be withdrawn in a future Autoconf release. | 2458 # and are intended to be withdrawn in a future Autoconf release. |
| 1836 # They can cause serious problems if a builder's source tree is in a directory | 2459 # They can cause serious problems if a builder's source tree is in a directory |
| 1837 # whose full name contains unusual characters. | 2460 # whose full name contains unusual characters. |
| 1838 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | 2461 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
| 1839 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | 2462 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
| 1840 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | 2463 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
| 1841 | 2464 |
| 1842 | 2465 |
| 1843 ac_config_headers="$ac_config_headers config.h" | 2466 ac_config_headers="$ac_config_headers config.h" |
| 1844 | 2467 |
| 1845 | 2468 |
| 1846 am__api_version='1.10' | 2469 am__api_version='1.11' |
| 1847 | 2470 |
| 1848 # Find a good install program. We prefer a C program (faster), | 2471 # Find a good install program. We prefer a C program (faster), |
| 1849 # so one script is as good as another. But avoid the broken or | 2472 # so one script is as good as another. But avoid the broken or |
| 1850 # incompatible versions: | 2473 # incompatible versions: |
| 1851 # SysV /etc/install, /usr/sbin/install | 2474 # SysV /etc/install, /usr/sbin/install |
| 1852 # SunOS /usr/etc/install | 2475 # SunOS /usr/etc/install |
| 1853 # IRIX /sbin/install | 2476 # IRIX /sbin/install |
| 1854 # AIX /bin/install | 2477 # AIX /bin/install |
| 1855 # AmigaOS /C/install, which installs bootblocks on floppy discs | 2478 # AmigaOS /C/install, which installs bootblocks on floppy discs |
| 1856 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 2479 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 1857 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2480 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 1858 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2481 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 1859 # OS/2's system install, which has a completely different semantic | 2482 # OS/2's system install, which has a completely different semantic |
| 1860 # ./install, which can be erroneously created by make from ./install.sh. | 2483 # ./install, which can be erroneously created by make from ./install.sh. |
| 1861 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 2484 # Reject install programs that cannot install multiple files. |
| 1862 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } | 2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install"
>&5 |
| 2486 $as_echo_n "checking for a BSD-compatible install... " >&6; } |
| 1863 if test -z "$INSTALL"; then | 2487 if test -z "$INSTALL"; then |
| 1864 if test "${ac_cv_path_install+set}" = set; then | 2488 if test "${ac_cv_path_install+set}" = set; then : |
| 1865 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2489 $as_echo_n "(cached) " >&6 |
| 1866 else | 2490 else |
| 1867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1868 for as_dir in $PATH | 2492 for as_dir in $PATH |
| 1869 do | 2493 do |
| 1870 IFS=$as_save_IFS | 2494 IFS=$as_save_IFS |
| 1871 test -z "$as_dir" && as_dir=. | 2495 test -z "$as_dir" && as_dir=. |
| 1872 # Account for people who put trailing slashes in PATH elements. | 2496 # Account for people who put trailing slashes in PATH elements. |
| 1873 case $as_dir/ in | 2497 case $as_dir/ in #(( |
| 1874 ./ | .// | /cC/* | \ | 2498 ./ | .// | /[cC]/* | \ |
| 1875 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 2499 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 1876 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | 2500 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
| 1877 /usr/ucb/* ) ;; | 2501 /usr/ucb/* ) ;; |
| 1878 *) | 2502 *) |
| 1879 # OSF1 and SCO ODT 3.0 have their own names for install. | 2503 # OSF1 and SCO ODT 3.0 have their own names for install. |
| 1880 # Don't use installbsd from OSF since it installs stuff as root | 2504 # Don't use installbsd from OSF since it installs stuff as root |
| 1881 # by default. | 2505 # by default. |
| 1882 for ac_prog in ginstall scoinst install; do | 2506 for ac_prog in ginstall scoinst install; do |
| 1883 for ac_exec_ext in '' $ac_executable_extensions; do | 2507 for ac_exec_ext in '' $ac_executable_extensions; do |
| 1884 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_p
rog$ac_exec_ext"; }; then | 2508 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_p
rog$ac_exec_ext"; }; then |
| 1885 if test $ac_prog = install && | 2509 if test $ac_prog = install && |
| 1886 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 2510 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 1887 # AIX install. It has an incompatible calling convention. | 2511 # AIX install. It has an incompatible calling convention. |
| 1888 : | 2512 : |
| 1889 elif test $ac_prog = install && | 2513 elif test $ac_prog = install && |
| 1890 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 2514 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 1891 # program-specific install script used by HP pwplus--don't use. | 2515 # program-specific install script used by HP pwplus--don't use. |
| 1892 : | 2516 : |
| 1893 else | 2517 else |
| 1894 » ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 2518 » rm -rf conftest.one conftest.two conftest.dir |
| 1895 » break 3 | 2519 » echo one > conftest.one |
| 2520 » echo two > conftest.two |
| 2521 » mkdir conftest.dir |
| 2522 » if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd
`/conftest.dir" && |
| 2523 » test -s conftest.one && test -s conftest.two && |
| 2524 » test -s conftest.dir/conftest.one && |
| 2525 » test -s conftest.dir/conftest.two |
| 2526 » then |
| 2527 » ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
| 2528 » break 3 |
| 2529 » fi |
| 1896 fi | 2530 fi |
| 1897 fi | 2531 fi |
| 1898 done | 2532 done |
| 1899 done | 2533 done |
| 1900 ;; | 2534 ;; |
| 1901 esac | 2535 esac |
| 1902 done | 2536 |
| 2537 done |
| 1903 IFS=$as_save_IFS | 2538 IFS=$as_save_IFS |
| 1904 | 2539 |
| 2540 rm -rf conftest.one conftest.two conftest.dir |
| 1905 | 2541 |
| 1906 fi | 2542 fi |
| 1907 if test "${ac_cv_path_install+set}" = set; then | 2543 if test "${ac_cv_path_install+set}" = set; then |
| 1908 INSTALL=$ac_cv_path_install | 2544 INSTALL=$ac_cv_path_install |
| 1909 else | 2545 else |
| 1910 # As a last resort, use the slow shell script. Don't cache a | 2546 # As a last resort, use the slow shell script. Don't cache a |
| 1911 # value for INSTALL within a source directory, because that will | 2547 # value for INSTALL within a source directory, because that will |
| 1912 # break other packages using the cache if that directory is | 2548 # break other packages using the cache if that directory is |
| 1913 # removed, or if the value is a relative name. | 2549 # removed, or if the value is a relative name. |
| 1914 INSTALL=$ac_install_sh | 2550 INSTALL=$ac_install_sh |
| 1915 fi | 2551 fi |
| 1916 fi | 2552 fi |
| 1917 { echo "$as_me:$LINENO: result: $INSTALL" >&5 | 2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
| 1918 echo "${ECHO_T}$INSTALL" >&6; } | 2554 $as_echo "$INSTALL" >&6; } |
| 1919 | 2555 |
| 1920 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 2556 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 1921 # It thinks the first close brace ends the variable substitution. | 2557 # It thinks the first close brace ends the variable substitution. |
| 1922 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 2558 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
| 1923 | 2559 |
| 1924 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | 2560 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
| 1925 | 2561 |
| 1926 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 2562 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 1927 | 2563 |
| 1928 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5 | 2564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is s
ane" >&5 |
| 1929 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } | 2565 $as_echo_n "checking whether build environment is sane... " >&6; } |
| 1930 # Just in case | 2566 # Just in case |
| 1931 sleep 1 | 2567 sleep 1 |
| 1932 echo timestamp > conftest.file | 2568 echo timestamp > conftest.file |
| 2569 # Reject unsafe characters in $srcdir or the absolute working directory |
| 2570 # name. Accept space and tab only in the latter. |
| 2571 am_lf=' |
| 2572 ' |
| 2573 case `pwd` in |
| 2574 *[\\\"\#\$\&\'\`$am_lf]*) |
| 2575 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; |
| 2576 esac |
| 2577 case $srcdir in |
| 2578 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
| 2579 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
| 2580 esac |
| 2581 |
| 1933 # Do `set' in a subshell so we don't clobber the current shell's | 2582 # Do `set' in a subshell so we don't clobber the current shell's |
| 1934 # arguments. Must try -L first in case configure is actually a | 2583 # arguments. Must try -L first in case configure is actually a |
| 1935 # symlink; some systems play weird games with the mod time of symlinks | 2584 # symlink; some systems play weird games with the mod time of symlinks |
| 1936 # (eg FreeBSD returns the mod time of the symlink's containing | 2585 # (eg FreeBSD returns the mod time of the symlink's containing |
| 1937 # directory). | 2586 # directory). |
| 1938 if ( | 2587 if ( |
| 1939 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` | 2588 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
| 1940 if test "$*" = "X"; then | 2589 if test "$*" = "X"; then |
| 1941 # -L didn't work. | 2590 # -L didn't work. |
| 1942 set X `ls -t $srcdir/configure conftest.file` | 2591 set X `ls -t "$srcdir/configure" conftest.file` |
| 1943 fi | 2592 fi |
| 1944 rm -f conftest.file | 2593 rm -f conftest.file |
| 1945 if test "$*" != "X $srcdir/configure conftest.file" \ | 2594 if test "$*" != "X $srcdir/configure conftest.file" \ |
| 1946 && test "$*" != "X conftest.file $srcdir/configure"; then | 2595 && test "$*" != "X conftest.file $srcdir/configure"; then |
| 1947 | 2596 |
| 1948 # If neither matched, then we have a broken ls. This can happen | 2597 # If neither matched, then we have a broken ls. This can happen |
| 1949 # if, for instance, CONFIG_SHELL is bash and it inherits a | 2598 # if, for instance, CONFIG_SHELL is bash and it inherits a |
| 1950 # broken ls alias from the environment. This has actually | 2599 # broken ls alias from the environment. This has actually |
| 1951 # happened. Such a system could not be considered "sane". | 2600 # happened. Such a system could not be considered "sane". |
| 1952 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there i
s not a broken | 2601 as_fn_error "ls -t appears to fail. Make sure there is not a broken |
| 1953 alias in your environment" >&5 | 2602 alias in your environment" "$LINENO" 5 |
| 1954 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken | |
| 1955 alias in your environment" >&2;} | |
| 1956 { (exit 1); exit 1; }; } | |
| 1957 fi | 2603 fi |
| 1958 | 2604 |
| 1959 test "$2" = conftest.file | 2605 test "$2" = conftest.file |
| 1960 ) | 2606 ) |
| 1961 then | 2607 then |
| 1962 # Ok. | 2608 # Ok. |
| 1963 : | 2609 : |
| 1964 else | 2610 else |
| 1965 { { echo "$as_me:$LINENO: error: newly created file is older than distributed
files! | 2611 as_fn_error "newly created file is older than distributed files! |
| 1966 Check your system clock" >&5 | 2612 Check your system clock" "$LINENO" 5 |
| 1967 echo "$as_me: error: newly created file is older than distributed files! | |
| 1968 Check your system clock" >&2;} | |
| 1969 { (exit 1); exit 1; }; } | |
| 1970 fi | 2613 fi |
| 1971 { echo "$as_me:$LINENO: result: yes" >&5 | 2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 1972 echo "${ECHO_T}yes" >&6; } | 2615 $as_echo "yes" >&6; } |
| 1973 test "$program_prefix" != NONE && | 2616 test "$program_prefix" != NONE && |
| 1974 program_transform_name="s&^&$program_prefix&;$program_transform_name" | 2617 program_transform_name="s&^&$program_prefix&;$program_transform_name" |
| 1975 # Use a double $ so make ignores it. | 2618 # Use a double $ so make ignores it. |
| 1976 test "$program_suffix" != NONE && | 2619 test "$program_suffix" != NONE && |
| 1977 program_transform_name="s&\$&$program_suffix&;$program_transform_name" | 2620 program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
| 1978 # Double any \ or $. echo might interpret backslashes. | 2621 # Double any \ or $. |
| 1979 # By default was `s,x,x', remove it if useless. | 2622 # By default was `s,x,x', remove it if useless. |
| 1980 cat <<\_ACEOF >conftest.sed | 2623 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
| 1981 s/[\\$]/&&/g;s/;s,x,x,$// | 2624 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
| 1982 _ACEOF | |
| 1983 program_transform_name=`echo $program_transform_name | sed -f conftest.sed` | |
| 1984 rm -f conftest.sed | |
| 1985 | 2625 |
| 1986 # expand $ac_aux_dir to an absolute path | 2626 # expand $ac_aux_dir to an absolute path |
| 1987 am_aux_dir=`cd $ac_aux_dir && pwd` | 2627 am_aux_dir=`cd $ac_aux_dir && pwd` |
| 1988 | 2628 |
| 1989 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" | 2629 if test x"${MISSING+set}" != xset; then |
| 2630 case $am_aux_dir in |
| 2631 *\ * | *\» *) |
| 2632 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
| 2633 *) |
| 2634 MISSING="\${SHELL} $am_aux_dir/missing" ;; |
| 2635 esac |
| 2636 fi |
| 1990 # Use eval to expand $SHELL | 2637 # Use eval to expand $SHELL |
| 1991 if eval "$MISSING --run true"; then | 2638 if eval "$MISSING --run true"; then |
| 1992 am_missing_run="$MISSING --run " | 2639 am_missing_run="$MISSING --run " |
| 1993 else | 2640 else |
| 1994 am_missing_run= | 2641 am_missing_run= |
| 1995 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 | 2642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old
or missing" >&5 |
| 1996 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | 2643 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
| 1997 fi | 2644 fi |
| 1998 | 2645 |
| 1999 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 | 2646 if test x"${install_sh}" != xset; then |
| 2000 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } | 2647 case $am_aux_dir in |
| 2648 *\ * | *\» *) |
| 2649 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
| 2650 *) |
| 2651 install_sh="\${SHELL} $am_aux_dir/install-sh" |
| 2652 esac |
| 2653 fi |
| 2654 |
| 2655 # Installed binaries are usually stripped using `strip' when the user |
| 2656 # run `make install-strip'. However `strip' might not be the right |
| 2657 # tool to use in cross-compilation environments, therefore Automake |
| 2658 # will honor the `STRIP' environment variable to overrule this program. |
| 2659 if test "$cross_compiling" != no; then |
| 2660 if test -n "$ac_tool_prefix"; then |
| 2661 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program n
ame with args. |
| 2662 set dummy ${ac_tool_prefix}strip; ac_word=$2 |
| 2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2664 $as_echo_n "checking for $ac_word... " >&6; } |
| 2665 if test "${ac_cv_prog_STRIP+set}" = set; then : |
| 2666 $as_echo_n "(cached) " >&6 |
| 2667 else |
| 2668 if test -n "$STRIP"; then |
| 2669 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
| 2670 else |
| 2671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2672 for as_dir in $PATH |
| 2673 do |
| 2674 IFS=$as_save_IFS |
| 2675 test -z "$as_dir" && as_dir=. |
| 2676 for ac_exec_ext in '' $ac_executable_extensions; do |
| 2677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then |
| 2678 ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 2679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 2680 break 2 |
| 2681 fi |
| 2682 done |
| 2683 done |
| 2684 IFS=$as_save_IFS |
| 2685 |
| 2686 fi |
| 2687 fi |
| 2688 STRIP=$ac_cv_prog_STRIP |
| 2689 if test -n "$STRIP"; then |
| 2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
| 2691 $as_echo "$STRIP" >&6; } |
| 2692 else |
| 2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2694 $as_echo "no" >&6; } |
| 2695 fi |
| 2696 |
| 2697 |
| 2698 fi |
| 2699 if test -z "$ac_cv_prog_STRIP"; then |
| 2700 ac_ct_STRIP=$STRIP |
| 2701 # Extract the first word of "strip", so it can be a program name with args. |
| 2702 set dummy strip; ac_word=$2 |
| 2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2704 $as_echo_n "checking for $ac_word... " >&6; } |
| 2705 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : |
| 2706 $as_echo_n "(cached) " >&6 |
| 2707 else |
| 2708 if test -n "$ac_ct_STRIP"; then |
| 2709 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
| 2710 else |
| 2711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2712 for as_dir in $PATH |
| 2713 do |
| 2714 IFS=$as_save_IFS |
| 2715 test -z "$as_dir" && as_dir=. |
| 2716 for ac_exec_ext in '' $ac_executable_extensions; do |
| 2717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then |
| 2718 ac_cv_prog_ac_ct_STRIP="strip" |
| 2719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 2720 break 2 |
| 2721 fi |
| 2722 done |
| 2723 done |
| 2724 IFS=$as_save_IFS |
| 2725 |
| 2726 fi |
| 2727 fi |
| 2728 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
| 2729 if test -n "$ac_ct_STRIP"; then |
| 2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
| 2731 $as_echo "$ac_ct_STRIP" >&6; } |
| 2732 else |
| 2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2734 $as_echo "no" >&6; } |
| 2735 fi |
| 2736 |
| 2737 if test "x$ac_ct_STRIP" = x; then |
| 2738 STRIP=":" |
| 2739 else |
| 2740 case $cross_compiling:$ac_tool_warned in |
| 2741 yes:) |
| 2742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 |
| 2743 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
| 2744 ac_tool_warned=yes ;; |
| 2745 esac |
| 2746 STRIP=$ac_ct_STRIP |
| 2747 fi |
| 2748 else |
| 2749 STRIP="$ac_cv_prog_STRIP" |
| 2750 fi |
| 2751 |
| 2752 fi |
| 2753 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
| 2754 |
| 2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&
5 |
| 2756 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
| 2001 if test -z "$MKDIR_P"; then | 2757 if test -z "$MKDIR_P"; then |
| 2002 if test "${ac_cv_path_mkdir+set}" = set; then | 2758 if test "${ac_cv_path_mkdir+set}" = set; then : |
| 2003 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2759 $as_echo_n "(cached) " >&6 |
| 2004 else | 2760 else |
| 2005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2006 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | 2762 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
| 2007 do | 2763 do |
| 2008 IFS=$as_save_IFS | 2764 IFS=$as_save_IFS |
| 2009 test -z "$as_dir" && as_dir=. | 2765 test -z "$as_dir" && as_dir=. |
| 2010 for ac_prog in mkdir gmkdir; do | 2766 for ac_prog in mkdir gmkdir; do |
| 2011 for ac_exec_ext in '' $ac_executable_extensions; do | 2767 for ac_exec_ext in '' $ac_executable_extensions; do |
| 2012 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_p
rog$ac_exec_ext"; } || continue | 2768 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_p
rog$ac_exec_ext"; } || continue |
| 2013 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( | 2769 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
| 2014 'mkdir (GNU coreutils) '* | \ | 2770 'mkdir (GNU coreutils) '* | \ |
| 2015 'mkdir (coreutils) '* | \ | 2771 'mkdir (coreutils) '* | \ |
| 2016 'mkdir (fileutils) '4.1*) | 2772 'mkdir (fileutils) '4.1*) |
| 2017 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext | 2773 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
| 2018 break 3;; | 2774 break 3;; |
| 2019 esac | 2775 esac |
| 2020 done | 2776 done |
| 2021 done | 2777 done |
| 2022 done | 2778 done |
| 2023 IFS=$as_save_IFS | 2779 IFS=$as_save_IFS |
| 2024 | 2780 |
| 2025 fi | 2781 fi |
| 2026 | 2782 |
| 2783 test -d ./--version && rmdir ./--version |
| 2027 if test "${ac_cv_path_mkdir+set}" = set; then | 2784 if test "${ac_cv_path_mkdir+set}" = set; then |
| 2028 MKDIR_P="$ac_cv_path_mkdir -p" | 2785 MKDIR_P="$ac_cv_path_mkdir -p" |
| 2029 else | 2786 else |
| 2030 # As a last resort, use the slow shell script. Don't cache a | 2787 # As a last resort, use the slow shell script. Don't cache a |
| 2031 # value for MKDIR_P within a source directory, because that will | 2788 # value for MKDIR_P within a source directory, because that will |
| 2032 # break other packages using the cache if that directory is | 2789 # break other packages using the cache if that directory is |
| 2033 # removed, or if the value is a relative name. | 2790 # removed, or if the value is a relative name. |
| 2034 test -d ./--version && rmdir ./--version | |
| 2035 MKDIR_P="$ac_install_sh -d" | 2791 MKDIR_P="$ac_install_sh -d" |
| 2036 fi | 2792 fi |
| 2037 fi | 2793 fi |
| 2038 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5 | 2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
| 2039 echo "${ECHO_T}$MKDIR_P" >&6; } | 2795 $as_echo "$MKDIR_P" >&6; } |
| 2040 | 2796 |
| 2041 mkdir_p="$MKDIR_P" | 2797 mkdir_p="$MKDIR_P" |
| 2042 case $mkdir_p in | 2798 case $mkdir_p in |
| 2043 [\\/$]* | ?:[\\/]*) ;; | 2799 [\\/$]* | ?:[\\/]*) ;; |
| 2044 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | 2800 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
| 2045 esac | 2801 esac |
| 2046 | 2802 |
| 2047 for ac_prog in gawk mawk nawk awk | 2803 for ac_prog in gawk mawk nawk awk |
| 2048 do | 2804 do |
| 2049 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2805 # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2050 set dummy $ac_prog; ac_word=$2 | 2806 set dummy $ac_prog; ac_word=$2 |
| 2051 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 2808 $as_echo_n "checking for $ac_word... " >&6; } |
| 2053 if test "${ac_cv_prog_AWK+set}" = set; then | 2809 if test "${ac_cv_prog_AWK+set}" = set; then : |
| 2054 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2810 $as_echo_n "(cached) " >&6 |
| 2055 else | 2811 else |
| 2056 if test -n "$AWK"; then | 2812 if test -n "$AWK"; then |
| 2057 ac_cv_prog_AWK="$AWK" # Let the user override the test. | 2813 ac_cv_prog_AWK="$AWK" # Let the user override the test. |
| 2058 else | 2814 else |
| 2059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2060 for as_dir in $PATH | 2816 for as_dir in $PATH |
| 2061 do | 2817 do |
| 2062 IFS=$as_save_IFS | 2818 IFS=$as_save_IFS |
| 2063 test -z "$as_dir" && as_dir=. | 2819 test -z "$as_dir" && as_dir=. |
| 2064 for ac_exec_ext in '' $ac_executable_extensions; do | 2820 for ac_exec_ext in '' $ac_executable_extensions; do |
| 2065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | 2821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then |
| 2066 ac_cv_prog_AWK="$ac_prog" | 2822 ac_cv_prog_AWK="$ac_prog" |
| 2067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 2068 break 2 | 2824 break 2 |
| 2069 fi | 2825 fi |
| 2070 done | 2826 done |
| 2071 done | 2827 done |
| 2072 IFS=$as_save_IFS | 2828 IFS=$as_save_IFS |
| 2073 | 2829 |
| 2074 fi | 2830 fi |
| 2075 fi | 2831 fi |
| 2076 AWK=$ac_cv_prog_AWK | 2832 AWK=$ac_cv_prog_AWK |
| 2077 if test -n "$AWK"; then | 2833 if test -n "$AWK"; then |
| 2078 { echo "$as_me:$LINENO: result: $AWK" >&5 | 2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
| 2079 echo "${ECHO_T}$AWK" >&6; } | 2835 $as_echo "$AWK" >&6; } |
| 2080 else | 2836 else |
| 2081 { echo "$as_me:$LINENO: result: no" >&5 | 2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2082 echo "${ECHO_T}no" >&6; } | 2838 $as_echo "no" >&6; } |
| 2083 fi | 2839 fi |
| 2084 | 2840 |
| 2085 | 2841 |
| 2086 test -n "$AWK" && break | 2842 test -n "$AWK" && break |
| 2087 done | 2843 done |
| 2088 | 2844 |
| 2089 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(M
AKE)" >&5 |
| 2090 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } | 2846 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| 2091 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | 2847 set x ${MAKE-make} |
| 2092 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set
"; }; then | 2848 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 2093 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2849 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set
"; }; then : |
| 2850 $as_echo_n "(cached) " >&6 |
| 2094 else | 2851 else |
| 2095 cat >conftest.make <<\_ACEOF | 2852 cat >conftest.make <<\_ACEOF |
| 2096 SHELL = /bin/sh | 2853 SHELL = /bin/sh |
| 2097 all: | 2854 all: |
| 2098 @echo '@@@%%%=$(MAKE)=@@@%%%' | 2855 @echo '@@@%%%=$(MAKE)=@@@%%%' |
| 2099 _ACEOF | 2856 _ACEOF |
| 2100 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 2857 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
| 2101 case `${MAKE-make} -f conftest.make 2>/dev/null` in | 2858 case `${MAKE-make} -f conftest.make 2>/dev/null` in |
| 2102 *@@@%%%=?*=@@@%%%*) | 2859 *@@@%%%=?*=@@@%%%*) |
| 2103 eval ac_cv_prog_make_${ac_make}_set=yes;; | 2860 eval ac_cv_prog_make_${ac_make}_set=yes;; |
| 2104 *) | 2861 *) |
| 2105 eval ac_cv_prog_make_${ac_make}_set=no;; | 2862 eval ac_cv_prog_make_${ac_make}_set=no;; |
| 2106 esac | 2863 esac |
| 2107 rm -f conftest.make | 2864 rm -f conftest.make |
| 2108 fi | 2865 fi |
| 2109 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | 2866 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
| 2110 { echo "$as_me:$LINENO: result: yes" >&5 | 2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 2111 echo "${ECHO_T}yes" >&6; } | 2868 $as_echo "yes" >&6; } |
| 2112 SET_MAKE= | 2869 SET_MAKE= |
| 2113 else | 2870 else |
| 2114 { echo "$as_me:$LINENO: result: no" >&5 | 2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2115 echo "${ECHO_T}no" >&6; } | 2872 $as_echo "no" >&6; } |
| 2116 SET_MAKE="MAKE=${MAKE-make}" | 2873 SET_MAKE="MAKE=${MAKE-make}" |
| 2117 fi | 2874 fi |
| 2118 | 2875 |
| 2119 rm -rf .tst 2>/dev/null | 2876 rm -rf .tst 2>/dev/null |
| 2120 mkdir .tst 2>/dev/null | 2877 mkdir .tst 2>/dev/null |
| 2121 if test -d .tst; then | 2878 if test -d .tst; then |
| 2122 am__leading_dot=. | 2879 am__leading_dot=. |
| 2123 else | 2880 else |
| 2124 am__leading_dot=_ | 2881 am__leading_dot=_ |
| 2125 fi | 2882 fi |
| 2126 rmdir .tst 2>/dev/null | 2883 rmdir .tst 2>/dev/null |
| 2127 | 2884 |
| 2128 if test "`cd $srcdir && pwd`" != "`pwd`"; then | 2885 if test "`cd $srcdir && pwd`" != "`pwd`"; then |
| 2129 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | 2886 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
| 2130 # is not polluted with repeated "-I." | 2887 # is not polluted with repeated "-I." |
| 2131 am__isrc=' -I$(srcdir)' | 2888 am__isrc=' -I$(srcdir)' |
| 2132 # test to see if srcdir already configured | 2889 # test to see if srcdir already configured |
| 2133 if test -f $srcdir/config.status; then | 2890 if test -f $srcdir/config.status; then |
| 2134 { { echo "$as_me:$LINENO: error: source directory already configured; run \"
make distclean\" there first" >&5 | 2891 as_fn_error "source directory already configured; run \"make distclean\" the
re first" "$LINENO" 5 |
| 2135 echo "$as_me: error: source directory already configured; run \"make distclean\"
there first" >&2;} | |
| 2136 { (exit 1); exit 1; }; } | |
| 2137 fi | 2892 fi |
| 2138 fi | 2893 fi |
| 2139 | 2894 |
| 2140 # test whether we have cygpath | 2895 # test whether we have cygpath |
| 2141 if test -z "$CYGPATH_W"; then | 2896 if test -z "$CYGPATH_W"; then |
| 2142 if (cygpath --version) >/dev/null 2>/dev/null; then | 2897 if (cygpath --version) >/dev/null 2>/dev/null; then |
| 2143 CYGPATH_W='cygpath -w' | 2898 CYGPATH_W='cygpath -w' |
| 2144 else | 2899 else |
| 2145 CYGPATH_W=echo | 2900 CYGPATH_W=echo |
| 2146 fi | 2901 fi |
| 2147 fi | 2902 fi |
| 2148 | 2903 |
| 2149 | 2904 |
| 2150 # Define the identity of the package. | 2905 # Define the identity of the package. |
| 2151 PACKAGE=yasm | 2906 PACKAGE='yasm' |
| 2152 VERSION=0.8.0 | 2907 VERSION='1.1.0' |
| 2153 | 2908 |
| 2154 | 2909 |
| 2155 cat >>confdefs.h <<_ACEOF | 2910 cat >>confdefs.h <<_ACEOF |
| 2156 #define PACKAGE "$PACKAGE" | 2911 #define PACKAGE "$PACKAGE" |
| 2157 _ACEOF | 2912 _ACEOF |
| 2158 | 2913 |
| 2159 | 2914 |
| 2160 cat >>confdefs.h <<_ACEOF | 2915 cat >>confdefs.h <<_ACEOF |
| 2161 #define VERSION "$VERSION" | 2916 #define VERSION "$VERSION" |
| 2162 _ACEOF | 2917 _ACEOF |
| 2163 | 2918 |
| 2164 # Some tools Automake needs. | 2919 # Some tools Automake needs. |
| 2165 | 2920 |
| 2166 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | 2921 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
| 2167 | 2922 |
| 2168 | 2923 |
| 2169 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | 2924 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
| 2170 | 2925 |
| 2171 | 2926 |
| 2172 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | 2927 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
| 2173 | 2928 |
| 2174 | 2929 |
| 2175 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | 2930 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
| 2176 | 2931 |
| 2177 | 2932 |
| 2178 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | 2933 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
| 2179 | 2934 |
| 2180 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} | |
| 2181 | |
| 2182 # Installed binaries are usually stripped using `strip' when the user | |
| 2183 # run `make install-strip'. However `strip' might not be the right | |
| 2184 # tool to use in cross-compilation environments, therefore Automake | |
| 2185 # will honor the `STRIP' environment variable to overrule this program. | |
| 2186 if test "$cross_compiling" != no; then | |
| 2187 if test -n "$ac_tool_prefix"; then | |
| 2188 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program n
ame with args. | |
| 2189 set dummy ${ac_tool_prefix}strip; ac_word=$2 | |
| 2190 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
| 2191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
| 2192 if test "${ac_cv_prog_STRIP+set}" = set; then | |
| 2193 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 2194 else | |
| 2195 if test -n "$STRIP"; then | |
| 2196 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | |
| 2197 else | |
| 2198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2199 for as_dir in $PATH | |
| 2200 do | |
| 2201 IFS=$as_save_IFS | |
| 2202 test -z "$as_dir" && as_dir=. | |
| 2203 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
| 2205 ac_cv_prog_STRIP="${ac_tool_prefix}strip" | |
| 2206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2207 break 2 | |
| 2208 fi | |
| 2209 done | |
| 2210 done | |
| 2211 IFS=$as_save_IFS | |
| 2212 | |
| 2213 fi | |
| 2214 fi | |
| 2215 STRIP=$ac_cv_prog_STRIP | |
| 2216 if test -n "$STRIP"; then | |
| 2217 { echo "$as_me:$LINENO: result: $STRIP" >&5 | |
| 2218 echo "${ECHO_T}$STRIP" >&6; } | |
| 2219 else | |
| 2220 { echo "$as_me:$LINENO: result: no" >&5 | |
| 2221 echo "${ECHO_T}no" >&6; } | |
| 2222 fi | |
| 2223 | |
| 2224 | |
| 2225 fi | |
| 2226 if test -z "$ac_cv_prog_STRIP"; then | |
| 2227 ac_ct_STRIP=$STRIP | |
| 2228 # Extract the first word of "strip", so it can be a program name with args. | |
| 2229 set dummy strip; ac_word=$2 | |
| 2230 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
| 2231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
| 2232 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | |
| 2233 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 2234 else | |
| 2235 if test -n "$ac_ct_STRIP"; then | |
| 2236 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | |
| 2237 else | |
| 2238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2239 for as_dir in $PATH | |
| 2240 do | |
| 2241 IFS=$as_save_IFS | |
| 2242 test -z "$as_dir" && as_dir=. | |
| 2243 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
| 2245 ac_cv_prog_ac_ct_STRIP="strip" | |
| 2246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2247 break 2 | |
| 2248 fi | |
| 2249 done | |
| 2250 done | |
| 2251 IFS=$as_save_IFS | |
| 2252 | |
| 2253 fi | |
| 2254 fi | |
| 2255 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | |
| 2256 if test -n "$ac_ct_STRIP"; then | |
| 2257 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 | |
| 2258 echo "${ECHO_T}$ac_ct_STRIP" >&6; } | |
| 2259 else | |
| 2260 { echo "$as_me:$LINENO: result: no" >&5 | |
| 2261 echo "${ECHO_T}no" >&6; } | |
| 2262 fi | |
| 2263 | |
| 2264 if test "x$ac_ct_STRIP" = x; then | |
| 2265 STRIP=":" | |
| 2266 else | |
| 2267 case $cross_compiling:$ac_tool_warned in | |
| 2268 yes:) | |
| 2269 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-t
ools | |
| 2270 whose name does not start with the host triplet. If you think this | |
| 2271 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
| 2272 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
| 2273 whose name does not start with the host triplet. If you think this | |
| 2274 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
| 2275 ac_tool_warned=yes ;; | |
| 2276 esac | |
| 2277 STRIP=$ac_ct_STRIP | |
| 2278 fi | |
| 2279 else | |
| 2280 STRIP="$ac_cv_prog_STRIP" | |
| 2281 fi | |
| 2282 | |
| 2283 fi | |
| 2284 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | |
| 2285 | |
| 2286 # We need awk for the "check" target. The system "awk" is bad on | 2935 # We need awk for the "check" target. The system "awk" is bad on |
| 2287 # some platforms. | 2936 # some platforms. |
| 2288 # Always define AMTAR for backward compatibility. | 2937 # Always define AMTAR for backward compatibility. |
| 2289 | 2938 |
| 2290 AMTAR=${AMTAR-"${am_missing_run}tar"} | 2939 AMTAR=${AMTAR-"${am_missing_run}tar"} |
| 2291 | 2940 |
| 2292 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' | 2941 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
| 2293 | 2942 |
| 2294 | 2943 |
| 2295 | 2944 |
| 2296 | 2945 |
| 2297 | 2946 |
| 2298 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions
of Makefiles" >&5 | 2947 |
| 2299 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefil
es... $ECHO_C" >&6; } | 2948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-s
pecific portions of Makefiles" >&5 |
| 2949 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles
... " >&6; } |
| 2300 # Check whether --enable-maintainer-mode was given. | 2950 # Check whether --enable-maintainer-mode was given. |
| 2301 if test "${enable_maintainer_mode+set}" = set; then | 2951 if test "${enable_maintainer_mode+set}" = set; then : |
| 2302 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval | 2952 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
| 2303 else | 2953 else |
| 2304 USE_MAINTAINER_MODE=no | 2954 USE_MAINTAINER_MODE=no |
| 2305 fi | 2955 fi |
| 2306 | 2956 |
| 2307 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 | 2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
| 2308 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } | 2958 $as_echo "$USE_MAINTAINER_MODE" >&6; } |
| 2309 if test $USE_MAINTAINER_MODE = yes; then | 2959 if test $USE_MAINTAINER_MODE = yes; then |
| 2310 MAINTAINER_MODE_TRUE= | 2960 MAINTAINER_MODE_TRUE= |
| 2311 MAINTAINER_MODE_FALSE='#' | 2961 MAINTAINER_MODE_FALSE='#' |
| 2312 else | 2962 else |
| 2313 MAINTAINER_MODE_TRUE='#' | 2963 MAINTAINER_MODE_TRUE='#' |
| 2314 MAINTAINER_MODE_FALSE= | 2964 MAINTAINER_MODE_FALSE= |
| 2315 fi | 2965 fi |
| 2316 | 2966 |
| 2317 MAINT=$MAINTAINER_MODE_TRUE | 2967 MAINT=$MAINTAINER_MODE_TRUE |
| 2318 | 2968 |
| 2319 | 2969 |
| 2320 | 2970 |
| 2321 | 2971 |
| 2322 cat >>confdefs.h <<\_ACEOF | 2972 $as_echo "#define PACKAGE_INTVER \"1.1.0\"" >>confdefs.h |
| 2323 #define PACKAGE_INTVER "0.8.0" | |
| 2324 _ACEOF | |
| 2325 | 2973 |
| 2326 | 2974 |
| 2327 cat >>confdefs.h <<\_ACEOF | 2975 $as_echo "#define PACKAGE_BUILD \"2352\"" >>confdefs.h |
| 2328 #define PACKAGE_BUILD "2194" | |
| 2329 _ACEOF | |
| 2330 | 2976 |
| 2331 | 2977 |
| 2332 # | 2978 # |
| 2333 # autoconf command-line options | 2979 # autoconf command-line options |
| 2334 # | 2980 # |
| 2335 # Check whether --enable-debug was given. | 2981 # Check whether --enable-debug was given. |
| 2336 if test "${enable_debug+set}" = set; then | 2982 if test "${enable_debug+set}" = set; then : |
| 2337 enableval=$enable_debug; case "${enableval}" in | 2983 enableval=$enable_debug; case "${enableval}" in |
| 2338 yes) debugging="yes" ;; | 2984 yes) debugging="yes" ;; |
| 2339 no) debugging="no" ;; | 2985 no) debugging="no" ;; |
| 2340 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug"
>&5 | 2986 *) as_fn_error "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;; |
| 2341 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;} | |
| 2342 { (exit 1); exit 1; }; } ;; | |
| 2343 esac | 2987 esac |
| 2344 fi | 2988 fi |
| 2345 | 2989 |
| 2346 | 2990 |
| 2347 # Check whether --enable-warnerror was given. | 2991 # Check whether --enable-warnerror was given. |
| 2348 if test "${enable_warnerror+set}" = set; then | 2992 if test "${enable_warnerror+set}" = set; then : |
| 2349 enableval=$enable_warnerror; case "${enableval}" in | 2993 enableval=$enable_warnerror; case "${enableval}" in |
| 2350 yes) warnerror="yes" ;; | 2994 yes) warnerror="yes" ;; |
| 2351 no) warnerror="no" ;; | 2995 no) warnerror="no" ;; |
| 2352 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-warner
ror" >&5 | 2996 *) as_fn_error "bad value ${enableval} for --enable-warnerror" "$LINENO" 5 ;; |
| 2353 echo "$as_me: error: bad value ${enableval} for --enable-warnerror" >&2;} | |
| 2354 { (exit 1); exit 1; }; } ;; | |
| 2355 esac | 2997 esac |
| 2356 fi | 2998 fi |
| 2357 | 2999 |
| 2358 | 3000 |
| 2359 # Check whether --enable-profiling was given. | 3001 # Check whether --enable-profiling was given. |
| 2360 if test "${enable_profiling+set}" = set; then | 3002 if test "${enable_profiling+set}" = set; then : |
| 2361 enableval=$enable_profiling; case "${enableval}" in | 3003 enableval=$enable_profiling; case "${enableval}" in |
| 2362 yes) profiling="yes" ;; | 3004 yes) profiling="yes" ;; |
| 2363 no) profiling="no" ;; | 3005 no) profiling="no" ;; |
| 2364 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-profil
ing" >&5 | 3006 *) as_fn_error "bad value ${enableval} for --enable-profiling" "$LINENO" 5 ;; |
| 2365 echo "$as_me: error: bad value ${enableval} for --enable-profiling" >&2;} | |
| 2366 { (exit 1); exit 1; }; } ;; | |
| 2367 esac | 3007 esac |
| 2368 fi | 3008 fi |
| 2369 | 3009 |
| 2370 | 3010 |
| 2371 # Check whether --enable-gcov was given. | 3011 # Check whether --enable-gcov was given. |
| 2372 if test "${enable_gcov+set}" = set; then | 3012 if test "${enable_gcov+set}" = set; then : |
| 2373 enableval=$enable_gcov; case "${enableval}" in | 3013 enableval=$enable_gcov; case "${enableval}" in |
| 2374 yes) gcov="yes" ;; | 3014 yes) gcov="yes" ;; |
| 2375 no) gcov="no" ;; | 3015 no) gcov="no" ;; |
| 2376 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-gcov"
>&5 | 3016 *) as_fn_error "bad value ${enableval} for --enable-gcov" "$LINENO" 5 ;; |
| 2377 echo "$as_me: error: bad value ${enableval} for --enable-gcov" >&2;} | |
| 2378 { (exit 1); exit 1; }; } ;; | |
| 2379 esac | 3017 esac |
| 2380 fi | 3018 fi |
| 2381 | 3019 |
| 2382 | 3020 |
| 2383 # Check whether --enable-python was given. | 3021 # Check whether --enable-python was given. |
| 2384 if test "${enable_python+set}" = set; then | 3022 if test "${enable_python+set}" = set; then : |
| 2385 enableval=$enable_python; case "${enableval}" in | 3023 enableval=$enable_python; case "${enableval}" in |
| 2386 yes) enable_python="yes" ;; | 3024 yes) enable_python="yes" ;; |
| 2387 no) enable_python="no" ;; | 3025 no) enable_python="no" ;; |
| 2388 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-python
" >&5 | 3026 *) as_fn_error "bad value ${enableval} for --enable-python" "$LINENO" 5 ;; |
| 2389 echo "$as_me: error: bad value ${enableval} for --enable-python" >&2;} | |
| 2390 { (exit 1); exit 1; }; } ;; | |
| 2391 esac | 3027 esac |
| 2392 else | 3028 else |
| 2393 enable_python="auto" | 3029 enable_python="auto" |
| 2394 fi | 3030 fi |
| 2395 | 3031 |
| 2396 | 3032 |
| 2397 # Check whether --enable-python-bindings was given. | 3033 # Check whether --enable-python-bindings was given. |
| 2398 if test "${enable_python_bindings+set}" = set; then | 3034 if test "${enable_python_bindings+set}" = set; then : |
| 2399 enableval=$enable_python_bindings; case "${enableval}" in | 3035 enableval=$enable_python_bindings; case "${enableval}" in |
| 2400 yes) enable_python_bindings="yes" ;; | 3036 yes) enable_python_bindings="yes" ;; |
| 2401 no) enable_python_bindings="no" ;; | 3037 no) enable_python_bindings="no" ;; |
| 2402 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-python
-bindings" >&5 | 3038 *) as_fn_error "bad value ${enableval} for --enable-python-bindings" "$LINENO"
5 ;; |
| 2403 echo "$as_me: error: bad value ${enableval} for --enable-python-bindings" >&2;} | |
| 2404 { (exit 1); exit 1; }; } ;; | |
| 2405 esac | 3039 esac |
| 2406 else | 3040 else |
| 2407 enable_python_bindings="no" | 3041 enable_python_bindings="no" |
| 2408 fi | 3042 fi |
| 2409 | 3043 |
| 2410 | 3044 |
| 2411 # | 3045 # |
| 2412 # Checks for programs. | 3046 # Checks for programs. |
| 2413 # | 3047 # |
| 2414 DEPDIR="${am__leading_dot}deps" | 3048 DEPDIR="${am__leading_dot}deps" |
| 2415 | 3049 |
| 2416 ac_config_commands="$ac_config_commands depfiles" | 3050 ac_config_commands="$ac_config_commands depfiles" |
| 2417 | 3051 |
| 2418 | 3052 |
| 2419 am_make=${MAKE-make} | 3053 am_make=${MAKE-make} |
| 2420 cat > confinc << 'END' | 3054 cat > confinc << 'END' |
| 2421 am__doit: | 3055 am__doit: |
| 2422 » @echo done | 3056 » @echo this is the am__doit target |
| 2423 .PHONY: am__doit | 3057 .PHONY: am__doit |
| 2424 END | 3058 END |
| 2425 # If we don't find an include directive, just comment out the code. | 3059 # If we don't find an include directive, just comment out the code. |
| 2426 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 | 3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $
am_make" >&5 |
| 2427 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } | 3061 $as_echo_n "checking for style of include used by $am_make... " >&6; } |
| 2428 am__include="#" | 3062 am__include="#" |
| 2429 am__quote= | 3063 am__quote= |
| 2430 _am_result=none | 3064 _am_result=none |
| 2431 # First try GNU make style include. | 3065 # First try GNU make style include. |
| 2432 echo "include confinc" > confmf | 3066 echo "include confinc" > confmf |
| 2433 # We grep out `Entering directory' and `Leaving directory' | 3067 # Ignore all kinds of additional output from `make'. |
| 2434 # messages which can occur if `w' ends up in MAKEFLAGS. | 3068 case `$am_make -s -f confmf 2> /dev/null` in #( |
| 2435 # In particular we don't look at `^make:' because GNU make might | 3069 *the\ am__doit\ target*) |
| 2436 # be invoked under some other name (usually "gmake"), in which | 3070 am__include=include |
| 2437 # case it prints its new name instead of `make'. | 3071 am__quote= |
| 2438 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done
"; then | 3072 _am_result=GNU |
| 2439 am__include=include | 3073 ;; |
| 2440 am__quote= | 3074 esac |
| 2441 _am_result=GNU | |
| 2442 fi | |
| 2443 # Now try BSD make style include. | 3075 # Now try BSD make style include. |
| 2444 if test "$am__include" = "#"; then | 3076 if test "$am__include" = "#"; then |
| 2445 echo '.include "confinc"' > confmf | 3077 echo '.include "confinc"' > confmf |
| 2446 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then | 3078 case `$am_make -s -f confmf 2> /dev/null` in #( |
| 2447 am__include=.include | 3079 *the\ am__doit\ target*) |
| 2448 am__quote="\"" | 3080 am__include=.include |
| 2449 _am_result=BSD | 3081 am__quote="\"" |
| 2450 fi | 3082 _am_result=BSD |
| 3083 ;; |
| 3084 esac |
| 2451 fi | 3085 fi |
| 2452 | 3086 |
| 2453 | 3087 |
| 2454 { echo "$as_me:$LINENO: result: $_am_result" >&5 | 3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
| 2455 echo "${ECHO_T}$_am_result" >&6; } | 3089 $as_echo "$_am_result" >&6; } |
| 2456 rm -f confinc confmf | 3090 rm -f confinc confmf |
| 2457 | 3091 |
| 2458 # Check whether --enable-dependency-tracking was given. | 3092 # Check whether --enable-dependency-tracking was given. |
| 2459 if test "${enable_dependency_tracking+set}" = set; then | 3093 if test "${enable_dependency_tracking+set}" = set; then : |
| 2460 enableval=$enable_dependency_tracking; | 3094 enableval=$enable_dependency_tracking; |
| 2461 fi | 3095 fi |
| 2462 | 3096 |
| 2463 if test "x$enable_dependency_tracking" != xno; then | 3097 if test "x$enable_dependency_tracking" != xno; then |
| 2464 am_depcomp="$ac_aux_dir/depcomp" | 3098 am_depcomp="$ac_aux_dir/depcomp" |
| 2465 AMDEPBACKSLASH='\' | 3099 AMDEPBACKSLASH='\' |
| 2466 fi | 3100 fi |
| 2467 if test "x$enable_dependency_tracking" != xno; then | 3101 if test "x$enable_dependency_tracking" != xno; then |
| 2468 AMDEP_TRUE= | 3102 AMDEP_TRUE= |
| 2469 AMDEP_FALSE='#' | 3103 AMDEP_FALSE='#' |
| 2470 else | 3104 else |
| 2471 AMDEP_TRUE='#' | 3105 AMDEP_TRUE='#' |
| 2472 AMDEP_FALSE= | 3106 AMDEP_FALSE= |
| 2473 fi | 3107 fi |
| 2474 | 3108 |
| 2475 | 3109 |
| 2476 ac_ext=c | 3110 ac_ext=c |
| 2477 ac_cpp='$CPP $CPPFLAGS' | 3111 ac_cpp='$CPP $CPPFLAGS' |
| 2478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | 3113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
| 2480 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3114 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2481 if test -n "$ac_tool_prefix"; then | 3115 if test -n "$ac_tool_prefix"; then |
| 2482 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program nam
e with args. | 3116 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program nam
e with args. |
| 2483 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 3117 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| 2484 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 3119 $as_echo_n "checking for $ac_word... " >&6; } |
| 2486 if test "${ac_cv_prog_CC+set}" = set; then | 3120 if test "${ac_cv_prog_CC+set}" = set; then : |
| 2487 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3121 $as_echo_n "(cached) " >&6 |
| 2488 else | 3122 else |
| 2489 if test -n "$CC"; then | 3123 if test -n "$CC"; then |
| 2490 ac_cv_prog_CC="$CC" # Let the user override the test. | 3124 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 2491 else | 3125 else |
| 2492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2493 for as_dir in $PATH | 3127 for as_dir in $PATH |
| 2494 do | 3128 do |
| 2495 IFS=$as_save_IFS | 3129 IFS=$as_save_IFS |
| 2496 test -z "$as_dir" && as_dir=. | 3130 test -z "$as_dir" && as_dir=. |
| 2497 for ac_exec_ext in '' $ac_executable_extensions; do | 3131 for ac_exec_ext in '' $ac_executable_extensions; do |
| 2498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | 3132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then |
| 2499 ac_cv_prog_CC="${ac_tool_prefix}gcc" | 3133 ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 2500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 2501 break 2 | 3135 break 2 |
| 2502 fi | 3136 fi |
| 2503 done | 3137 done |
| 2504 done | 3138 done |
| 2505 IFS=$as_save_IFS | 3139 IFS=$as_save_IFS |
| 2506 | 3140 |
| 2507 fi | 3141 fi |
| 2508 fi | 3142 fi |
| 2509 CC=$ac_cv_prog_CC | 3143 CC=$ac_cv_prog_CC |
| 2510 if test -n "$CC"; then | 3144 if test -n "$CC"; then |
| 2511 { echo "$as_me:$LINENO: result: $CC" >&5 | 3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 2512 echo "${ECHO_T}$CC" >&6; } | 3146 $as_echo "$CC" >&6; } |
| 2513 else | 3147 else |
| 2514 { echo "$as_me:$LINENO: result: no" >&5 | 3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2515 echo "${ECHO_T}no" >&6; } | 3149 $as_echo "no" >&6; } |
| 2516 fi | 3150 fi |
| 2517 | 3151 |
| 2518 | 3152 |
| 2519 fi | 3153 fi |
| 2520 if test -z "$ac_cv_prog_CC"; then | 3154 if test -z "$ac_cv_prog_CC"; then |
| 2521 ac_ct_CC=$CC | 3155 ac_ct_CC=$CC |
| 2522 # Extract the first word of "gcc", so it can be a program name with args. | 3156 # Extract the first word of "gcc", so it can be a program name with args. |
| 2523 set dummy gcc; ac_word=$2 | 3157 set dummy gcc; ac_word=$2 |
| 2524 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 3159 $as_echo_n "checking for $ac_word... " >&6; } |
| 2526 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 3160 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
| 2527 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3161 $as_echo_n "(cached) " >&6 |
| 2528 else | 3162 else |
| 2529 if test -n "$ac_ct_CC"; then | 3163 if test -n "$ac_ct_CC"; then |
| 2530 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 3164 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 2531 else | 3165 else |
| 2532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2533 for as_dir in $PATH | 3167 for as_dir in $PATH |
| 2534 do | 3168 do |
| 2535 IFS=$as_save_IFS | 3169 IFS=$as_save_IFS |
| 2536 test -z "$as_dir" && as_dir=. | 3170 test -z "$as_dir" && as_dir=. |
| 2537 for ac_exec_ext in '' $ac_executable_extensions; do | 3171 for ac_exec_ext in '' $ac_executable_extensions; do |
| 2538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | 3172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then |
| 2539 ac_cv_prog_ac_ct_CC="gcc" | 3173 ac_cv_prog_ac_ct_CC="gcc" |
| 2540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 2541 break 2 | 3175 break 2 |
| 2542 fi | 3176 fi |
| 2543 done | 3177 done |
| 2544 done | 3178 done |
| 2545 IFS=$as_save_IFS | 3179 IFS=$as_save_IFS |
| 2546 | 3180 |
| 2547 fi | 3181 fi |
| 2548 fi | 3182 fi |
| 2549 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 3183 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 2550 if test -n "$ac_ct_CC"; then | 3184 if test -n "$ac_ct_CC"; then |
| 2551 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 2552 echo "${ECHO_T}$ac_ct_CC" >&6; } | 3186 $as_echo "$ac_ct_CC" >&6; } |
| 2553 else | 3187 else |
| 2554 { echo "$as_me:$LINENO: result: no" >&5 | 3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2555 echo "${ECHO_T}no" >&6; } | 3189 $as_echo "no" >&6; } |
| 2556 fi | 3190 fi |
| 2557 | 3191 |
| 2558 if test "x$ac_ct_CC" = x; then | 3192 if test "x$ac_ct_CC" = x; then |
| 2559 CC="" | 3193 CC="" |
| 2560 else | 3194 else |
| 2561 case $cross_compiling:$ac_tool_warned in | 3195 case $cross_compiling:$ac_tool_warned in |
| 2562 yes:) | 3196 yes:) |
| 2563 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-t
ools | 3197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 |
| 2564 whose name does not start with the host triplet. If you think this | 3198 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
| 2565 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
| 2566 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
| 2567 whose name does not start with the host triplet. If you think this | |
| 2568 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
| 2569 ac_tool_warned=yes ;; | 3199 ac_tool_warned=yes ;; |
| 2570 esac | 3200 esac |
| 2571 CC=$ac_ct_CC | 3201 CC=$ac_ct_CC |
| 2572 fi | 3202 fi |
| 2573 else | 3203 else |
| 2574 CC="$ac_cv_prog_CC" | 3204 CC="$ac_cv_prog_CC" |
| 2575 fi | 3205 fi |
| 2576 | 3206 |
| 2577 if test -z "$CC"; then | 3207 if test -z "$CC"; then |
| 2578 if test -n "$ac_tool_prefix"; then | 3208 if test -n "$ac_tool_prefix"; then |
| 2579 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program na
me with args. | 3209 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program na
me with args. |
| 2580 set dummy ${ac_tool_prefix}cc; ac_word=$2 | 3210 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 2581 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 3212 $as_echo_n "checking for $ac_word... " >&6; } |
| 2583 if test "${ac_cv_prog_CC+set}" = set; then | 3213 if test "${ac_cv_prog_CC+set}" = set; then : |
| 2584 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3214 $as_echo_n "(cached) " >&6 |
| 2585 else | 3215 else |
| 2586 if test -n "$CC"; then | 3216 if test -n "$CC"; then |
| 2587 ac_cv_prog_CC="$CC" # Let the user override the test. | 3217 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 2588 else | 3218 else |
| 2589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2590 for as_dir in $PATH | 3220 for as_dir in $PATH |
| 2591 do | 3221 do |
| 2592 IFS=$as_save_IFS | 3222 IFS=$as_save_IFS |
| 2593 test -z "$as_dir" && as_dir=. | 3223 test -z "$as_dir" && as_dir=. |
| 2594 for ac_exec_ext in '' $ac_executable_extensions; do | 3224 for ac_exec_ext in '' $ac_executable_extensions; do |
| 2595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | 3225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then |
| 2596 ac_cv_prog_CC="${ac_tool_prefix}cc" | 3226 ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 2597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 2598 break 2 | 3228 break 2 |
| 2599 fi | 3229 fi |
| 2600 done | 3230 done |
| 2601 done | 3231 done |
| 2602 IFS=$as_save_IFS | 3232 IFS=$as_save_IFS |
| 2603 | 3233 |
| 2604 fi | 3234 fi |
| 2605 fi | 3235 fi |
| 2606 CC=$ac_cv_prog_CC | 3236 CC=$ac_cv_prog_CC |
| 2607 if test -n "$CC"; then | 3237 if test -n "$CC"; then |
| 2608 { echo "$as_me:$LINENO: result: $CC" >&5 | 3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 2609 echo "${ECHO_T}$CC" >&6; } | 3239 $as_echo "$CC" >&6; } |
| 2610 else | 3240 else |
| 2611 { echo "$as_me:$LINENO: result: no" >&5 | 3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2612 echo "${ECHO_T}no" >&6; } | 3242 $as_echo "no" >&6; } |
| 2613 fi | 3243 fi |
| 2614 | 3244 |
| 2615 | 3245 |
| 2616 fi | 3246 fi |
| 2617 fi | 3247 fi |
| 2618 if test -z "$CC"; then | 3248 if test -z "$CC"; then |
| 2619 # Extract the first word of "cc", so it can be a program name with args. | 3249 # Extract the first word of "cc", so it can be a program name with args. |
| 2620 set dummy cc; ac_word=$2 | 3250 set dummy cc; ac_word=$2 |
| 2621 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 3252 $as_echo_n "checking for $ac_word... " >&6; } |
| 2623 if test "${ac_cv_prog_CC+set}" = set; then | 3253 if test "${ac_cv_prog_CC+set}" = set; then : |
| 2624 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3254 $as_echo_n "(cached) " >&6 |
| 2625 else | 3255 else |
| 2626 if test -n "$CC"; then | 3256 if test -n "$CC"; then |
| 2627 ac_cv_prog_CC="$CC" # Let the user override the test. | 3257 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 2628 else | 3258 else |
| 2629 ac_prog_rejected=no | 3259 ac_prog_rejected=no |
| 2630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2631 for as_dir in $PATH | 3261 for as_dir in $PATH |
| 2632 do | 3262 do |
| 2633 IFS=$as_save_IFS | 3263 IFS=$as_save_IFS |
| 2634 test -z "$as_dir" && as_dir=. | 3264 test -z "$as_dir" && as_dir=. |
| 2635 for ac_exec_ext in '' $ac_executable_extensions; do | 3265 for ac_exec_ext in '' $ac_executable_extensions; do |
| 2636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | 3266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then |
| 2637 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 3267 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 2638 ac_prog_rejected=yes | 3268 ac_prog_rejected=yes |
| 2639 continue | 3269 continue |
| 2640 fi | 3270 fi |
| 2641 ac_cv_prog_CC="cc" | 3271 ac_cv_prog_CC="cc" |
| 2642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 2643 break 2 | 3273 break 2 |
| 2644 fi | 3274 fi |
| 2645 done | 3275 done |
| 2646 done | 3276 done |
| 2647 IFS=$as_save_IFS | 3277 IFS=$as_save_IFS |
| 2648 | 3278 |
| 2649 if test $ac_prog_rejected = yes; then | 3279 if test $ac_prog_rejected = yes; then |
| 2650 # We found a bogon in the path, so make sure we never use it. | 3280 # We found a bogon in the path, so make sure we never use it. |
| 2651 set dummy $ac_cv_prog_CC | 3281 set dummy $ac_cv_prog_CC |
| 2652 shift | 3282 shift |
| 2653 if test $# != 0; then | 3283 if test $# != 0; then |
| 2654 # We chose a different compiler from the bogus one. | 3284 # We chose a different compiler from the bogus one. |
| 2655 # However, it has the same basename, so the bogon will be chosen | 3285 # However, it has the same basename, so the bogon will be chosen |
| 2656 # first if we set CC to just the basename; use the full file name. | 3286 # first if we set CC to just the basename; use the full file name. |
| 2657 shift | 3287 shift |
| 2658 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | 3288 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
| 2659 fi | 3289 fi |
| 2660 fi | 3290 fi |
| 2661 fi | 3291 fi |
| 2662 fi | 3292 fi |
| 2663 CC=$ac_cv_prog_CC | 3293 CC=$ac_cv_prog_CC |
| 2664 if test -n "$CC"; then | 3294 if test -n "$CC"; then |
| 2665 { echo "$as_me:$LINENO: result: $CC" >&5 | 3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 2666 echo "${ECHO_T}$CC" >&6; } | 3296 $as_echo "$CC" >&6; } |
| 2667 else | 3297 else |
| 2668 { echo "$as_me:$LINENO: result: no" >&5 | 3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2669 echo "${ECHO_T}no" >&6; } | 3299 $as_echo "no" >&6; } |
| 2670 fi | 3300 fi |
| 2671 | 3301 |
| 2672 | 3302 |
| 2673 fi | 3303 fi |
| 2674 if test -z "$CC"; then | 3304 if test -z "$CC"; then |
| 2675 if test -n "$ac_tool_prefix"; then | 3305 if test -n "$ac_tool_prefix"; then |
| 2676 for ac_prog in cl.exe | 3306 for ac_prog in cl.exe |
| 2677 do | 3307 do |
| 2678 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra
m name with args. | 3308 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra
m name with args. |
| 2679 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 3309 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 2680 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 3311 $as_echo_n "checking for $ac_word... " >&6; } |
| 2682 if test "${ac_cv_prog_CC+set}" = set; then | 3312 if test "${ac_cv_prog_CC+set}" = set; then : |
| 2683 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3313 $as_echo_n "(cached) " >&6 |
| 2684 else | 3314 else |
| 2685 if test -n "$CC"; then | 3315 if test -n "$CC"; then |
| 2686 ac_cv_prog_CC="$CC" # Let the user override the test. | 3316 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 2687 else | 3317 else |
| 2688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2689 for as_dir in $PATH | 3319 for as_dir in $PATH |
| 2690 do | 3320 do |
| 2691 IFS=$as_save_IFS | 3321 IFS=$as_save_IFS |
| 2692 test -z "$as_dir" && as_dir=. | 3322 test -z "$as_dir" && as_dir=. |
| 2693 for ac_exec_ext in '' $ac_executable_extensions; do | 3323 for ac_exec_ext in '' $ac_executable_extensions; do |
| 2694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | 3324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then |
| 2695 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 3325 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 2696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 2697 break 2 | 3327 break 2 |
| 2698 fi | 3328 fi |
| 2699 done | 3329 done |
| 2700 done | 3330 done |
| 2701 IFS=$as_save_IFS | 3331 IFS=$as_save_IFS |
| 2702 | 3332 |
| 2703 fi | 3333 fi |
| 2704 fi | 3334 fi |
| 2705 CC=$ac_cv_prog_CC | 3335 CC=$ac_cv_prog_CC |
| 2706 if test -n "$CC"; then | 3336 if test -n "$CC"; then |
| 2707 { echo "$as_me:$LINENO: result: $CC" >&5 | 3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 2708 echo "${ECHO_T}$CC" >&6; } | 3338 $as_echo "$CC" >&6; } |
| 2709 else | 3339 else |
| 2710 { echo "$as_me:$LINENO: result: no" >&5 | 3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2711 echo "${ECHO_T}no" >&6; } | 3341 $as_echo "no" >&6; } |
| 2712 fi | 3342 fi |
| 2713 | 3343 |
| 2714 | 3344 |
| 2715 test -n "$CC" && break | 3345 test -n "$CC" && break |
| 2716 done | 3346 done |
| 2717 fi | 3347 fi |
| 2718 if test -z "$CC"; then | 3348 if test -z "$CC"; then |
| 2719 ac_ct_CC=$CC | 3349 ac_ct_CC=$CC |
| 2720 for ac_prog in cl.exe | 3350 for ac_prog in cl.exe |
| 2721 do | 3351 do |
| 2722 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3352 # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2723 set dummy $ac_prog; ac_word=$2 | 3353 set dummy $ac_prog; ac_word=$2 |
| 2724 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 3355 $as_echo_n "checking for $ac_word... " >&6; } |
| 2726 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 3356 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
| 2727 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3357 $as_echo_n "(cached) " >&6 |
| 2728 else | 3358 else |
| 2729 if test -n "$ac_ct_CC"; then | 3359 if test -n "$ac_ct_CC"; then |
| 2730 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 3360 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 2731 else | 3361 else |
| 2732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2733 for as_dir in $PATH | 3363 for as_dir in $PATH |
| 2734 do | 3364 do |
| 2735 IFS=$as_save_IFS | 3365 IFS=$as_save_IFS |
| 2736 test -z "$as_dir" && as_dir=. | 3366 test -z "$as_dir" && as_dir=. |
| 2737 for ac_exec_ext in '' $ac_executable_extensions; do | 3367 for ac_exec_ext in '' $ac_executable_extensions; do |
| 2738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | 3368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then |
| 2739 ac_cv_prog_ac_ct_CC="$ac_prog" | 3369 ac_cv_prog_ac_ct_CC="$ac_prog" |
| 2740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 2741 break 2 | 3371 break 2 |
| 2742 fi | 3372 fi |
| 2743 done | 3373 done |
| 2744 done | 3374 done |
| 2745 IFS=$as_save_IFS | 3375 IFS=$as_save_IFS |
| 2746 | 3376 |
| 2747 fi | 3377 fi |
| 2748 fi | 3378 fi |
| 2749 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 3379 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 2750 if test -n "$ac_ct_CC"; then | 3380 if test -n "$ac_ct_CC"; then |
| 2751 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 2752 echo "${ECHO_T}$ac_ct_CC" >&6; } | 3382 $as_echo "$ac_ct_CC" >&6; } |
| 2753 else | 3383 else |
| 2754 { echo "$as_me:$LINENO: result: no" >&5 | 3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2755 echo "${ECHO_T}no" >&6; } | 3385 $as_echo "no" >&6; } |
| 2756 fi | 3386 fi |
| 2757 | 3387 |
| 2758 | 3388 |
| 2759 test -n "$ac_ct_CC" && break | 3389 test -n "$ac_ct_CC" && break |
| 2760 done | 3390 done |
| 2761 | 3391 |
| 2762 if test "x$ac_ct_CC" = x; then | 3392 if test "x$ac_ct_CC" = x; then |
| 2763 CC="" | 3393 CC="" |
| 2764 else | 3394 else |
| 2765 case $cross_compiling:$ac_tool_warned in | 3395 case $cross_compiling:$ac_tool_warned in |
| 2766 yes:) | 3396 yes:) |
| 2767 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-t
ools | 3397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 |
| 2768 whose name does not start with the host triplet. If you think this | 3398 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
| 2769 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
| 2770 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
| 2771 whose name does not start with the host triplet. If you think this | |
| 2772 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
| 2773 ac_tool_warned=yes ;; | 3399 ac_tool_warned=yes ;; |
| 2774 esac | 3400 esac |
| 2775 CC=$ac_ct_CC | 3401 CC=$ac_ct_CC |
| 2776 fi | 3402 fi |
| 2777 fi | 3403 fi |
| 2778 | 3404 |
| 2779 fi | 3405 fi |
| 2780 | 3406 |
| 2781 | 3407 |
| 2782 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found
in \$PATH | 3408 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd'
:" >&5 |
| 2783 See \`config.log' for more details." >&5 | 3409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2784 echo "$as_me: error: no acceptable C compiler found in \$PATH | 3410 as_fn_error "no acceptable C compiler found in \$PATH |
| 2785 See \`config.log' for more details." >&2;} | 3411 See \`config.log' for more details." "$LINENO" 5; } |
| 2786 { (exit 1); exit 1; }; } | |
| 2787 | 3412 |
| 2788 # Provide some information about the compiler. | 3413 # Provide some information about the compiler. |
| 2789 echo "$as_me:$LINENO: checking for C compiler version" >&5 | 3414 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
| 2790 ac_compiler=`set X $ac_compile; echo $2` | 3415 set X $ac_compile |
| 2791 { (ac_try="$ac_compiler --version >&5" | 3416 ac_compiler=$2 |
| 3417 for ac_option in --version -v -V -qversion; do |
| 3418 { { ac_try="$ac_compiler $ac_option >&5" |
| 2792 case "(($ac_try" in | 3419 case "(($ac_try" in |
| 2793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2794 *) ac_try_echo=$ac_try;; | 3421 *) ac_try_echo=$ac_try;; |
| 2795 esac | 3422 esac |
| 2796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 3423 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 2797 (eval "$ac_compiler --version >&5") 2>&5 | 3424 $as_echo "$ac_try_echo"; } >&5 |
| 3425 (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
| 2798 ac_status=$? | 3426 ac_status=$? |
| 2799 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3427 if test -s conftest.err; then |
| 2800 (exit $ac_status); } | 3428 sed '10a\ |
| 2801 { (ac_try="$ac_compiler -v >&5" | 3429 ... rest of stderr output deleted ... |
| 2802 case "(($ac_try" in | 3430 10q' conftest.err >conftest.er1 |
| 2803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3431 cat conftest.er1 >&5 |
| 2804 *) ac_try_echo=$ac_try;; | 3432 fi |
| 2805 esac | 3433 rm -f conftest.er1 conftest.err |
| 2806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 3434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2807 (eval "$ac_compiler -v >&5") 2>&5 | 3435 test $ac_status = 0; } |
| 2808 ac_status=$? | 3436 done |
| 2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2810 (exit $ac_status); } | |
| 2811 { (ac_try="$ac_compiler -V >&5" | |
| 2812 case "(($ac_try" in | |
| 2813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2814 *) ac_try_echo=$ac_try;; | |
| 2815 esac | |
| 2816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 2817 (eval "$ac_compiler -V >&5") 2>&5 | |
| 2818 ac_status=$? | |
| 2819 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2820 (exit $ac_status); } | |
| 2821 | 3437 |
| 2822 cat >conftest.$ac_ext <<_ACEOF | 3438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2823 /* confdefs.h. */ | |
| 2824 _ACEOF | |
| 2825 cat confdefs.h >>conftest.$ac_ext | |
| 2826 cat >>conftest.$ac_ext <<_ACEOF | |
| 2827 /* end confdefs.h. */ | 3439 /* end confdefs.h. */ |
| 2828 | 3440 |
| 2829 int | 3441 int |
| 2830 main () | 3442 main () |
| 2831 { | 3443 { |
| 2832 | 3444 |
| 2833 ; | 3445 ; |
| 2834 return 0; | 3446 return 0; |
| 2835 } | 3447 } |
| 2836 _ACEOF | 3448 _ACEOF |
| 2837 ac_clean_files_save=$ac_clean_files | 3449 ac_clean_files_save=$ac_clean_files |
| 2838 ac_clean_files="$ac_clean_files a.out a.exe b.out" | 3450 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
| 2839 # Try to create an executable without -o first, disregard a.out. | 3451 # Try to create an executable without -o first, disregard a.out. |
| 2840 # It will help us diagnose broken compilers, and finding out an intuition | 3452 # It will help us diagnose broken compilers, and finding out an intuition |
| 2841 # of exeext. | 3453 # of exeext. |
| 2842 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 | 3454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works"
>&5 |
| 2843 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6;
} | 3455 $as_echo_n "checking whether the C compiler works... " >&6; } |
| 2844 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 3456 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 2845 # | 3457 |
| 2846 # List of possible output files, starting from the most likely. | 3458 # The possible output files: |
| 2847 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) | 3459 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
| 2848 # only as a last resort. b.out is created by i960 compilers. | 3460 |
| 2849 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' | |
| 2850 # | |
| 2851 # The IRIX 6 linker writes into existing files which may not be | |
| 2852 # executable, retaining their permissions. Remove them first so a | |
| 2853 # subsequent execution test works. | |
| 2854 ac_rmfiles= | 3461 ac_rmfiles= |
| 2855 for ac_file in $ac_files | 3462 for ac_file in $ac_files |
| 2856 do | 3463 do |
| 2857 case $ac_file in | 3464 case $ac_file in |
| 2858 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map |
*.inf | *.o | *.obj ) ;; | 3465 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map |
*.inf | *.dSYM | *.o | *.obj ) ;; |
| 2859 * ) ac_rmfiles="$ac_rmfiles $ac_file";; | 3466 * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
| 2860 esac | 3467 esac |
| 2861 done | 3468 done |
| 2862 rm -f $ac_rmfiles | 3469 rm -f $ac_rmfiles |
| 2863 | 3470 |
| 2864 if { (ac_try="$ac_link_default" | 3471 if { { ac_try="$ac_link_default" |
| 2865 case "(($ac_try" in | 3472 case "(($ac_try" in |
| 2866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2867 *) ac_try_echo=$ac_try;; | 3474 *) ac_try_echo=$ac_try;; |
| 2868 esac | 3475 esac |
| 2869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 3476 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3477 $as_echo "$ac_try_echo"; } >&5 |
| 2870 (eval "$ac_link_default") 2>&5 | 3478 (eval "$ac_link_default") 2>&5 |
| 2871 ac_status=$? | 3479 ac_status=$? |
| 2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2873 (exit $ac_status); }; then | 3481 test $ac_status = 0; }; then : |
| 2874 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | 3482 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
| 2875 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | 3483 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
| 2876 # in a Makefile. We should not override ac_cv_exeext if it was cached, | 3484 # in a Makefile. We should not override ac_cv_exeext if it was cached, |
| 2877 # so that the user can short-circuit this test for compilers unknown to | 3485 # so that the user can short-circuit this test for compilers unknown to |
| 2878 # Autoconf. | 3486 # Autoconf. |
| 2879 for ac_file in $ac_files '' | 3487 for ac_file in $ac_files '' |
| 2880 do | 3488 do |
| 2881 test -f "$ac_file" || continue | 3489 test -f "$ac_file" || continue |
| 2882 case $ac_file in | 3490 case $ac_file in |
| 2883 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map |
*.inf | *.o | *.obj ) | 3491 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map |
*.inf | *.dSYM | *.o | *.obj ) |
| 2884 ;; | 3492 ;; |
| 2885 [ab].out ) | 3493 [ab].out ) |
| 2886 # We found the default executable, but exeext='' is most | 3494 # We found the default executable, but exeext='' is most |
| 2887 # certainly right. | 3495 # certainly right. |
| 2888 break;; | 3496 break;; |
| 2889 *.* ) | 3497 *.* ) |
| 2890 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | 3498 » if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
| 2891 then :; else | 3499 then :; else |
| 2892 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 3500 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 2893 fi | 3501 fi |
| 2894 # We set ac_cv_exeext here because the later test for it is not | 3502 # We set ac_cv_exeext here because the later test for it is not |
| 2895 # safe: cross compilers may not add the suffix if given an `-o' | 3503 # safe: cross compilers may not add the suffix if given an `-o' |
| 2896 # argument, so we may need to know it at that point already. | 3504 # argument, so we may need to know it at that point already. |
| 2897 # Even if this section looks crufty: it has the advantage of | 3505 # Even if this section looks crufty: it has the advantage of |
| 2898 # actually working. | 3506 # actually working. |
| 2899 break;; | 3507 break;; |
| 2900 * ) | 3508 * ) |
| 2901 break;; | 3509 break;; |
| 2902 esac | 3510 esac |
| 2903 done | 3511 done |
| 2904 test "$ac_cv_exeext" = no && ac_cv_exeext= | 3512 test "$ac_cv_exeext" = no && ac_cv_exeext= |
| 2905 | 3513 |
| 2906 else | 3514 else |
| 2907 ac_file='' | 3515 ac_file='' |
| 2908 fi | 3516 fi |
| 2909 | 3517 if test -z "$ac_file"; then : |
| 2910 { echo "$as_me:$LINENO: result: $ac_file" >&5 | 3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2911 echo "${ECHO_T}$ac_file" >&6; } | 3519 $as_echo "no" >&6; } |
| 2912 if test -z "$ac_file"; then | 3520 $as_echo "$as_me: failed program was:" >&5 |
| 2913 echo "$as_me: failed program was:" >&5 | |
| 2914 sed 's/^/| /' conftest.$ac_ext >&5 | 3521 sed 's/^/| /' conftest.$ac_ext >&5 |
| 2915 | 3522 |
| 2916 { { echo "$as_me:$LINENO: error: C compiler cannot create executables | 3523 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 2917 See \`config.log' for more details." >&5 | 3524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2918 echo "$as_me: error: C compiler cannot create executables | 3525 { as_fn_set_status 77 |
| 2919 See \`config.log' for more details." >&2;} | 3526 as_fn_error "C compiler cannot create executables |
| 2920 { (exit 77); exit 77; }; } | 3527 See \`config.log' for more details." "$LINENO" 5; }; } |
| 3528 else |
| 3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3530 $as_echo "yes" >&6; } |
| 2921 fi | 3531 fi |
| 2922 | 3532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output
file name" >&5 |
| 3533 $as_echo_n "checking for C compiler default output file name... " >&6; } |
| 3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
| 3535 $as_echo "$ac_file" >&6; } |
| 2923 ac_exeext=$ac_cv_exeext | 3536 ac_exeext=$ac_cv_exeext |
| 2924 | 3537 |
| 2925 # Check that the compiler produces executables we can run. If not, either | 3538 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
| 2926 # the compiler is broken, or we cross compile. | |
| 2927 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | |
| 2928 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } | |
| 2929 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | |
| 2930 # If not cross compiling, check that we can run a simple program. | |
| 2931 if test "$cross_compiling" != yes; then | |
| 2932 if { ac_try='./$ac_file' | |
| 2933 { (case "(($ac_try" in | |
| 2934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2935 *) ac_try_echo=$ac_try;; | |
| 2936 esac | |
| 2937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 2938 (eval "$ac_try") 2>&5 | |
| 2939 ac_status=$? | |
| 2940 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2941 (exit $ac_status); }; }; then | |
| 2942 cross_compiling=no | |
| 2943 else | |
| 2944 if test "$cross_compiling" = maybe; then | |
| 2945 » cross_compiling=yes | |
| 2946 else | |
| 2947 » { { echo "$as_me:$LINENO: error: cannot run C compiled programs. | |
| 2948 If you meant to cross compile, use \`--host'. | |
| 2949 See \`config.log' for more details." >&5 | |
| 2950 echo "$as_me: error: cannot run C compiled programs. | |
| 2951 If you meant to cross compile, use \`--host'. | |
| 2952 See \`config.log' for more details." >&2;} | |
| 2953 { (exit 1); exit 1; }; } | |
| 2954 fi | |
| 2955 fi | |
| 2956 fi | |
| 2957 { echo "$as_me:$LINENO: result: yes" >&5 | |
| 2958 echo "${ECHO_T}yes" >&6; } | |
| 2959 | |
| 2960 rm -f a.out a.exe conftest$ac_cv_exeext b.out | |
| 2961 ac_clean_files=$ac_clean_files_save | 3539 ac_clean_files=$ac_clean_files_save |
| 2962 # Check that the compiler produces executables we can run. If not, either | 3540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
| 2963 # the compiler is broken, or we cross compile. | 3541 $as_echo_n "checking for suffix of executables... " >&6; } |
| 2964 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | 3542 if { { ac_try="$ac_link" |
| 2965 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } | |
| 2966 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 | |
| 2967 echo "${ECHO_T}$cross_compiling" >&6; } | |
| 2968 | |
| 2969 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 | |
| 2970 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } | |
| 2971 if { (ac_try="$ac_link" | |
| 2972 case "(($ac_try" in | 3543 case "(($ac_try" in |
| 2973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2974 *) ac_try_echo=$ac_try;; | 3545 *) ac_try_echo=$ac_try;; |
| 2975 esac | 3546 esac |
| 2976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 3547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3548 $as_echo "$ac_try_echo"; } >&5 |
| 2977 (eval "$ac_link") 2>&5 | 3549 (eval "$ac_link") 2>&5 |
| 2978 ac_status=$? | 3550 ac_status=$? |
| 2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2980 (exit $ac_status); }; then | 3552 test $ac_status = 0; }; then : |
| 2981 # If both `conftest.exe' and `conftest' are `present' (well, observable) | 3553 # If both `conftest.exe' and `conftest' are `present' (well, observable) |
| 2982 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | 3554 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
| 2983 # work properly (i.e., refer to `conftest.exe'), while it won't with | 3555 # work properly (i.e., refer to `conftest.exe'), while it won't with |
| 2984 # `rm'. | 3556 # `rm'. |
| 2985 for ac_file in conftest.exe conftest conftest.*; do | 3557 for ac_file in conftest.exe conftest conftest.*; do |
| 2986 test -f "$ac_file" || continue | 3558 test -f "$ac_file" || continue |
| 2987 case $ac_file in | 3559 case $ac_file in |
| 2988 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map |
*.inf | *.o | *.obj ) ;; | 3560 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map |
*.inf | *.dSYM | *.o | *.obj ) ;; |
| 2989 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 3561 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 2990 break;; | 3562 break;; |
| 2991 * ) break;; | 3563 * ) break;; |
| 2992 esac | 3564 esac |
| 2993 done | 3565 done |
| 2994 else | 3566 else |
| 2995 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot
compile and link | 3567 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 2996 See \`config.log' for more details." >&5 | 3568 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2997 echo "$as_me: error: cannot compute suffix of executables: cannot compile and li
nk | 3569 as_fn_error "cannot compute suffix of executables: cannot compile and link |
| 2998 See \`config.log' for more details." >&2;} | 3570 See \`config.log' for more details." "$LINENO" 5; } |
| 2999 { (exit 1); exit 1; }; } | |
| 3000 fi | 3571 fi |
| 3001 | 3572 rm -f conftest conftest$ac_cv_exeext |
| 3002 rm -f conftest$ac_cv_exeext | 3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
| 3003 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | 3574 $as_echo "$ac_cv_exeext" >&6; } |
| 3004 echo "${ECHO_T}$ac_cv_exeext" >&6; } | |
| 3005 | 3575 |
| 3006 rm -f conftest.$ac_ext | 3576 rm -f conftest.$ac_ext |
| 3007 EXEEXT=$ac_cv_exeext | 3577 EXEEXT=$ac_cv_exeext |
| 3008 ac_exeext=$EXEEXT | 3578 ac_exeext=$EXEEXT |
| 3009 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 3579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3010 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } | 3580 /* end confdefs.h. */ |
| 3011 if test "${ac_cv_objext+set}" = set; then | 3581 #include <stdio.h> |
| 3012 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3582 int |
| 3583 main () |
| 3584 { |
| 3585 FILE *f = fopen ("conftest.out", "w"); |
| 3586 return ferror (f) || fclose (f) != 0; |
| 3587 |
| 3588 ; |
| 3589 return 0; |
| 3590 } |
| 3591 _ACEOF |
| 3592 ac_clean_files="$ac_clean_files conftest.out" |
| 3593 # Check that the compiler produces executables we can run. If not, either |
| 3594 # the compiler is broken, or we cross compile. |
| 3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5 |
| 3596 $as_echo_n "checking whether we are cross compiling... " >&6; } |
| 3597 if test "$cross_compiling" != yes; then |
| 3598 { { ac_try="$ac_link" |
| 3599 case "(($ac_try" in |
| 3600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3601 *) ac_try_echo=$ac_try;; |
| 3602 esac |
| 3603 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3604 $as_echo "$ac_try_echo"; } >&5 |
| 3605 (eval "$ac_link") 2>&5 |
| 3606 ac_status=$? |
| 3607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3608 test $ac_status = 0; } |
| 3609 if { ac_try='./conftest$ac_cv_exeext' |
| 3610 { { case "(($ac_try" in |
| 3611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3612 *) ac_try_echo=$ac_try;; |
| 3613 esac |
| 3614 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3615 $as_echo "$ac_try_echo"; } >&5 |
| 3616 (eval "$ac_try") 2>&5 |
| 3617 ac_status=$? |
| 3618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3619 test $ac_status = 0; }; }; then |
| 3620 cross_compiling=no |
| 3621 else |
| 3622 if test "$cross_compiling" = maybe; then |
| 3623 » cross_compiling=yes |
| 3624 else |
| 3625 » { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3627 as_fn_error "cannot run C compiled programs. |
| 3628 If you meant to cross compile, use \`--host'. |
| 3629 See \`config.log' for more details." "$LINENO" 5; } |
| 3630 fi |
| 3631 fi |
| 3632 fi |
| 3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
| 3634 $as_echo "$cross_compiling" >&6; } |
| 3635 |
| 3636 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
| 3637 ac_clean_files=$ac_clean_files_save |
| 3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&
5 |
| 3639 $as_echo_n "checking for suffix of object files... " >&6; } |
| 3640 if test "${ac_cv_objext+set}" = set; then : |
| 3641 $as_echo_n "(cached) " >&6 |
| 3013 else | 3642 else |
| 3014 cat >conftest.$ac_ext <<_ACEOF | 3643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3015 /* confdefs.h. */ | |
| 3016 _ACEOF | |
| 3017 cat confdefs.h >>conftest.$ac_ext | |
| 3018 cat >>conftest.$ac_ext <<_ACEOF | |
| 3019 /* end confdefs.h. */ | 3644 /* end confdefs.h. */ |
| 3020 | 3645 |
| 3021 int | 3646 int |
| 3022 main () | 3647 main () |
| 3023 { | 3648 { |
| 3024 | 3649 |
| 3025 ; | 3650 ; |
| 3026 return 0; | 3651 return 0; |
| 3027 } | 3652 } |
| 3028 _ACEOF | 3653 _ACEOF |
| 3029 rm -f conftest.o conftest.obj | 3654 rm -f conftest.o conftest.obj |
| 3030 if { (ac_try="$ac_compile" | 3655 if { { ac_try="$ac_compile" |
| 3031 case "(($ac_try" in | 3656 case "(($ac_try" in |
| 3032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3033 *) ac_try_echo=$ac_try;; | 3658 *) ac_try_echo=$ac_try;; |
| 3034 esac | 3659 esac |
| 3035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 3660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3661 $as_echo "$ac_try_echo"; } >&5 |
| 3036 (eval "$ac_compile") 2>&5 | 3662 (eval "$ac_compile") 2>&5 |
| 3037 ac_status=$? | 3663 ac_status=$? |
| 3038 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3039 (exit $ac_status); }; then | 3665 test $ac_status = 0; }; then : |
| 3040 for ac_file in conftest.o conftest.obj conftest.*; do | 3666 for ac_file in conftest.o conftest.obj conftest.*; do |
| 3041 test -f "$ac_file" || continue; | 3667 test -f "$ac_file" || continue; |
| 3042 case $ac_file in | 3668 case $ac_file in |
| 3043 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map |
*.inf ) ;; | 3669 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map |
*.inf | *.dSYM ) ;; |
| 3044 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 3670 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
| 3045 break;; | 3671 break;; |
| 3046 esac | 3672 esac |
| 3047 done | 3673 done |
| 3048 else | 3674 else |
| 3049 echo "$as_me: failed program was:" >&5 | 3675 $as_echo "$as_me: failed program was:" >&5 |
| 3050 sed 's/^/| /' conftest.$ac_ext >&5 | 3676 sed 's/^/| /' conftest.$ac_ext >&5 |
| 3051 | 3677 |
| 3052 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot c
ompile | 3678 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3053 See \`config.log' for more details." >&5 | 3679 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3054 echo "$as_me: error: cannot compute suffix of object files: cannot compile | 3680 as_fn_error "cannot compute suffix of object files: cannot compile |
| 3055 See \`config.log' for more details." >&2;} | 3681 See \`config.log' for more details." "$LINENO" 5; } |
| 3056 { (exit 1); exit 1; }; } | |
| 3057 fi | 3682 fi |
| 3058 | |
| 3059 rm -f conftest.$ac_cv_objext conftest.$ac_ext | 3683 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
| 3060 fi | 3684 fi |
| 3061 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
| 3062 echo "${ECHO_T}$ac_cv_objext" >&6; } | 3686 $as_echo "$ac_cv_objext" >&6; } |
| 3063 OBJEXT=$ac_cv_objext | 3687 OBJEXT=$ac_cv_objext |
| 3064 ac_objext=$OBJEXT | 3688 ac_objext=$OBJEXT |
| 3065 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 3689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C
compiler" >&5 |
| 3066 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6;
} | 3690 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
| 3067 if test "${ac_cv_c_compiler_gnu+set}" = set; then | 3691 if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
| 3068 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3692 $as_echo_n "(cached) " >&6 |
| 3069 else | 3693 else |
| 3070 cat >conftest.$ac_ext <<_ACEOF | 3694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3071 /* confdefs.h. */ | |
| 3072 _ACEOF | |
| 3073 cat confdefs.h >>conftest.$ac_ext | |
| 3074 cat >>conftest.$ac_ext <<_ACEOF | |
| 3075 /* end confdefs.h. */ | 3695 /* end confdefs.h. */ |
| 3076 | 3696 |
| 3077 int | 3697 int |
| 3078 main () | 3698 main () |
| 3079 { | 3699 { |
| 3080 #ifndef __GNUC__ | 3700 #ifndef __GNUC__ |
| 3081 choke me | 3701 choke me |
| 3082 #endif | 3702 #endif |
| 3083 | 3703 |
| 3084 ; | 3704 ; |
| 3085 return 0; | 3705 return 0; |
| 3086 } | 3706 } |
| 3087 _ACEOF | 3707 _ACEOF |
| 3088 rm -f conftest.$ac_objext | 3708 if ac_fn_c_try_compile "$LINENO"; then : |
| 3089 if { (ac_try="$ac_compile" | |
| 3090 case "(($ac_try" in | |
| 3091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3092 *) ac_try_echo=$ac_try;; | |
| 3093 esac | |
| 3094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3095 (eval "$ac_compile") 2>conftest.er1 | |
| 3096 ac_status=$? | |
| 3097 grep -v '^ *+' conftest.er1 >conftest.err | |
| 3098 rm -f conftest.er1 | |
| 3099 cat conftest.err >&5 | |
| 3100 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 3101 (exit $ac_status); } && { | |
| 3102 » test -z "$ac_c_werror_flag" || | |
| 3103 » test ! -s conftest.err | |
| 3104 } && test -s conftest.$ac_objext; then | |
| 3105 ac_compiler_gnu=yes | 3709 ac_compiler_gnu=yes |
| 3106 else | 3710 else |
| 3107 echo "$as_me: failed program was:" >&5 | 3711 ac_compiler_gnu=no |
| 3108 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 3109 | |
| 3110 » ac_compiler_gnu=no | |
| 3111 fi | 3712 fi |
| 3112 | |
| 3113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3114 ac_cv_c_compiler_gnu=$ac_compiler_gnu | 3714 ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 3115 | 3715 |
| 3116 fi | 3716 fi |
| 3117 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
| 3118 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } | 3718 $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
| 3119 GCC=`test $ac_compiler_gnu = yes && echo yes` | 3719 if test $ac_compiler_gnu = yes; then |
| 3720 GCC=yes |
| 3721 else |
| 3722 GCC= |
| 3723 fi |
| 3120 ac_test_CFLAGS=${CFLAGS+set} | 3724 ac_test_CFLAGS=${CFLAGS+set} |
| 3121 ac_save_CFLAGS=$CFLAGS | 3725 ac_save_CFLAGS=$CFLAGS |
| 3122 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
| 3123 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } | 3727 $as_echo_n "checking whether $CC accepts -g... " >&6; } |
| 3124 if test "${ac_cv_prog_cc_g+set}" = set; then | 3728 if test "${ac_cv_prog_cc_g+set}" = set; then : |
| 3125 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3729 $as_echo_n "(cached) " >&6 |
| 3126 else | 3730 else |
| 3127 ac_save_c_werror_flag=$ac_c_werror_flag | 3731 ac_save_c_werror_flag=$ac_c_werror_flag |
| 3128 ac_c_werror_flag=yes | 3732 ac_c_werror_flag=yes |
| 3129 ac_cv_prog_cc_g=no | 3733 ac_cv_prog_cc_g=no |
| 3130 CFLAGS="-g" | 3734 CFLAGS="-g" |
| 3131 cat >conftest.$ac_ext <<_ACEOF | 3735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3132 /* confdefs.h. */ | |
| 3133 _ACEOF | |
| 3134 cat confdefs.h >>conftest.$ac_ext | |
| 3135 cat >>conftest.$ac_ext <<_ACEOF | |
| 3136 /* end confdefs.h. */ | 3736 /* end confdefs.h. */ |
| 3137 | 3737 |
| 3138 int | 3738 int |
| 3139 main () | 3739 main () |
| 3140 { | 3740 { |
| 3141 | 3741 |
| 3142 ; | 3742 ; |
| 3143 return 0; | 3743 return 0; |
| 3144 } | 3744 } |
| 3145 _ACEOF | 3745 _ACEOF |
| 3146 rm -f conftest.$ac_objext | 3746 if ac_fn_c_try_compile "$LINENO"; then : |
| 3147 if { (ac_try="$ac_compile" | |
| 3148 case "(($ac_try" in | |
| 3149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3150 *) ac_try_echo=$ac_try;; | |
| 3151 esac | |
| 3152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3153 (eval "$ac_compile") 2>conftest.er1 | |
| 3154 ac_status=$? | |
| 3155 grep -v '^ *+' conftest.er1 >conftest.err | |
| 3156 rm -f conftest.er1 | |
| 3157 cat conftest.err >&5 | |
| 3158 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 3159 (exit $ac_status); } && { | |
| 3160 » test -z "$ac_c_werror_flag" || | |
| 3161 » test ! -s conftest.err | |
| 3162 } && test -s conftest.$ac_objext; then | |
| 3163 ac_cv_prog_cc_g=yes | 3747 ac_cv_prog_cc_g=yes |
| 3164 else | 3748 else |
| 3165 echo "$as_me: failed program was:" >&5 | 3749 CFLAGS="" |
| 3166 sed 's/^/| /' conftest.$ac_ext >&5 | 3750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3167 | |
| 3168 » CFLAGS="" | |
| 3169 cat >conftest.$ac_ext <<_ACEOF | |
| 3170 /* confdefs.h. */ | |
| 3171 _ACEOF | |
| 3172 cat confdefs.h >>conftest.$ac_ext | |
| 3173 cat >>conftest.$ac_ext <<_ACEOF | |
| 3174 /* end confdefs.h. */ | 3751 /* end confdefs.h. */ |
| 3175 | 3752 |
| 3176 int | 3753 int |
| 3177 main () | 3754 main () |
| 3178 { | 3755 { |
| 3179 | 3756 |
| 3180 ; | 3757 ; |
| 3181 return 0; | 3758 return 0; |
| 3182 } | 3759 } |
| 3183 _ACEOF | 3760 _ACEOF |
| 3184 rm -f conftest.$ac_objext | 3761 if ac_fn_c_try_compile "$LINENO"; then : |
| 3185 if { (ac_try="$ac_compile" | 3762 |
| 3186 case "(($ac_try" in | |
| 3187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3188 *) ac_try_echo=$ac_try;; | |
| 3189 esac | |
| 3190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3191 (eval "$ac_compile") 2>conftest.er1 | |
| 3192 ac_status=$? | |
| 3193 grep -v '^ *+' conftest.er1 >conftest.err | |
| 3194 rm -f conftest.er1 | |
| 3195 cat conftest.err >&5 | |
| 3196 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 3197 (exit $ac_status); } && { | |
| 3198 » test -z "$ac_c_werror_flag" || | |
| 3199 » test ! -s conftest.err | |
| 3200 } && test -s conftest.$ac_objext; then | |
| 3201 : | |
| 3202 else | 3763 else |
| 3203 echo "$as_me: failed program was:" >&5 | 3764 ac_c_werror_flag=$ac_save_c_werror_flag |
| 3204 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 3205 | |
| 3206 » ac_c_werror_flag=$ac_save_c_werror_flag | |
| 3207 CFLAGS="-g" | 3765 CFLAGS="-g" |
| 3208 » cat >conftest.$ac_ext <<_ACEOF | 3766 » cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3209 /* confdefs.h. */ | |
| 3210 _ACEOF | |
| 3211 cat confdefs.h >>conftest.$ac_ext | |
| 3212 cat >>conftest.$ac_ext <<_ACEOF | |
| 3213 /* end confdefs.h. */ | 3767 /* end confdefs.h. */ |
| 3214 | 3768 |
| 3215 int | 3769 int |
| 3216 main () | 3770 main () |
| 3217 { | 3771 { |
| 3218 | 3772 |
| 3219 ; | 3773 ; |
| 3220 return 0; | 3774 return 0; |
| 3221 } | 3775 } |
| 3222 _ACEOF | 3776 _ACEOF |
| 3223 rm -f conftest.$ac_objext | 3777 if ac_fn_c_try_compile "$LINENO"; then : |
| 3224 if { (ac_try="$ac_compile" | |
| 3225 case "(($ac_try" in | |
| 3226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3227 *) ac_try_echo=$ac_try;; | |
| 3228 esac | |
| 3229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3230 (eval "$ac_compile") 2>conftest.er1 | |
| 3231 ac_status=$? | |
| 3232 grep -v '^ *+' conftest.er1 >conftest.err | |
| 3233 rm -f conftest.er1 | |
| 3234 cat conftest.err >&5 | |
| 3235 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 3236 (exit $ac_status); } && { | |
| 3237 » test -z "$ac_c_werror_flag" || | |
| 3238 » test ! -s conftest.err | |
| 3239 } && test -s conftest.$ac_objext; then | |
| 3240 ac_cv_prog_cc_g=yes | 3778 ac_cv_prog_cc_g=yes |
| 3241 else | |
| 3242 echo "$as_me: failed program was:" >&5 | |
| 3243 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 3244 | |
| 3245 | |
| 3246 fi | 3779 fi |
| 3247 | |
| 3248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3249 fi | 3781 fi |
| 3250 | |
| 3251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3252 fi | 3783 fi |
| 3253 | |
| 3254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3255 ac_c_werror_flag=$ac_save_c_werror_flag | 3785 ac_c_werror_flag=$ac_save_c_werror_flag |
| 3256 fi | 3786 fi |
| 3257 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
| 3258 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } | 3788 $as_echo "$ac_cv_prog_cc_g" >&6; } |
| 3259 if test "$ac_test_CFLAGS" = set; then | 3789 if test "$ac_test_CFLAGS" = set; then |
| 3260 CFLAGS=$ac_save_CFLAGS | 3790 CFLAGS=$ac_save_CFLAGS |
| 3261 elif test $ac_cv_prog_cc_g = yes; then | 3791 elif test $ac_cv_prog_cc_g = yes; then |
| 3262 if test "$GCC" = yes; then | 3792 if test "$GCC" = yes; then |
| 3263 CFLAGS="-g -O2" | 3793 CFLAGS="-g -O2" |
| 3264 else | 3794 else |
| 3265 CFLAGS="-g" | 3795 CFLAGS="-g" |
| 3266 fi | 3796 fi |
| 3267 else | 3797 else |
| 3268 if test "$GCC" = yes; then | 3798 if test "$GCC" = yes; then |
| 3269 CFLAGS="-O2" | 3799 CFLAGS="-O2" |
| 3270 else | 3800 else |
| 3271 CFLAGS= | 3801 CFLAGS= |
| 3272 fi | 3802 fi |
| 3273 fi | 3803 fi |
| 3274 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 | 3804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C
89" >&5 |
| 3275 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } | 3805 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
| 3276 if test "${ac_cv_prog_cc_c89+set}" = set; then | 3806 if test "${ac_cv_prog_cc_c89+set}" = set; then : |
| 3277 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3807 $as_echo_n "(cached) " >&6 |
| 3278 else | 3808 else |
| 3279 ac_cv_prog_cc_c89=no | 3809 ac_cv_prog_cc_c89=no |
| 3280 ac_save_CC=$CC | 3810 ac_save_CC=$CC |
| 3281 cat >conftest.$ac_ext <<_ACEOF | 3811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3282 /* confdefs.h. */ | |
| 3283 _ACEOF | |
| 3284 cat confdefs.h >>conftest.$ac_ext | |
| 3285 cat >>conftest.$ac_ext <<_ACEOF | |
| 3286 /* end confdefs.h. */ | 3812 /* end confdefs.h. */ |
| 3287 #include <stdarg.h> | 3813 #include <stdarg.h> |
| 3288 #include <stdio.h> | 3814 #include <stdio.h> |
| 3289 #include <sys/types.h> | 3815 #include <sys/types.h> |
| 3290 #include <sys/stat.h> | 3816 #include <sys/stat.h> |
| 3291 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | 3817 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| 3292 struct buf { int x; }; | 3818 struct buf { int x; }; |
| 3293 FILE * (*rcsopen) (struct buf *, struct stat *, int); | 3819 FILE * (*rcsopen) (struct buf *, struct stat *, int); |
| 3294 static char *e (p, i) | 3820 static char *e (p, i) |
| 3295 char **p; | 3821 char **p; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3332 { | 3858 { |
| 3333 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | 3859 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
| 3334 ; | 3860 ; |
| 3335 return 0; | 3861 return 0; |
| 3336 } | 3862 } |
| 3337 _ACEOF | 3863 _ACEOF |
| 3338 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | 3864 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
| 3339 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 3865 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 3340 do | 3866 do |
| 3341 CC="$ac_save_CC $ac_arg" | 3867 CC="$ac_save_CC $ac_arg" |
| 3342 rm -f conftest.$ac_objext | 3868 if ac_fn_c_try_compile "$LINENO"; then : |
| 3343 if { (ac_try="$ac_compile" | |
| 3344 case "(($ac_try" in | |
| 3345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3346 *) ac_try_echo=$ac_try;; | |
| 3347 esac | |
| 3348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3349 (eval "$ac_compile") 2>conftest.er1 | |
| 3350 ac_status=$? | |
| 3351 grep -v '^ *+' conftest.er1 >conftest.err | |
| 3352 rm -f conftest.er1 | |
| 3353 cat conftest.err >&5 | |
| 3354 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 3355 (exit $ac_status); } && { | |
| 3356 » test -z "$ac_c_werror_flag" || | |
| 3357 » test ! -s conftest.err | |
| 3358 } && test -s conftest.$ac_objext; then | |
| 3359 ac_cv_prog_cc_c89=$ac_arg | 3869 ac_cv_prog_cc_c89=$ac_arg |
| 3360 else | |
| 3361 echo "$as_me: failed program was:" >&5 | |
| 3362 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 3363 | |
| 3364 | |
| 3365 fi | 3870 fi |
| 3366 | |
| 3367 rm -f core conftest.err conftest.$ac_objext | 3871 rm -f core conftest.err conftest.$ac_objext |
| 3368 test "x$ac_cv_prog_cc_c89" != "xno" && break | 3872 test "x$ac_cv_prog_cc_c89" != "xno" && break |
| 3369 done | 3873 done |
| 3370 rm -f conftest.$ac_ext | 3874 rm -f conftest.$ac_ext |
| 3371 CC=$ac_save_CC | 3875 CC=$ac_save_CC |
| 3372 | 3876 |
| 3373 fi | 3877 fi |
| 3374 # AC_CACHE_VAL | 3878 # AC_CACHE_VAL |
| 3375 case "x$ac_cv_prog_cc_c89" in | 3879 case "x$ac_cv_prog_cc_c89" in |
| 3376 x) | 3880 x) |
| 3377 { echo "$as_me:$LINENO: result: none needed" >&5 | 3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 3378 echo "${ECHO_T}none needed" >&6; } ;; | 3882 $as_echo "none needed" >&6; } ;; |
| 3379 xno) | 3883 xno) |
| 3380 { echo "$as_me:$LINENO: result: unsupported" >&5 | 3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 3381 echo "${ECHO_T}unsupported" >&6; } ;; | 3885 $as_echo "unsupported" >&6; } ;; |
| 3382 *) | 3886 *) |
| 3383 CC="$CC $ac_cv_prog_cc_c89" | 3887 CC="$CC $ac_cv_prog_cc_c89" |
| 3384 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 | 3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
| 3385 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; | 3889 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
| 3386 esac | 3890 esac |
| 3891 if test "x$ac_cv_prog_cc_c89" != xno; then : |
| 3387 | 3892 |
| 3893 fi |
| 3388 | 3894 |
| 3389 ac_ext=c | 3895 ac_ext=c |
| 3390 ac_cpp='$CPP $CPPFLAGS' | 3896 ac_cpp='$CPP $CPPFLAGS' |
| 3391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | 3898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
| 3393 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3899 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3394 | 3900 |
| 3395 depcc="$CC" am_compiler_list= | 3901 depcc="$CC" am_compiler_list= |
| 3396 | 3902 |
| 3397 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 | 3903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&
5 |
| 3398 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } | 3904 $as_echo_n "checking dependency style of $depcc... " >&6; } |
| 3399 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then | 3905 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : |
| 3400 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3906 $as_echo_n "(cached) " >&6 |
| 3401 else | 3907 else |
| 3402 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | 3908 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| 3403 # We make a subdir and do the tests there. Otherwise we can end up | 3909 # We make a subdir and do the tests there. Otherwise we can end up |
| 3404 # making bogus files that we don't know about and never remove. For | 3910 # making bogus files that we don't know about and never remove. For |
| 3405 # instance it was reported that on HP-UX the gcc test will end up | 3911 # instance it was reported that on HP-UX the gcc test will end up |
| 3406 # making a dummy file named `D' -- because `-MD' means `put the output | 3912 # making a dummy file named `D' -- because `-MD' means `put the output |
| 3407 # in D'. | 3913 # in D'. |
| 3408 mkdir conftest.dir | 3914 mkdir conftest.dir |
| 3409 # Copy depcomp to subdir because otherwise we won't find it if we're | 3915 # Copy depcomp to subdir because otherwise we won't find it if we're |
| 3410 # using a relative directory. | 3916 # using a relative directory. |
| 3411 cp "$am_depcomp" conftest.dir | 3917 cp "$am_depcomp" conftest.dir |
| 3412 cd conftest.dir | 3918 cd conftest.dir |
| 3413 # We will build objects and dependencies in a subdirectory because | 3919 # We will build objects and dependencies in a subdirectory because |
| 3414 # it helps to detect inapplicable dependency modes. For instance | 3920 # it helps to detect inapplicable dependency modes. For instance |
| 3415 # both Tru64's cc and ICC support -MD to output dependencies as a | 3921 # both Tru64's cc and ICC support -MD to output dependencies as a |
| 3416 # side effect of compilation, but ICC will put the dependencies in | 3922 # side effect of compilation, but ICC will put the dependencies in |
| 3417 # the current directory while Tru64 will put them in the object | 3923 # the current directory while Tru64 will put them in the object |
| 3418 # directory. | 3924 # directory. |
| 3419 mkdir sub | 3925 mkdir sub |
| 3420 | 3926 |
| 3421 am_cv_CC_dependencies_compiler_type=none | 3927 am_cv_CC_dependencies_compiler_type=none |
| 3422 if test "$am_compiler_list" = ""; then | 3928 if test "$am_compiler_list" = ""; then |
| 3423 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | 3929 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
| 3424 fi | 3930 fi |
| 3931 am__universal=false |
| 3932 case " $depcc " in #( |
| 3933 *\ -arch\ *\ -arch\ *) am__universal=true ;; |
| 3934 esac |
| 3935 |
| 3425 for depmode in $am_compiler_list; do | 3936 for depmode in $am_compiler_list; do |
| 3426 # Setup a source with many dependencies, because some compilers | 3937 # Setup a source with many dependencies, because some compilers |
| 3427 # like to wrap large dependency lists on column 80 (with \), and | 3938 # like to wrap large dependency lists on column 80 (with \), and |
| 3428 # we should not choose a depcomp mode which is confused by this. | 3939 # we should not choose a depcomp mode which is confused by this. |
| 3429 # | 3940 # |
| 3430 # We need to recreate these files for each test, as the compiler may | 3941 # We need to recreate these files for each test, as the compiler may |
| 3431 # overwrite some of them when testing with obscure command lines. | 3942 # overwrite some of them when testing with obscure command lines. |
| 3432 # This happens at least with the AIX C compiler. | 3943 # This happens at least with the AIX C compiler. |
| 3433 : > sub/conftest.c | 3944 : > sub/conftest.c |
| 3434 for i in 1 2 3 4 5 6; do | 3945 for i in 1 2 3 4 5 6; do |
| 3435 echo '#include "conftst'$i'.h"' >> sub/conftest.c | 3946 echo '#include "conftst'$i'.h"' >> sub/conftest.c |
| 3436 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | 3947 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
| 3437 # Solaris 8's {/usr,}/bin/sh. | 3948 # Solaris 8's {/usr,}/bin/sh. |
| 3438 touch sub/conftst$i.h | 3949 touch sub/conftst$i.h |
| 3439 done | 3950 done |
| 3440 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | 3951 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 3441 | 3952 |
| 3953 # We check with `-c' and `-o' for the sake of the "dashmstdout" |
| 3954 # mode. It turns out that the SunPro C++ compiler does not properly |
| 3955 # handle `-M -o', and we need to detect this. Also, some Intel |
| 3956 # versions had trouble with output in subdirs |
| 3957 am__obj=sub/conftest.${OBJEXT-o} |
| 3958 am__minus_obj="-o $am__obj" |
| 3442 case $depmode in | 3959 case $depmode in |
| 3960 gcc) |
| 3961 # This depmode causes a compiler race in universal mode. |
| 3962 test "$am__universal" = false || continue |
| 3963 ;; |
| 3443 nosideeffect) | 3964 nosideeffect) |
| 3444 # after this tag, mechanisms are not by side-effect, so they'll | 3965 # after this tag, mechanisms are not by side-effect, so they'll |
| 3445 # only be used when explicitly requested | 3966 # only be used when explicitly requested |
| 3446 if test "x$enable_dependency_tracking" = xyes; then | 3967 if test "x$enable_dependency_tracking" = xyes; then |
| 3447 continue | 3968 continue |
| 3448 else | 3969 else |
| 3449 break | 3970 break |
| 3450 fi | 3971 fi |
| 3451 ;; | 3972 ;; |
| 3973 msvisualcpp | msvcmsys) |
| 3974 # This compiler won't grok `-c -o', but also, the minuso test has |
| 3975 # not run yet. These depmodes are late enough in the game, and |
| 3976 # so weak that their functioning should not be impacted. |
| 3977 am__obj=conftest.${OBJEXT-o} |
| 3978 am__minus_obj= |
| 3979 ;; |
| 3452 none) break ;; | 3980 none) break ;; |
| 3453 esac | 3981 esac |
| 3454 # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
| 3455 # mode. It turns out that the SunPro C++ compiler does not properly | |
| 3456 # handle `-M -o', and we need to detect this. | |
| 3457 if depmode=$depmode \ | 3982 if depmode=$depmode \ |
| 3458 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ | 3983 source=sub/conftest.c object=$am__obj \ |
| 3459 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | 3984 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
| 3460 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ | 3985 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
| 3461 >/dev/null 2>conftest.err && | 3986 >/dev/null 2>conftest.err && |
| 3462 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | 3987 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
| 3463 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | 3988 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
| 3464 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && | 3989 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
| 3465 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | 3990 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
| 3466 # icc doesn't choke on unknown options, it will just issue warnings | 3991 # icc doesn't choke on unknown options, it will just issue warnings |
| 3467 # or remarks (even with -Werror). So we grep stderr for any message | 3992 # or remarks (even with -Werror). So we grep stderr for any message |
| 3468 # that says an option was ignored or not supported. | 3993 # that says an option was ignored or not supported. |
| 3469 # When given -MP, icc 7.0 and 7.1 complain thusly: | 3994 # When given -MP, icc 7.0 and 7.1 complain thusly: |
| 3470 # icc: Command line warning: ignoring option '-M'; no argument required | 3995 # icc: Command line warning: ignoring option '-M'; no argument required |
| 3471 # The diagnosis changed in icc 8.0: | 3996 # The diagnosis changed in icc 8.0: |
| 3472 # icc: Command line remark: option '-MP' not supported | 3997 # icc: Command line remark: option '-MP' not supported |
| 3473 if (grep 'ignoring option' conftest.err || | 3998 if (grep 'ignoring option' conftest.err || |
| 3474 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | 3999 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
| 3475 am_cv_CC_dependencies_compiler_type=$depmode | 4000 am_cv_CC_dependencies_compiler_type=$depmode |
| 3476 break | 4001 break |
| 3477 fi | 4002 fi |
| 3478 fi | 4003 fi |
| 3479 done | 4004 done |
| 3480 | 4005 |
| 3481 cd .. | 4006 cd .. |
| 3482 rm -rf conftest.dir | 4007 rm -rf conftest.dir |
| 3483 else | 4008 else |
| 3484 am_cv_CC_dependencies_compiler_type=none | 4009 am_cv_CC_dependencies_compiler_type=none |
| 3485 fi | 4010 fi |
| 3486 | 4011 |
| 3487 fi | 4012 fi |
| 3488 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 | 4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler
_type" >&5 |
| 3489 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } | 4014 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
| 3490 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | 4015 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
| 3491 | 4016 |
| 3492 if | 4017 if |
| 3493 test "x$enable_dependency_tracking" != xno \ | 4018 test "x$enable_dependency_tracking" != xno \ |
| 3494 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | 4019 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
| 3495 am__fastdepCC_TRUE= | 4020 am__fastdepCC_TRUE= |
| 3496 am__fastdepCC_FALSE='#' | 4021 am__fastdepCC_FALSE='#' |
| 3497 else | 4022 else |
| 3498 am__fastdepCC_TRUE='#' | 4023 am__fastdepCC_TRUE='#' |
| 3499 am__fastdepCC_FALSE= | 4024 am__fastdepCC_FALSE= |
| 3500 fi | 4025 fi |
| 3501 | 4026 |
| 3502 | 4027 |
| 3503 ac_ext=c | 4028 ac_ext=c |
| 3504 ac_cpp='$CPP $CPPFLAGS' | 4029 ac_cpp='$CPP $CPPFLAGS' |
| 3505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | 4031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
| 3507 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4032 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3508 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor"
>&5 |
| 3509 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } | 4034 $as_echo_n "checking how to run the C preprocessor... " >&6; } |
| 3510 # On Suns, sometimes $CPP names a directory. | 4035 # On Suns, sometimes $CPP names a directory. |
| 3511 if test -n "$CPP" && test -d "$CPP"; then | 4036 if test -n "$CPP" && test -d "$CPP"; then |
| 3512 CPP= | 4037 CPP= |
| 3513 fi | 4038 fi |
| 3514 if test -z "$CPP"; then | 4039 if test -z "$CPP"; then |
| 3515 if test "${ac_cv_prog_CPP+set}" = set; then | 4040 if test "${ac_cv_prog_CPP+set}" = set; then : |
| 3516 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4041 $as_echo_n "(cached) " >&6 |
| 3517 else | 4042 else |
| 3518 # Double quotes because CPP needs to be expanded | 4043 # Double quotes because CPP needs to be expanded |
| 3519 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 4044 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
| 3520 do | 4045 do |
| 3521 ac_preproc_ok=false | 4046 ac_preproc_ok=false |
| 3522 for ac_c_preproc_warn_flag in '' yes | 4047 for ac_c_preproc_warn_flag in '' yes |
| 3523 do | 4048 do |
| 3524 # Use a header file that comes with gcc, so configuring glibc | 4049 # Use a header file that comes with gcc, so configuring glibc |
| 3525 # with a fresh cross-compiler works. | 4050 # with a fresh cross-compiler works. |
| 3526 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 4051 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 3527 # <limits.h> exists even on freestanding compilers. | 4052 # <limits.h> exists even on freestanding compilers. |
| 3528 # On the NeXT, cc -E runs the code through the compiler's parser, | 4053 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 3529 # not just through cpp. "Syntax error" is here to catch this case. | 4054 # not just through cpp. "Syntax error" is here to catch this case. |
| 3530 cat >conftest.$ac_ext <<_ACEOF | 4055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3531 /* confdefs.h. */ | |
| 3532 _ACEOF | |
| 3533 cat confdefs.h >>conftest.$ac_ext | |
| 3534 cat >>conftest.$ac_ext <<_ACEOF | |
| 3535 /* end confdefs.h. */ | 4056 /* end confdefs.h. */ |
| 3536 #ifdef __STDC__ | 4057 #ifdef __STDC__ |
| 3537 # include <limits.h> | 4058 # include <limits.h> |
| 3538 #else | 4059 #else |
| 3539 # include <assert.h> | 4060 # include <assert.h> |
| 3540 #endif | 4061 #endif |
| 3541 Syntax error | 4062 Syntax error |
| 3542 _ACEOF | 4063 _ACEOF |
| 3543 if { (ac_try="$ac_cpp conftest.$ac_ext" | 4064 if ac_fn_c_try_cpp "$LINENO"; then : |
| 3544 case "(($ac_try" in | 4065 |
| 3545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3546 *) ac_try_echo=$ac_try;; | |
| 3547 esac | |
| 3548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3549 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
| 3550 ac_status=$? | |
| 3551 grep -v '^ *+' conftest.er1 >conftest.err | |
| 3552 rm -f conftest.er1 | |
| 3553 cat conftest.err >&5 | |
| 3554 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 3555 (exit $ac_status); } >/dev/null && { | |
| 3556 » test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
| 3557 » test ! -s conftest.err | |
| 3558 }; then | |
| 3559 : | |
| 3560 else | 4066 else |
| 3561 echo "$as_me: failed program was:" >&5 | |
| 3562 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 3563 | |
| 3564 # Broken: fails on valid input. | 4067 # Broken: fails on valid input. |
| 3565 continue | 4068 continue |
| 3566 fi | 4069 fi |
| 3567 | |
| 3568 rm -f conftest.err conftest.$ac_ext | 4070 rm -f conftest.err conftest.$ac_ext |
| 3569 | 4071 |
| 3570 # OK, works on sane cases. Now check whether nonexistent headers | 4072 # OK, works on sane cases. Now check whether nonexistent headers |
| 3571 # can be detected and how. | 4073 # can be detected and how. |
| 3572 cat >conftest.$ac_ext <<_ACEOF | 4074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3573 /* confdefs.h. */ | |
| 3574 _ACEOF | |
| 3575 cat confdefs.h >>conftest.$ac_ext | |
| 3576 cat >>conftest.$ac_ext <<_ACEOF | |
| 3577 /* end confdefs.h. */ | 4075 /* end confdefs.h. */ |
| 3578 #include <ac_nonexistent.h> | 4076 #include <ac_nonexistent.h> |
| 3579 _ACEOF | 4077 _ACEOF |
| 3580 if { (ac_try="$ac_cpp conftest.$ac_ext" | 4078 if ac_fn_c_try_cpp "$LINENO"; then : |
| 3581 case "(($ac_try" in | |
| 3582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3583 *) ac_try_echo=$ac_try;; | |
| 3584 esac | |
| 3585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3586 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
| 3587 ac_status=$? | |
| 3588 grep -v '^ *+' conftest.er1 >conftest.err | |
| 3589 rm -f conftest.er1 | |
| 3590 cat conftest.err >&5 | |
| 3591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 3592 (exit $ac_status); } >/dev/null && { | |
| 3593 » test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
| 3594 » test ! -s conftest.err | |
| 3595 }; then | |
| 3596 # Broken: success on invalid input. | 4079 # Broken: success on invalid input. |
| 3597 continue | 4080 continue |
| 3598 else | 4081 else |
| 3599 echo "$as_me: failed program was:" >&5 | |
| 3600 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 3601 | |
| 3602 # Passes both tests. | 4082 # Passes both tests. |
| 3603 ac_preproc_ok=: | 4083 ac_preproc_ok=: |
| 3604 break | 4084 break |
| 3605 fi | 4085 fi |
| 3606 | |
| 3607 rm -f conftest.err conftest.$ac_ext | 4086 rm -f conftest.err conftest.$ac_ext |
| 3608 | 4087 |
| 3609 done | 4088 done |
| 3610 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4089 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 3611 rm -f conftest.err conftest.$ac_ext | 4090 rm -f conftest.err conftest.$ac_ext |
| 3612 if $ac_preproc_ok; then | 4091 if $ac_preproc_ok; then : |
| 3613 break | 4092 break |
| 3614 fi | 4093 fi |
| 3615 | 4094 |
| 3616 done | 4095 done |
| 3617 ac_cv_prog_CPP=$CPP | 4096 ac_cv_prog_CPP=$CPP |
| 3618 | 4097 |
| 3619 fi | 4098 fi |
| 3620 CPP=$ac_cv_prog_CPP | 4099 CPP=$ac_cv_prog_CPP |
| 3621 else | 4100 else |
| 3622 ac_cv_prog_CPP=$CPP | 4101 ac_cv_prog_CPP=$CPP |
| 3623 fi | 4102 fi |
| 3624 { echo "$as_me:$LINENO: result: $CPP" >&5 | 4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
| 3625 echo "${ECHO_T}$CPP" >&6; } | 4104 $as_echo "$CPP" >&6; } |
| 3626 ac_preproc_ok=false | 4105 ac_preproc_ok=false |
| 3627 for ac_c_preproc_warn_flag in '' yes | 4106 for ac_c_preproc_warn_flag in '' yes |
| 3628 do | 4107 do |
| 3629 # Use a header file that comes with gcc, so configuring glibc | 4108 # Use a header file that comes with gcc, so configuring glibc |
| 3630 # with a fresh cross-compiler works. | 4109 # with a fresh cross-compiler works. |
| 3631 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 4110 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 3632 # <limits.h> exists even on freestanding compilers. | 4111 # <limits.h> exists even on freestanding compilers. |
| 3633 # On the NeXT, cc -E runs the code through the compiler's parser, | 4112 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 3634 # not just through cpp. "Syntax error" is here to catch this case. | 4113 # not just through cpp. "Syntax error" is here to catch this case. |
| 3635 cat >conftest.$ac_ext <<_ACEOF | 4114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3636 /* confdefs.h. */ | |
| 3637 _ACEOF | |
| 3638 cat confdefs.h >>conftest.$ac_ext | |
| 3639 cat >>conftest.$ac_ext <<_ACEOF | |
| 3640 /* end confdefs.h. */ | 4115 /* end confdefs.h. */ |
| 3641 #ifdef __STDC__ | 4116 #ifdef __STDC__ |
| 3642 # include <limits.h> | 4117 # include <limits.h> |
| 3643 #else | 4118 #else |
| 3644 # include <assert.h> | 4119 # include <assert.h> |
| 3645 #endif | 4120 #endif |
| 3646 Syntax error | 4121 Syntax error |
| 3647 _ACEOF | 4122 _ACEOF |
| 3648 if { (ac_try="$ac_cpp conftest.$ac_ext" | 4123 if ac_fn_c_try_cpp "$LINENO"; then : |
| 3649 case "(($ac_try" in | 4124 |
| 3650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3651 *) ac_try_echo=$ac_try;; | |
| 3652 esac | |
| 3653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3654 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
| 3655 ac_status=$? | |
| 3656 grep -v '^ *+' conftest.er1 >conftest.err | |
| 3657 rm -f conftest.er1 | |
| 3658 cat conftest.err >&5 | |
| 3659 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 3660 (exit $ac_status); } >/dev/null && { | |
| 3661 » test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
| 3662 » test ! -s conftest.err | |
| 3663 }; then | |
| 3664 : | |
| 3665 else | 4125 else |
| 3666 echo "$as_me: failed program was:" >&5 | |
| 3667 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 3668 | |
| 3669 # Broken: fails on valid input. | 4126 # Broken: fails on valid input. |
| 3670 continue | 4127 continue |
| 3671 fi | 4128 fi |
| 3672 | |
| 3673 rm -f conftest.err conftest.$ac_ext | 4129 rm -f conftest.err conftest.$ac_ext |
| 3674 | 4130 |
| 3675 # OK, works on sane cases. Now check whether nonexistent headers | 4131 # OK, works on sane cases. Now check whether nonexistent headers |
| 3676 # can be detected and how. | 4132 # can be detected and how. |
| 3677 cat >conftest.$ac_ext <<_ACEOF | 4133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3678 /* confdefs.h. */ | |
| 3679 _ACEOF | |
| 3680 cat confdefs.h >>conftest.$ac_ext | |
| 3681 cat >>conftest.$ac_ext <<_ACEOF | |
| 3682 /* end confdefs.h. */ | 4134 /* end confdefs.h. */ |
| 3683 #include <ac_nonexistent.h> | 4135 #include <ac_nonexistent.h> |
| 3684 _ACEOF | 4136 _ACEOF |
| 3685 if { (ac_try="$ac_cpp conftest.$ac_ext" | 4137 if ac_fn_c_try_cpp "$LINENO"; then : |
| 3686 case "(($ac_try" in | |
| 3687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3688 *) ac_try_echo=$ac_try;; | |
| 3689 esac | |
| 3690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3691 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
| 3692 ac_status=$? | |
| 3693 grep -v '^ *+' conftest.er1 >conftest.err | |
| 3694 rm -f conftest.er1 | |
| 3695 cat conftest.err >&5 | |
| 3696 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 3697 (exit $ac_status); } >/dev/null && { | |
| 3698 » test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
| 3699 » test ! -s conftest.err | |
| 3700 }; then | |
| 3701 # Broken: success on invalid input. | 4138 # Broken: success on invalid input. |
| 3702 continue | 4139 continue |
| 3703 else | 4140 else |
| 3704 echo "$as_me: failed program was:" >&5 | |
| 3705 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 3706 | |
| 3707 # Passes both tests. | 4141 # Passes both tests. |
| 3708 ac_preproc_ok=: | 4142 ac_preproc_ok=: |
| 3709 break | 4143 break |
| 3710 fi | 4144 fi |
| 3711 | |
| 3712 rm -f conftest.err conftest.$ac_ext | 4145 rm -f conftest.err conftest.$ac_ext |
| 3713 | 4146 |
| 3714 done | 4147 done |
| 3715 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4148 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 3716 rm -f conftest.err conftest.$ac_ext | 4149 rm -f conftest.err conftest.$ac_ext |
| 3717 if $ac_preproc_ok; then | 4150 if $ac_preproc_ok; then : |
| 3718 : | 4151 |
| 3719 else | 4152 else |
| 3720 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | 4153 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3721 See \`config.log' for more details." >&5 | 4154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3722 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | 4155 as_fn_error "C preprocessor \"$CPP\" fails sanity check |
| 3723 See \`config.log' for more details." >&2;} | 4156 See \`config.log' for more details." "$LINENO" 5; } |
| 3724 { (exit 1); exit 1; }; } | |
| 3725 fi | 4157 fi |
| 3726 | 4158 |
| 3727 ac_ext=c | 4159 ac_ext=c |
| 3728 ac_cpp='$CPP $CPPFLAGS' | 4160 ac_cpp='$CPP $CPPFLAGS' |
| 3729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | 4162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
| 3731 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4163 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3732 | 4164 |
| 3733 | 4165 case $ac_cv_prog_cc_stdc in #( |
| 3734 cat >>confdefs.h <<_ACEOF | 4166 no) : |
| 3735 #define CPP_PROG "${CPP}" | 4167 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #( |
| 3736 _ACEOF | 4168 *) : |
| 3737 | 4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept I
SO C99" >&5 |
| 3738 case $ac_cv_prog_cc_stdc in | 4170 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; } |
| 3739 no) ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; | 4171 if test "${ac_cv_prog_cc_c99+set}" = set; then : |
| 3740 *) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5 | 4172 $as_echo_n "(cached) " >&6 |
| 3741 echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; } | |
| 3742 if test "${ac_cv_prog_cc_c99+set}" = set; then | |
| 3743 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 3744 else | 4173 else |
| 3745 ac_cv_prog_cc_c99=no | 4174 ac_cv_prog_cc_c99=no |
| 3746 ac_save_CC=$CC | 4175 ac_save_CC=$CC |
| 3747 cat >conftest.$ac_ext <<_ACEOF | 4176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3748 /* confdefs.h. */ | |
| 3749 _ACEOF | |
| 3750 cat confdefs.h >>conftest.$ac_ext | |
| 3751 cat >>conftest.$ac_ext <<_ACEOF | |
| 3752 /* end confdefs.h. */ | 4177 /* end confdefs.h. */ |
| 3753 #include <stdarg.h> | 4178 #include <stdarg.h> |
| 3754 #include <stdbool.h> | 4179 #include <stdbool.h> |
| 3755 #include <stdlib.h> | 4180 #include <stdlib.h> |
| 3756 #include <wchar.h> | 4181 #include <wchar.h> |
| 3757 #include <stdio.h> | 4182 #include <stdio.h> |
| 3758 | 4183 |
| 3759 // Check varargs macros. These examples are taken from C99 6.10.3.5. | 4184 // Check varargs macros. These examples are taken from C99 6.10.3.5. |
| 3760 #define debug(...) fprintf (stderr, __VA_ARGS__) | 4185 #define debug(...) fprintf (stderr, __VA_ARGS__) |
| 3761 #define showlist(...) puts (#__VA_ARGS__) | 4186 #define showlist(...) puts (#__VA_ARGS__) |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3880 dynamic_array[ni.number - 1] = 543; | 4305 dynamic_array[ni.number - 1] = 543; |
| 3881 | 4306 |
| 3882 // work around unused variable warnings | 4307 // work around unused variable warnings |
| 3883 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | 4308 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
| 3884 || dynamic_array[ni.number - 1] != 543); | 4309 || dynamic_array[ni.number - 1] != 543); |
| 3885 | 4310 |
| 3886 ; | 4311 ; |
| 3887 return 0; | 4312 return 0; |
| 3888 } | 4313 } |
| 3889 _ACEOF | 4314 _ACEOF |
| 3890 for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc99 | 4315 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 |
| 3891 do | 4316 do |
| 3892 CC="$ac_save_CC $ac_arg" | 4317 CC="$ac_save_CC $ac_arg" |
| 3893 rm -f conftest.$ac_objext | 4318 if ac_fn_c_try_compile "$LINENO"; then : |
| 3894 if { (ac_try="$ac_compile" | |
| 3895 case "(($ac_try" in | |
| 3896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3897 *) ac_try_echo=$ac_try;; | |
| 3898 esac | |
| 3899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3900 (eval "$ac_compile") 2>conftest.er1 | |
| 3901 ac_status=$? | |
| 3902 grep -v '^ *+' conftest.er1 >conftest.err | |
| 3903 rm -f conftest.er1 | |
| 3904 cat conftest.err >&5 | |
| 3905 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 3906 (exit $ac_status); } && { | |
| 3907 » test -z "$ac_c_werror_flag" || | |
| 3908 » test ! -s conftest.err | |
| 3909 } && test -s conftest.$ac_objext; then | |
| 3910 ac_cv_prog_cc_c99=$ac_arg | 4319 ac_cv_prog_cc_c99=$ac_arg |
| 3911 else | |
| 3912 echo "$as_me: failed program was:" >&5 | |
| 3913 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 3914 | |
| 3915 | |
| 3916 fi | 4320 fi |
| 3917 | |
| 3918 rm -f core conftest.err conftest.$ac_objext | 4321 rm -f core conftest.err conftest.$ac_objext |
| 3919 test "x$ac_cv_prog_cc_c99" != "xno" && break | 4322 test "x$ac_cv_prog_cc_c99" != "xno" && break |
| 3920 done | 4323 done |
| 3921 rm -f conftest.$ac_ext | 4324 rm -f conftest.$ac_ext |
| 3922 CC=$ac_save_CC | 4325 CC=$ac_save_CC |
| 3923 | 4326 |
| 3924 fi | 4327 fi |
| 3925 # AC_CACHE_VAL | 4328 # AC_CACHE_VAL |
| 3926 case "x$ac_cv_prog_cc_c99" in | 4329 case "x$ac_cv_prog_cc_c99" in |
| 3927 x) | 4330 x) |
| 3928 { echo "$as_me:$LINENO: result: none needed" >&5 | 4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 3929 echo "${ECHO_T}none needed" >&6; } ;; | 4332 $as_echo "none needed" >&6; } ;; |
| 3930 xno) | 4333 xno) |
| 3931 { echo "$as_me:$LINENO: result: unsupported" >&5 | 4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 3932 echo "${ECHO_T}unsupported" >&6; } ;; | 4335 $as_echo "unsupported" >&6; } ;; |
| 3933 *) | 4336 *) |
| 3934 CC="$CC $ac_cv_prog_cc_c99" | 4337 CC="$CC $ac_cv_prog_cc_c99" |
| 3935 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5 | 4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 |
| 3936 echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;; | 4339 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;; |
| 3937 esac | 4340 esac |
| 3938 if test "x$ac_cv_prog_cc_c99" != xno; then | 4341 if test "x$ac_cv_prog_cc_c99" != xno; then : |
| 3939 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 | 4342 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 |
| 3940 else | 4343 else |
| 3941 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 | 4344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO
C89" >&5 |
| 3942 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } | 4345 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
| 3943 if test "${ac_cv_prog_cc_c89+set}" = set; then | 4346 if test "${ac_cv_prog_cc_c89+set}" = set; then : |
| 3944 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4347 $as_echo_n "(cached) " >&6 |
| 3945 else | 4348 else |
| 3946 ac_cv_prog_cc_c89=no | 4349 ac_cv_prog_cc_c89=no |
| 3947 ac_save_CC=$CC | 4350 ac_save_CC=$CC |
| 3948 cat >conftest.$ac_ext <<_ACEOF | 4351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3949 /* confdefs.h. */ | |
| 3950 _ACEOF | |
| 3951 cat confdefs.h >>conftest.$ac_ext | |
| 3952 cat >>conftest.$ac_ext <<_ACEOF | |
| 3953 /* end confdefs.h. */ | 4352 /* end confdefs.h. */ |
| 3954 #include <stdarg.h> | 4353 #include <stdarg.h> |
| 3955 #include <stdio.h> | 4354 #include <stdio.h> |
| 3956 #include <sys/types.h> | 4355 #include <sys/types.h> |
| 3957 #include <sys/stat.h> | 4356 #include <sys/stat.h> |
| 3958 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | 4357 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| 3959 struct buf { int x; }; | 4358 struct buf { int x; }; |
| 3960 FILE * (*rcsopen) (struct buf *, struct stat *, int); | 4359 FILE * (*rcsopen) (struct buf *, struct stat *, int); |
| 3961 static char *e (p, i) | 4360 static char *e (p, i) |
| 3962 char **p; | 4361 char **p; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3999 { | 4398 { |
| 4000 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | 4399 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
| 4001 ; | 4400 ; |
| 4002 return 0; | 4401 return 0; |
| 4003 } | 4402 } |
| 4004 _ACEOF | 4403 _ACEOF |
| 4005 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | 4404 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
| 4006 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 4405 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 4007 do | 4406 do |
| 4008 CC="$ac_save_CC $ac_arg" | 4407 CC="$ac_save_CC $ac_arg" |
| 4009 rm -f conftest.$ac_objext | 4408 if ac_fn_c_try_compile "$LINENO"; then : |
| 4010 if { (ac_try="$ac_compile" | |
| 4011 case "(($ac_try" in | |
| 4012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 4013 *) ac_try_echo=$ac_try;; | |
| 4014 esac | |
| 4015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 4016 (eval "$ac_compile") 2>conftest.er1 | |
| 4017 ac_status=$? | |
| 4018 grep -v '^ *+' conftest.er1 >conftest.err | |
| 4019 rm -f conftest.er1 | |
| 4020 cat conftest.err >&5 | |
| 4021 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 4022 (exit $ac_status); } && { | |
| 4023 » test -z "$ac_c_werror_flag" || | |
| 4024 » test ! -s conftest.err | |
| 4025 } && test -s conftest.$ac_objext; then | |
| 4026 ac_cv_prog_cc_c89=$ac_arg | 4409 ac_cv_prog_cc_c89=$ac_arg |
| 4027 else | |
| 4028 echo "$as_me: failed program was:" >&5 | |
| 4029 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 4030 | |
| 4031 | |
| 4032 fi | 4410 fi |
| 4033 | |
| 4034 rm -f core conftest.err conftest.$ac_objext | 4411 rm -f core conftest.err conftest.$ac_objext |
| 4035 test "x$ac_cv_prog_cc_c89" != "xno" && break | 4412 test "x$ac_cv_prog_cc_c89" != "xno" && break |
| 4036 done | 4413 done |
| 4037 rm -f conftest.$ac_ext | 4414 rm -f conftest.$ac_ext |
| 4038 CC=$ac_save_CC | 4415 CC=$ac_save_CC |
| 4039 | 4416 |
| 4040 fi | 4417 fi |
| 4041 # AC_CACHE_VAL | 4418 # AC_CACHE_VAL |
| 4042 case "x$ac_cv_prog_cc_c89" in | 4419 case "x$ac_cv_prog_cc_c89" in |
| 4043 x) | 4420 x) |
| 4044 { echo "$as_me:$LINENO: result: none needed" >&5 | 4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 4045 echo "${ECHO_T}none needed" >&6; } ;; | 4422 $as_echo "none needed" >&6; } ;; |
| 4046 xno) | 4423 xno) |
| 4047 { echo "$as_me:$LINENO: result: unsupported" >&5 | 4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 4048 echo "${ECHO_T}unsupported" >&6; } ;; | 4425 $as_echo "unsupported" >&6; } ;; |
| 4049 *) | 4426 *) |
| 4050 CC="$CC $ac_cv_prog_cc_c89" | 4427 CC="$CC $ac_cv_prog_cc_c89" |
| 4051 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 | 4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
| 4052 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; | 4429 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
| 4053 esac | 4430 esac |
| 4054 if test "x$ac_cv_prog_cc_c89" != xno; then | 4431 if test "x$ac_cv_prog_cc_c89" != xno; then : |
| 4055 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 | 4432 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 |
| 4056 else | 4433 else |
| 4057 ac_cv_prog_cc_stdc=no | 4434 ac_cv_prog_cc_stdc=no |
| 4058 fi | 4435 fi |
| 4059 | 4436 |
| 4060 | 4437 fi |
| 4438 ;; |
| 4439 esac |
| 4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO
Standard C" >&5 |
| 4441 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; } |
| 4442 if test "${ac_cv_prog_cc_stdc+set}" = set; then : |
| 4443 $as_echo_n "(cached) " >&6 |
| 4061 fi | 4444 fi |
| 4062 | 4445 |
| 4063 ;; | 4446 case $ac_cv_prog_cc_stdc in #( |
| 4064 esac | 4447 no) : |
| 4065 { echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5 | 4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 4066 echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6;
} | 4449 $as_echo "unsupported" >&6; } ;; #( |
| 4067 if test "${ac_cv_prog_cc_stdc+set}" = set; then | 4450 '') : |
| 4068 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 4069 fi | 4452 $as_echo "none needed" >&6; } ;; #( |
| 4070 | 4453 *) : |
| 4071 case $ac_cv_prog_cc_stdc in | 4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5 |
| 4072 no) { echo "$as_me:$LINENO: result: unsupported" >&5 | 4455 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;; |
| 4073 echo "${ECHO_T}unsupported" >&6; } ;; | |
| 4074 '') { echo "$as_me:$LINENO: result: none needed" >&5 | |
| 4075 echo "${ECHO_T}none needed" >&6; } ;; | |
| 4076 *) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | |
| 4077 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;; | |
| 4078 esac | 4456 esac |
| 4079 | 4457 |
| 4080 | 4458 |
| 4081 # Find a good install program. We prefer a C program (faster), | 4459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
| 4082 # so one script is as good as another. But avoid the broken or | 4460 $as_echo_n "checking whether ln -s works... " >&6; } |
| 4083 # incompatible versions: | 4461 LN_S=$as_ln_s |
| 4084 # SysV /etc/install, /usr/sbin/install | 4462 if test "$LN_S" = "ln -s"; then |
| 4085 # SunOS /usr/etc/install | 4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 4086 # IRIX /sbin/install | 4464 $as_echo "yes" >&6; } |
| 4087 # AIX /bin/install | |
| 4088 # AmigaOS /C/install, which installs bootblocks on floppy discs | |
| 4089 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
| 4090 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
| 4091 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
| 4092 # OS/2's system install, which has a completely different semantic | |
| 4093 # ./install, which can be erroneously created by make from ./install.sh. | |
| 4094 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | |
| 4095 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } | |
| 4096 if test -z "$INSTALL"; then | |
| 4097 if test "${ac_cv_path_install+set}" = set; then | |
| 4098 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 4099 else | 4465 else |
| 4100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
| 4467 $as_echo "no, using $LN_S" >&6; } |
| 4468 fi |
| 4469 |
| 4470 #automake default ARFLAGS to "cru" |
| 4471 if test -n "$ac_tool_prefix"; then |
| 4472 for ac_prog in $AR ar |
| 4473 do |
| 4474 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra
m name with args. |
| 4475 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 4476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4477 $as_echo_n "checking for $ac_word... " >&6; } |
| 4478 if test "${ac_cv_prog_AR+set}" = set; then : |
| 4479 $as_echo_n "(cached) " >&6 |
| 4480 else |
| 4481 if test -n "$AR"; then |
| 4482 ac_cv_prog_AR="$AR" # Let the user override the test. |
| 4483 else |
| 4484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4101 for as_dir in $PATH | 4485 for as_dir in $PATH |
| 4102 do | 4486 do |
| 4103 IFS=$as_save_IFS | 4487 IFS=$as_save_IFS |
| 4104 test -z "$as_dir" && as_dir=. | 4488 test -z "$as_dir" && as_dir=. |
| 4105 # Account for people who put trailing slashes in PATH elements. | 4489 for ac_exec_ext in '' $ac_executable_extensions; do |
| 4106 case $as_dir/ in | 4490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then |
| 4107 ./ | .// | /cC/* | \ | 4491 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
| 4108 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 4492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 4109 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | 4493 break 2 |
| 4110 /usr/ucb/* ) ;; | 4494 fi |
| 4111 *) | |
| 4112 # OSF1 and SCO ODT 3.0 have their own names for install. | |
| 4113 # Don't use installbsd from OSF since it installs stuff as root | |
| 4114 # by default. | |
| 4115 for ac_prog in ginstall scoinst install; do | |
| 4116 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 4117 » if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_p
rog$ac_exec_ext"; }; then | |
| 4118 » if test $ac_prog = install && | |
| 4119 » grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
| 4120 » # AIX install. It has an incompatible calling convention. | |
| 4121 » : | |
| 4122 » elif test $ac_prog = install && | |
| 4123 » grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
| 4124 » # program-specific install script used by HP pwplus--don't use. | |
| 4125 » : | |
| 4126 » else | |
| 4127 » ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
| 4128 » break 3 | |
| 4129 » fi | |
| 4130 » fi | |
| 4131 done | |
| 4132 done | |
| 4133 ;; | |
| 4134 esac | |
| 4135 done | 4495 done |
| 4496 done |
| 4136 IFS=$as_save_IFS | 4497 IFS=$as_save_IFS |
| 4137 | 4498 |
| 4499 fi |
| 4500 fi |
| 4501 AR=$ac_cv_prog_AR |
| 4502 if test -n "$AR"; then |
| 4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 |
| 4504 $as_echo "$AR" >&6; } |
| 4505 else |
| 4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4507 $as_echo "no" >&6; } |
| 4508 fi |
| 4509 |
| 4510 |
| 4511 test -n "$AR" && break |
| 4512 done |
| 4513 fi |
| 4514 if test -z "$AR"; then |
| 4515 ac_ct_AR=$AR |
| 4516 for ac_prog in $AR ar |
| 4517 do |
| 4518 # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 4519 set dummy $ac_prog; ac_word=$2 |
| 4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4521 $as_echo_n "checking for $ac_word... " >&6; } |
| 4522 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : |
| 4523 $as_echo_n "(cached) " >&6 |
| 4524 else |
| 4525 if test -n "$ac_ct_AR"; then |
| 4526 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
| 4527 else |
| 4528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4529 for as_dir in $PATH |
| 4530 do |
| 4531 IFS=$as_save_IFS |
| 4532 test -z "$as_dir" && as_dir=. |
| 4533 for ac_exec_ext in '' $ac_executable_extensions; do |
| 4534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then |
| 4535 ac_cv_prog_ac_ct_AR="$ac_prog" |
| 4536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 4537 break 2 |
| 4538 fi |
| 4539 done |
| 4540 done |
| 4541 IFS=$as_save_IFS |
| 4138 | 4542 |
| 4139 fi | 4543 fi |
| 4140 if test "${ac_cv_path_install+set}" = set; then | 4544 fi |
| 4141 INSTALL=$ac_cv_path_install | 4545 ac_ct_AR=$ac_cv_prog_ac_ct_AR |
| 4546 if test -n "$ac_ct_AR"; then |
| 4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 |
| 4548 $as_echo "$ac_ct_AR" >&6; } |
| 4549 else |
| 4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4551 $as_echo "no" >&6; } |
| 4552 fi |
| 4553 |
| 4554 |
| 4555 test -n "$ac_ct_AR" && break |
| 4556 done |
| 4557 |
| 4558 if test "x$ac_ct_AR" = x; then |
| 4559 AR="ar" |
| 4142 else | 4560 else |
| 4143 # As a last resort, use the slow shell script. Don't cache a | 4561 case $cross_compiling:$ac_tool_warned in |
| 4144 # value for INSTALL within a source directory, because that will | 4562 yes:) |
| 4145 # break other packages using the cache if that directory is | 4563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 |
| 4146 # removed, or if the value is a relative name. | 4564 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
| 4147 INSTALL=$ac_install_sh | 4565 ac_tool_warned=yes ;; |
| 4566 esac |
| 4567 AR=$ac_ct_AR |
| 4148 fi | 4568 fi |
| 4149 fi | 4569 fi |
| 4150 { echo "$as_me:$LINENO: result: $INSTALL" >&5 | |
| 4151 echo "${ECHO_T}$INSTALL" >&6; } | |
| 4152 | |
| 4153 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
| 4154 # It thinks the first close brace ends the variable substitution. | |
| 4155 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
| 4156 | |
| 4157 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |
| 4158 | |
| 4159 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
| 4160 | |
| 4161 { echo "$as_me:$LINENO: checking whether ln -s works" >&5 | |
| 4162 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } | |
| 4163 LN_S=$as_ln_s | |
| 4164 if test "$LN_S" = "ln -s"; then | |
| 4165 { echo "$as_me:$LINENO: result: yes" >&5 | |
| 4166 echo "${ECHO_T}yes" >&6; } | |
| 4167 else | |
| 4168 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 | |
| 4169 echo "${ECHO_T}no, using $LN_S" >&6; } | |
| 4170 fi | |
| 4171 | 4570 |
| 4172 if test -n "$ac_tool_prefix"; then | 4571 if test -n "$ac_tool_prefix"; then |
| 4173 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program
name with args. | 4572 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program
name with args. |
| 4174 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 4573 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
| 4175 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4575 $as_echo_n "checking for $ac_word... " >&6; } |
| 4177 if test "${ac_cv_prog_RANLIB+set}" = set; then | 4576 if test "${ac_cv_prog_RANLIB+set}" = set; then : |
| 4178 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4577 $as_echo_n "(cached) " >&6 |
| 4179 else | 4578 else |
| 4180 if test -n "$RANLIB"; then | 4579 if test -n "$RANLIB"; then |
| 4181 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 4580 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 4182 else | 4581 else |
| 4183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4184 for as_dir in $PATH | 4583 for as_dir in $PATH |
| 4185 do | 4584 do |
| 4186 IFS=$as_save_IFS | 4585 IFS=$as_save_IFS |
| 4187 test -z "$as_dir" && as_dir=. | 4586 test -z "$as_dir" && as_dir=. |
| 4188 for ac_exec_ext in '' $ac_executable_extensions; do | 4587 for ac_exec_ext in '' $ac_executable_extensions; do |
| 4189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | 4588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then |
| 4190 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 4589 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| 4191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 4192 break 2 | 4591 break 2 |
| 4193 fi | 4592 fi |
| 4194 done | 4593 done |
| 4195 done | 4594 done |
| 4196 IFS=$as_save_IFS | 4595 IFS=$as_save_IFS |
| 4197 | 4596 |
| 4198 fi | 4597 fi |
| 4199 fi | 4598 fi |
| 4200 RANLIB=$ac_cv_prog_RANLIB | 4599 RANLIB=$ac_cv_prog_RANLIB |
| 4201 if test -n "$RANLIB"; then | 4600 if test -n "$RANLIB"; then |
| 4202 { echo "$as_me:$LINENO: result: $RANLIB" >&5 | 4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
| 4203 echo "${ECHO_T}$RANLIB" >&6; } | 4602 $as_echo "$RANLIB" >&6; } |
| 4204 else | 4603 else |
| 4205 { echo "$as_me:$LINENO: result: no" >&5 | 4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4206 echo "${ECHO_T}no" >&6; } | 4605 $as_echo "no" >&6; } |
| 4207 fi | 4606 fi |
| 4208 | 4607 |
| 4209 | 4608 |
| 4210 fi | 4609 fi |
| 4211 if test -z "$ac_cv_prog_RANLIB"; then | 4610 if test -z "$ac_cv_prog_RANLIB"; then |
| 4212 ac_ct_RANLIB=$RANLIB | 4611 ac_ct_RANLIB=$RANLIB |
| 4213 # Extract the first word of "ranlib", so it can be a program name with args. | 4612 # Extract the first word of "ranlib", so it can be a program name with args. |
| 4214 set dummy ranlib; ac_word=$2 | 4613 set dummy ranlib; ac_word=$2 |
| 4215 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4615 $as_echo_n "checking for $ac_word... " >&6; } |
| 4217 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | 4616 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : |
| 4218 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4617 $as_echo_n "(cached) " >&6 |
| 4219 else | 4618 else |
| 4220 if test -n "$ac_ct_RANLIB"; then | 4619 if test -n "$ac_ct_RANLIB"; then |
| 4221 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | 4620 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
| 4222 else | 4621 else |
| 4223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4224 for as_dir in $PATH | 4623 for as_dir in $PATH |
| 4225 do | 4624 do |
| 4226 IFS=$as_save_IFS | 4625 IFS=$as_save_IFS |
| 4227 test -z "$as_dir" && as_dir=. | 4626 test -z "$as_dir" && as_dir=. |
| 4228 for ac_exec_ext in '' $ac_executable_extensions; do | 4627 for ac_exec_ext in '' $ac_executable_extensions; do |
| 4229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | 4628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then |
| 4230 ac_cv_prog_ac_ct_RANLIB="ranlib" | 4629 ac_cv_prog_ac_ct_RANLIB="ranlib" |
| 4231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 4232 break 2 | 4631 break 2 |
| 4233 fi | 4632 fi |
| 4234 done | 4633 done |
| 4235 done | 4634 done |
| 4236 IFS=$as_save_IFS | 4635 IFS=$as_save_IFS |
| 4237 | 4636 |
| 4238 fi | 4637 fi |
| 4239 fi | 4638 fi |
| 4240 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 4639 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
| 4241 if test -n "$ac_ct_RANLIB"; then | 4640 if test -n "$ac_ct_RANLIB"; then |
| 4242 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 | 4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
| 4243 echo "${ECHO_T}$ac_ct_RANLIB" >&6; } | 4642 $as_echo "$ac_ct_RANLIB" >&6; } |
| 4244 else | 4643 else |
| 4245 { echo "$as_me:$LINENO: result: no" >&5 | 4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4246 echo "${ECHO_T}no" >&6; } | 4645 $as_echo "no" >&6; } |
| 4247 fi | 4646 fi |
| 4248 | 4647 |
| 4249 if test "x$ac_ct_RANLIB" = x; then | 4648 if test "x$ac_ct_RANLIB" = x; then |
| 4250 RANLIB=":" | 4649 RANLIB=":" |
| 4251 else | 4650 else |
| 4252 case $cross_compiling:$ac_tool_warned in | 4651 case $cross_compiling:$ac_tool_warned in |
| 4253 yes:) | 4652 yes:) |
| 4254 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-t
ools | 4653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 |
| 4255 whose name does not start with the host triplet. If you think this | 4654 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
| 4256 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
| 4257 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
| 4258 whose name does not start with the host triplet. If you think this | |
| 4259 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
| 4260 ac_tool_warned=yes ;; | 4655 ac_tool_warned=yes ;; |
| 4261 esac | 4656 esac |
| 4262 RANLIB=$ac_ct_RANLIB | 4657 RANLIB=$ac_ct_RANLIB |
| 4263 fi | 4658 fi |
| 4264 else | 4659 else |
| 4265 RANLIB="$ac_cv_prog_RANLIB" | 4660 RANLIB="$ac_cv_prog_RANLIB" |
| 4266 fi | 4661 fi |
| 4267 | 4662 |
| 4268 | 4663 |
| 4269 # REQUIRE a standard (ANSI/ISO) C compiler | 4664 # REQUIRE a standard (ANSI/ISO) C compiler |
| 4270 if test "$ac_cv_prog_cc_stdc" = no; then | 4665 if test "$ac_cv_prog_cc_stdc" = no; then |
| 4271 » { { echo "$as_me:$LINENO: error: A standard (ANSI/ISO C89) C compiler is
required." >&5 | 4666 » as_fn_error "A standard (ANSI/ISO C89) C compiler is required." "$LINENO
" 5 |
| 4272 echo "$as_me: error: A standard (ANSI/ISO C89) C compiler is required." >&2;} | |
| 4273 { (exit 1); exit 1; }; } | |
| 4274 fi | 4667 fi |
| 4275 | 4668 |
| 4276 # Check for xmlto (for rendering manpages, needed only for development) | 4669 # Check for xmlto (for rendering manpages, needed only for development) |
| 4277 for ac_prog in $XMLTO xmlto | 4670 for ac_prog in $XMLTO xmlto |
| 4278 do | 4671 do |
| 4279 # Extract the first word of "$ac_prog", so it can be a program name with args. | 4672 # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 4280 set dummy $ac_prog; ac_word=$2 | 4673 set dummy $ac_prog; ac_word=$2 |
| 4281 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4675 $as_echo_n "checking for $ac_word... " >&6; } |
| 4283 if test "${ac_cv_prog_XMLTO+set}" = set; then | 4676 if test "${ac_cv_prog_XMLTO+set}" = set; then : |
| 4284 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4677 $as_echo_n "(cached) " >&6 |
| 4285 else | 4678 else |
| 4286 if test -n "$XMLTO"; then | 4679 if test -n "$XMLTO"; then |
| 4287 ac_cv_prog_XMLTO="$XMLTO" # Let the user override the test. | 4680 ac_cv_prog_XMLTO="$XMLTO" # Let the user override the test. |
| 4288 else | 4681 else |
| 4289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4290 for as_dir in $PATH | 4683 for as_dir in $PATH |
| 4291 do | 4684 do |
| 4292 IFS=$as_save_IFS | 4685 IFS=$as_save_IFS |
| 4293 test -z "$as_dir" && as_dir=. | 4686 test -z "$as_dir" && as_dir=. |
| 4294 for ac_exec_ext in '' $ac_executable_extensions; do | 4687 for ac_exec_ext in '' $ac_executable_extensions; do |
| 4295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | 4688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then |
| 4296 ac_cv_prog_XMLTO="$ac_prog" | 4689 ac_cv_prog_XMLTO="$ac_prog" |
| 4297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 4298 break 2 | 4691 break 2 |
| 4299 fi | 4692 fi |
| 4300 done | 4693 done |
| 4301 done | 4694 done |
| 4302 IFS=$as_save_IFS | 4695 IFS=$as_save_IFS |
| 4303 | 4696 |
| 4304 fi | 4697 fi |
| 4305 fi | 4698 fi |
| 4306 XMLTO=$ac_cv_prog_XMLTO | 4699 XMLTO=$ac_cv_prog_XMLTO |
| 4307 if test -n "$XMLTO"; then | 4700 if test -n "$XMLTO"; then |
| 4308 { echo "$as_me:$LINENO: result: $XMLTO" >&5 | 4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5 |
| 4309 echo "${ECHO_T}$XMLTO" >&6; } | 4702 $as_echo "$XMLTO" >&6; } |
| 4310 else | 4703 else |
| 4311 { echo "$as_me:$LINENO: result: no" >&5 | 4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4312 echo "${ECHO_T}no" >&6; } | 4705 $as_echo "no" >&6; } |
| 4313 fi | 4706 fi |
| 4314 | 4707 |
| 4315 | 4708 |
| 4316 test -n "$XMLTO" && break | 4709 test -n "$XMLTO" && break |
| 4317 done | 4710 done |
| 4318 test -n "$XMLTO" || XMLTO=":" | 4711 test -n "$XMLTO" || XMLTO=":" |
| 4319 | 4712 |
| 4320 if test "$XMLTO" = ":"; then | 4713 if test "$XMLTO" = ":"; then |
| 4321 { echo "$as_me:$LINENO: WARNING: xmlto not found, manpages will not be rebuilt
." >&5 | 4714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found, manpages wi
ll not be rebuilt." >&5 |
| 4322 echo "$as_me: WARNING: xmlto not found, manpages will not be rebuilt." >&2;} | 4715 $as_echo "$as_me: WARNING: xmlto not found, manpages will not be rebuilt." >&2;} |
| 4323 fi | 4716 fi |
| 4324 if test "$XMLTO" != ":"; then | 4717 if test "$XMLTO" != ":"; then |
| 4325 BUILD_MAN_TRUE= | 4718 BUILD_MAN_TRUE= |
| 4326 BUILD_MAN_FALSE='#' | 4719 BUILD_MAN_FALSE='#' |
| 4327 else | 4720 else |
| 4328 BUILD_MAN_TRUE='#' | 4721 BUILD_MAN_TRUE='#' |
| 4329 BUILD_MAN_FALSE= | 4722 BUILD_MAN_FALSE= |
| 4330 fi | 4723 fi |
| 4331 | 4724 |
| 4332 | 4725 |
| 4333 # Check for compiler output filename suffixes. | 4726 # Check for compiler output filename suffixes. |
| 4334 | 4727 |
| 4335 | 4728 |
| 4336 | 4729 |
| 4337 # | 4730 # |
| 4338 # Checks for libraries. | 4731 # Checks for libraries. |
| 4339 # | 4732 # |
| 4340 { echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5 | 4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if malloc debugging is wanted"
>&5 |
| 4341 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6; } | 4734 $as_echo_n "checking if malloc debugging is wanted... " >&6; } |
| 4342 | 4735 |
| 4343 # Check whether --with-dmalloc was given. | 4736 # Check whether --with-dmalloc was given. |
| 4344 if test "${with_dmalloc+set}" = set; then | 4737 if test "${with_dmalloc+set}" = set; then : |
| 4345 withval=$with_dmalloc; if test "$withval" = yes; then | 4738 withval=$with_dmalloc; if test "$withval" = yes; then |
| 4346 { echo "$as_me:$LINENO: result: yes" >&5 | 4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 4347 echo "${ECHO_T}yes" >&6; } | 4740 $as_echo "yes" >&6; } |
| 4348 | 4741 |
| 4349 cat >>confdefs.h <<\_ACEOF | 4742 $as_echo "#define WITH_DMALLOC 1" >>confdefs.h |
| 4350 #define WITH_DMALLOC 1 | |
| 4351 _ACEOF | |
| 4352 | 4743 |
| 4353 LIBS="$LIBS -ldmalloc" | 4744 LIBS="$LIBS -ldmalloc" |
| 4354 LDFLAGS="$LDFLAGS -g" | 4745 LDFLAGS="$LDFLAGS -g" |
| 4355 else | 4746 else |
| 4356 { echo "$as_me:$LINENO: result: no" >&5 | 4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4357 echo "${ECHO_T}no" >&6; } | 4748 $as_echo "no" >&6; } |
| 4358 fi | 4749 fi |
| 4359 else | 4750 else |
| 4360 { echo "$as_me:$LINENO: result: no" >&5 | 4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4361 echo "${ECHO_T}no" >&6; } | 4752 $as_echo "no" >&6; } |
| 4362 fi | 4753 fi |
| 4363 | 4754 |
| 4364 | 4755 |
| 4365 | 4756 |
| 4366 # | 4757 # |
| 4367 # Checks for header files. | 4758 # Checks for header files. |
| 4368 # | 4759 # |
| 4369 | 4760 |
| 4370 | 4761 |
| 4371 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 | 4762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lin
es and -e" >&5 |
| 4372 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6;
} | 4763 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
| 4373 if test "${ac_cv_path_GREP+set}" = set; then | 4764 if test "${ac_cv_path_GREP+set}" = set; then : |
| 4374 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4765 $as_echo_n "(cached) " >&6 |
| 4375 else | 4766 else |
| 4376 # Extract the first word of "grep ggrep" to use in msg output | 4767 if test -z "$GREP"; then |
| 4377 if test -z "$GREP"; then | |
| 4378 set dummy grep ggrep; ac_prog_name=$2 | |
| 4379 if test "${ac_cv_path_GREP+set}" = set; then | |
| 4380 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 4381 else | |
| 4382 ac_path_GREP_found=false | 4768 ac_path_GREP_found=false |
| 4383 # Loop through the user's path and test for each of PROGNAME-LIST | 4769 # Loop through the user's path and test for each of PROGNAME-LIST |
| 4384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4385 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 4771 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 4386 do | 4772 do |
| 4387 IFS=$as_save_IFS | 4773 IFS=$as_save_IFS |
| 4388 test -z "$as_dir" && as_dir=. | 4774 test -z "$as_dir" && as_dir=. |
| 4389 for ac_prog in grep ggrep; do | 4775 for ac_prog in grep ggrep; do |
| 4390 for ac_exec_ext in '' $ac_executable_extensions; do | 4776 for ac_exec_ext in '' $ac_executable_extensions; do |
| 4391 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | 4777 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
| 4392 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | 4778 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
| 4393 # Check for GNU ac_path_GREP and select it if it is found. | 4779 # Check for GNU ac_path_GREP and select it if it is found. |
| 4394 # Check for GNU $ac_path_GREP | 4780 # Check for GNU $ac_path_GREP |
| 4395 case `"$ac_path_GREP" --version 2>&1` in | 4781 case `"$ac_path_GREP" --version 2>&1` in |
| 4396 *GNU*) | 4782 *GNU*) |
| 4397 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | 4783 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
| 4398 *) | 4784 *) |
| 4399 ac_count=0 | 4785 ac_count=0 |
| 4400 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" | 4786 $as_echo_n 0123456789 >"conftest.in" |
| 4401 while : | 4787 while : |
| 4402 do | 4788 do |
| 4403 cat "conftest.in" "conftest.in" >"conftest.tmp" | 4789 cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 4404 mv "conftest.tmp" "conftest.in" | 4790 mv "conftest.tmp" "conftest.in" |
| 4405 cp "conftest.in" "conftest.nl" | 4791 cp "conftest.in" "conftest.nl" |
| 4406 echo 'GREP' >> "conftest.nl" | 4792 $as_echo 'GREP' >> "conftest.nl" |
| 4407 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.
out" 2>/dev/null || break | 4793 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.
out" 2>/dev/null || break |
| 4408 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 4794 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 4409 ac_count=`expr $ac_count + 1` | 4795 as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 4410 if test $ac_count -gt ${ac_path_GREP_max-0}; then | 4796 if test $ac_count -gt ${ac_path_GREP_max-0}; then |
| 4411 # Best one so far, save it but keep looking for a better one | 4797 # Best one so far, save it but keep looking for a better one |
| 4412 ac_cv_path_GREP="$ac_path_GREP" | 4798 ac_cv_path_GREP="$ac_path_GREP" |
| 4413 ac_path_GREP_max=$ac_count | 4799 ac_path_GREP_max=$ac_count |
| 4414 fi | 4800 fi |
| 4415 # 10*(2^10) chars as input seems more than enough | 4801 # 10*(2^10) chars as input seems more than enough |
| 4416 test $ac_count -gt 10 && break | 4802 test $ac_count -gt 10 && break |
| 4417 done | 4803 done |
| 4418 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 4804 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 4419 esac | 4805 esac |
| 4420 | 4806 |
| 4421 | 4807 $ac_path_GREP_found && break 3 |
| 4422 $ac_path_GREP_found && break 3 | 4808 done |
| 4423 done | 4809 done |
| 4424 done | 4810 done |
| 4425 | |
| 4426 done | |
| 4427 IFS=$as_save_IFS | 4811 IFS=$as_save_IFS |
| 4428 | 4812 if test -z "$ac_cv_path_GREP"; then |
| 4429 | 4813 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/x
pg4/bin" "$LINENO" 5 |
| 4430 fi | 4814 fi |
| 4431 | |
| 4432 GREP="$ac_cv_path_GREP" | |
| 4433 if test -z "$GREP"; then | |
| 4434 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in
$PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | |
| 4435 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SE
PARATOR/usr/xpg4/bin" >&2;} | |
| 4436 { (exit 1); exit 1; }; } | |
| 4437 fi | |
| 4438 | |
| 4439 else | 4815 else |
| 4440 ac_cv_path_GREP=$GREP | 4816 ac_cv_path_GREP=$GREP |
| 4441 fi | 4817 fi |
| 4442 | 4818 |
| 4443 | |
| 4444 fi | 4819 fi |
| 4445 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 | 4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
| 4446 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } | 4821 $as_echo "$ac_cv_path_GREP" >&6; } |
| 4447 GREP="$ac_cv_path_GREP" | 4822 GREP="$ac_cv_path_GREP" |
| 4448 | 4823 |
| 4449 | 4824 |
| 4450 { echo "$as_me:$LINENO: checking for egrep" >&5 | 4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
| 4451 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } | 4826 $as_echo_n "checking for egrep... " >&6; } |
| 4452 if test "${ac_cv_path_EGREP+set}" = set; then | 4827 if test "${ac_cv_path_EGREP+set}" = set; then : |
| 4453 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4828 $as_echo_n "(cached) " >&6 |
| 4454 else | 4829 else |
| 4455 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | 4830 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
| 4456 then ac_cv_path_EGREP="$GREP -E" | 4831 then ac_cv_path_EGREP="$GREP -E" |
| 4457 else | 4832 else |
| 4458 # Extract the first word of "egrep" to use in msg output | 4833 if test -z "$EGREP"; then |
| 4459 if test -z "$EGREP"; then | |
| 4460 set dummy egrep; ac_prog_name=$2 | |
| 4461 if test "${ac_cv_path_EGREP+set}" = set; then | |
| 4462 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 4463 else | |
| 4464 ac_path_EGREP_found=false | 4834 ac_path_EGREP_found=false |
| 4465 # Loop through the user's path and test for each of PROGNAME-LIST | 4835 # Loop through the user's path and test for each of PROGNAME-LIST |
| 4466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4467 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 4837 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 4468 do | 4838 do |
| 4469 IFS=$as_save_IFS | 4839 IFS=$as_save_IFS |
| 4470 test -z "$as_dir" && as_dir=. | 4840 test -z "$as_dir" && as_dir=. |
| 4471 for ac_prog in egrep; do | 4841 for ac_prog in egrep; do |
| 4472 for ac_exec_ext in '' $ac_executable_extensions; do | 4842 for ac_exec_ext in '' $ac_executable_extensions; do |
| 4473 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | 4843 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
| 4474 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | 4844 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
| 4475 # Check for GNU ac_path_EGREP and select it if it is found. | 4845 # Check for GNU ac_path_EGREP and select it if it is found. |
| 4476 # Check for GNU $ac_path_EGREP | 4846 # Check for GNU $ac_path_EGREP |
| 4477 case `"$ac_path_EGREP" --version 2>&1` in | 4847 case `"$ac_path_EGREP" --version 2>&1` in |
| 4478 *GNU*) | 4848 *GNU*) |
| 4479 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | 4849 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
| 4480 *) | 4850 *) |
| 4481 ac_count=0 | 4851 ac_count=0 |
| 4482 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" | 4852 $as_echo_n 0123456789 >"conftest.in" |
| 4483 while : | 4853 while : |
| 4484 do | 4854 do |
| 4485 cat "conftest.in" "conftest.in" >"conftest.tmp" | 4855 cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 4486 mv "conftest.tmp" "conftest.in" | 4856 mv "conftest.tmp" "conftest.in" |
| 4487 cp "conftest.in" "conftest.nl" | 4857 cp "conftest.in" "conftest.nl" |
| 4488 echo 'EGREP' >> "conftest.nl" | 4858 $as_echo 'EGREP' >> "conftest.nl" |
| 4489 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || bre
ak | 4859 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || bre
ak |
| 4490 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 4860 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 4491 ac_count=`expr $ac_count + 1` | 4861 as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 4492 if test $ac_count -gt ${ac_path_EGREP_max-0}; then | 4862 if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
| 4493 # Best one so far, save it but keep looking for a better one | 4863 # Best one so far, save it but keep looking for a better one |
| 4494 ac_cv_path_EGREP="$ac_path_EGREP" | 4864 ac_cv_path_EGREP="$ac_path_EGREP" |
| 4495 ac_path_EGREP_max=$ac_count | 4865 ac_path_EGREP_max=$ac_count |
| 4496 fi | 4866 fi |
| 4497 # 10*(2^10) chars as input seems more than enough | 4867 # 10*(2^10) chars as input seems more than enough |
| 4498 test $ac_count -gt 10 && break | 4868 test $ac_count -gt 10 && break |
| 4499 done | 4869 done |
| 4500 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 4870 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 4501 esac | 4871 esac |
| 4502 | 4872 |
| 4503 | 4873 $ac_path_EGREP_found && break 3 |
| 4504 $ac_path_EGREP_found && break 3 | 4874 done |
| 4505 done | 4875 done |
| 4506 done | 4876 done |
| 4507 | |
| 4508 done | |
| 4509 IFS=$as_save_IFS | 4877 IFS=$as_save_IFS |
| 4510 | 4878 if test -z "$ac_cv_path_EGREP"; then |
| 4511 | 4879 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/
xpg4/bin" "$LINENO" 5 |
| 4512 fi | 4880 fi |
| 4513 | |
| 4514 EGREP="$ac_cv_path_EGREP" | |
| 4515 if test -z "$EGREP"; then | |
| 4516 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in
$PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | |
| 4517 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SE
PARATOR/usr/xpg4/bin" >&2;} | |
| 4518 { (exit 1); exit 1; }; } | |
| 4519 fi | |
| 4520 | |
| 4521 else | 4881 else |
| 4522 ac_cv_path_EGREP=$EGREP | 4882 ac_cv_path_EGREP=$EGREP |
| 4523 fi | 4883 fi |
| 4524 | 4884 |
| 4525 | |
| 4526 fi | 4885 fi |
| 4527 fi | 4886 fi |
| 4528 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 | 4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
| 4529 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } | 4888 $as_echo "$ac_cv_path_EGREP" >&6; } |
| 4530 EGREP="$ac_cv_path_EGREP" | 4889 EGREP="$ac_cv_path_EGREP" |
| 4531 | 4890 |
| 4532 | 4891 |
| 4533 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
| 4534 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } | 4893 $as_echo_n "checking for ANSI C header files... " >&6; } |
| 4535 if test "${ac_cv_header_stdc+set}" = set; then | 4894 if test "${ac_cv_header_stdc+set}" = set; then : |
| 4536 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4895 $as_echo_n "(cached) " >&6 |
| 4537 else | 4896 else |
| 4538 cat >conftest.$ac_ext <<_ACEOF | 4897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4539 /* confdefs.h. */ | |
| 4540 _ACEOF | |
| 4541 cat confdefs.h >>conftest.$ac_ext | |
| 4542 cat >>conftest.$ac_ext <<_ACEOF | |
| 4543 /* end confdefs.h. */ | 4898 /* end confdefs.h. */ |
| 4544 #include <stdlib.h> | 4899 #include <stdlib.h> |
| 4545 #include <stdarg.h> | 4900 #include <stdarg.h> |
| 4546 #include <string.h> | 4901 #include <string.h> |
| 4547 #include <float.h> | 4902 #include <float.h> |
| 4548 | 4903 |
| 4549 int | 4904 int |
| 4550 main () | 4905 main () |
| 4551 { | 4906 { |
| 4552 | 4907 |
| 4553 ; | 4908 ; |
| 4554 return 0; | 4909 return 0; |
| 4555 } | 4910 } |
| 4556 _ACEOF | 4911 _ACEOF |
| 4557 rm -f conftest.$ac_objext | 4912 if ac_fn_c_try_compile "$LINENO"; then : |
| 4558 if { (ac_try="$ac_compile" | |
| 4559 case "(($ac_try" in | |
| 4560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 4561 *) ac_try_echo=$ac_try;; | |
| 4562 esac | |
| 4563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 4564 (eval "$ac_compile") 2>conftest.er1 | |
| 4565 ac_status=$? | |
| 4566 grep -v '^ *+' conftest.er1 >conftest.err | |
| 4567 rm -f conftest.er1 | |
| 4568 cat conftest.err >&5 | |
| 4569 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 4570 (exit $ac_status); } && { | |
| 4571 » test -z "$ac_c_werror_flag" || | |
| 4572 » test ! -s conftest.err | |
| 4573 } && test -s conftest.$ac_objext; then | |
| 4574 ac_cv_header_stdc=yes | 4913 ac_cv_header_stdc=yes |
| 4575 else | 4914 else |
| 4576 echo "$as_me: failed program was:" >&5 | 4915 ac_cv_header_stdc=no |
| 4577 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 4578 | |
| 4579 » ac_cv_header_stdc=no | |
| 4580 fi | 4916 fi |
| 4581 | |
| 4582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4583 | 4918 |
| 4584 if test $ac_cv_header_stdc = yes; then | 4919 if test $ac_cv_header_stdc = yes; then |
| 4585 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 4920 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 4586 cat >conftest.$ac_ext <<_ACEOF | 4921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4587 /* confdefs.h. */ | |
| 4588 _ACEOF | |
| 4589 cat confdefs.h >>conftest.$ac_ext | |
| 4590 cat >>conftest.$ac_ext <<_ACEOF | |
| 4591 /* end confdefs.h. */ | 4922 /* end confdefs.h. */ |
| 4592 #include <string.h> | 4923 #include <string.h> |
| 4593 | 4924 |
| 4594 _ACEOF | 4925 _ACEOF |
| 4595 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4926 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 4596 $EGREP "memchr" >/dev/null 2>&1; then | 4927 $EGREP "memchr" >/dev/null 2>&1; then : |
| 4597 : | 4928 |
| 4598 else | 4929 else |
| 4599 ac_cv_header_stdc=no | 4930 ac_cv_header_stdc=no |
| 4600 fi | 4931 fi |
| 4601 rm -f conftest* | 4932 rm -f conftest* |
| 4602 | 4933 |
| 4603 fi | 4934 fi |
| 4604 | 4935 |
| 4605 if test $ac_cv_header_stdc = yes; then | 4936 if test $ac_cv_header_stdc = yes; then |
| 4606 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 4937 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 4607 cat >conftest.$ac_ext <<_ACEOF | 4938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4608 /* confdefs.h. */ | |
| 4609 _ACEOF | |
| 4610 cat confdefs.h >>conftest.$ac_ext | |
| 4611 cat >>conftest.$ac_ext <<_ACEOF | |
| 4612 /* end confdefs.h. */ | 4939 /* end confdefs.h. */ |
| 4613 #include <stdlib.h> | 4940 #include <stdlib.h> |
| 4614 | 4941 |
| 4615 _ACEOF | 4942 _ACEOF |
| 4616 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 4617 $EGREP "free" >/dev/null 2>&1; then | 4944 $EGREP "free" >/dev/null 2>&1; then : |
| 4618 : | 4945 |
| 4619 else | 4946 else |
| 4620 ac_cv_header_stdc=no | 4947 ac_cv_header_stdc=no |
| 4621 fi | 4948 fi |
| 4622 rm -f conftest* | 4949 rm -f conftest* |
| 4623 | 4950 |
| 4624 fi | 4951 fi |
| 4625 | 4952 |
| 4626 if test $ac_cv_header_stdc = yes; then | 4953 if test $ac_cv_header_stdc = yes; then |
| 4627 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 4954 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 4628 if test "$cross_compiling" = yes; then | 4955 if test "$cross_compiling" = yes; then : |
| 4629 : | 4956 : |
| 4630 else | 4957 else |
| 4631 cat >conftest.$ac_ext <<_ACEOF | 4958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4632 /* confdefs.h. */ | |
| 4633 _ACEOF | |
| 4634 cat confdefs.h >>conftest.$ac_ext | |
| 4635 cat >>conftest.$ac_ext <<_ACEOF | |
| 4636 /* end confdefs.h. */ | 4959 /* end confdefs.h. */ |
| 4637 #include <ctype.h> | 4960 #include <ctype.h> |
| 4638 #include <stdlib.h> | 4961 #include <stdlib.h> |
| 4639 #if ((' ' & 0x0FF) == 0x020) | 4962 #if ((' ' & 0x0FF) == 0x020) |
| 4640 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 4963 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 4641 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 4964 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 4642 #else | 4965 #else |
| 4643 # define ISLOWER(c) \ | 4966 # define ISLOWER(c) \ |
| 4644 (('a' <= (c) && (c) <= 'i') \ | 4967 (('a' <= (c) && (c) <= 'i') \ |
| 4645 || ('j' <= (c) && (c) <= 'r') \ | 4968 || ('j' <= (c) && (c) <= 'r') \ |
| 4646 || ('s' <= (c) && (c) <= 'z')) | 4969 || ('s' <= (c) && (c) <= 'z')) |
| 4647 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 4970 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
| 4648 #endif | 4971 #endif |
| 4649 | 4972 |
| 4650 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 4973 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 4651 int | 4974 int |
| 4652 main () | 4975 main () |
| 4653 { | 4976 { |
| 4654 int i; | 4977 int i; |
| 4655 for (i = 0; i < 256; i++) | 4978 for (i = 0; i < 256; i++) |
| 4656 if (XOR (islower (i), ISLOWER (i)) | 4979 if (XOR (islower (i), ISLOWER (i)) |
| 4657 || toupper (i) != TOUPPER (i)) | 4980 || toupper (i) != TOUPPER (i)) |
| 4658 return 2; | 4981 return 2; |
| 4659 return 0; | 4982 return 0; |
| 4660 } | 4983 } |
| 4661 _ACEOF | 4984 _ACEOF |
| 4662 rm -f conftest$ac_exeext | 4985 if ac_fn_c_try_run "$LINENO"; then : |
| 4663 if { (ac_try="$ac_link" | 4986 |
| 4664 case "(($ac_try" in | |
| 4665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 4666 *) ac_try_echo=$ac_try;; | |
| 4667 esac | |
| 4668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 4669 (eval "$ac_link") 2>&5 | |
| 4670 ac_status=$? | |
| 4671 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 4672 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
| 4673 { (case "(($ac_try" in | |
| 4674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 4675 *) ac_try_echo=$ac_try;; | |
| 4676 esac | |
| 4677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 4678 (eval "$ac_try") 2>&5 | |
| 4679 ac_status=$? | |
| 4680 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 4681 (exit $ac_status); }; }; then | |
| 4682 : | |
| 4683 else | 4987 else |
| 4684 echo "$as_me: program exited with status $ac_status" >&5 | 4988 ac_cv_header_stdc=no |
| 4685 echo "$as_me: failed program was:" >&5 | |
| 4686 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 4687 | |
| 4688 ( exit $ac_status ) | |
| 4689 ac_cv_header_stdc=no | |
| 4690 fi | 4989 fi |
| 4691 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$a
c_objext conftest.$ac_ext | 4990 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 4991 conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 4692 fi | 4992 fi |
| 4693 | 4993 |
| 4694 | |
| 4695 fi | 4994 fi |
| 4696 fi | 4995 fi |
| 4697 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
| 4698 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } | 4997 $as_echo "$ac_cv_header_stdc" >&6; } |
| 4699 if test $ac_cv_header_stdc = yes; then | 4998 if test $ac_cv_header_stdc = yes; then |
| 4700 | 4999 |
| 4701 cat >>confdefs.h <<\_ACEOF | 5000 $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
| 4702 #define STDC_HEADERS 1 | |
| 4703 _ACEOF | |
| 4704 | 5001 |
| 4705 fi | 5002 fi |
| 4706 | 5003 |
| 4707 # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 5004 # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
| 4708 | |
| 4709 | |
| 4710 | |
| 4711 | |
| 4712 | |
| 4713 | |
| 4714 | |
| 4715 | |
| 4716 | |
| 4717 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 5005 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
| 4718 inttypes.h stdint.h unistd.h | 5006 inttypes.h stdint.h unistd.h |
| 4719 do | 5007 do : |
| 4720 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 5008 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 4721 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 5009 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include
s_default |
| 4722 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 5010 " |
| 4723 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 5011 eval as_val=\$$as_ac_Header |
| 4724 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5012 if test "x$as_val" = x""yes; then : |
| 4725 else | |
| 4726 cat >conftest.$ac_ext <<_ACEOF | |
| 4727 /* confdefs.h. */ | |
| 4728 _ACEOF | |
| 4729 cat confdefs.h >>conftest.$ac_ext | |
| 4730 cat >>conftest.$ac_ext <<_ACEOF | |
| 4731 /* end confdefs.h. */ | |
| 4732 $ac_includes_default | |
| 4733 | |
| 4734 #include <$ac_header> | |
| 4735 _ACEOF | |
| 4736 rm -f conftest.$ac_objext | |
| 4737 if { (ac_try="$ac_compile" | |
| 4738 case "(($ac_try" in | |
| 4739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 4740 *) ac_try_echo=$ac_try;; | |
| 4741 esac | |
| 4742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 4743 (eval "$ac_compile") 2>conftest.er1 | |
| 4744 ac_status=$? | |
| 4745 grep -v '^ *+' conftest.er1 >conftest.err | |
| 4746 rm -f conftest.er1 | |
| 4747 cat conftest.err >&5 | |
| 4748 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 4749 (exit $ac_status); } && { | |
| 4750 » test -z "$ac_c_werror_flag" || | |
| 4751 » test ! -s conftest.err | |
| 4752 } && test -s conftest.$ac_objext; then | |
| 4753 eval "$as_ac_Header=yes" | |
| 4754 else | |
| 4755 echo "$as_me: failed program was:" >&5 | |
| 4756 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 4757 | |
| 4758 » eval "$as_ac_Header=no" | |
| 4759 fi | |
| 4760 | |
| 4761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 4762 fi | |
| 4763 ac_res=`eval echo '${'$as_ac_Header'}'` | |
| 4764 » { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
| 4765 echo "${ECHO_T}$ac_res" >&6; } | |
| 4766 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
| 4767 cat >>confdefs.h <<_ACEOF | 5013 cat >>confdefs.h <<_ACEOF |
| 4768 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 5014 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 4769 _ACEOF | 5015 _ACEOF |
| 4770 | 5016 |
| 4771 fi | 5017 fi |
| 4772 | 5018 |
| 4773 done | 5019 done |
| 4774 | 5020 |
| 4775 | 5021 |
| 4776 | 5022 for ac_header in strings.h libgen.h unistd.h direct.h sys/stat.h |
| 4777 | 5023 do : |
| 4778 | 5024 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 4779 | 5025 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include
s_default" |
| 4780 for ac_header in strings.h libgen.h unistd.h direct.h | 5026 eval as_val=\$$as_ac_Header |
| 4781 do | 5027 if test "x$as_val" = x""yes; then : |
| 4782 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
| 4783 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
| 4784 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
| 4785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | |
| 4786 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
| 4787 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 4788 fi | |
| 4789 ac_res=`eval echo '${'$as_ac_Header'}'` | |
| 4790 » { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
| 4791 echo "${ECHO_T}$ac_res" >&6; } | |
| 4792 else | |
| 4793 # Is the header compilable? | |
| 4794 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
| 4795 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | |
| 4796 cat >conftest.$ac_ext <<_ACEOF | |
| 4797 /* confdefs.h. */ | |
| 4798 _ACEOF | |
| 4799 cat confdefs.h >>conftest.$ac_ext | |
| 4800 cat >>conftest.$ac_ext <<_ACEOF | |
| 4801 /* end confdefs.h. */ | |
| 4802 $ac_includes_default | |
| 4803 #include <$ac_header> | |
| 4804 _ACEOF | |
| 4805 rm -f conftest.$ac_objext | |
| 4806 if { (ac_try="$ac_compile" | |
| 4807 case "(($ac_try" in | |
| 4808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 4809 *) ac_try_echo=$ac_try;; | |
| 4810 esac | |
| 4811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 4812 (eval "$ac_compile") 2>conftest.er1 | |
| 4813 ac_status=$? | |
| 4814 grep -v '^ *+' conftest.er1 >conftest.err | |
| 4815 rm -f conftest.er1 | |
| 4816 cat conftest.err >&5 | |
| 4817 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 4818 (exit $ac_status); } && { | |
| 4819 » test -z "$ac_c_werror_flag" || | |
| 4820 » test ! -s conftest.err | |
| 4821 } && test -s conftest.$ac_objext; then | |
| 4822 ac_header_compiler=yes | |
| 4823 else | |
| 4824 echo "$as_me: failed program was:" >&5 | |
| 4825 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 4826 | |
| 4827 » ac_header_compiler=no | |
| 4828 fi | |
| 4829 | |
| 4830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 4831 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
| 4832 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
| 4833 | |
| 4834 # Is the header present? | |
| 4835 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
| 4836 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | |
| 4837 cat >conftest.$ac_ext <<_ACEOF | |
| 4838 /* confdefs.h. */ | |
| 4839 _ACEOF | |
| 4840 cat confdefs.h >>conftest.$ac_ext | |
| 4841 cat >>conftest.$ac_ext <<_ACEOF | |
| 4842 /* end confdefs.h. */ | |
| 4843 #include <$ac_header> | |
| 4844 _ACEOF | |
| 4845 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
| 4846 case "(($ac_try" in | |
| 4847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 4848 *) ac_try_echo=$ac_try;; | |
| 4849 esac | |
| 4850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 4851 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
| 4852 ac_status=$? | |
| 4853 grep -v '^ *+' conftest.er1 >conftest.err | |
| 4854 rm -f conftest.er1 | |
| 4855 cat conftest.err >&5 | |
| 4856 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 4857 (exit $ac_status); } >/dev/null && { | |
| 4858 » test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
| 4859 » test ! -s conftest.err | |
| 4860 }; then | |
| 4861 ac_header_preproc=yes | |
| 4862 else | |
| 4863 echo "$as_me: failed program was:" >&5 | |
| 4864 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 4865 | |
| 4866 ac_header_preproc=no | |
| 4867 fi | |
| 4868 | |
| 4869 rm -f conftest.err conftest.$ac_ext | |
| 4870 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
| 4871 echo "${ECHO_T}$ac_header_preproc" >&6; } | |
| 4872 | |
| 4873 # So? What about this header? | |
| 4874 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
| 4875 yes:no: ) | |
| 4876 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejec
ted by the preprocessor!" >&5 | |
| 4877 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the pre
processor!" >&2;} | |
| 4878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's
result" >&5 | |
| 4879 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
| 4880 ac_header_preproc=yes | |
| 4881 ;; | |
| 4882 no:yes:* ) | |
| 4883 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled"
>&5 | |
| 4884 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
| 4885 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequis
ite headers?" >&5 | |
| 4886 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?"
>&2;} | |
| 4887 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation"
>&5 | |
| 4888 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
| 4889 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Canno
t Be Compiled\"" >&5 | |
| 4890 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\
"" >&2;} | |
| 4891 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocesso
r's result" >&5 | |
| 4892 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
2;} | |
| 4893 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler wil
l take precedence" >&5 | |
| 4894 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precede
nce" >&2;} | |
| 4895 ( cat <<\_ASBOX | |
| 4896 ## ----------------------------------- ## | |
| 4897 ## Report this to bug-yasm@tortall.net ## | |
| 4898 ## ----------------------------------- ## | |
| 4899 _ASBOX | |
| 4900 ) | sed "s/^/$as_me: WARNING: /" >&2 | |
| 4901 ;; | |
| 4902 esac | |
| 4903 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
| 4904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | |
| 4905 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
| 4906 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 4907 else | |
| 4908 eval "$as_ac_Header=\$ac_header_preproc" | |
| 4909 fi | |
| 4910 ac_res=`eval echo '${'$as_ac_Header'}'` | |
| 4911 » { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
| 4912 echo "${ECHO_T}$ac_res" >&6; } | |
| 4913 | |
| 4914 fi | |
| 4915 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
| 4916 cat >>confdefs.h <<_ACEOF | 5028 cat >>confdefs.h <<_ACEOF |
| 4917 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 5029 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 4918 _ACEOF | 5030 _ACEOF |
| 4919 | 5031 |
| 4920 fi | 5032 fi |
| 4921 | 5033 |
| 4922 done | 5034 done |
| 4923 | 5035 |
| 4924 | 5036 |
| 4925 # REQUIRE standard C headers | 5037 # REQUIRE standard C headers |
| 4926 if test "$ac_cv_header_stdc" != yes; then | 5038 if test "$ac_cv_header_stdc" != yes; then |
| 4927 » { { echo "$as_me:$LINENO: error: Standard (ANSI/ISO C89) header files ar
e required." >&5 | 5039 » as_fn_error "Standard (ANSI/ISO C89) header files are required." "$LINEN
O" 5 |
| 4928 echo "$as_me: error: Standard (ANSI/ISO C89) header files are required." >&2;} | |
| 4929 { (exit 1); exit 1; }; } | |
| 4930 fi | 5040 fi |
| 4931 | 5041 |
| 4932 # | 5042 # |
| 4933 # Checks for typedefs, structures, and compiler characteristics. | 5043 # Checks for typedefs, structures, and compiler characteristics. |
| 4934 # | 5044 # |
| 4935 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 | 5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const
" >&5 |
| 4936 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } | 5046 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
| 4937 if test "${ac_cv_c_const+set}" = set; then | 5047 if test "${ac_cv_c_const+set}" = set; then : |
| 4938 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5048 $as_echo_n "(cached) " >&6 |
| 4939 else | 5049 else |
| 4940 cat >conftest.$ac_ext <<_ACEOF | 5050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4941 /* confdefs.h. */ | |
| 4942 _ACEOF | |
| 4943 cat confdefs.h >>conftest.$ac_ext | |
| 4944 cat >>conftest.$ac_ext <<_ACEOF | |
| 4945 /* end confdefs.h. */ | 5051 /* end confdefs.h. */ |
| 4946 | 5052 |
| 4947 int | 5053 int |
| 4948 main () | 5054 main () |
| 4949 { | 5055 { |
| 4950 /* FIXME: Include the comments suggested by Paul. */ | 5056 /* FIXME: Include the comments suggested by Paul. */ |
| 4951 #ifndef __cplusplus | 5057 #ifndef __cplusplus |
| 4952 /* Ultrix mips cc rejects this. */ | 5058 /* Ultrix mips cc rejects this. */ |
| 4953 typedef int charset[2]; | 5059 typedef int charset[2]; |
| 4954 const charset cs; | 5060 const charset cs; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4994 const int foo = 10; | 5100 const int foo = 10; |
| 4995 if (!foo) return 0; | 5101 if (!foo) return 0; |
| 4996 } | 5102 } |
| 4997 return !cs[0] && !zero.x; | 5103 return !cs[0] && !zero.x; |
| 4998 #endif | 5104 #endif |
| 4999 | 5105 |
| 5000 ; | 5106 ; |
| 5001 return 0; | 5107 return 0; |
| 5002 } | 5108 } |
| 5003 _ACEOF | 5109 _ACEOF |
| 5004 rm -f conftest.$ac_objext | 5110 if ac_fn_c_try_compile "$LINENO"; then : |
| 5005 if { (ac_try="$ac_compile" | |
| 5006 case "(($ac_try" in | |
| 5007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 5008 *) ac_try_echo=$ac_try;; | |
| 5009 esac | |
| 5010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 5011 (eval "$ac_compile") 2>conftest.er1 | |
| 5012 ac_status=$? | |
| 5013 grep -v '^ *+' conftest.er1 >conftest.err | |
| 5014 rm -f conftest.er1 | |
| 5015 cat conftest.err >&5 | |
| 5016 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 5017 (exit $ac_status); } && { | |
| 5018 » test -z "$ac_c_werror_flag" || | |
| 5019 » test ! -s conftest.err | |
| 5020 } && test -s conftest.$ac_objext; then | |
| 5021 ac_cv_c_const=yes | 5111 ac_cv_c_const=yes |
| 5022 else | 5112 else |
| 5023 echo "$as_me: failed program was:" >&5 | 5113 ac_cv_c_const=no |
| 5024 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 5025 | |
| 5026 » ac_cv_c_const=no | |
| 5027 fi | 5114 fi |
| 5028 | |
| 5029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5030 fi | 5116 fi |
| 5031 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 | 5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 |
| 5032 echo "${ECHO_T}$ac_cv_c_const" >&6; } | 5118 $as_echo "$ac_cv_c_const" >&6; } |
| 5033 if test $ac_cv_c_const = no; then | 5119 if test $ac_cv_c_const = no; then |
| 5034 | 5120 |
| 5035 cat >>confdefs.h <<\_ACEOF | 5121 $as_echo "#define const /**/" >>confdefs.h |
| 5036 #define const | |
| 5037 _ACEOF | |
| 5038 | 5122 |
| 5039 fi | 5123 fi |
| 5040 | 5124 |
| 5041 { echo "$as_me:$LINENO: checking for inline" >&5 | 5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
| 5042 echo $ECHO_N "checking for inline... $ECHO_C" >&6; } | 5126 $as_echo_n "checking for inline... " >&6; } |
| 5043 if test "${ac_cv_c_inline+set}" = set; then | 5127 if test "${ac_cv_c_inline+set}" = set; then : |
| 5044 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5128 $as_echo_n "(cached) " >&6 |
| 5045 else | 5129 else |
| 5046 ac_cv_c_inline=no | 5130 ac_cv_c_inline=no |
| 5047 for ac_kw in inline __inline__ __inline; do | 5131 for ac_kw in inline __inline__ __inline; do |
| 5048 cat >conftest.$ac_ext <<_ACEOF | 5132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5049 /* confdefs.h. */ | |
| 5050 _ACEOF | |
| 5051 cat confdefs.h >>conftest.$ac_ext | |
| 5052 cat >>conftest.$ac_ext <<_ACEOF | |
| 5053 /* end confdefs.h. */ | 5133 /* end confdefs.h. */ |
| 5054 #ifndef __cplusplus | 5134 #ifndef __cplusplus |
| 5055 typedef int foo_t; | 5135 typedef int foo_t; |
| 5056 static $ac_kw foo_t static_foo () {return 0; } | 5136 static $ac_kw foo_t static_foo () {return 0; } |
| 5057 $ac_kw foo_t foo () {return 0; } | 5137 $ac_kw foo_t foo () {return 0; } |
| 5058 #endif | 5138 #endif |
| 5059 | 5139 |
| 5060 _ACEOF | 5140 _ACEOF |
| 5061 rm -f conftest.$ac_objext | 5141 if ac_fn_c_try_compile "$LINENO"; then : |
| 5062 if { (ac_try="$ac_compile" | |
| 5063 case "(($ac_try" in | |
| 5064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 5065 *) ac_try_echo=$ac_try;; | |
| 5066 esac | |
| 5067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 5068 (eval "$ac_compile") 2>conftest.er1 | |
| 5069 ac_status=$? | |
| 5070 grep -v '^ *+' conftest.er1 >conftest.err | |
| 5071 rm -f conftest.er1 | |
| 5072 cat conftest.err >&5 | |
| 5073 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 5074 (exit $ac_status); } && { | |
| 5075 » test -z "$ac_c_werror_flag" || | |
| 5076 » test ! -s conftest.err | |
| 5077 } && test -s conftest.$ac_objext; then | |
| 5078 ac_cv_c_inline=$ac_kw | 5142 ac_cv_c_inline=$ac_kw |
| 5079 else | |
| 5080 echo "$as_me: failed program was:" >&5 | |
| 5081 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 5082 | |
| 5083 | |
| 5084 fi | 5143 fi |
| 5085 | |
| 5086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5087 test "$ac_cv_c_inline" != no && break | 5145 test "$ac_cv_c_inline" != no && break |
| 5088 done | 5146 done |
| 5089 | 5147 |
| 5090 fi | 5148 fi |
| 5091 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 | 5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 |
| 5092 echo "${ECHO_T}$ac_cv_c_inline" >&6; } | 5150 $as_echo "$ac_cv_c_inline" >&6; } |
| 5093 | |
| 5094 | 5151 |
| 5095 case $ac_cv_c_inline in | 5152 case $ac_cv_c_inline in |
| 5096 inline | yes) ;; | 5153 inline | yes) ;; |
| 5097 *) | 5154 *) |
| 5098 case $ac_cv_c_inline in | 5155 case $ac_cv_c_inline in |
| 5099 no) ac_val=;; | 5156 no) ac_val=;; |
| 5100 *) ac_val=$ac_cv_c_inline;; | 5157 *) ac_val=$ac_cv_c_inline;; |
| 5101 esac | 5158 esac |
| 5102 cat >>confdefs.h <<_ACEOF | 5159 cat >>confdefs.h <<_ACEOF |
| 5103 #ifndef __cplusplus | 5160 #ifndef __cplusplus |
| 5104 #define inline $ac_val | 5161 #define inline $ac_val |
| 5105 #endif | 5162 #endif |
| 5106 _ACEOF | 5163 _ACEOF |
| 5107 ;; | 5164 ;; |
| 5108 esac | 5165 esac |
| 5109 | 5166 |
| 5110 { echo "$as_me:$LINENO: checking for function prototypes" >&5 | 5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5 |
| 5111 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; } | 5168 $as_echo_n "checking for function prototypes... " >&6; } |
| 5112 if test "$ac_cv_prog_cc_c89" != no; then | 5169 if test "$ac_cv_prog_cc_c89" != no; then |
| 5113 { echo "$as_me:$LINENO: result: yes" >&5 | 5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 5114 echo "${ECHO_T}yes" >&6; } | 5171 $as_echo "yes" >&6; } |
| 5115 | 5172 |
| 5116 cat >>confdefs.h <<\_ACEOF | 5173 $as_echo "#define PROTOTYPES 1" >>confdefs.h |
| 5117 #define PROTOTYPES 1 | |
| 5118 _ACEOF | |
| 5119 | 5174 |
| 5120 | 5175 |
| 5121 cat >>confdefs.h <<\_ACEOF | 5176 $as_echo "#define __PROTOTYPES 1" >>confdefs.h |
| 5122 #define __PROTOTYPES 1 | |
| 5123 _ACEOF | |
| 5124 | 5177 |
| 5125 else | 5178 else |
| 5126 { echo "$as_me:$LINENO: result: no" >&5 | 5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5127 echo "${ECHO_T}no" >&6; } | 5180 $as_echo "no" >&6; } |
| 5128 fi | 5181 fi |
| 5129 | 5182 |
| 5130 { echo "$as_me:$LINENO: checking for size_t" >&5 | 5183 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
| 5131 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } | 5184 if test "x$ac_cv_type_size_t" = x""yes; then : |
| 5132 if test "${ac_cv_type_size_t+set}" = set; then | |
| 5133 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 5134 else | |
| 5135 cat >conftest.$ac_ext <<_ACEOF | |
| 5136 /* confdefs.h. */ | |
| 5137 _ACEOF | |
| 5138 cat confdefs.h >>conftest.$ac_ext | |
| 5139 cat >>conftest.$ac_ext <<_ACEOF | |
| 5140 /* end confdefs.h. */ | |
| 5141 $ac_includes_default | |
| 5142 typedef size_t ac__type_new_; | |
| 5143 int | |
| 5144 main () | |
| 5145 { | |
| 5146 if ((ac__type_new_ *) 0) | |
| 5147 return 0; | |
| 5148 if (sizeof (ac__type_new_)) | |
| 5149 return 0; | |
| 5150 ; | |
| 5151 return 0; | |
| 5152 } | |
| 5153 _ACEOF | |
| 5154 rm -f conftest.$ac_objext | |
| 5155 if { (ac_try="$ac_compile" | |
| 5156 case "(($ac_try" in | |
| 5157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 5158 *) ac_try_echo=$ac_try;; | |
| 5159 esac | |
| 5160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 5161 (eval "$ac_compile") 2>conftest.er1 | |
| 5162 ac_status=$? | |
| 5163 grep -v '^ *+' conftest.er1 >conftest.err | |
| 5164 rm -f conftest.er1 | |
| 5165 cat conftest.err >&5 | |
| 5166 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 5167 (exit $ac_status); } && { | |
| 5168 » test -z "$ac_c_werror_flag" || | |
| 5169 » test ! -s conftest.err | |
| 5170 } && test -s conftest.$ac_objext; then | |
| 5171 ac_cv_type_size_t=yes | |
| 5172 else | |
| 5173 echo "$as_me: failed program was:" >&5 | |
| 5174 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 5175 | 5185 |
| 5176 ac_cv_type_size_t=no | |
| 5177 fi | |
| 5178 | |
| 5179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 5180 fi | |
| 5181 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 | |
| 5182 echo "${ECHO_T}$ac_cv_type_size_t" >&6; } | |
| 5183 if test $ac_cv_type_size_t = yes; then | |
| 5184 : | |
| 5185 else | 5186 else |
| 5186 | 5187 |
| 5187 cat >>confdefs.h <<_ACEOF | 5188 cat >>confdefs.h <<_ACEOF |
| 5188 #define size_t unsigned int | 5189 #define size_t unsigned int |
| 5189 _ACEOF | 5190 _ACEOF |
| 5190 | 5191 |
| 5191 fi | 5192 fi |
| 5192 | 5193 |
| 5193 # ------ AX CREATE STDINT H ------------------------------------- | 5194 # ------ AX CREATE STDINT H ------------------------------------- |
| 5194 { echo "$as_me:$LINENO: checking for stdint types" >&5 | 5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5 |
| 5195 echo $ECHO_N "checking for stdint types... $ECHO_C" >&6; } | 5196 $as_echo_n "checking for stdint types... " >&6; } |
| 5196 ac_stdint_h=`echo libyasm-stdint.h` | 5197 ac_stdint_h=`echo libyasm-stdint.h` |
| 5197 # try to shortcircuit - if the default include path of the compiler | 5198 # try to shortcircuit - if the default include path of the compiler |
| 5198 # can find a "stdint.h" header then we assume that all compilers can. | 5199 # can find a "stdint.h" header then we assume that all compilers can. |
| 5199 if test "${ac_cv_header_stdint_t+set}" = set; then | 5200 if test "${ac_cv_header_stdint_t+set}" = set; then : |
| 5200 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5201 $as_echo_n "(cached) " >&6 |
| 5201 else | 5202 else |
| 5202 | 5203 |
| 5203 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS="" | 5204 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS="" |
| 5204 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS="" | 5205 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS="" |
| 5205 old_CFLAGS="$CFLAGS" ; CFLAGS="" | 5206 old_CFLAGS="$CFLAGS" ; CFLAGS="" |
| 5206 cat >conftest.$ac_ext <<_ACEOF | 5207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5207 /* confdefs.h. */ | |
| 5208 _ACEOF | |
| 5209 cat confdefs.h >>conftest.$ac_ext | |
| 5210 cat >>conftest.$ac_ext <<_ACEOF | |
| 5211 /* end confdefs.h. */ | 5208 /* end confdefs.h. */ |
| 5212 #include <stdint.h> | 5209 #include <stdint.h> |
| 5213 int | 5210 int |
| 5214 main () | 5211 main () |
| 5215 { | 5212 { |
| 5216 int_least32_t v = 0; | 5213 int_least32_t v = 0; |
| 5217 ; | 5214 ; |
| 5218 return 0; | 5215 return 0; |
| 5219 } | 5216 } |
| 5220 _ACEOF | 5217 _ACEOF |
| 5221 rm -f conftest.$ac_objext | 5218 if ac_fn_c_try_compile "$LINENO"; then : |
| 5222 if { (ac_try="$ac_compile" | |
| 5223 case "(($ac_try" in | |
| 5224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 5225 *) ac_try_echo=$ac_try;; | |
| 5226 esac | |
| 5227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 5228 (eval "$ac_compile") 2>conftest.er1 | |
| 5229 ac_status=$? | |
| 5230 grep -v '^ *+' conftest.er1 >conftest.err | |
| 5231 rm -f conftest.er1 | |
| 5232 cat conftest.err >&5 | |
| 5233 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 5234 (exit $ac_status); } && { | |
| 5235 » test -z "$ac_c_werror_flag" || | |
| 5236 » test ! -s conftest.err | |
| 5237 } && test -s conftest.$ac_objext; then | |
| 5238 ac_cv_stdint_result="(assuming C99 compatible system)" | 5219 ac_cv_stdint_result="(assuming C99 compatible system)" |
| 5239 ac_cv_header_stdint_t="stdint.h"; | 5220 ac_cv_header_stdint_t="stdint.h"; |
| 5240 else | 5221 else |
| 5241 echo "$as_me: failed program was:" >&5 | 5222 ac_cv_header_stdint_t="" |
| 5242 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 5243 | |
| 5244 » ac_cv_header_stdint_t="" | |
| 5245 fi | 5223 fi |
| 5246 | |
| 5247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5248 CXXFLAGS="$old_CXXFLAGS" | 5225 CXXFLAGS="$old_CXXFLAGS" |
| 5249 CPPFLAGS="$old_CPPFLAGS" | 5226 CPPFLAGS="$old_CPPFLAGS" |
| 5250 CFLAGS="$old_CFLAGS" | 5227 CFLAGS="$old_CFLAGS" |
| 5251 fi | 5228 fi |
| 5252 | 5229 |
| 5253 | 5230 |
| 5254 v="... $ac_cv_header_stdint_h" | 5231 v="... $ac_cv_header_stdint_h" |
| 5255 if test "$ac_stdint_h" = "stdint.h" ; then | 5232 if test "$ac_stdint_h" = "stdint.h" ; then |
| 5256 { echo "$as_me:$LINENO: result: (are you sure you want them in ./stdint.h?)" >&
5 | 5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in
./stdint.h?)" >&5 |
| 5257 echo "${ECHO_T}(are you sure you want them in ./stdint.h?)" >&6; } | 5234 $as_echo "(are you sure you want them in ./stdint.h?)" >&6; } |
| 5258 elif test "$ac_stdint_h" = "inttypes.h" ; then | 5235 elif test "$ac_stdint_h" = "inttypes.h" ; then |
| 5259 { echo "$as_me:$LINENO: result: (are you sure you want them in ./inttypes.h?)"
>&5 | 5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in
./inttypes.h?)" >&5 |
| 5260 echo "${ECHO_T}(are you sure you want them in ./inttypes.h?)" >&6; } | 5237 $as_echo "(are you sure you want them in ./inttypes.h?)" >&6; } |
| 5261 elif test "_$ac_cv_header_stdint_t" = "_" ; then | 5238 elif test "_$ac_cv_header_stdint_t" = "_" ; then |
| 5262 { echo "$as_me:$LINENO: result: (putting them into $ac_stdint_h)$v" >&5 | 5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_
h)$v" >&5 |
| 5263 echo "${ECHO_T}(putting them into $ac_stdint_h)$v" >&6; } | 5240 $as_echo "(putting them into $ac_stdint_h)$v" >&6; } |
| 5264 else | 5241 else |
| 5265 ac_cv_header_stdint="$ac_cv_header_stdint_t" | 5242 ac_cv_header_stdint="$ac_cv_header_stdint_t" |
| 5266 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint (shortcircuit)" >&5 | 5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcir
cuit)" >&5 |
| 5267 echo "${ECHO_T}$ac_cv_header_stdint (shortcircuit)" >&6; } | 5244 $as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; } |
| 5268 fi | 5245 fi |
| 5269 | 5246 |
| 5270 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit.. | 5247 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit.. |
| 5271 | 5248 |
| 5272 | 5249 |
| 5273 inttype_headers=`echo | sed -e 's/,/ /g'` | 5250 inttype_headers=`echo | sed -e 's/,/ /g'` |
| 5274 | 5251 |
| 5275 ac_cv_stdint_result="(no helpful system typedefs seen)" | 5252 ac_cv_stdint_result="(no helpful system typedefs seen)" |
| 5276 | 5253 |
| 5277 { echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5 | 5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5 |
| 5278 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6; } | 5255 $as_echo_n "checking for stdint uintptr_t... " >&6; } |
| 5279 if test "${ac_cv_header_stdint_x+set}" = set; then | 5256 if test "${ac_cv_header_stdint_x+set}" = set; then : |
| 5280 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5257 $as_echo_n "(cached) " >&6 |
| 5281 else | 5258 else |
| 5282 | 5259 |
| 5283 ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h) | 5260 ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h) |
| 5284 { echo "$as_me:$LINENO: result: (..)" >&5 | 5261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5 |
| 5285 echo "${ECHO_T}(..)" >&6; } | 5262 $as_echo "(..)" >&6; } |
| 5286 for i in stdint.h inttypes.h sys/inttypes.h $inttype_headers ; do | 5263 for i in stdint.h inttypes.h sys/inttypes.h $inttype_headers ; do |
| 5287 unset ac_cv_type_uintptr_t | 5264 unset ac_cv_type_uintptr_t |
| 5288 unset ac_cv_type_uint64_t | 5265 unset ac_cv_type_uint64_t |
| 5289 { echo "$as_me:$LINENO: checking for uintptr_t" >&5 | 5266 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i
> |
| 5290 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6; } | 5267 " |
| 5291 if test "${ac_cv_type_uintptr_t+set}" = set; then | 5268 if test "x$ac_cv_type_uintptr_t" = x""yes; then : |
| 5292 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 5293 else | |
| 5294 cat >conftest.$ac_ext <<_ACEOF | |
| 5295 /* confdefs.h. */ | |
| 5296 _ACEOF | |
| 5297 cat confdefs.h >>conftest.$ac_ext | |
| 5298 cat >>conftest.$ac_ext <<_ACEOF | |
| 5299 /* end confdefs.h. */ | |
| 5300 #include <$i> | |
| 5301 | |
| 5302 typedef uintptr_t ac__type_new_; | |
| 5303 int | |
| 5304 main () | |
| 5305 { | |
| 5306 if ((ac__type_new_ *) 0) | |
| 5307 return 0; | |
| 5308 if (sizeof (ac__type_new_)) | |
| 5309 return 0; | |
| 5310 ; | |
| 5311 return 0; | |
| 5312 } | |
| 5313 _ACEOF | |
| 5314 rm -f conftest.$ac_objext | |
| 5315 if { (ac_try="$ac_compile" | |
| 5316 case "(($ac_try" in | |
| 5317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 5318 *) ac_try_echo=$ac_try;; | |
| 5319 esac | |
| 5320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 5321 (eval "$ac_compile") 2>conftest.er1 | |
| 5322 ac_status=$? | |
| 5323 grep -v '^ *+' conftest.er1 >conftest.err | |
| 5324 rm -f conftest.er1 | |
| 5325 cat conftest.err >&5 | |
| 5326 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 5327 (exit $ac_status); } && { | |
| 5328 » test -z "$ac_c_werror_flag" || | |
| 5329 » test ! -s conftest.err | |
| 5330 } && test -s conftest.$ac_objext; then | |
| 5331 ac_cv_type_uintptr_t=yes | |
| 5332 else | |
| 5333 echo "$as_me: failed program was:" >&5 | |
| 5334 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 5335 | |
| 5336 » ac_cv_type_uintptr_t=no | |
| 5337 fi | |
| 5338 | |
| 5339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 5340 fi | |
| 5341 { echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5 | |
| 5342 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6; } | |
| 5343 if test $ac_cv_type_uintptr_t = yes; then | |
| 5344 ac_cv_header_stdint_x=$i | 5269 ac_cv_header_stdint_x=$i |
| 5345 else | 5270 else |
| 5346 continue | 5271 continue |
| 5347 fi | 5272 fi |
| 5348 | 5273 |
| 5349 { echo "$as_me:$LINENO: checking for uint64_t" >&5 | 5274 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i> |
| 5350 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; } | 5275 " |
| 5351 if test "${ac_cv_type_uint64_t+set}" = set; then | 5276 if test "x$ac_cv_type_uint64_t" = x""yes; then : |
| 5352 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 5353 else | |
| 5354 cat >conftest.$ac_ext <<_ACEOF | |
| 5355 /* confdefs.h. */ | |
| 5356 _ACEOF | |
| 5357 cat confdefs.h >>conftest.$ac_ext | |
| 5358 cat >>conftest.$ac_ext <<_ACEOF | |
| 5359 /* end confdefs.h. */ | |
| 5360 #include<$i> | |
| 5361 | |
| 5362 typedef uint64_t ac__type_new_; | |
| 5363 int | |
| 5364 main () | |
| 5365 { | |
| 5366 if ((ac__type_new_ *) 0) | |
| 5367 return 0; | |
| 5368 if (sizeof (ac__type_new_)) | |
| 5369 return 0; | |
| 5370 ; | |
| 5371 return 0; | |
| 5372 } | |
| 5373 _ACEOF | |
| 5374 rm -f conftest.$ac_objext | |
| 5375 if { (ac_try="$ac_compile" | |
| 5376 case "(($ac_try" in | |
| 5377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 5378 *) ac_try_echo=$ac_try;; | |
| 5379 esac | |
| 5380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 5381 (eval "$ac_compile") 2>conftest.er1 | |
| 5382 ac_status=$? | |
| 5383 grep -v '^ *+' conftest.er1 >conftest.err | |
| 5384 rm -f conftest.er1 | |
| 5385 cat conftest.err >&5 | |
| 5386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 5387 (exit $ac_status); } && { | |
| 5388 » test -z "$ac_c_werror_flag" || | |
| 5389 » test ! -s conftest.err | |
| 5390 } && test -s conftest.$ac_objext; then | |
| 5391 ac_cv_type_uint64_t=yes | |
| 5392 else | |
| 5393 echo "$as_me: failed program was:" >&5 | |
| 5394 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 5395 | |
| 5396 » ac_cv_type_uint64_t=no | |
| 5397 fi | |
| 5398 | |
| 5399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 5400 fi | |
| 5401 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 | |
| 5402 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; } | |
| 5403 if test $ac_cv_type_uint64_t = yes; then | |
| 5404 and64="/uint64_t" | 5277 and64="/uint64_t" |
| 5405 else | 5278 else |
| 5406 and64="" | 5279 and64="" |
| 5407 fi | 5280 fi |
| 5408 | 5281 |
| 5409 break; | 5282 break; |
| 5410 done | 5283 done |
| 5411 { echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5 | 5284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5 |
| 5412 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6; } | 5285 $as_echo_n "checking for stdint uintptr_t... " >&6; } |
| 5413 | 5286 |
| 5414 fi | 5287 fi |
| 5415 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_x" >&5 | 5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5 |
| 5416 echo "${ECHO_T}$ac_cv_header_stdint_x" >&6; } | 5289 $as_echo "$ac_cv_header_stdint_x" >&6; } |
| 5417 | 5290 |
| 5418 | 5291 |
| 5419 if test "_$ac_cv_header_stdint_x" = "_" ; then | 5292 if test "_$ac_cv_header_stdint_x" = "_" ; then |
| 5420 | 5293 |
| 5421 { echo "$as_me:$LINENO: checking for stdint uint32_t" >&5 | 5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5 |
| 5422 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6; } | 5295 $as_echo_n "checking for stdint uint32_t... " >&6; } |
| 5423 if test "${ac_cv_header_stdint_o+set}" = set; then | 5296 if test "${ac_cv_header_stdint_o+set}" = set; then : |
| 5424 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5297 $as_echo_n "(cached) " >&6 |
| 5425 else | 5298 else |
| 5426 | 5299 |
| 5427 ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h) | 5300 ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h) |
| 5428 { echo "$as_me:$LINENO: result: (..)" >&5 | 5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5 |
| 5429 echo "${ECHO_T}(..)" >&6; } | 5302 $as_echo "(..)" >&6; } |
| 5430 for i in inttypes.h sys/inttypes.h stdint.h $inttype_headers ; do | 5303 for i in inttypes.h sys/inttypes.h stdint.h $inttype_headers ; do |
| 5431 unset ac_cv_type_uint32_t | 5304 unset ac_cv_type_uint32_t |
| 5432 unset ac_cv_type_uint64_t | 5305 unset ac_cv_type_uint64_t |
| 5433 { echo "$as_me:$LINENO: checking for uint32_t" >&5 | 5306 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i> |
| 5434 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; } | 5307 " |
| 5435 if test "${ac_cv_type_uint32_t+set}" = set; then | 5308 if test "x$ac_cv_type_uint32_t" = x""yes; then : |
| 5436 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 5437 else | |
| 5438 cat >conftest.$ac_ext <<_ACEOF | |
| 5439 /* confdefs.h. */ | |
| 5440 _ACEOF | |
| 5441 cat confdefs.h >>conftest.$ac_ext | |
| 5442 cat >>conftest.$ac_ext <<_ACEOF | |
| 5443 /* end confdefs.h. */ | |
| 5444 #include <$i> | |
| 5445 | |
| 5446 typedef uint32_t ac__type_new_; | |
| 5447 int | |
| 5448 main () | |
| 5449 { | |
| 5450 if ((ac__type_new_ *) 0) | |
| 5451 return 0; | |
| 5452 if (sizeof (ac__type_new_)) | |
| 5453 return 0; | |
| 5454 ; | |
| 5455 return 0; | |
| 5456 } | |
| 5457 _ACEOF | |
| 5458 rm -f conftest.$ac_objext | |
| 5459 if { (ac_try="$ac_compile" | |
| 5460 case "(($ac_try" in | |
| 5461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 5462 *) ac_try_echo=$ac_try;; | |
| 5463 esac | |
| 5464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 5465 (eval "$ac_compile") 2>conftest.er1 | |
| 5466 ac_status=$? | |
| 5467 grep -v '^ *+' conftest.er1 >conftest.err | |
| 5468 rm -f conftest.er1 | |
| 5469 cat conftest.err >&5 | |
| 5470 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 5471 (exit $ac_status); } && { | |
| 5472 » test -z "$ac_c_werror_flag" || | |
| 5473 » test ! -s conftest.err | |
| 5474 } && test -s conftest.$ac_objext; then | |
| 5475 ac_cv_type_uint32_t=yes | |
| 5476 else | |
| 5477 echo "$as_me: failed program was:" >&5 | |
| 5478 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 5479 | |
| 5480 » ac_cv_type_uint32_t=no | |
| 5481 fi | |
| 5482 | |
| 5483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 5484 fi | |
| 5485 { echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5 | |
| 5486 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6; } | |
| 5487 if test $ac_cv_type_uint32_t = yes; then | |
| 5488 ac_cv_header_stdint_o=$i | 5309 ac_cv_header_stdint_o=$i |
| 5489 else | 5310 else |
| 5490 continue | 5311 continue |
| 5491 fi | 5312 fi |
| 5492 | 5313 |
| 5493 { echo "$as_me:$LINENO: checking for uint64_t" >&5 | 5314 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i> |
| 5494 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; } | 5315 " |
| 5495 if test "${ac_cv_type_uint64_t+set}" = set; then | 5316 if test "x$ac_cv_type_uint64_t" = x""yes; then : |
| 5496 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 5497 else | |
| 5498 cat >conftest.$ac_ext <<_ACEOF | |
| 5499 /* confdefs.h. */ | |
| 5500 _ACEOF | |
| 5501 cat confdefs.h >>conftest.$ac_ext | |
| 5502 cat >>conftest.$ac_ext <<_ACEOF | |
| 5503 /* end confdefs.h. */ | |
| 5504 #include<$i> | |
| 5505 | |
| 5506 typedef uint64_t ac__type_new_; | |
| 5507 int | |
| 5508 main () | |
| 5509 { | |
| 5510 if ((ac__type_new_ *) 0) | |
| 5511 return 0; | |
| 5512 if (sizeof (ac__type_new_)) | |
| 5513 return 0; | |
| 5514 ; | |
| 5515 return 0; | |
| 5516 } | |
| 5517 _ACEOF | |
| 5518 rm -f conftest.$ac_objext | |
| 5519 if { (ac_try="$ac_compile" | |
| 5520 case "(($ac_try" in | |
| 5521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 5522 *) ac_try_echo=$ac_try;; | |
| 5523 esac | |
| 5524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 5525 (eval "$ac_compile") 2>conftest.er1 | |
| 5526 ac_status=$? | |
| 5527 grep -v '^ *+' conftest.er1 >conftest.err | |
| 5528 rm -f conftest.er1 | |
| 5529 cat conftest.err >&5 | |
| 5530 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 5531 (exit $ac_status); } && { | |
| 5532 » test -z "$ac_c_werror_flag" || | |
| 5533 » test ! -s conftest.err | |
| 5534 } && test -s conftest.$ac_objext; then | |
| 5535 ac_cv_type_uint64_t=yes | |
| 5536 else | |
| 5537 echo "$as_me: failed program was:" >&5 | |
| 5538 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 5539 | |
| 5540 » ac_cv_type_uint64_t=no | |
| 5541 fi | |
| 5542 | |
| 5543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 5544 fi | |
| 5545 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 | |
| 5546 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; } | |
| 5547 if test $ac_cv_type_uint64_t = yes; then | |
| 5548 and64="/uint64_t" | 5317 and64="/uint64_t" |
| 5549 else | 5318 else |
| 5550 and64="" | 5319 and64="" |
| 5551 fi | 5320 fi |
| 5552 | 5321 |
| 5553 break; | 5322 break; |
| 5554 done | 5323 done |
| 5555 { echo "$as_me:$LINENO: checking for stdint uint32_t" >&5 | 5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5 |
| 5556 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6; } | 5325 $as_echo_n "checking for stdint uint32_t... " >&6; } |
| 5557 | 5326 |
| 5558 fi | 5327 fi |
| 5559 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_o" >&5 | 5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5 |
| 5560 echo "${ECHO_T}$ac_cv_header_stdint_o" >&6; } | 5329 $as_echo "$ac_cv_header_stdint_o" >&6; } |
| 5561 | 5330 |
| 5562 fi | 5331 fi |
| 5563 | 5332 |
| 5564 if test "_$ac_cv_header_stdint_x" = "_" ; then | 5333 if test "_$ac_cv_header_stdint_x" = "_" ; then |
| 5565 if test "_$ac_cv_header_stdint_o" = "_" ; then | 5334 if test "_$ac_cv_header_stdint_o" = "_" ; then |
| 5566 | 5335 |
| 5567 { echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5 | 5336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5 |
| 5568 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6; } | 5337 $as_echo_n "checking for stdint u_int32_t... " >&6; } |
| 5569 if test "${ac_cv_header_stdint_u+set}" = set; then | 5338 if test "${ac_cv_header_stdint_u+set}" = set; then : |
| 5570 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5339 $as_echo_n "(cached) " >&6 |
| 5571 else | 5340 else |
| 5572 | 5341 |
| 5573 ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h) | 5342 ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h) |
| 5574 { echo "$as_me:$LINENO: result: (..)" >&5 | 5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5 |
| 5575 echo "${ECHO_T}(..)" >&6; } | 5344 $as_echo "(..)" >&6; } |
| 5576 for i in sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do | 5345 for i in sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do |
| 5577 unset ac_cv_type_u_int32_t | 5346 unset ac_cv_type_u_int32_t |
| 5578 unset ac_cv_type_u_int64_t | 5347 unset ac_cv_type_u_int64_t |
| 5579 { echo "$as_me:$LINENO: checking for u_int32_t" >&5 | 5348 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i
> |
| 5580 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6; } | 5349 " |
| 5581 if test "${ac_cv_type_u_int32_t+set}" = set; then | 5350 if test "x$ac_cv_type_u_int32_t" = x""yes; then : |
| 5582 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 5583 else | |
| 5584 cat >conftest.$ac_ext <<_ACEOF | |
| 5585 /* confdefs.h. */ | |
| 5586 _ACEOF | |
| 5587 cat confdefs.h >>conftest.$ac_ext | |
| 5588 cat >>conftest.$ac_ext <<_ACEOF | |
| 5589 /* end confdefs.h. */ | |
| 5590 #include <$i> | |
| 5591 | |
| 5592 typedef u_int32_t ac__type_new_; | |
| 5593 int | |
| 5594 main () | |
| 5595 { | |
| 5596 if ((ac__type_new_ *) 0) | |
| 5597 return 0; | |
| 5598 if (sizeof (ac__type_new_)) | |
| 5599 return 0; | |
| 5600 ; | |
| 5601 return 0; | |
| 5602 } | |
| 5603 _ACEOF | |
| 5604 rm -f conftest.$ac_objext | |
| 5605 if { (ac_try="$ac_compile" | |
| 5606 case "(($ac_try" in | |
| 5607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 5608 *) ac_try_echo=$ac_try;; | |
| 5609 esac | |
| 5610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 5611 (eval "$ac_compile") 2>conftest.er1 | |
| 5612 ac_status=$? | |
| 5613 grep -v '^ *+' conftest.er1 >conftest.err | |
| 5614 rm -f conftest.er1 | |
| 5615 cat conftest.err >&5 | |
| 5616 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 5617 (exit $ac_status); } && { | |
| 5618 » test -z "$ac_c_werror_flag" || | |
| 5619 » test ! -s conftest.err | |
| 5620 } && test -s conftest.$ac_objext; then | |
| 5621 ac_cv_type_u_int32_t=yes | |
| 5622 else | |
| 5623 echo "$as_me: failed program was:" >&5 | |
| 5624 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 5625 | |
| 5626 » ac_cv_type_u_int32_t=no | |
| 5627 fi | |
| 5628 | |
| 5629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 5630 fi | |
| 5631 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5 | |
| 5632 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6; } | |
| 5633 if test $ac_cv_type_u_int32_t = yes; then | |
| 5634 ac_cv_header_stdint_u=$i | 5351 ac_cv_header_stdint_u=$i |
| 5635 else | 5352 else |
| 5636 continue | 5353 continue |
| 5637 fi | 5354 fi |
| 5638 | 5355 |
| 5639 { echo "$as_me:$LINENO: checking for u_int64_t" >&5 | 5356 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i> |
| 5640 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; } | 5357 " |
| 5641 if test "${ac_cv_type_u_int64_t+set}" = set; then | 5358 if test "x$ac_cv_type_u_int64_t" = x""yes; then : |
| 5642 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 5643 else | |
| 5644 cat >conftest.$ac_ext <<_ACEOF | |
| 5645 /* confdefs.h. */ | |
| 5646 _ACEOF | |
| 5647 cat confdefs.h >>conftest.$ac_ext | |
| 5648 cat >>conftest.$ac_ext <<_ACEOF | |
| 5649 /* end confdefs.h. */ | |
| 5650 #include<$i> | |
| 5651 | |
| 5652 typedef u_int64_t ac__type_new_; | |
| 5653 int | |
| 5654 main () | |
| 5655 { | |
| 5656 if ((ac__type_new_ *) 0) | |
| 5657 return 0; | |
| 5658 if (sizeof (ac__type_new_)) | |
| 5659 return 0; | |
| 5660 ; | |
| 5661 return 0; | |
| 5662 } | |
| 5663 _ACEOF | |
| 5664 rm -f conftest.$ac_objext | |
| 5665 if { (ac_try="$ac_compile" | |
| 5666 case "(($ac_try" in | |
| 5667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 5668 *) ac_try_echo=$ac_try;; | |
| 5669 esac | |
| 5670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 5671 (eval "$ac_compile") 2>conftest.er1 | |
| 5672 ac_status=$? | |
| 5673 grep -v '^ *+' conftest.er1 >conftest.err | |
| 5674 rm -f conftest.er1 | |
| 5675 cat conftest.err >&5 | |
| 5676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 5677 (exit $ac_status); } && { | |
| 5678 » test -z "$ac_c_werror_flag" || | |
| 5679 » test ! -s conftest.err | |
| 5680 } && test -s conftest.$ac_objext; then | |
| 5681 ac_cv_type_u_int64_t=yes | |
| 5682 else | |
| 5683 echo "$as_me: failed program was:" >&5 | |
| 5684 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 5685 | |
| 5686 » ac_cv_type_u_int64_t=no | |
| 5687 fi | |
| 5688 | |
| 5689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 5690 fi | |
| 5691 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5 | |
| 5692 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; } | |
| 5693 if test $ac_cv_type_u_int64_t = yes; then | |
| 5694 and64="/u_int64_t" | 5359 and64="/u_int64_t" |
| 5695 else | 5360 else |
| 5696 and64="" | 5361 and64="" |
| 5697 fi | 5362 fi |
| 5698 | 5363 |
| 5699 break; | 5364 break; |
| 5700 done | 5365 done |
| 5701 { echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5 | 5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5 |
| 5702 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6; } | 5367 $as_echo_n "checking for stdint u_int32_t... " >&6; } |
| 5703 | 5368 |
| 5704 fi | 5369 fi |
| 5705 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_u" >&5 | 5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5 |
| 5706 echo "${ECHO_T}$ac_cv_header_stdint_u" >&6; } | 5371 $as_echo "$ac_cv_header_stdint_u" >&6; } |
| 5707 | 5372 |
| 5708 fi fi | 5373 fi fi |
| 5709 | 5374 |
| 5710 if test "_$ac_cv_header_stdint_x" = "_" ; then | 5375 if test "_$ac_cv_header_stdint_x" = "_" ; then |
| 5711 { echo "$as_me:$LINENO: checking for stdint datatype model" >&5 | 5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model"
>&5 |
| 5712 echo $ECHO_N "checking for stdint datatype model... $ECHO_C" >&6; } | 5377 $as_echo_n "checking for stdint datatype model... " >&6; } |
| 5713 { echo "$as_me:$LINENO: result: (..)" >&5 | 5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5 |
| 5714 echo "${ECHO_T}(..)" >&6; } | 5379 $as_echo "(..)" >&6; } |
| 5715 | 5380 |
| 5716 { echo "$as_me:$LINENO: checking for char" >&5 | 5381 # The cast to long int works around a bug in the HP C Compiler |
| 5717 echo $ECHO_N "checking for char... $ECHO_C" >&6; } | |
| 5718 if test "${ac_cv_type_char+set}" = set; then | |
| 5719 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 5720 else | |
| 5721 cat >conftest.$ac_ext <<_ACEOF | |
| 5722 /* confdefs.h. */ | |
| 5723 _ACEOF | |
| 5724 cat confdefs.h >>conftest.$ac_ext | |
| 5725 cat >>conftest.$ac_ext <<_ACEOF | |
| 5726 /* end confdefs.h. */ | |
| 5727 $ac_includes_default | |
| 5728 typedef char ac__type_new_; | |
| 5729 int | |
| 5730 main () | |
| 5731 { | |
| 5732 if ((ac__type_new_ *) 0) | |
| 5733 return 0; | |
| 5734 if (sizeof (ac__type_new_)) | |
| 5735 return 0; | |
| 5736 ; | |
| 5737 return 0; | |
| 5738 } | |
| 5739 _ACEOF | |
| 5740 rm -f conftest.$ac_objext | |
| 5741 if { (ac_try="$ac_compile" | |
| 5742 case "(($ac_try" in | |
| 5743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 5744 *) ac_try_echo=$ac_try;; | |
| 5745 esac | |
| 5746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 5747 (eval "$ac_compile") 2>conftest.er1 | |
| 5748 ac_status=$? | |
| 5749 grep -v '^ *+' conftest.er1 >conftest.err | |
| 5750 rm -f conftest.er1 | |
| 5751 cat conftest.err >&5 | |
| 5752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 5753 (exit $ac_status); } && { | |
| 5754 » test -z "$ac_c_werror_flag" || | |
| 5755 » test ! -s conftest.err | |
| 5756 } && test -s conftest.$ac_objext; then | |
| 5757 ac_cv_type_char=yes | |
| 5758 else | |
| 5759 echo "$as_me: failed program was:" >&5 | |
| 5760 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 5761 | |
| 5762 » ac_cv_type_char=no | |
| 5763 fi | |
| 5764 | |
| 5765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 5766 fi | |
| 5767 { echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5 | |
| 5768 echo "${ECHO_T}$ac_cv_type_char" >&6; } | |
| 5769 | |
| 5770 # The cast to long int works around a bug in the HP C Compiler | |
| 5771 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | 5382 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 5772 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | 5383 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 5773 # This bug is HP SR number 8606223364. | 5384 # This bug is HP SR number 8606223364. |
| 5774 { echo "$as_me:$LINENO: checking size of char" >&5 | 5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5 |
| 5775 echo $ECHO_N "checking size of char... $ECHO_C" >&6; } | 5386 $as_echo_n "checking size of char... " >&6; } |
| 5776 if test "${ac_cv_sizeof_char+set}" = set; then | 5387 if test "${ac_cv_sizeof_char+set}" = set; then : |
| 5777 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5388 $as_echo_n "(cached) " >&6 |
| 5778 else | 5389 else |
| 5779 if test "$cross_compiling" = yes; then | 5390 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_ch
ar" "$ac_includes_default"; then : |
| 5780 # Depending upon the size, compute the lo and hi bounds. | |
| 5781 cat >conftest.$ac_ext <<_ACEOF | |
| 5782 /* confdefs.h. */ | |
| 5783 _ACEOF | |
| 5784 cat confdefs.h >>conftest.$ac_ext | |
| 5785 cat >>conftest.$ac_ext <<_ACEOF | |
| 5786 /* end confdefs.h. */ | |
| 5787 $ac_includes_default | |
| 5788 typedef char ac__type_sizeof_; | |
| 5789 int | |
| 5790 main () | |
| 5791 { | |
| 5792 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]
; | |
| 5793 test_array [0] = 0 | |
| 5794 | 5391 |
| 5795 ; | |
| 5796 return 0; | |
| 5797 } | |
| 5798 _ACEOF | |
| 5799 rm -f conftest.$ac_objext | |
| 5800 if { (ac_try="$ac_compile" | |
| 5801 case "(($ac_try" in | |
| 5802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 5803 *) ac_try_echo=$ac_try;; | |
| 5804 esac | |
| 5805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 5806 (eval "$ac_compile") 2>conftest.er1 | |
| 5807 ac_status=$? | |
| 5808 grep -v '^ *+' conftest.er1 >conftest.err | |
| 5809 rm -f conftest.er1 | |
| 5810 cat conftest.err >&5 | |
| 5811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 5812 (exit $ac_status); } && { | |
| 5813 test -z "$ac_c_werror_flag" || | |
| 5814 test ! -s conftest.err | |
| 5815 } && test -s conftest.$ac_objext; then | |
| 5816 ac_lo=0 ac_mid=0 | |
| 5817 while :; do | |
| 5818 cat >conftest.$ac_ext <<_ACEOF | |
| 5819 /* confdefs.h. */ | |
| 5820 _ACEOF | |
| 5821 cat confdefs.h >>conftest.$ac_ext | |
| 5822 cat >>conftest.$ac_ext <<_ACEOF | |
| 5823 /* end confdefs.h. */ | |
| 5824 $ac_includes_default | |
| 5825 typedef char ac__type_sizeof_; | |
| 5826 int | |
| 5827 main () | |
| 5828 { | |
| 5829 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac
_mid)]; | |
| 5830 test_array [0] = 0 | |
| 5831 | |
| 5832 ; | |
| 5833 return 0; | |
| 5834 } | |
| 5835 _ACEOF | |
| 5836 rm -f conftest.$ac_objext | |
| 5837 if { (ac_try="$ac_compile" | |
| 5838 case "(($ac_try" in | |
| 5839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 5840 *) ac_try_echo=$ac_try;; | |
| 5841 esac | |
| 5842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 5843 (eval "$ac_compile") 2>conftest.er1 | |
| 5844 ac_status=$? | |
| 5845 grep -v '^ *+' conftest.er1 >conftest.err | |
| 5846 rm -f conftest.er1 | |
| 5847 cat conftest.err >&5 | |
| 5848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 5849 (exit $ac_status); } && { | |
| 5850 test -z "$ac_c_werror_flag" || | |
| 5851 test ! -s conftest.err | |
| 5852 } && test -s conftest.$ac_objext; then | |
| 5853 ac_hi=$ac_mid; break | |
| 5854 else | 5392 else |
| 5855 echo "$as_me: failed program was:" >&5 | 5393 if test "$ac_cv_type_char" = yes; then |
| 5856 sed 's/^/| /' conftest.$ac_ext >&5 | 5394 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 5857 | 5395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 5858 » ac_lo=`expr $ac_mid + 1` | 5396 { as_fn_set_status 77 |
| 5859 » » » if test $ac_lo -le $ac_mid; then | 5397 as_fn_error "cannot compute sizeof (char) |
| 5860 » » » ac_lo= ac_hi= | 5398 See \`config.log' for more details." "$LINENO" 5; }; } |
| 5861 » » » break | |
| 5862 » » » fi | |
| 5863 » » » ac_mid=`expr 2 '*' $ac_mid + 1` | |
| 5864 fi | |
| 5865 | |
| 5866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 5867 done | |
| 5868 else | |
| 5869 echo "$as_me: failed program was:" >&5 | |
| 5870 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 5871 | |
| 5872 » cat >conftest.$ac_ext <<_ACEOF | |
| 5873 /* confdefs.h. */ | |
| 5874 _ACEOF | |
| 5875 cat confdefs.h >>conftest.$ac_ext | |
| 5876 cat >>conftest.$ac_ext <<_ACEOF | |
| 5877 /* end confdefs.h. */ | |
| 5878 $ac_includes_default | |
| 5879 typedef char ac__type_sizeof_; | |
| 5880 int | |
| 5881 main () | |
| 5882 { | |
| 5883 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; | |
| 5884 test_array [0] = 0 | |
| 5885 | |
| 5886 ; | |
| 5887 return 0; | |
| 5888 } | |
| 5889 _ACEOF | |
| 5890 rm -f conftest.$ac_objext | |
| 5891 if { (ac_try="$ac_compile" | |
| 5892 case "(($ac_try" in | |
| 5893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 5894 *) ac_try_echo=$ac_try;; | |
| 5895 esac | |
| 5896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 5897 (eval "$ac_compile") 2>conftest.er1 | |
| 5898 ac_status=$? | |
| 5899 grep -v '^ *+' conftest.er1 >conftest.err | |
| 5900 rm -f conftest.er1 | |
| 5901 cat conftest.err >&5 | |
| 5902 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 5903 (exit $ac_status); } && { | |
| 5904 » test -z "$ac_c_werror_flag" || | |
| 5905 » test ! -s conftest.err | |
| 5906 } && test -s conftest.$ac_objext; then | |
| 5907 ac_hi=-1 ac_mid=-1 | |
| 5908 while :; do | |
| 5909 cat >conftest.$ac_ext <<_ACEOF | |
| 5910 /* confdefs.h. */ | |
| 5911 _ACEOF | |
| 5912 cat confdefs.h >>conftest.$ac_ext | |
| 5913 cat >>conftest.$ac_ext <<_ACEOF | |
| 5914 /* end confdefs.h. */ | |
| 5915 $ac_includes_default | |
| 5916 typedef char ac__type_sizeof_; | |
| 5917 int | |
| 5918 main () | |
| 5919 { | |
| 5920 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac
_mid)]; | |
| 5921 test_array [0] = 0 | |
| 5922 | |
| 5923 ; | |
| 5924 return 0; | |
| 5925 } | |
| 5926 _ACEOF | |
| 5927 rm -f conftest.$ac_objext | |
| 5928 if { (ac_try="$ac_compile" | |
| 5929 case "(($ac_try" in | |
| 5930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 5931 *) ac_try_echo=$ac_try;; | |
| 5932 esac | |
| 5933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 5934 (eval "$ac_compile") 2>conftest.er1 | |
| 5935 ac_status=$? | |
| 5936 grep -v '^ *+' conftest.er1 >conftest.err | |
| 5937 rm -f conftest.er1 | |
| 5938 cat conftest.err >&5 | |
| 5939 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 5940 (exit $ac_status); } && { | |
| 5941 » test -z "$ac_c_werror_flag" || | |
| 5942 » test ! -s conftest.err | |
| 5943 } && test -s conftest.$ac_objext; then | |
| 5944 ac_lo=$ac_mid; break | |
| 5945 else | |
| 5946 echo "$as_me: failed program was:" >&5 | |
| 5947 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 5948 | |
| 5949 » ac_hi=`expr '(' $ac_mid ')' - 1` | |
| 5950 » » » if test $ac_mid -le $ac_hi; then | |
| 5951 » » » ac_lo= ac_hi= | |
| 5952 » » » break | |
| 5953 » » » fi | |
| 5954 » » » ac_mid=`expr 2 '*' $ac_mid` | |
| 5955 fi | |
| 5956 | |
| 5957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 5958 done | |
| 5959 else | |
| 5960 echo "$as_me: failed program was:" >&5 | |
| 5961 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 5962 | |
| 5963 » ac_lo= ac_hi= | |
| 5964 fi | |
| 5965 | |
| 5966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 5967 fi | |
| 5968 | |
| 5969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 5970 # Binary search between lo and hi bounds. | |
| 5971 while test "x$ac_lo" != "x$ac_hi"; do | |
| 5972 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | |
| 5973 cat >conftest.$ac_ext <<_ACEOF | |
| 5974 /* confdefs.h. */ | |
| 5975 _ACEOF | |
| 5976 cat confdefs.h >>conftest.$ac_ext | |
| 5977 cat >>conftest.$ac_ext <<_ACEOF | |
| 5978 /* end confdefs.h. */ | |
| 5979 $ac_includes_default | |
| 5980 typedef char ac__type_sizeof_; | |
| 5981 int | |
| 5982 main () | |
| 5983 { | |
| 5984 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac
_mid)]; | |
| 5985 test_array [0] = 0 | |
| 5986 | |
| 5987 ; | |
| 5988 return 0; | |
| 5989 } | |
| 5990 _ACEOF | |
| 5991 rm -f conftest.$ac_objext | |
| 5992 if { (ac_try="$ac_compile" | |
| 5993 case "(($ac_try" in | |
| 5994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 5995 *) ac_try_echo=$ac_try;; | |
| 5996 esac | |
| 5997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 5998 (eval "$ac_compile") 2>conftest.er1 | |
| 5999 ac_status=$? | |
| 6000 grep -v '^ *+' conftest.er1 >conftest.err | |
| 6001 rm -f conftest.er1 | |
| 6002 cat conftest.err >&5 | |
| 6003 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 6004 (exit $ac_status); } && { | |
| 6005 » test -z "$ac_c_werror_flag" || | |
| 6006 » test ! -s conftest.err | |
| 6007 } && test -s conftest.$ac_objext; then | |
| 6008 ac_hi=$ac_mid | |
| 6009 else | |
| 6010 echo "$as_me: failed program was:" >&5 | |
| 6011 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 6012 | |
| 6013 » ac_lo=`expr '(' $ac_mid ')' + 1` | |
| 6014 fi | |
| 6015 | |
| 6016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 6017 done | |
| 6018 case $ac_lo in | |
| 6019 ?*) ac_cv_sizeof_char=$ac_lo;; | |
| 6020 '') if test "$ac_cv_type_char" = yes; then | |
| 6021 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char) | |
| 6022 See \`config.log' for more details." >&5 | |
| 6023 echo "$as_me: error: cannot compute sizeof (char) | |
| 6024 See \`config.log' for more details." >&2;} | |
| 6025 { (exit 77); exit 77; }; } | |
| 6026 else | |
| 6027 ac_cv_sizeof_char=0 | |
| 6028 fi ;; | |
| 6029 esac | |
| 6030 else | |
| 6031 cat >conftest.$ac_ext <<_ACEOF | |
| 6032 /* confdefs.h. */ | |
| 6033 _ACEOF | |
| 6034 cat confdefs.h >>conftest.$ac_ext | |
| 6035 cat >>conftest.$ac_ext <<_ACEOF | |
| 6036 /* end confdefs.h. */ | |
| 6037 $ac_includes_default | |
| 6038 typedef char ac__type_sizeof_; | |
| 6039 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } | |
| 6040 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeo
f_)); } | |
| 6041 #include <stdio.h> | |
| 6042 #include <stdlib.h> | |
| 6043 int | |
| 6044 main () | |
| 6045 { | |
| 6046 | |
| 6047 FILE *f = fopen ("conftest.val", "w"); | |
| 6048 if (! f) | |
| 6049 return 1; | |
| 6050 if (((long int) (sizeof (ac__type_sizeof_))) < 0) | |
| 6051 { | |
| 6052 long int i = longval (); | |
| 6053 if (i != ((long int) (sizeof (ac__type_sizeof_)))) | |
| 6054 » return 1; | |
| 6055 fprintf (f, "%ld\n", i); | |
| 6056 } | |
| 6057 else | |
| 6058 { | |
| 6059 unsigned long int i = ulongval (); | |
| 6060 if (i != ((long int) (sizeof (ac__type_sizeof_)))) | |
| 6061 » return 1; | |
| 6062 fprintf (f, "%lu\n", i); | |
| 6063 } | |
| 6064 return ferror (f) || fclose (f) != 0; | |
| 6065 | |
| 6066 ; | |
| 6067 return 0; | |
| 6068 } | |
| 6069 _ACEOF | |
| 6070 rm -f conftest$ac_exeext | |
| 6071 if { (ac_try="$ac_link" | |
| 6072 case "(($ac_try" in | |
| 6073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 6074 *) ac_try_echo=$ac_try;; | |
| 6075 esac | |
| 6076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 6077 (eval "$ac_link") 2>&5 | |
| 6078 ac_status=$? | |
| 6079 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 6080 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
| 6081 { (case "(($ac_try" in | |
| 6082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 6083 *) ac_try_echo=$ac_try;; | |
| 6084 esac | |
| 6085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 6086 (eval "$ac_try") 2>&5 | |
| 6087 ac_status=$? | |
| 6088 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 6089 (exit $ac_status); }; }; then | |
| 6090 ac_cv_sizeof_char=`cat conftest.val` | |
| 6091 else | |
| 6092 echo "$as_me: program exited with status $ac_status" >&5 | |
| 6093 echo "$as_me: failed program was:" >&5 | |
| 6094 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 6095 | |
| 6096 ( exit $ac_status ) | |
| 6097 if test "$ac_cv_type_char" = yes; then | |
| 6098 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char) | |
| 6099 See \`config.log' for more details." >&5 | |
| 6100 echo "$as_me: error: cannot compute sizeof (char) | |
| 6101 See \`config.log' for more details." >&2;} | |
| 6102 { (exit 77); exit 77; }; } | |
| 6103 else | 5399 else |
| 6104 ac_cv_sizeof_char=0 | 5400 ac_cv_sizeof_char=0 |
| 6105 fi | 5401 fi |
| 6106 fi | 5402 fi |
| 6107 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$a
c_objext conftest.$ac_ext | 5403 |
| 6108 fi | 5404 fi |
| 6109 rm -f conftest.val | 5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5 |
| 6110 fi | 5406 $as_echo "$ac_cv_sizeof_char" >&6; } |
| 6111 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5 | |
| 6112 echo "${ECHO_T}$ac_cv_sizeof_char" >&6; } | |
| 6113 | 5407 |
| 6114 | 5408 |
| 6115 | 5409 |
| 6116 cat >>confdefs.h <<_ACEOF | 5410 cat >>confdefs.h <<_ACEOF |
| 6117 #define SIZEOF_CHAR $ac_cv_sizeof_char | 5411 #define SIZEOF_CHAR $ac_cv_sizeof_char |
| 6118 _ACEOF | 5412 _ACEOF |
| 6119 | 5413 |
| 6120 | 5414 |
| 6121 { echo "$as_me:$LINENO: checking for short" >&5 | 5415 # The cast to long int works around a bug in the HP C Compiler |
| 6122 echo $ECHO_N "checking for short... $ECHO_C" >&6; } | |
| 6123 if test "${ac_cv_type_short+set}" = set; then | |
| 6124 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 6125 else | |
| 6126 cat >conftest.$ac_ext <<_ACEOF | |
| 6127 /* confdefs.h. */ | |
| 6128 _ACEOF | |
| 6129 cat confdefs.h >>conftest.$ac_ext | |
| 6130 cat >>conftest.$ac_ext <<_ACEOF | |
| 6131 /* end confdefs.h. */ | |
| 6132 $ac_includes_default | |
| 6133 typedef short ac__type_new_; | |
| 6134 int | |
| 6135 main () | |
| 6136 { | |
| 6137 if ((ac__type_new_ *) 0) | |
| 6138 return 0; | |
| 6139 if (sizeof (ac__type_new_)) | |
| 6140 return 0; | |
| 6141 ; | |
| 6142 return 0; | |
| 6143 } | |
| 6144 _ACEOF | |
| 6145 rm -f conftest.$ac_objext | |
| 6146 if { (ac_try="$ac_compile" | |
| 6147 case "(($ac_try" in | |
| 6148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 6149 *) ac_try_echo=$ac_try;; | |
| 6150 esac | |
| 6151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 6152 (eval "$ac_compile") 2>conftest.er1 | |
| 6153 ac_status=$? | |
| 6154 grep -v '^ *+' conftest.er1 >conftest.err | |
| 6155 rm -f conftest.er1 | |
| 6156 cat conftest.err >&5 | |
| 6157 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 6158 (exit $ac_status); } && { | |
| 6159 » test -z "$ac_c_werror_flag" || | |
| 6160 » test ! -s conftest.err | |
| 6161 } && test -s conftest.$ac_objext; then | |
| 6162 ac_cv_type_short=yes | |
| 6163 else | |
| 6164 echo "$as_me: failed program was:" >&5 | |
| 6165 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 6166 | |
| 6167 » ac_cv_type_short=no | |
| 6168 fi | |
| 6169 | |
| 6170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 6171 fi | |
| 6172 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5 | |
| 6173 echo "${ECHO_T}$ac_cv_type_short" >&6; } | |
| 6174 | |
| 6175 # The cast to long int works around a bug in the HP C Compiler | |
| 6176 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | 5416 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 6177 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | 5417 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 6178 # This bug is HP SR number 8606223364. | 5418 # This bug is HP SR number 8606223364. |
| 6179 { echo "$as_me:$LINENO: checking size of short" >&5 | 5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5 |
| 6180 echo $ECHO_N "checking size of short... $ECHO_C" >&6; } | 5420 $as_echo_n "checking size of short... " >&6; } |
| 6181 if test "${ac_cv_sizeof_short+set}" = set; then | 5421 if test "${ac_cv_sizeof_short+set}" = set; then : |
| 6182 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5422 $as_echo_n "(cached) " >&6 |
| 6183 else | 5423 else |
| 6184 if test "$cross_compiling" = yes; then | 5424 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_s
hort" "$ac_includes_default"; then : |
| 6185 # Depending upon the size, compute the lo and hi bounds. | |
| 6186 cat >conftest.$ac_ext <<_ACEOF | |
| 6187 /* confdefs.h. */ | |
| 6188 _ACEOF | |
| 6189 cat confdefs.h >>conftest.$ac_ext | |
| 6190 cat >>conftest.$ac_ext <<_ACEOF | |
| 6191 /* end confdefs.h. */ | |
| 6192 $ac_includes_default | |
| 6193 typedef short ac__type_sizeof_; | |
| 6194 int | |
| 6195 main () | |
| 6196 { | |
| 6197 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]
; | |
| 6198 test_array [0] = 0 | |
| 6199 | 5425 |
| 6200 ; | |
| 6201 return 0; | |
| 6202 } | |
| 6203 _ACEOF | |
| 6204 rm -f conftest.$ac_objext | |
| 6205 if { (ac_try="$ac_compile" | |
| 6206 case "(($ac_try" in | |
| 6207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 6208 *) ac_try_echo=$ac_try;; | |
| 6209 esac | |
| 6210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 6211 (eval "$ac_compile") 2>conftest.er1 | |
| 6212 ac_status=$? | |
| 6213 grep -v '^ *+' conftest.er1 >conftest.err | |
| 6214 rm -f conftest.er1 | |
| 6215 cat conftest.err >&5 | |
| 6216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 6217 (exit $ac_status); } && { | |
| 6218 test -z "$ac_c_werror_flag" || | |
| 6219 test ! -s conftest.err | |
| 6220 } && test -s conftest.$ac_objext; then | |
| 6221 ac_lo=0 ac_mid=0 | |
| 6222 while :; do | |
| 6223 cat >conftest.$ac_ext <<_ACEOF | |
| 6224 /* confdefs.h. */ | |
| 6225 _ACEOF | |
| 6226 cat confdefs.h >>conftest.$ac_ext | |
| 6227 cat >>conftest.$ac_ext <<_ACEOF | |
| 6228 /* end confdefs.h. */ | |
| 6229 $ac_includes_default | |
| 6230 typedef short ac__type_sizeof_; | |
| 6231 int | |
| 6232 main () | |
| 6233 { | |
| 6234 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac
_mid)]; | |
| 6235 test_array [0] = 0 | |
| 6236 | |
| 6237 ; | |
| 6238 return 0; | |
| 6239 } | |
| 6240 _ACEOF | |
| 6241 rm -f conftest.$ac_objext | |
| 6242 if { (ac_try="$ac_compile" | |
| 6243 case "(($ac_try" in | |
| 6244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 6245 *) ac_try_echo=$ac_try;; | |
| 6246 esac | |
| 6247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 6248 (eval "$ac_compile") 2>conftest.er1 | |
| 6249 ac_status=$? | |
| 6250 grep -v '^ *+' conftest.er1 >conftest.err | |
| 6251 rm -f conftest.er1 | |
| 6252 cat conftest.err >&5 | |
| 6253 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 6254 (exit $ac_status); } && { | |
| 6255 test -z "$ac_c_werror_flag" || | |
| 6256 test ! -s conftest.err | |
| 6257 } && test -s conftest.$ac_objext; then | |
| 6258 ac_hi=$ac_mid; break | |
| 6259 else | 5426 else |
| 6260 echo "$as_me: failed program was:" >&5 | 5427 if test "$ac_cv_type_short" = yes; then |
| 6261 sed 's/^/| /' conftest.$ac_ext >&5 | 5428 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 6262 | 5429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 6263 » ac_lo=`expr $ac_mid + 1` | 5430 { as_fn_set_status 77 |
| 6264 » » » if test $ac_lo -le $ac_mid; then | 5431 as_fn_error "cannot compute sizeof (short) |
| 6265 » » » ac_lo= ac_hi= | 5432 See \`config.log' for more details." "$LINENO" 5; }; } |
| 6266 » » » break | |
| 6267 » » » fi | |
| 6268 » » » ac_mid=`expr 2 '*' $ac_mid + 1` | |
| 6269 fi | |
| 6270 | |
| 6271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 6272 done | |
| 6273 else | |
| 6274 echo "$as_me: failed program was:" >&5 | |
| 6275 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 6276 | |
| 6277 » cat >conftest.$ac_ext <<_ACEOF | |
| 6278 /* confdefs.h. */ | |
| 6279 _ACEOF | |
| 6280 cat confdefs.h >>conftest.$ac_ext | |
| 6281 cat >>conftest.$ac_ext <<_ACEOF | |
| 6282 /* end confdefs.h. */ | |
| 6283 $ac_includes_default | |
| 6284 typedef short ac__type_sizeof_; | |
| 6285 int | |
| 6286 main () | |
| 6287 { | |
| 6288 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; | |
| 6289 test_array [0] = 0 | |
| 6290 | |
| 6291 ; | |
| 6292 return 0; | |
| 6293 } | |
| 6294 _ACEOF | |
| 6295 rm -f conftest.$ac_objext | |
| 6296 if { (ac_try="$ac_compile" | |
| 6297 case "(($ac_try" in | |
| 6298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 6299 *) ac_try_echo=$ac_try;; | |
| 6300 esac | |
| 6301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 6302 (eval "$ac_compile") 2>conftest.er1 | |
| 6303 ac_status=$? | |
| 6304 grep -v '^ *+' conftest.er1 >conftest.err | |
| 6305 rm -f conftest.er1 | |
| 6306 cat conftest.err >&5 | |
| 6307 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 6308 (exit $ac_status); } && { | |
| 6309 » test -z "$ac_c_werror_flag" || | |
| 6310 » test ! -s conftest.err | |
| 6311 } && test -s conftest.$ac_objext; then | |
| 6312 ac_hi=-1 ac_mid=-1 | |
| 6313 while :; do | |
| 6314 cat >conftest.$ac_ext <<_ACEOF | |
| 6315 /* confdefs.h. */ | |
| 6316 _ACEOF | |
| 6317 cat confdefs.h >>conftest.$ac_ext | |
| 6318 cat >>conftest.$ac_ext <<_ACEOF | |
| 6319 /* end confdefs.h. */ | |
| 6320 $ac_includes_default | |
| 6321 typedef short ac__type_sizeof_; | |
| 6322 int | |
| 6323 main () | |
| 6324 { | |
| 6325 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac
_mid)]; | |
| 6326 test_array [0] = 0 | |
| 6327 | |
| 6328 ; | |
| 6329 return 0; | |
| 6330 } | |
| 6331 _ACEOF | |
| 6332 rm -f conftest.$ac_objext | |
| 6333 if { (ac_try="$ac_compile" | |
| 6334 case "(($ac_try" in | |
| 6335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 6336 *) ac_try_echo=$ac_try;; | |
| 6337 esac | |
| 6338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 6339 (eval "$ac_compile") 2>conftest.er1 | |
| 6340 ac_status=$? | |
| 6341 grep -v '^ *+' conftest.er1 >conftest.err | |
| 6342 rm -f conftest.er1 | |
| 6343 cat conftest.err >&5 | |
| 6344 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 6345 (exit $ac_status); } && { | |
| 6346 » test -z "$ac_c_werror_flag" || | |
| 6347 » test ! -s conftest.err | |
| 6348 } && test -s conftest.$ac_objext; then | |
| 6349 ac_lo=$ac_mid; break | |
| 6350 else | |
| 6351 echo "$as_me: failed program was:" >&5 | |
| 6352 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 6353 | |
| 6354 » ac_hi=`expr '(' $ac_mid ')' - 1` | |
| 6355 » » » if test $ac_mid -le $ac_hi; then | |
| 6356 » » » ac_lo= ac_hi= | |
| 6357 » » » break | |
| 6358 » » » fi | |
| 6359 » » » ac_mid=`expr 2 '*' $ac_mid` | |
| 6360 fi | |
| 6361 | |
| 6362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 6363 done | |
| 6364 else | |
| 6365 echo "$as_me: failed program was:" >&5 | |
| 6366 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 6367 | |
| 6368 » ac_lo= ac_hi= | |
| 6369 fi | |
| 6370 | |
| 6371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 6372 fi | |
| 6373 | |
| 6374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 6375 # Binary search between lo and hi bounds. | |
| 6376 while test "x$ac_lo" != "x$ac_hi"; do | |
| 6377 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | |
| 6378 cat >conftest.$ac_ext <<_ACEOF | |
| 6379 /* confdefs.h. */ | |
| 6380 _ACEOF | |
| 6381 cat confdefs.h >>conftest.$ac_ext | |
| 6382 cat >>conftest.$ac_ext <<_ACEOF | |
| 6383 /* end confdefs.h. */ | |
| 6384 $ac_includes_default | |
| 6385 typedef short ac__type_sizeof_; | |
| 6386 int | |
| 6387 main () | |
| 6388 { | |
| 6389 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac
_mid)]; | |
| 6390 test_array [0] = 0 | |
| 6391 | |
| 6392 ; | |
| 6393 return 0; | |
| 6394 } | |
| 6395 _ACEOF | |
| 6396 rm -f conftest.$ac_objext | |
| 6397 if { (ac_try="$ac_compile" | |
| 6398 case "(($ac_try" in | |
| 6399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 6400 *) ac_try_echo=$ac_try;; | |
| 6401 esac | |
| 6402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 6403 (eval "$ac_compile") 2>conftest.er1 | |
| 6404 ac_status=$? | |
| 6405 grep -v '^ *+' conftest.er1 >conftest.err | |
| 6406 rm -f conftest.er1 | |
| 6407 cat conftest.err >&5 | |
| 6408 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 6409 (exit $ac_status); } && { | |
| 6410 » test -z "$ac_c_werror_flag" || | |
| 6411 » test ! -s conftest.err | |
| 6412 } && test -s conftest.$ac_objext; then | |
| 6413 ac_hi=$ac_mid | |
| 6414 else | |
| 6415 echo "$as_me: failed program was:" >&5 | |
| 6416 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 6417 | |
| 6418 » ac_lo=`expr '(' $ac_mid ')' + 1` | |
| 6419 fi | |
| 6420 | |
| 6421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 6422 done | |
| 6423 case $ac_lo in | |
| 6424 ?*) ac_cv_sizeof_short=$ac_lo;; | |
| 6425 '') if test "$ac_cv_type_short" = yes; then | |
| 6426 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short) | |
| 6427 See \`config.log' for more details." >&5 | |
| 6428 echo "$as_me: error: cannot compute sizeof (short) | |
| 6429 See \`config.log' for more details." >&2;} | |
| 6430 { (exit 77); exit 77; }; } | |
| 6431 else | |
| 6432 ac_cv_sizeof_short=0 | |
| 6433 fi ;; | |
| 6434 esac | |
| 6435 else | |
| 6436 cat >conftest.$ac_ext <<_ACEOF | |
| 6437 /* confdefs.h. */ | |
| 6438 _ACEOF | |
| 6439 cat confdefs.h >>conftest.$ac_ext | |
| 6440 cat >>conftest.$ac_ext <<_ACEOF | |
| 6441 /* end confdefs.h. */ | |
| 6442 $ac_includes_default | |
| 6443 typedef short ac__type_sizeof_; | |
| 6444 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } | |
| 6445 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeo
f_)); } | |
| 6446 #include <stdio.h> | |
| 6447 #include <stdlib.h> | |
| 6448 int | |
| 6449 main () | |
| 6450 { | |
| 6451 | |
| 6452 FILE *f = fopen ("conftest.val", "w"); | |
| 6453 if (! f) | |
| 6454 return 1; | |
| 6455 if (((long int) (sizeof (ac__type_sizeof_))) < 0) | |
| 6456 { | |
| 6457 long int i = longval (); | |
| 6458 if (i != ((long int) (sizeof (ac__type_sizeof_)))) | |
| 6459 » return 1; | |
| 6460 fprintf (f, "%ld\n", i); | |
| 6461 } | |
| 6462 else | |
| 6463 { | |
| 6464 unsigned long int i = ulongval (); | |
| 6465 if (i != ((long int) (sizeof (ac__type_sizeof_)))) | |
| 6466 » return 1; | |
| 6467 fprintf (f, "%lu\n", i); | |
| 6468 } | |
| 6469 return ferror (f) || fclose (f) != 0; | |
| 6470 | |
| 6471 ; | |
| 6472 return 0; | |
| 6473 } | |
| 6474 _ACEOF | |
| 6475 rm -f conftest$ac_exeext | |
| 6476 if { (ac_try="$ac_link" | |
| 6477 case "(($ac_try" in | |
| 6478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 6479 *) ac_try_echo=$ac_try;; | |
| 6480 esac | |
| 6481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 6482 (eval "$ac_link") 2>&5 | |
| 6483 ac_status=$? | |
| 6484 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 6485 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
| 6486 { (case "(($ac_try" in | |
| 6487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 6488 *) ac_try_echo=$ac_try;; | |
| 6489 esac | |
| 6490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 6491 (eval "$ac_try") 2>&5 | |
| 6492 ac_status=$? | |
| 6493 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 6494 (exit $ac_status); }; }; then | |
| 6495 ac_cv_sizeof_short=`cat conftest.val` | |
| 6496 else | |
| 6497 echo "$as_me: program exited with status $ac_status" >&5 | |
| 6498 echo "$as_me: failed program was:" >&5 | |
| 6499 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 6500 | |
| 6501 ( exit $ac_status ) | |
| 6502 if test "$ac_cv_type_short" = yes; then | |
| 6503 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short) | |
| 6504 See \`config.log' for more details." >&5 | |
| 6505 echo "$as_me: error: cannot compute sizeof (short) | |
| 6506 See \`config.log' for more details." >&2;} | |
| 6507 { (exit 77); exit 77; }; } | |
| 6508 else | 5433 else |
| 6509 ac_cv_sizeof_short=0 | 5434 ac_cv_sizeof_short=0 |
| 6510 fi | 5435 fi |
| 6511 fi | 5436 fi |
| 6512 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$a
c_objext conftest.$ac_ext | 5437 |
| 6513 fi | 5438 fi |
| 6514 rm -f conftest.val | 5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5 |
| 6515 fi | 5440 $as_echo "$ac_cv_sizeof_short" >&6; } |
| 6516 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5 | |
| 6517 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; } | |
| 6518 | 5441 |
| 6519 | 5442 |
| 6520 | 5443 |
| 6521 cat >>confdefs.h <<_ACEOF | 5444 cat >>confdefs.h <<_ACEOF |
| 6522 #define SIZEOF_SHORT $ac_cv_sizeof_short | 5445 #define SIZEOF_SHORT $ac_cv_sizeof_short |
| 6523 _ACEOF | 5446 _ACEOF |
| 6524 | 5447 |
| 6525 | 5448 |
| 6526 { echo "$as_me:$LINENO: checking for int" >&5 | 5449 # The cast to long int works around a bug in the HP C Compiler |
| 6527 echo $ECHO_N "checking for int... $ECHO_C" >&6; } | |
| 6528 if test "${ac_cv_type_int+set}" = set; then | |
| 6529 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 6530 else | |
| 6531 cat >conftest.$ac_ext <<_ACEOF | |
| 6532 /* confdefs.h. */ | |
| 6533 _ACEOF | |
| 6534 cat confdefs.h >>conftest.$ac_ext | |
| 6535 cat >>conftest.$ac_ext <<_ACEOF | |
| 6536 /* end confdefs.h. */ | |
| 6537 $ac_includes_default | |
| 6538 typedef int ac__type_new_; | |
| 6539 int | |
| 6540 main () | |
| 6541 { | |
| 6542 if ((ac__type_new_ *) 0) | |
| 6543 return 0; | |
| 6544 if (sizeof (ac__type_new_)) | |
| 6545 return 0; | |
| 6546 ; | |
| 6547 return 0; | |
| 6548 } | |
| 6549 _ACEOF | |
| 6550 rm -f conftest.$ac_objext | |
| 6551 if { (ac_try="$ac_compile" | |
| 6552 case "(($ac_try" in | |
| 6553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 6554 *) ac_try_echo=$ac_try;; | |
| 6555 esac | |
| 6556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 6557 (eval "$ac_compile") 2>conftest.er1 | |
| 6558 ac_status=$? | |
| 6559 grep -v '^ *+' conftest.er1 >conftest.err | |
| 6560 rm -f conftest.er1 | |
| 6561 cat conftest.err >&5 | |
| 6562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 6563 (exit $ac_status); } && { | |
| 6564 » test -z "$ac_c_werror_flag" || | |
| 6565 » test ! -s conftest.err | |
| 6566 } && test -s conftest.$ac_objext; then | |
| 6567 ac_cv_type_int=yes | |
| 6568 else | |
| 6569 echo "$as_me: failed program was:" >&5 | |
| 6570 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 6571 | |
| 6572 » ac_cv_type_int=no | |
| 6573 fi | |
| 6574 | |
| 6575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 6576 fi | |
| 6577 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 | |
| 6578 echo "${ECHO_T}$ac_cv_type_int" >&6; } | |
| 6579 | |
| 6580 # The cast to long int works around a bug in the HP C Compiler | |
| 6581 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | 5450 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 6582 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | 5451 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 6583 # This bug is HP SR number 8606223364. | 5452 # This bug is HP SR number 8606223364. |
| 6584 { echo "$as_me:$LINENO: checking size of int" >&5 | 5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 |
| 6585 echo $ECHO_N "checking size of int... $ECHO_C" >&6; } | 5454 $as_echo_n "checking size of int... " >&6; } |
| 6586 if test "${ac_cv_sizeof_int+set}" = set; then | 5455 if test "${ac_cv_sizeof_int+set}" = set; then : |
| 6587 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5456 $as_echo_n "(cached) " >&6 |
| 6588 else | 5457 else |
| 6589 if test "$cross_compiling" = yes; then | 5458 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int
" "$ac_includes_default"; then : |
| 6590 # Depending upon the size, compute the lo and hi bounds. | |
| 6591 cat >conftest.$ac_ext <<_ACEOF | |
| 6592 /* confdefs.h. */ | |
| 6593 _ACEOF | |
| 6594 cat confdefs.h >>conftest.$ac_ext | |
| 6595 cat >>conftest.$ac_ext <<_ACEOF | |
| 6596 /* end confdefs.h. */ | |
| 6597 $ac_includes_default | |
| 6598 typedef int ac__type_sizeof_; | |
| 6599 int | |
| 6600 main () | |
| 6601 { | |
| 6602 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]
; | |
| 6603 test_array [0] = 0 | |
| 6604 | 5459 |
| 6605 ; | |
| 6606 return 0; | |
| 6607 } | |
| 6608 _ACEOF | |
| 6609 rm -f conftest.$ac_objext | |
| 6610 if { (ac_try="$ac_compile" | |
| 6611 case "(($ac_try" in | |
| 6612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 6613 *) ac_try_echo=$ac_try;; | |
| 6614 esac | |
| 6615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 6616 (eval "$ac_compile") 2>conftest.er1 | |
| 6617 ac_status=$? | |
| 6618 grep -v '^ *+' conftest.er1 >conftest.err | |
| 6619 rm -f conftest.er1 | |
| 6620 cat conftest.err >&5 | |
| 6621 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 6622 (exit $ac_status); } && { | |
| 6623 test -z "$ac_c_werror_flag" || | |
| 6624 test ! -s conftest.err | |
| 6625 } && test -s conftest.$ac_objext; then | |
| 6626 ac_lo=0 ac_mid=0 | |
| 6627 while :; do | |
| 6628 cat >conftest.$ac_ext <<_ACEOF | |
| 6629 /* confdefs.h. */ | |
| 6630 _ACEOF | |
| 6631 cat confdefs.h >>conftest.$ac_ext | |
| 6632 cat >>conftest.$ac_ext <<_ACEOF | |
| 6633 /* end confdefs.h. */ | |
| 6634 $ac_includes_default | |
| 6635 typedef int ac__type_sizeof_; | |
| 6636 int | |
| 6637 main () | |
| 6638 { | |
| 6639 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac
_mid)]; | |
| 6640 test_array [0] = 0 | |
| 6641 | |
| 6642 ; | |
| 6643 return 0; | |
| 6644 } | |
| 6645 _ACEOF | |
| 6646 rm -f conftest.$ac_objext | |
| 6647 if { (ac_try="$ac_compile" | |
| 6648 case "(($ac_try" in | |
| 6649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 6650 *) ac_try_echo=$ac_try;; | |
| 6651 esac | |
| 6652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 6653 (eval "$ac_compile") 2>conftest.er1 | |
| 6654 ac_status=$? | |
| 6655 grep -v '^ *+' conftest.er1 >conftest.err | |
| 6656 rm -f conftest.er1 | |
| 6657 cat conftest.err >&5 | |
| 6658 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 6659 (exit $ac_status); } && { | |
| 6660 test -z "$ac_c_werror_flag" || | |
| 6661 test ! -s conftest.err | |
| 6662 } && test -s conftest.$ac_objext; then | |
| 6663 ac_hi=$ac_mid; break | |
| 6664 else | 5460 else |
| 6665 echo "$as_me: failed program was:" >&5 | 5461 if test "$ac_cv_type_int" = yes; then |
| 6666 sed 's/^/| /' conftest.$ac_ext >&5 | 5462 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 6667 | 5463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 6668 » ac_lo=`expr $ac_mid + 1` | 5464 { as_fn_set_status 77 |
| 6669 » » » if test $ac_lo -le $ac_mid; then | 5465 as_fn_error "cannot compute sizeof (int) |
| 6670 » » » ac_lo= ac_hi= | 5466 See \`config.log' for more details." "$LINENO" 5; }; } |
| 6671 » » » break | |
| 6672 » » » fi | |
| 6673 » » » ac_mid=`expr 2 '*' $ac_mid + 1` | |
| 6674 fi | |
| 6675 | |
| 6676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 6677 done | |
| 6678 else | |
| 6679 echo "$as_me: failed program was:" >&5 | |
| 6680 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 6681 | |
| 6682 » cat >conftest.$ac_ext <<_ACEOF | |
| 6683 /* confdefs.h. */ | |
| 6684 _ACEOF | |
| 6685 cat confdefs.h >>conftest.$ac_ext | |
| 6686 cat >>conftest.$ac_ext <<_ACEOF | |
| 6687 /* end confdefs.h. */ | |
| 6688 $ac_includes_default | |
| 6689 typedef int ac__type_sizeof_; | |
| 6690 int | |
| 6691 main () | |
| 6692 { | |
| 6693 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; | |
| 6694 test_array [0] = 0 | |
| 6695 | |
| 6696 ; | |
| 6697 return 0; | |
| 6698 } | |
| 6699 _ACEOF | |
| 6700 rm -f conftest.$ac_objext | |
| 6701 if { (ac_try="$ac_compile" | |
| 6702 case "(($ac_try" in | |
| 6703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 6704 *) ac_try_echo=$ac_try;; | |
| 6705 esac | |
| 6706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 6707 (eval "$ac_compile") 2>conftest.er1 | |
| 6708 ac_status=$? | |
| 6709 grep -v '^ *+' conftest.er1 >conftest.err | |
| 6710 rm -f conftest.er1 | |
| 6711 cat conftest.err >&5 | |
| 6712 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 6713 (exit $ac_status); } && { | |
| 6714 » test -z "$ac_c_werror_flag" || | |
| 6715 » test ! -s conftest.err | |
| 6716 } && test -s conftest.$ac_objext; then | |
| 6717 ac_hi=-1 ac_mid=-1 | |
| 6718 while :; do | |
| 6719 cat >conftest.$ac_ext <<_ACEOF | |
| 6720 /* confdefs.h. */ | |
| 6721 _ACEOF | |
| 6722 cat confdefs.h >>conftest.$ac_ext | |
| 6723 cat >>conftest.$ac_ext <<_ACEOF | |
| 6724 /* end confdefs.h. */ | |
| 6725 $ac_includes_default | |
| 6726 typedef int ac__type_sizeof_; | |
| 6727 int | |
| 6728 main () | |
| 6729 { | |
| 6730 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac
_mid)]; | |
| 6731 test_array [0] = 0 | |
| 6732 | |
| 6733 ; | |
| 6734 return 0; | |
| 6735 } | |
| 6736 _ACEOF | |
| 6737 rm -f conftest.$ac_objext | |
| 6738 if { (ac_try="$ac_compile" | |
| 6739 case "(($ac_try" in | |
| 6740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 6741 *) ac_try_echo=$ac_try;; | |
| 6742 esac | |
| 6743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 6744 (eval "$ac_compile") 2>conftest.er1 | |
| 6745 ac_status=$? | |
| 6746 grep -v '^ *+' conftest.er1 >conftest.err | |
| 6747 rm -f conftest.er1 | |
| 6748 cat conftest.err >&5 | |
| 6749 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 6750 (exit $ac_status); } && { | |
| 6751 » test -z "$ac_c_werror_flag" || | |
| 6752 » test ! -s conftest.err | |
| 6753 } && test -s conftest.$ac_objext; then | |
| 6754 ac_lo=$ac_mid; break | |
| 6755 else | |
| 6756 echo "$as_me: failed program was:" >&5 | |
| 6757 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 6758 | |
| 6759 » ac_hi=`expr '(' $ac_mid ')' - 1` | |
| 6760 » » » if test $ac_mid -le $ac_hi; then | |
| 6761 » » » ac_lo= ac_hi= | |
| 6762 » » » break | |
| 6763 » » » fi | |
| 6764 » » » ac_mid=`expr 2 '*' $ac_mid` | |
| 6765 fi | |
| 6766 | |
| 6767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 6768 done | |
| 6769 else | |
| 6770 echo "$as_me: failed program was:" >&5 | |
| 6771 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 6772 | |
| 6773 » ac_lo= ac_hi= | |
| 6774 fi | |
| 6775 | |
| 6776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 6777 fi | |
| 6778 | |
| 6779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 6780 # Binary search between lo and hi bounds. | |
| 6781 while test "x$ac_lo" != "x$ac_hi"; do | |
| 6782 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | |
| 6783 cat >conftest.$ac_ext <<_ACEOF | |
| 6784 /* confdefs.h. */ | |
| 6785 _ACEOF | |
| 6786 cat confdefs.h >>conftest.$ac_ext | |
| 6787 cat >>conftest.$ac_ext <<_ACEOF | |
| 6788 /* end confdefs.h. */ | |
| 6789 $ac_includes_default | |
| 6790 typedef int ac__type_sizeof_; | |
| 6791 int | |
| 6792 main () | |
| 6793 { | |
| 6794 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac
_mid)]; | |
| 6795 test_array [0] = 0 | |
| 6796 | |
| 6797 ; | |
| 6798 return 0; | |
| 6799 } | |
| 6800 _ACEOF | |
| 6801 rm -f conftest.$ac_objext | |
| 6802 if { (ac_try="$ac_compile" | |
| 6803 case "(($ac_try" in | |
| 6804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 6805 *) ac_try_echo=$ac_try;; | |
| 6806 esac | |
| 6807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 6808 (eval "$ac_compile") 2>conftest.er1 | |
| 6809 ac_status=$? | |
| 6810 grep -v '^ *+' conftest.er1 >conftest.err | |
| 6811 rm -f conftest.er1 | |
| 6812 cat conftest.err >&5 | |
| 6813 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 6814 (exit $ac_status); } && { | |
| 6815 » test -z "$ac_c_werror_flag" || | |
| 6816 » test ! -s conftest.err | |
| 6817 } && test -s conftest.$ac_objext; then | |
| 6818 ac_hi=$ac_mid | |
| 6819 else | |
| 6820 echo "$as_me: failed program was:" >&5 | |
| 6821 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 6822 | |
| 6823 » ac_lo=`expr '(' $ac_mid ')' + 1` | |
| 6824 fi | |
| 6825 | |
| 6826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 6827 done | |
| 6828 case $ac_lo in | |
| 6829 ?*) ac_cv_sizeof_int=$ac_lo;; | |
| 6830 '') if test "$ac_cv_type_int" = yes; then | |
| 6831 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) | |
| 6832 See \`config.log' for more details." >&5 | |
| 6833 echo "$as_me: error: cannot compute sizeof (int) | |
| 6834 See \`config.log' for more details." >&2;} | |
| 6835 { (exit 77); exit 77; }; } | |
| 6836 else | |
| 6837 ac_cv_sizeof_int=0 | |
| 6838 fi ;; | |
| 6839 esac | |
| 6840 else | |
| 6841 cat >conftest.$ac_ext <<_ACEOF | |
| 6842 /* confdefs.h. */ | |
| 6843 _ACEOF | |
| 6844 cat confdefs.h >>conftest.$ac_ext | |
| 6845 cat >>conftest.$ac_ext <<_ACEOF | |
| 6846 /* end confdefs.h. */ | |
| 6847 $ac_includes_default | |
| 6848 typedef int ac__type_sizeof_; | |
| 6849 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } | |
| 6850 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeo
f_)); } | |
| 6851 #include <stdio.h> | |
| 6852 #include <stdlib.h> | |
| 6853 int | |
| 6854 main () | |
| 6855 { | |
| 6856 | |
| 6857 FILE *f = fopen ("conftest.val", "w"); | |
| 6858 if (! f) | |
| 6859 return 1; | |
| 6860 if (((long int) (sizeof (ac__type_sizeof_))) < 0) | |
| 6861 { | |
| 6862 long int i = longval (); | |
| 6863 if (i != ((long int) (sizeof (ac__type_sizeof_)))) | |
| 6864 » return 1; | |
| 6865 fprintf (f, "%ld\n", i); | |
| 6866 } | |
| 6867 else | |
| 6868 { | |
| 6869 unsigned long int i = ulongval (); | |
| 6870 if (i != ((long int) (sizeof (ac__type_sizeof_)))) | |
| 6871 » return 1; | |
| 6872 fprintf (f, "%lu\n", i); | |
| 6873 } | |
| 6874 return ferror (f) || fclose (f) != 0; | |
| 6875 | |
| 6876 ; | |
| 6877 return 0; | |
| 6878 } | |
| 6879 _ACEOF | |
| 6880 rm -f conftest$ac_exeext | |
| 6881 if { (ac_try="$ac_link" | |
| 6882 case "(($ac_try" in | |
| 6883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 6884 *) ac_try_echo=$ac_try;; | |
| 6885 esac | |
| 6886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 6887 (eval "$ac_link") 2>&5 | |
| 6888 ac_status=$? | |
| 6889 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 6890 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
| 6891 { (case "(($ac_try" in | |
| 6892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 6893 *) ac_try_echo=$ac_try;; | |
| 6894 esac | |
| 6895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 6896 (eval "$ac_try") 2>&5 | |
| 6897 ac_status=$? | |
| 6898 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 6899 (exit $ac_status); }; }; then | |
| 6900 ac_cv_sizeof_int=`cat conftest.val` | |
| 6901 else | |
| 6902 echo "$as_me: program exited with status $ac_status" >&5 | |
| 6903 echo "$as_me: failed program was:" >&5 | |
| 6904 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 6905 | |
| 6906 ( exit $ac_status ) | |
| 6907 if test "$ac_cv_type_int" = yes; then | |
| 6908 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) | |
| 6909 See \`config.log' for more details." >&5 | |
| 6910 echo "$as_me: error: cannot compute sizeof (int) | |
| 6911 See \`config.log' for more details." >&2;} | |
| 6912 { (exit 77); exit 77; }; } | |
| 6913 else | 5467 else |
| 6914 ac_cv_sizeof_int=0 | 5468 ac_cv_sizeof_int=0 |
| 6915 fi | 5469 fi |
| 6916 fi | 5470 fi |
| 6917 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$a
c_objext conftest.$ac_ext | 5471 |
| 6918 fi | 5472 fi |
| 6919 rm -f conftest.val | 5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 |
| 6920 fi | 5474 $as_echo "$ac_cv_sizeof_int" >&6; } |
| 6921 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 | |
| 6922 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; } | |
| 6923 | 5475 |
| 6924 | 5476 |
| 6925 | 5477 |
| 6926 cat >>confdefs.h <<_ACEOF | 5478 cat >>confdefs.h <<_ACEOF |
| 6927 #define SIZEOF_INT $ac_cv_sizeof_int | 5479 #define SIZEOF_INT $ac_cv_sizeof_int |
| 6928 _ACEOF | 5480 _ACEOF |
| 6929 | 5481 |
| 6930 | 5482 |
| 6931 { echo "$as_me:$LINENO: checking for long" >&5 | 5483 # The cast to long int works around a bug in the HP C Compiler |
| 6932 echo $ECHO_N "checking for long... $ECHO_C" >&6; } | |
| 6933 if test "${ac_cv_type_long+set}" = set; then | |
| 6934 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 6935 else | |
| 6936 cat >conftest.$ac_ext <<_ACEOF | |
| 6937 /* confdefs.h. */ | |
| 6938 _ACEOF | |
| 6939 cat confdefs.h >>conftest.$ac_ext | |
| 6940 cat >>conftest.$ac_ext <<_ACEOF | |
| 6941 /* end confdefs.h. */ | |
| 6942 $ac_includes_default | |
| 6943 typedef long ac__type_new_; | |
| 6944 int | |
| 6945 main () | |
| 6946 { | |
| 6947 if ((ac__type_new_ *) 0) | |
| 6948 return 0; | |
| 6949 if (sizeof (ac__type_new_)) | |
| 6950 return 0; | |
| 6951 ; | |
| 6952 return 0; | |
| 6953 } | |
| 6954 _ACEOF | |
| 6955 rm -f conftest.$ac_objext | |
| 6956 if { (ac_try="$ac_compile" | |
| 6957 case "(($ac_try" in | |
| 6958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 6959 *) ac_try_echo=$ac_try;; | |
| 6960 esac | |
| 6961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 6962 (eval "$ac_compile") 2>conftest.er1 | |
| 6963 ac_status=$? | |
| 6964 grep -v '^ *+' conftest.er1 >conftest.err | |
| 6965 rm -f conftest.er1 | |
| 6966 cat conftest.err >&5 | |
| 6967 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 6968 (exit $ac_status); } && { | |
| 6969 » test -z "$ac_c_werror_flag" || | |
| 6970 » test ! -s conftest.err | |
| 6971 } && test -s conftest.$ac_objext; then | |
| 6972 ac_cv_type_long=yes | |
| 6973 else | |
| 6974 echo "$as_me: failed program was:" >&5 | |
| 6975 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 6976 | |
| 6977 » ac_cv_type_long=no | |
| 6978 fi | |
| 6979 | |
| 6980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 6981 fi | |
| 6982 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5 | |
| 6983 echo "${ECHO_T}$ac_cv_type_long" >&6; } | |
| 6984 | |
| 6985 # The cast to long int works around a bug in the HP C Compiler | |
| 6986 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | 5484 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 6987 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | 5485 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 6988 # This bug is HP SR number 8606223364. | 5486 # This bug is HP SR number 8606223364. |
| 6989 { echo "$as_me:$LINENO: checking size of long" >&5 | 5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 |
| 6990 echo $ECHO_N "checking size of long... $ECHO_C" >&6; } | 5488 $as_echo_n "checking size of long... " >&6; } |
| 6991 if test "${ac_cv_sizeof_long+set}" = set; then | 5489 if test "${ac_cv_sizeof_long+set}" = set; then : |
| 6992 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5490 $as_echo_n "(cached) " >&6 |
| 6993 else | 5491 else |
| 6994 if test "$cross_compiling" = yes; then | 5492 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_lo
ng" "$ac_includes_default"; then : |
| 6995 # Depending upon the size, compute the lo and hi bounds. | |
| 6996 cat >conftest.$ac_ext <<_ACEOF | |
| 6997 /* confdefs.h. */ | |
| 6998 _ACEOF | |
| 6999 cat confdefs.h >>conftest.$ac_ext | |
| 7000 cat >>conftest.$ac_ext <<_ACEOF | |
| 7001 /* end confdefs.h. */ | |
| 7002 $ac_includes_default | |
| 7003 typedef long ac__type_sizeof_; | |
| 7004 int | |
| 7005 main () | |
| 7006 { | |
| 7007 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]
; | |
| 7008 test_array [0] = 0 | |
| 7009 | 5493 |
| 7010 ; | |
| 7011 return 0; | |
| 7012 } | |
| 7013 _ACEOF | |
| 7014 rm -f conftest.$ac_objext | |
| 7015 if { (ac_try="$ac_compile" | |
| 7016 case "(($ac_try" in | |
| 7017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 7018 *) ac_try_echo=$ac_try;; | |
| 7019 esac | |
| 7020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 7021 (eval "$ac_compile") 2>conftest.er1 | |
| 7022 ac_status=$? | |
| 7023 grep -v '^ *+' conftest.er1 >conftest.err | |
| 7024 rm -f conftest.er1 | |
| 7025 cat conftest.err >&5 | |
| 7026 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 7027 (exit $ac_status); } && { | |
| 7028 test -z "$ac_c_werror_flag" || | |
| 7029 test ! -s conftest.err | |
| 7030 } && test -s conftest.$ac_objext; then | |
| 7031 ac_lo=0 ac_mid=0 | |
| 7032 while :; do | |
| 7033 cat >conftest.$ac_ext <<_ACEOF | |
| 7034 /* confdefs.h. */ | |
| 7035 _ACEOF | |
| 7036 cat confdefs.h >>conftest.$ac_ext | |
| 7037 cat >>conftest.$ac_ext <<_ACEOF | |
| 7038 /* end confdefs.h. */ | |
| 7039 $ac_includes_default | |
| 7040 typedef long ac__type_sizeof_; | |
| 7041 int | |
| 7042 main () | |
| 7043 { | |
| 7044 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac
_mid)]; | |
| 7045 test_array [0] = 0 | |
| 7046 | |
| 7047 ; | |
| 7048 return 0; | |
| 7049 } | |
| 7050 _ACEOF | |
| 7051 rm -f conftest.$ac_objext | |
| 7052 if { (ac_try="$ac_compile" | |
| 7053 case "(($ac_try" in | |
| 7054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 7055 *) ac_try_echo=$ac_try;; | |
| 7056 esac | |
| 7057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 7058 (eval "$ac_compile") 2>conftest.er1 | |
| 7059 ac_status=$? | |
| 7060 grep -v '^ *+' conftest.er1 >conftest.err | |
| 7061 rm -f conftest.er1 | |
| 7062 cat conftest.err >&5 | |
| 7063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 7064 (exit $ac_status); } && { | |
| 7065 test -z "$ac_c_werror_flag" || | |
| 7066 test ! -s conftest.err | |
| 7067 } && test -s conftest.$ac_objext; then | |
| 7068 ac_hi=$ac_mid; break | |
| 7069 else | 5494 else |
| 7070 echo "$as_me: failed program was:" >&5 | 5495 if test "$ac_cv_type_long" = yes; then |
| 7071 sed 's/^/| /' conftest.$ac_ext >&5 | 5496 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 7072 | 5497 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 7073 » ac_lo=`expr $ac_mid + 1` | 5498 { as_fn_set_status 77 |
| 7074 » » » if test $ac_lo -le $ac_mid; then | 5499 as_fn_error "cannot compute sizeof (long) |
| 7075 » » » ac_lo= ac_hi= | 5500 See \`config.log' for more details." "$LINENO" 5; }; } |
| 7076 » » » break | |
| 7077 » » » fi | |
| 7078 » » » ac_mid=`expr 2 '*' $ac_mid + 1` | |
| 7079 fi | |
| 7080 | |
| 7081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 7082 done | |
| 7083 else | |
| 7084 echo "$as_me: failed program was:" >&5 | |
| 7085 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 7086 | |
| 7087 » cat >conftest.$ac_ext <<_ACEOF | |
| 7088 /* confdefs.h. */ | |
| 7089 _ACEOF | |
| 7090 cat confdefs.h >>conftest.$ac_ext | |
| 7091 cat >>conftest.$ac_ext <<_ACEOF | |
| 7092 /* end confdefs.h. */ | |
| 7093 $ac_includes_default | |
| 7094 typedef long ac__type_sizeof_; | |
| 7095 int | |
| 7096 main () | |
| 7097 { | |
| 7098 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; | |
| 7099 test_array [0] = 0 | |
| 7100 | |
| 7101 ; | |
| 7102 return 0; | |
| 7103 } | |
| 7104 _ACEOF | |
| 7105 rm -f conftest.$ac_objext | |
| 7106 if { (ac_try="$ac_compile" | |
| 7107 case "(($ac_try" in | |
| 7108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 7109 *) ac_try_echo=$ac_try;; | |
| 7110 esac | |
| 7111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 7112 (eval "$ac_compile") 2>conftest.er1 | |
| 7113 ac_status=$? | |
| 7114 grep -v '^ *+' conftest.er1 >conftest.err | |
| 7115 rm -f conftest.er1 | |
| 7116 cat conftest.err >&5 | |
| 7117 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 7118 (exit $ac_status); } && { | |
| 7119 » test -z "$ac_c_werror_flag" || | |
| 7120 » test ! -s conftest.err | |
| 7121 } && test -s conftest.$ac_objext; then | |
| 7122 ac_hi=-1 ac_mid=-1 | |
| 7123 while :; do | |
| 7124 cat >conftest.$ac_ext <<_ACEOF | |
| 7125 /* confdefs.h. */ | |
| 7126 _ACEOF | |
| 7127 cat confdefs.h >>conftest.$ac_ext | |
| 7128 cat >>conftest.$ac_ext <<_ACEOF | |
| 7129 /* end confdefs.h. */ | |
| 7130 $ac_includes_default | |
| 7131 typedef long ac__type_sizeof_; | |
| 7132 int | |
| 7133 main () | |
| 7134 { | |
| 7135 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac
_mid)]; | |
| 7136 test_array [0] = 0 | |
| 7137 | |
| 7138 ; | |
| 7139 return 0; | |
| 7140 } | |
| 7141 _ACEOF | |
| 7142 rm -f conftest.$ac_objext | |
| 7143 if { (ac_try="$ac_compile" | |
| 7144 case "(($ac_try" in | |
| 7145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 7146 *) ac_try_echo=$ac_try;; | |
| 7147 esac | |
| 7148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 7149 (eval "$ac_compile") 2>conftest.er1 | |
| 7150 ac_status=$? | |
| 7151 grep -v '^ *+' conftest.er1 >conftest.err | |
| 7152 rm -f conftest.er1 | |
| 7153 cat conftest.err >&5 | |
| 7154 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 7155 (exit $ac_status); } && { | |
| 7156 » test -z "$ac_c_werror_flag" || | |
| 7157 » test ! -s conftest.err | |
| 7158 } && test -s conftest.$ac_objext; then | |
| 7159 ac_lo=$ac_mid; break | |
| 7160 else | |
| 7161 echo "$as_me: failed program was:" >&5 | |
| 7162 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 7163 | |
| 7164 » ac_hi=`expr '(' $ac_mid ')' - 1` | |
| 7165 » » » if test $ac_mid -le $ac_hi; then | |
| 7166 » » » ac_lo= ac_hi= | |
| 7167 » » » break | |
| 7168 » » » fi | |
| 7169 » » » ac_mid=`expr 2 '*' $ac_mid` | |
| 7170 fi | |
| 7171 | |
| 7172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 7173 done | |
| 7174 else | |
| 7175 echo "$as_me: failed program was:" >&5 | |
| 7176 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 7177 | |
| 7178 » ac_lo= ac_hi= | |
| 7179 fi | |
| 7180 | |
| 7181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 7182 fi | |
| 7183 | |
| 7184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 7185 # Binary search between lo and hi bounds. | |
| 7186 while test "x$ac_lo" != "x$ac_hi"; do | |
| 7187 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | |
| 7188 cat >conftest.$ac_ext <<_ACEOF | |
| 7189 /* confdefs.h. */ | |
| 7190 _ACEOF | |
| 7191 cat confdefs.h >>conftest.$ac_ext | |
| 7192 cat >>conftest.$ac_ext <<_ACEOF | |
| 7193 /* end confdefs.h. */ | |
| 7194 $ac_includes_default | |
| 7195 typedef long ac__type_sizeof_; | |
| 7196 int | |
| 7197 main () | |
| 7198 { | |
| 7199 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac
_mid)]; | |
| 7200 test_array [0] = 0 | |
| 7201 | |
| 7202 ; | |
| 7203 return 0; | |
| 7204 } | |
| 7205 _ACEOF | |
| 7206 rm -f conftest.$ac_objext | |
| 7207 if { (ac_try="$ac_compile" | |
| 7208 case "(($ac_try" in | |
| 7209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 7210 *) ac_try_echo=$ac_try;; | |
| 7211 esac | |
| 7212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 7213 (eval "$ac_compile") 2>conftest.er1 | |
| 7214 ac_status=$? | |
| 7215 grep -v '^ *+' conftest.er1 >conftest.err | |
| 7216 rm -f conftest.er1 | |
| 7217 cat conftest.err >&5 | |
| 7218 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 7219 (exit $ac_status); } && { | |
| 7220 » test -z "$ac_c_werror_flag" || | |
| 7221 » test ! -s conftest.err | |
| 7222 } && test -s conftest.$ac_objext; then | |
| 7223 ac_hi=$ac_mid | |
| 7224 else | |
| 7225 echo "$as_me: failed program was:" >&5 | |
| 7226 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 7227 | |
| 7228 » ac_lo=`expr '(' $ac_mid ')' + 1` | |
| 7229 fi | |
| 7230 | |
| 7231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 7232 done | |
| 7233 case $ac_lo in | |
| 7234 ?*) ac_cv_sizeof_long=$ac_lo;; | |
| 7235 '') if test "$ac_cv_type_long" = yes; then | |
| 7236 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) | |
| 7237 See \`config.log' for more details." >&5 | |
| 7238 echo "$as_me: error: cannot compute sizeof (long) | |
| 7239 See \`config.log' for more details." >&2;} | |
| 7240 { (exit 77); exit 77; }; } | |
| 7241 else | |
| 7242 ac_cv_sizeof_long=0 | |
| 7243 fi ;; | |
| 7244 esac | |
| 7245 else | |
| 7246 cat >conftest.$ac_ext <<_ACEOF | |
| 7247 /* confdefs.h. */ | |
| 7248 _ACEOF | |
| 7249 cat confdefs.h >>conftest.$ac_ext | |
| 7250 cat >>conftest.$ac_ext <<_ACEOF | |
| 7251 /* end confdefs.h. */ | |
| 7252 $ac_includes_default | |
| 7253 typedef long ac__type_sizeof_; | |
| 7254 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } | |
| 7255 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeo
f_)); } | |
| 7256 #include <stdio.h> | |
| 7257 #include <stdlib.h> | |
| 7258 int | |
| 7259 main () | |
| 7260 { | |
| 7261 | |
| 7262 FILE *f = fopen ("conftest.val", "w"); | |
| 7263 if (! f) | |
| 7264 return 1; | |
| 7265 if (((long int) (sizeof (ac__type_sizeof_))) < 0) | |
| 7266 { | |
| 7267 long int i = longval (); | |
| 7268 if (i != ((long int) (sizeof (ac__type_sizeof_)))) | |
| 7269 » return 1; | |
| 7270 fprintf (f, "%ld\n", i); | |
| 7271 } | |
| 7272 else | |
| 7273 { | |
| 7274 unsigned long int i = ulongval (); | |
| 7275 if (i != ((long int) (sizeof (ac__type_sizeof_)))) | |
| 7276 » return 1; | |
| 7277 fprintf (f, "%lu\n", i); | |
| 7278 } | |
| 7279 return ferror (f) || fclose (f) != 0; | |
| 7280 | |
| 7281 ; | |
| 7282 return 0; | |
| 7283 } | |
| 7284 _ACEOF | |
| 7285 rm -f conftest$ac_exeext | |
| 7286 if { (ac_try="$ac_link" | |
| 7287 case "(($ac_try" in | |
| 7288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 7289 *) ac_try_echo=$ac_try;; | |
| 7290 esac | |
| 7291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 7292 (eval "$ac_link") 2>&5 | |
| 7293 ac_status=$? | |
| 7294 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 7295 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
| 7296 { (case "(($ac_try" in | |
| 7297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 7298 *) ac_try_echo=$ac_try;; | |
| 7299 esac | |
| 7300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 7301 (eval "$ac_try") 2>&5 | |
| 7302 ac_status=$? | |
| 7303 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 7304 (exit $ac_status); }; }; then | |
| 7305 ac_cv_sizeof_long=`cat conftest.val` | |
| 7306 else | |
| 7307 echo "$as_me: program exited with status $ac_status" >&5 | |
| 7308 echo "$as_me: failed program was:" >&5 | |
| 7309 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 7310 | |
| 7311 ( exit $ac_status ) | |
| 7312 if test "$ac_cv_type_long" = yes; then | |
| 7313 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) | |
| 7314 See \`config.log' for more details." >&5 | |
| 7315 echo "$as_me: error: cannot compute sizeof (long) | |
| 7316 See \`config.log' for more details." >&2;} | |
| 7317 { (exit 77); exit 77; }; } | |
| 7318 else | 5501 else |
| 7319 ac_cv_sizeof_long=0 | 5502 ac_cv_sizeof_long=0 |
| 7320 fi | 5503 fi |
| 7321 fi | 5504 fi |
| 7322 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$a
c_objext conftest.$ac_ext | 5505 |
| 7323 fi | 5506 fi |
| 7324 rm -f conftest.val | 5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 |
| 7325 fi | 5508 $as_echo "$ac_cv_sizeof_long" >&6; } |
| 7326 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 | |
| 7327 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; } | |
| 7328 | 5509 |
| 7329 | 5510 |
| 7330 | 5511 |
| 7331 cat >>confdefs.h <<_ACEOF | 5512 cat >>confdefs.h <<_ACEOF |
| 7332 #define SIZEOF_LONG $ac_cv_sizeof_long | 5513 #define SIZEOF_LONG $ac_cv_sizeof_long |
| 7333 _ACEOF | 5514 _ACEOF |
| 7334 | 5515 |
| 7335 | 5516 |
| 7336 { echo "$as_me:$LINENO: checking for void*" >&5 | 5517 # The cast to long int works around a bug in the HP C Compiler |
| 7337 echo $ECHO_N "checking for void*... $ECHO_C" >&6; } | |
| 7338 if test "${ac_cv_type_voidp+set}" = set; then | |
| 7339 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 7340 else | |
| 7341 cat >conftest.$ac_ext <<_ACEOF | |
| 7342 /* confdefs.h. */ | |
| 7343 _ACEOF | |
| 7344 cat confdefs.h >>conftest.$ac_ext | |
| 7345 cat >>conftest.$ac_ext <<_ACEOF | |
| 7346 /* end confdefs.h. */ | |
| 7347 $ac_includes_default | |
| 7348 typedef void* ac__type_new_; | |
| 7349 int | |
| 7350 main () | |
| 7351 { | |
| 7352 if ((ac__type_new_ *) 0) | |
| 7353 return 0; | |
| 7354 if (sizeof (ac__type_new_)) | |
| 7355 return 0; | |
| 7356 ; | |
| 7357 return 0; | |
| 7358 } | |
| 7359 _ACEOF | |
| 7360 rm -f conftest.$ac_objext | |
| 7361 if { (ac_try="$ac_compile" | |
| 7362 case "(($ac_try" in | |
| 7363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 7364 *) ac_try_echo=$ac_try;; | |
| 7365 esac | |
| 7366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 7367 (eval "$ac_compile") 2>conftest.er1 | |
| 7368 ac_status=$? | |
| 7369 grep -v '^ *+' conftest.er1 >conftest.err | |
| 7370 rm -f conftest.er1 | |
| 7371 cat conftest.err >&5 | |
| 7372 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 7373 (exit $ac_status); } && { | |
| 7374 » test -z "$ac_c_werror_flag" || | |
| 7375 » test ! -s conftest.err | |
| 7376 } && test -s conftest.$ac_objext; then | |
| 7377 ac_cv_type_voidp=yes | |
| 7378 else | |
| 7379 echo "$as_me: failed program was:" >&5 | |
| 7380 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 7381 | |
| 7382 » ac_cv_type_voidp=no | |
| 7383 fi | |
| 7384 | |
| 7385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 7386 fi | |
| 7387 { echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5 | |
| 7388 echo "${ECHO_T}$ac_cv_type_voidp" >&6; } | |
| 7389 | |
| 7390 # The cast to long int works around a bug in the HP C Compiler | |
| 7391 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | 5518 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 7392 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | 5519 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 7393 # This bug is HP SR number 8606223364. | 5520 # This bug is HP SR number 8606223364. |
| 7394 { echo "$as_me:$LINENO: checking size of void*" >&5 | 5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5 |
| 7395 echo $ECHO_N "checking size of void*... $ECHO_C" >&6; } | 5522 $as_echo_n "checking size of void*... " >&6; } |
| 7396 if test "${ac_cv_sizeof_voidp+set}" = set; then | 5523 if test "${ac_cv_sizeof_voidp+set}" = set; then : |
| 7397 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5524 $as_echo_n "(cached) " >&6 |
| 7398 else | 5525 else |
| 7399 if test "$cross_compiling" = yes; then | 5526 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_v
oidp" "$ac_includes_default"; then : |
| 7400 # Depending upon the size, compute the lo and hi bounds. | |
| 7401 cat >conftest.$ac_ext <<_ACEOF | |
| 7402 /* confdefs.h. */ | |
| 7403 _ACEOF | |
| 7404 cat confdefs.h >>conftest.$ac_ext | |
| 7405 cat >>conftest.$ac_ext <<_ACEOF | |
| 7406 /* end confdefs.h. */ | |
| 7407 $ac_includes_default | |
| 7408 typedef void* ac__type_sizeof_; | |
| 7409 int | |
| 7410 main () | |
| 7411 { | |
| 7412 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]
; | |
| 7413 test_array [0] = 0 | |
| 7414 | 5527 |
| 7415 ; | |
| 7416 return 0; | |
| 7417 } | |
| 7418 _ACEOF | |
| 7419 rm -f conftest.$ac_objext | |
| 7420 if { (ac_try="$ac_compile" | |
| 7421 case "(($ac_try" in | |
| 7422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 7423 *) ac_try_echo=$ac_try;; | |
| 7424 esac | |
| 7425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 7426 (eval "$ac_compile") 2>conftest.er1 | |
| 7427 ac_status=$? | |
| 7428 grep -v '^ *+' conftest.er1 >conftest.err | |
| 7429 rm -f conftest.er1 | |
| 7430 cat conftest.err >&5 | |
| 7431 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 7432 (exit $ac_status); } && { | |
| 7433 test -z "$ac_c_werror_flag" || | |
| 7434 test ! -s conftest.err | |
| 7435 } && test -s conftest.$ac_objext; then | |
| 7436 ac_lo=0 ac_mid=0 | |
| 7437 while :; do | |
| 7438 cat >conftest.$ac_ext <<_ACEOF | |
| 7439 /* confdefs.h. */ | |
| 7440 _ACEOF | |
| 7441 cat confdefs.h >>conftest.$ac_ext | |
| 7442 cat >>conftest.$ac_ext <<_ACEOF | |
| 7443 /* end confdefs.h. */ | |
| 7444 $ac_includes_default | |
| 7445 typedef void* ac__type_sizeof_; | |
| 7446 int | |
| 7447 main () | |
| 7448 { | |
| 7449 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac
_mid)]; | |
| 7450 test_array [0] = 0 | |
| 7451 | |
| 7452 ; | |
| 7453 return 0; | |
| 7454 } | |
| 7455 _ACEOF | |
| 7456 rm -f conftest.$ac_objext | |
| 7457 if { (ac_try="$ac_compile" | |
| 7458 case "(($ac_try" in | |
| 7459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 7460 *) ac_try_echo=$ac_try;; | |
| 7461 esac | |
| 7462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 7463 (eval "$ac_compile") 2>conftest.er1 | |
| 7464 ac_status=$? | |
| 7465 grep -v '^ *+' conftest.er1 >conftest.err | |
| 7466 rm -f conftest.er1 | |
| 7467 cat conftest.err >&5 | |
| 7468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 7469 (exit $ac_status); } && { | |
| 7470 test -z "$ac_c_werror_flag" || | |
| 7471 test ! -s conftest.err | |
| 7472 } && test -s conftest.$ac_objext; then | |
| 7473 ac_hi=$ac_mid; break | |
| 7474 else | 5528 else |
| 7475 echo "$as_me: failed program was:" >&5 | 5529 if test "$ac_cv_type_voidp" = yes; then |
| 7476 sed 's/^/| /' conftest.$ac_ext >&5 | 5530 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 7477 | 5531 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 7478 » ac_lo=`expr $ac_mid + 1` | 5532 { as_fn_set_status 77 |
| 7479 » » » if test $ac_lo -le $ac_mid; then | 5533 as_fn_error "cannot compute sizeof (void*) |
| 7480 » » » ac_lo= ac_hi= | 5534 See \`config.log' for more details." "$LINENO" 5; }; } |
| 7481 » » » break | |
| 7482 » » » fi | |
| 7483 » » » ac_mid=`expr 2 '*' $ac_mid + 1` | |
| 7484 fi | |
| 7485 | |
| 7486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 7487 done | |
| 7488 else | |
| 7489 echo "$as_me: failed program was:" >&5 | |
| 7490 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 7491 | |
| 7492 » cat >conftest.$ac_ext <<_ACEOF | |
| 7493 /* confdefs.h. */ | |
| 7494 _ACEOF | |
| 7495 cat confdefs.h >>conftest.$ac_ext | |
| 7496 cat >>conftest.$ac_ext <<_ACEOF | |
| 7497 /* end confdefs.h. */ | |
| 7498 $ac_includes_default | |
| 7499 typedef void* ac__type_sizeof_; | |
| 7500 int | |
| 7501 main () | |
| 7502 { | |
| 7503 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; | |
| 7504 test_array [0] = 0 | |
| 7505 | |
| 7506 ; | |
| 7507 return 0; | |
| 7508 } | |
| 7509 _ACEOF | |
| 7510 rm -f conftest.$ac_objext | |
| 7511 if { (ac_try="$ac_compile" | |
| 7512 case "(($ac_try" in | |
| 7513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 7514 *) ac_try_echo=$ac_try;; | |
| 7515 esac | |
| 7516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 7517 (eval "$ac_compile") 2>conftest.er1 | |
| 7518 ac_status=$? | |
| 7519 grep -v '^ *+' conftest.er1 >conftest.err | |
| 7520 rm -f conftest.er1 | |
| 7521 cat conftest.err >&5 | |
| 7522 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 7523 (exit $ac_status); } && { | |
| 7524 » test -z "$ac_c_werror_flag" || | |
| 7525 » test ! -s conftest.err | |
| 7526 } && test -s conftest.$ac_objext; then | |
| 7527 ac_hi=-1 ac_mid=-1 | |
| 7528 while :; do | |
| 7529 cat >conftest.$ac_ext <<_ACEOF | |
| 7530 /* confdefs.h. */ | |
| 7531 _ACEOF | |
| 7532 cat confdefs.h >>conftest.$ac_ext | |
| 7533 cat >>conftest.$ac_ext <<_ACEOF | |
| 7534 /* end confdefs.h. */ | |
| 7535 $ac_includes_default | |
| 7536 typedef void* ac__type_sizeof_; | |
| 7537 int | |
| 7538 main () | |
| 7539 { | |
| 7540 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac
_mid)]; | |
| 7541 test_array [0] = 0 | |
| 7542 | |
| 7543 ; | |
| 7544 return 0; | |
| 7545 } | |
| 7546 _ACEOF | |
| 7547 rm -f conftest.$ac_objext | |
| 7548 if { (ac_try="$ac_compile" | |
| 7549 case "(($ac_try" in | |
| 7550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 7551 *) ac_try_echo=$ac_try;; | |
| 7552 esac | |
| 7553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 7554 (eval "$ac_compile") 2>conftest.er1 | |
| 7555 ac_status=$? | |
| 7556 grep -v '^ *+' conftest.er1 >conftest.err | |
| 7557 rm -f conftest.er1 | |
| 7558 cat conftest.err >&5 | |
| 7559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 7560 (exit $ac_status); } && { | |
| 7561 » test -z "$ac_c_werror_flag" || | |
| 7562 » test ! -s conftest.err | |
| 7563 } && test -s conftest.$ac_objext; then | |
| 7564 ac_lo=$ac_mid; break | |
| 7565 else | |
| 7566 echo "$as_me: failed program was:" >&5 | |
| 7567 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 7568 | |
| 7569 » ac_hi=`expr '(' $ac_mid ')' - 1` | |
| 7570 » » » if test $ac_mid -le $ac_hi; then | |
| 7571 » » » ac_lo= ac_hi= | |
| 7572 » » » break | |
| 7573 » » » fi | |
| 7574 » » » ac_mid=`expr 2 '*' $ac_mid` | |
| 7575 fi | |
| 7576 | |
| 7577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 7578 done | |
| 7579 else | |
| 7580 echo "$as_me: failed program was:" >&5 | |
| 7581 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 7582 | |
| 7583 » ac_lo= ac_hi= | |
| 7584 fi | |
| 7585 | |
| 7586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 7587 fi | |
| 7588 | |
| 7589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 7590 # Binary search between lo and hi bounds. | |
| 7591 while test "x$ac_lo" != "x$ac_hi"; do | |
| 7592 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | |
| 7593 cat >conftest.$ac_ext <<_ACEOF | |
| 7594 /* confdefs.h. */ | |
| 7595 _ACEOF | |
| 7596 cat confdefs.h >>conftest.$ac_ext | |
| 7597 cat >>conftest.$ac_ext <<_ACEOF | |
| 7598 /* end confdefs.h. */ | |
| 7599 $ac_includes_default | |
| 7600 typedef void* ac__type_sizeof_; | |
| 7601 int | |
| 7602 main () | |
| 7603 { | |
| 7604 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac
_mid)]; | |
| 7605 test_array [0] = 0 | |
| 7606 | |
| 7607 ; | |
| 7608 return 0; | |
| 7609 } | |
| 7610 _ACEOF | |
| 7611 rm -f conftest.$ac_objext | |
| 7612 if { (ac_try="$ac_compile" | |
| 7613 case "(($ac_try" in | |
| 7614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 7615 *) ac_try_echo=$ac_try;; | |
| 7616 esac | |
| 7617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 7618 (eval "$ac_compile") 2>conftest.er1 | |
| 7619 ac_status=$? | |
| 7620 grep -v '^ *+' conftest.er1 >conftest.err | |
| 7621 rm -f conftest.er1 | |
| 7622 cat conftest.err >&5 | |
| 7623 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 7624 (exit $ac_status); } && { | |
| 7625 » test -z "$ac_c_werror_flag" || | |
| 7626 » test ! -s conftest.err | |
| 7627 } && test -s conftest.$ac_objext; then | |
| 7628 ac_hi=$ac_mid | |
| 7629 else | |
| 7630 echo "$as_me: failed program was:" >&5 | |
| 7631 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 7632 | |
| 7633 » ac_lo=`expr '(' $ac_mid ')' + 1` | |
| 7634 fi | |
| 7635 | |
| 7636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 7637 done | |
| 7638 case $ac_lo in | |
| 7639 ?*) ac_cv_sizeof_voidp=$ac_lo;; | |
| 7640 '') if test "$ac_cv_type_voidp" = yes; then | |
| 7641 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*) | |
| 7642 See \`config.log' for more details." >&5 | |
| 7643 echo "$as_me: error: cannot compute sizeof (void*) | |
| 7644 See \`config.log' for more details." >&2;} | |
| 7645 { (exit 77); exit 77; }; } | |
| 7646 else | |
| 7647 ac_cv_sizeof_voidp=0 | |
| 7648 fi ;; | |
| 7649 esac | |
| 7650 else | |
| 7651 cat >conftest.$ac_ext <<_ACEOF | |
| 7652 /* confdefs.h. */ | |
| 7653 _ACEOF | |
| 7654 cat confdefs.h >>conftest.$ac_ext | |
| 7655 cat >>conftest.$ac_ext <<_ACEOF | |
| 7656 /* end confdefs.h. */ | |
| 7657 $ac_includes_default | |
| 7658 typedef void* ac__type_sizeof_; | |
| 7659 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } | |
| 7660 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeo
f_)); } | |
| 7661 #include <stdio.h> | |
| 7662 #include <stdlib.h> | |
| 7663 int | |
| 7664 main () | |
| 7665 { | |
| 7666 | |
| 7667 FILE *f = fopen ("conftest.val", "w"); | |
| 7668 if (! f) | |
| 7669 return 1; | |
| 7670 if (((long int) (sizeof (ac__type_sizeof_))) < 0) | |
| 7671 { | |
| 7672 long int i = longval (); | |
| 7673 if (i != ((long int) (sizeof (ac__type_sizeof_)))) | |
| 7674 » return 1; | |
| 7675 fprintf (f, "%ld\n", i); | |
| 7676 } | |
| 7677 else | |
| 7678 { | |
| 7679 unsigned long int i = ulongval (); | |
| 7680 if (i != ((long int) (sizeof (ac__type_sizeof_)))) | |
| 7681 » return 1; | |
| 7682 fprintf (f, "%lu\n", i); | |
| 7683 } | |
| 7684 return ferror (f) || fclose (f) != 0; | |
| 7685 | |
| 7686 ; | |
| 7687 return 0; | |
| 7688 } | |
| 7689 _ACEOF | |
| 7690 rm -f conftest$ac_exeext | |
| 7691 if { (ac_try="$ac_link" | |
| 7692 case "(($ac_try" in | |
| 7693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 7694 *) ac_try_echo=$ac_try;; | |
| 7695 esac | |
| 7696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 7697 (eval "$ac_link") 2>&5 | |
| 7698 ac_status=$? | |
| 7699 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 7700 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
| 7701 { (case "(($ac_try" in | |
| 7702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 7703 *) ac_try_echo=$ac_try;; | |
| 7704 esac | |
| 7705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 7706 (eval "$ac_try") 2>&5 | |
| 7707 ac_status=$? | |
| 7708 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 7709 (exit $ac_status); }; }; then | |
| 7710 ac_cv_sizeof_voidp=`cat conftest.val` | |
| 7711 else | |
| 7712 echo "$as_me: program exited with status $ac_status" >&5 | |
| 7713 echo "$as_me: failed program was:" >&5 | |
| 7714 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 7715 | |
| 7716 ( exit $ac_status ) | |
| 7717 if test "$ac_cv_type_voidp" = yes; then | |
| 7718 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*) | |
| 7719 See \`config.log' for more details." >&5 | |
| 7720 echo "$as_me: error: cannot compute sizeof (void*) | |
| 7721 See \`config.log' for more details." >&2;} | |
| 7722 { (exit 77); exit 77; }; } | |
| 7723 else | 5535 else |
| 7724 ac_cv_sizeof_voidp=0 | 5536 ac_cv_sizeof_voidp=0 |
| 7725 fi | 5537 fi |
| 7726 fi | 5538 fi |
| 7727 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$a
c_objext conftest.$ac_ext | 5539 |
| 7728 fi | 5540 fi |
| 7729 rm -f conftest.val | 5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5 |
| 7730 fi | 5542 $as_echo "$ac_cv_sizeof_voidp" >&6; } |
| 7731 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5 | |
| 7732 echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6; } | |
| 7733 | 5543 |
| 7734 | 5544 |
| 7735 | 5545 |
| 7736 cat >>confdefs.h <<_ACEOF | 5546 cat >>confdefs.h <<_ACEOF |
| 7737 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp | 5547 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp |
| 7738 _ACEOF | 5548 _ACEOF |
| 7739 | 5549 |
| 7740 | 5550 |
| 7741 ac_cv_char_data_model="" | 5551 ac_cv_char_data_model="" |
| 7742 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char" | 5552 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char" |
| 7743 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short" | 5553 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short" |
| 7744 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int" | 5554 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int" |
| 7745 ac_cv_long_data_model="" | 5555 ac_cv_long_data_model="" |
| 7746 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int" | 5556 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int" |
| 7747 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long" | 5557 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long" |
| 7748 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp" | 5558 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp" |
| 7749 { echo "$as_me:$LINENO: checking data model" >&5 | 5559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5 |
| 7750 echo $ECHO_N "checking data model... $ECHO_C" >&6; } | 5560 $as_echo_n "checking data model... " >&6; } |
| 7751 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in | 5561 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in |
| 7752 122/242) ac_cv_data_model="IP16" ; n="standard 16bit machine" ;; | 5562 122/242) ac_cv_data_model="IP16" ; n="standard 16bit machine" ;; |
| 7753 122/244) ac_cv_data_model="LP32" ; n="standard 32bit machine" ;; | 5563 122/244) ac_cv_data_model="LP32" ; n="standard 32bit machine" ;; |
| 7754 122/*) ac_cv_data_model="i16" ; n="unusual int16 model" ;; | 5564 122/*) ac_cv_data_model="i16" ; n="unusual int16 model" ;; |
| 7755 124/444) ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;; | 5565 124/444) ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;; |
| 7756 124/488) ac_cv_data_model="LP64" ; n="standard 64bit unixish" ;; | 5566 124/488) ac_cv_data_model="LP64" ; n="standard 64bit unixish" ;; |
| 7757 124/448) ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;; | 5567 124/448) ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;; |
| 7758 124/*) ac_cv_data_model="i32" ; n="unusual int32 model" ;; | 5568 124/*) ac_cv_data_model="i32" ; n="unusual int32 model" ;; |
| 7759 128/888) ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;; | 5569 128/888) ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;; |
| 7760 128/*) ac_cv_data_model="i64" ; n="unusual int64 model" ;; | 5570 128/*) ac_cv_data_model="i64" ; n="unusual int64 model" ;; |
| 7761 222/*2) ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;; | 5571 222/*2) ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;; |
| 7762 333/*3) ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;; | 5572 333/*3) ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;; |
| 7763 444/*4) ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;; | 5573 444/*4) ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;; |
| 7764 666/*6) ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;; | 5574 666/*6) ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;; |
| 7765 888/*8) ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;; | 5575 888/*8) ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;; |
| 7766 222/*|333/*|444/*|666/*|888/*) : | 5576 222/*|333/*|444/*|666/*|888/*) : |
| 7767 ac_cv_data_model="iDSP" ; n="unusual dsptype" ;; | 5577 ac_cv_data_model="iDSP" ; n="unusual dsptype" ;; |
| 7768 *) ac_cv_data_model="none" ; n="very unusual model" ;; | 5578 *) ac_cv_data_model="none" ; n="very unusual model" ;; |
| 7769 esac | 5579 esac |
| 7770 { echo "$as_me:$LINENO: result: $ac_cv_data_model ($ac_cv_long_data_model, $n
)" >&5 | 5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_lo
ng_data_model, $n)" >&5 |
| 7771 echo "${ECHO_T}$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; } | 5581 $as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; } |
| 7772 | 5582 |
| 7773 fi | 5583 fi |
| 7774 | 5584 |
| 7775 if test "_$ac_cv_header_stdint_x" != "_" ; then | 5585 if test "_$ac_cv_header_stdint_x" != "_" ; then |
| 7776 ac_cv_header_stdint="$ac_cv_header_stdint_x" | 5586 ac_cv_header_stdint="$ac_cv_header_stdint_x" |
| 7777 elif test "_$ac_cv_header_stdint_o" != "_" ; then | 5587 elif test "_$ac_cv_header_stdint_o" != "_" ; then |
| 7778 ac_cv_header_stdint="$ac_cv_header_stdint_o" | 5588 ac_cv_header_stdint="$ac_cv_header_stdint_o" |
| 7779 elif test "_$ac_cv_header_stdint_u" != "_" ; then | 5589 elif test "_$ac_cv_header_stdint_u" != "_" ; then |
| 7780 ac_cv_header_stdint="$ac_cv_header_stdint_u" | 5590 ac_cv_header_stdint="$ac_cv_header_stdint_u" |
| 7781 else | 5591 else |
| 7782 ac_cv_header_stdint="stddef.h" | 5592 ac_cv_header_stdint="stddef.h" |
| 7783 fi | 5593 fi |
| 7784 | 5594 |
| 7785 { echo "$as_me:$LINENO: checking for extra inttypes in chosen header" >&5 | 5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen h
eader" >&5 |
| 7786 echo $ECHO_N "checking for extra inttypes in chosen header... $ECHO_C" >&6; } | 5596 $as_echo_n "checking for extra inttypes in chosen header... " >&6; } |
| 7787 { echo "$as_me:$LINENO: result: ($ac_cv_header_stdint)" >&5 | 5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5 |
| 7788 echo "${ECHO_T}($ac_cv_header_stdint)" >&6; } | 5598 $as_echo "($ac_cv_header_stdint)" >&6; } |
| 7789 unset ac_cv_type_int_least32_t | 5599 unset ac_cv_type_int_least32_t |
| 7790 unset ac_cv_type_int_fast32_t | 5600 unset ac_cv_type_int_fast32_t |
| 7791 { echo "$as_me:$LINENO: checking for int_least32_t" >&5 | 5601 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#includ
e <$ac_cv_header_stdint> |
| 7792 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6; } | 5602 " |
| 7793 if test "${ac_cv_type_int_least32_t+set}" = set; then | 5603 if test "x$ac_cv_type_int_least32_t" = x""yes; then : |
| 7794 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 7795 else | |
| 7796 cat >conftest.$ac_ext <<_ACEOF | |
| 7797 /* confdefs.h. */ | |
| 7798 _ACEOF | |
| 7799 cat confdefs.h >>conftest.$ac_ext | |
| 7800 cat >>conftest.$ac_ext <<_ACEOF | |
| 7801 /* end confdefs.h. */ | |
| 7802 #include <$ac_cv_header_stdint> | |
| 7803 | 5604 |
| 7804 typedef int_least32_t ac__type_new_; | |
| 7805 int | |
| 7806 main () | |
| 7807 { | |
| 7808 if ((ac__type_new_ *) 0) | |
| 7809 return 0; | |
| 7810 if (sizeof (ac__type_new_)) | |
| 7811 return 0; | |
| 7812 ; | |
| 7813 return 0; | |
| 7814 } | |
| 7815 _ACEOF | |
| 7816 rm -f conftest.$ac_objext | |
| 7817 if { (ac_try="$ac_compile" | |
| 7818 case "(($ac_try" in | |
| 7819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 7820 *) ac_try_echo=$ac_try;; | |
| 7821 esac | |
| 7822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 7823 (eval "$ac_compile") 2>conftest.er1 | |
| 7824 ac_status=$? | |
| 7825 grep -v '^ *+' conftest.er1 >conftest.err | |
| 7826 rm -f conftest.er1 | |
| 7827 cat conftest.err >&5 | |
| 7828 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 7829 (exit $ac_status); } && { | |
| 7830 test -z "$ac_c_werror_flag" || | |
| 7831 test ! -s conftest.err | |
| 7832 } && test -s conftest.$ac_objext; then | |
| 7833 ac_cv_type_int_least32_t=yes | |
| 7834 else | |
| 7835 echo "$as_me: failed program was:" >&5 | |
| 7836 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 7837 | |
| 7838 ac_cv_type_int_least32_t=no | |
| 7839 fi | 5605 fi |
| 7840 | 5606 |
| 7841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5607 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<
$ac_cv_header_stdint> |
| 7842 fi | 5608 " |
| 7843 { echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5 | 5609 if test "x$ac_cv_type_int_fast32_t" = x""yes; then : |
| 7844 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6; } | |
| 7845 | 5610 |
| 7846 { echo "$as_me:$LINENO: checking for int_fast32_t" >&5 | |
| 7847 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6; } | |
| 7848 if test "${ac_cv_type_int_fast32_t+set}" = set; then | |
| 7849 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 7850 else | |
| 7851 cat >conftest.$ac_ext <<_ACEOF | |
| 7852 /* confdefs.h. */ | |
| 7853 _ACEOF | |
| 7854 cat confdefs.h >>conftest.$ac_ext | |
| 7855 cat >>conftest.$ac_ext <<_ACEOF | |
| 7856 /* end confdefs.h. */ | |
| 7857 #include<$ac_cv_header_stdint> | |
| 7858 | |
| 7859 typedef int_fast32_t ac__type_new_; | |
| 7860 int | |
| 7861 main () | |
| 7862 { | |
| 7863 if ((ac__type_new_ *) 0) | |
| 7864 return 0; | |
| 7865 if (sizeof (ac__type_new_)) | |
| 7866 return 0; | |
| 7867 ; | |
| 7868 return 0; | |
| 7869 } | |
| 7870 _ACEOF | |
| 7871 rm -f conftest.$ac_objext | |
| 7872 if { (ac_try="$ac_compile" | |
| 7873 case "(($ac_try" in | |
| 7874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 7875 *) ac_try_echo=$ac_try;; | |
| 7876 esac | |
| 7877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 7878 (eval "$ac_compile") 2>conftest.er1 | |
| 7879 ac_status=$? | |
| 7880 grep -v '^ *+' conftest.er1 >conftest.err | |
| 7881 rm -f conftest.er1 | |
| 7882 cat conftest.err >&5 | |
| 7883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 7884 (exit $ac_status); } && { | |
| 7885 test -z "$ac_c_werror_flag" || | |
| 7886 test ! -s conftest.err | |
| 7887 } && test -s conftest.$ac_objext; then | |
| 7888 ac_cv_type_int_fast32_t=yes | |
| 7889 else | |
| 7890 echo "$as_me: failed program was:" >&5 | |
| 7891 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 7892 | |
| 7893 ac_cv_type_int_fast32_t=no | |
| 7894 fi | 5611 fi |
| 7895 | 5612 |
| 7896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5613 ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_
header_stdint> |
| 5614 " |
| 5615 if test "x$ac_cv_type_intmax_t" = x""yes; then : |
| 5616 |
| 7897 fi | 5617 fi |
| 7898 { echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5 | |
| 7899 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6; } | |
| 7900 | |
| 7901 { echo "$as_me:$LINENO: checking for intmax_t" >&5 | |
| 7902 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6; } | |
| 7903 if test "${ac_cv_type_intmax_t+set}" = set; then | |
| 7904 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 7905 else | |
| 7906 cat >conftest.$ac_ext <<_ACEOF | |
| 7907 /* confdefs.h. */ | |
| 7908 _ACEOF | |
| 7909 cat confdefs.h >>conftest.$ac_ext | |
| 7910 cat >>conftest.$ac_ext <<_ACEOF | |
| 7911 /* end confdefs.h. */ | |
| 7912 #include <$ac_cv_header_stdint> | |
| 7913 | |
| 7914 typedef intmax_t ac__type_new_; | |
| 7915 int | |
| 7916 main () | |
| 7917 { | |
| 7918 if ((ac__type_new_ *) 0) | |
| 7919 return 0; | |
| 7920 if (sizeof (ac__type_new_)) | |
| 7921 return 0; | |
| 7922 ; | |
| 7923 return 0; | |
| 7924 } | |
| 7925 _ACEOF | |
| 7926 rm -f conftest.$ac_objext | |
| 7927 if { (ac_try="$ac_compile" | |
| 7928 case "(($ac_try" in | |
| 7929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 7930 *) ac_try_echo=$ac_try;; | |
| 7931 esac | |
| 7932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 7933 (eval "$ac_compile") 2>conftest.er1 | |
| 7934 ac_status=$? | |
| 7935 grep -v '^ *+' conftest.er1 >conftest.err | |
| 7936 rm -f conftest.er1 | |
| 7937 cat conftest.err >&5 | |
| 7938 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 7939 (exit $ac_status); } && { | |
| 7940 test -z "$ac_c_werror_flag" || | |
| 7941 test ! -s conftest.err | |
| 7942 } && test -s conftest.$ac_objext; then | |
| 7943 ac_cv_type_intmax_t=yes | |
| 7944 else | |
| 7945 echo "$as_me: failed program was:" >&5 | |
| 7946 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 7947 | |
| 7948 ac_cv_type_intmax_t=no | |
| 7949 fi | |
| 7950 | |
| 7951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 7952 fi | |
| 7953 { echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5 | |
| 7954 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6; } | |
| 7955 | 5618 |
| 7956 | 5619 |
| 7957 fi # shortcircut to system "stdint.h" | 5620 fi # shortcircut to system "stdint.h" |
| 7958 # ------------------ PREPARE VARIABLES ------------------------------ | 5621 # ------------------ PREPARE VARIABLES ------------------------------ |
| 7959 #if test "$GCC" = "yes" ; then | 5622 #if test "$GCC" = "yes" ; then |
| 7960 #ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1` | 5623 #ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1` |
| 7961 #else | 5624 #else |
| 7962 ac_cv_stdint_message="using $CC" | 5625 ac_cv_stdint_message="using $CC" |
| 7963 #fi | 5626 #fi |
| 7964 | 5627 |
| 7965 { echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h
$ac_cv_stdint_result" >&5 | 5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdin
t in $ac_stdint_h $ac_cv_stdint_result" >&5 |
| 7966 echo "${ECHO_T}make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_re
sult" >&6; } | 5629 $as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result"
>&6; } |
| 7967 | 5630 |
| 7968 # ----------------- DONE inttypes.h checks START header ------------- | 5631 # ----------------- DONE inttypes.h checks START header ------------- |
| 7969 ac_config_commands="$ac_config_commands $ac_stdint_h" | 5632 ac_config_commands="$ac_config_commands $ac_stdint_h" |
| 7970 | 5633 |
| 7971 | 5634 |
| 7972 | 5635 |
| 7973 # | 5636 # |
| 7974 # Checks for library functions. | 5637 # Checks for library functions. |
| 7975 # | 5638 # |
| 7976 | |
| 7977 | |
| 7978 | |
| 7979 for ac_func in abort toascii vsnprintf | 5639 for ac_func in abort toascii vsnprintf |
| 7980 do | 5640 do : |
| 7981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 5641 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 7982 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 5642 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 7983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 5643 eval as_val=\$$as_ac_var |
| 7984 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 5644 if test "x$as_val" = x""yes; then : |
| 7985 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 7986 else | |
| 7987 cat >conftest.$ac_ext <<_ACEOF | |
| 7988 /* confdefs.h. */ | |
| 7989 _ACEOF | |
| 7990 cat confdefs.h >>conftest.$ac_ext | |
| 7991 cat >>conftest.$ac_ext <<_ACEOF | |
| 7992 /* end confdefs.h. */ | |
| 7993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func
. | |
| 7994 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
| 7995 #define $ac_func innocuous_$ac_func | |
| 7996 | |
| 7997 /* System header to define __stub macros and hopefully few prototypes, | |
| 7998 which can conflict with char $ac_func (); below. | |
| 7999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
| 8000 <limits.h> exists even on freestanding compilers. */ | |
| 8001 | |
| 8002 #ifdef __STDC__ | |
| 8003 # include <limits.h> | |
| 8004 #else | |
| 8005 # include <assert.h> | |
| 8006 #endif | |
| 8007 | |
| 8008 #undef $ac_func | |
| 8009 | |
| 8010 /* Override any GCC internal prototype to avoid an error. | |
| 8011 Use char because int might match the return type of a GCC | |
| 8012 builtin and then its argument prototype would still apply. */ | |
| 8013 #ifdef __cplusplus | |
| 8014 extern "C" | |
| 8015 #endif | |
| 8016 char $ac_func (); | |
| 8017 /* The GNU C library defines this for functions which it implements | |
| 8018 to always fail with ENOSYS. Some functions are actually named | |
| 8019 something starting with __ and the normal name is an alias. */ | |
| 8020 #if defined __stub_$ac_func || defined __stub___$ac_func | |
| 8021 choke me | |
| 8022 #endif | |
| 8023 | |
| 8024 int | |
| 8025 main () | |
| 8026 { | |
| 8027 return $ac_func (); | |
| 8028 ; | |
| 8029 return 0; | |
| 8030 } | |
| 8031 _ACEOF | |
| 8032 rm -f conftest.$ac_objext conftest$ac_exeext | |
| 8033 if { (ac_try="$ac_link" | |
| 8034 case "(($ac_try" in | |
| 8035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 8036 *) ac_try_echo=$ac_try;; | |
| 8037 esac | |
| 8038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 8039 (eval "$ac_link") 2>conftest.er1 | |
| 8040 ac_status=$? | |
| 8041 grep -v '^ *+' conftest.er1 >conftest.err | |
| 8042 rm -f conftest.er1 | |
| 8043 cat conftest.err >&5 | |
| 8044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 8045 (exit $ac_status); } && { | |
| 8046 » test -z "$ac_c_werror_flag" || | |
| 8047 » test ! -s conftest.err | |
| 8048 } && test -s conftest$ac_exeext && | |
| 8049 $as_test_x conftest$ac_exeext; then | |
| 8050 eval "$as_ac_var=yes" | |
| 8051 else | |
| 8052 echo "$as_me: failed program was:" >&5 | |
| 8053 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 8054 | |
| 8055 » eval "$as_ac_var=no" | |
| 8056 fi | |
| 8057 | |
| 8058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
| 8059 conftest$ac_exeext conftest.$ac_ext | |
| 8060 fi | |
| 8061 ac_res=`eval echo '${'$as_ac_var'}'` | |
| 8062 » { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
| 8063 echo "${ECHO_T}$ac_res" >&6; } | |
| 8064 if test `eval echo '${'$as_ac_var'}'` = yes; then | |
| 8065 cat >>confdefs.h <<_ACEOF | 5645 cat >>confdefs.h <<_ACEOF |
| 8066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 5646 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 8067 _ACEOF | 5647 _ACEOF |
| 8068 | 5648 |
| 8069 fi | 5649 fi |
| 8070 done | 5650 done |
| 8071 | 5651 |
| 8072 | |
| 8073 | |
| 8074 | |
| 8075 for ac_func in strsep mergesort getcwd | 5652 for ac_func in strsep mergesort getcwd |
| 8076 do | 5653 do : |
| 8077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 5654 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 8078 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 5655 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 8079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 5656 eval as_val=\$$as_ac_var |
| 8080 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 5657 if test "x$as_val" = x""yes; then : |
| 8081 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 8082 else | |
| 8083 cat >conftest.$ac_ext <<_ACEOF | |
| 8084 /* confdefs.h. */ | |
| 8085 _ACEOF | |
| 8086 cat confdefs.h >>conftest.$ac_ext | |
| 8087 cat >>conftest.$ac_ext <<_ACEOF | |
| 8088 /* end confdefs.h. */ | |
| 8089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func
. | |
| 8090 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
| 8091 #define $ac_func innocuous_$ac_func | |
| 8092 | |
| 8093 /* System header to define __stub macros and hopefully few prototypes, | |
| 8094 which can conflict with char $ac_func (); below. | |
| 8095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
| 8096 <limits.h> exists even on freestanding compilers. */ | |
| 8097 | |
| 8098 #ifdef __STDC__ | |
| 8099 # include <limits.h> | |
| 8100 #else | |
| 8101 # include <assert.h> | |
| 8102 #endif | |
| 8103 | |
| 8104 #undef $ac_func | |
| 8105 | |
| 8106 /* Override any GCC internal prototype to avoid an error. | |
| 8107 Use char because int might match the return type of a GCC | |
| 8108 builtin and then its argument prototype would still apply. */ | |
| 8109 #ifdef __cplusplus | |
| 8110 extern "C" | |
| 8111 #endif | |
| 8112 char $ac_func (); | |
| 8113 /* The GNU C library defines this for functions which it implements | |
| 8114 to always fail with ENOSYS. Some functions are actually named | |
| 8115 something starting with __ and the normal name is an alias. */ | |
| 8116 #if defined __stub_$ac_func || defined __stub___$ac_func | |
| 8117 choke me | |
| 8118 #endif | |
| 8119 | |
| 8120 int | |
| 8121 main () | |
| 8122 { | |
| 8123 return $ac_func (); | |
| 8124 ; | |
| 8125 return 0; | |
| 8126 } | |
| 8127 _ACEOF | |
| 8128 rm -f conftest.$ac_objext conftest$ac_exeext | |
| 8129 if { (ac_try="$ac_link" | |
| 8130 case "(($ac_try" in | |
| 8131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 8132 *) ac_try_echo=$ac_try;; | |
| 8133 esac | |
| 8134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 8135 (eval "$ac_link") 2>conftest.er1 | |
| 8136 ac_status=$? | |
| 8137 grep -v '^ *+' conftest.er1 >conftest.err | |
| 8138 rm -f conftest.er1 | |
| 8139 cat conftest.err >&5 | |
| 8140 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 8141 (exit $ac_status); } && { | |
| 8142 » test -z "$ac_c_werror_flag" || | |
| 8143 » test ! -s conftest.err | |
| 8144 } && test -s conftest$ac_exeext && | |
| 8145 $as_test_x conftest$ac_exeext; then | |
| 8146 eval "$as_ac_var=yes" | |
| 8147 else | |
| 8148 echo "$as_me: failed program was:" >&5 | |
| 8149 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 8150 | |
| 8151 » eval "$as_ac_var=no" | |
| 8152 fi | |
| 8153 | |
| 8154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
| 8155 conftest$ac_exeext conftest.$ac_ext | |
| 8156 fi | |
| 8157 ac_res=`eval echo '${'$as_ac_var'}'` | |
| 8158 » { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
| 8159 echo "${ECHO_T}$ac_res" >&6; } | |
| 8160 if test `eval echo '${'$as_ac_var'}'` = yes; then | |
| 8161 cat >>confdefs.h <<_ACEOF | 5658 cat >>confdefs.h <<_ACEOF |
| 8162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 5659 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 8163 _ACEOF | 5660 _ACEOF |
| 8164 | 5661 |
| 8165 fi | 5662 fi |
| 8166 done | 5663 done |
| 8167 | 5664 |
| 8168 | |
| 8169 | |
| 8170 for ac_func in popen ftruncate | 5665 for ac_func in popen ftruncate |
| 8171 do | 5666 do : |
| 8172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 5667 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 8173 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 5668 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 8174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 5669 eval as_val=\$$as_ac_var |
| 8175 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 5670 if test "x$as_val" = x""yes; then : |
| 8176 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 8177 else | |
| 8178 cat >conftest.$ac_ext <<_ACEOF | |
| 8179 /* confdefs.h. */ | |
| 8180 _ACEOF | |
| 8181 cat confdefs.h >>conftest.$ac_ext | |
| 8182 cat >>conftest.$ac_ext <<_ACEOF | |
| 8183 /* end confdefs.h. */ | |
| 8184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func
. | |
| 8185 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
| 8186 #define $ac_func innocuous_$ac_func | |
| 8187 | |
| 8188 /* System header to define __stub macros and hopefully few prototypes, | |
| 8189 which can conflict with char $ac_func (); below. | |
| 8190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
| 8191 <limits.h> exists even on freestanding compilers. */ | |
| 8192 | |
| 8193 #ifdef __STDC__ | |
| 8194 # include <limits.h> | |
| 8195 #else | |
| 8196 # include <assert.h> | |
| 8197 #endif | |
| 8198 | |
| 8199 #undef $ac_func | |
| 8200 | |
| 8201 /* Override any GCC internal prototype to avoid an error. | |
| 8202 Use char because int might match the return type of a GCC | |
| 8203 builtin and then its argument prototype would still apply. */ | |
| 8204 #ifdef __cplusplus | |
| 8205 extern "C" | |
| 8206 #endif | |
| 8207 char $ac_func (); | |
| 8208 /* The GNU C library defines this for functions which it implements | |
| 8209 to always fail with ENOSYS. Some functions are actually named | |
| 8210 something starting with __ and the normal name is an alias. */ | |
| 8211 #if defined __stub_$ac_func || defined __stub___$ac_func | |
| 8212 choke me | |
| 8213 #endif | |
| 8214 | |
| 8215 int | |
| 8216 main () | |
| 8217 { | |
| 8218 return $ac_func (); | |
| 8219 ; | |
| 8220 return 0; | |
| 8221 } | |
| 8222 _ACEOF | |
| 8223 rm -f conftest.$ac_objext conftest$ac_exeext | |
| 8224 if { (ac_try="$ac_link" | |
| 8225 case "(($ac_try" in | |
| 8226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 8227 *) ac_try_echo=$ac_try;; | |
| 8228 esac | |
| 8229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 8230 (eval "$ac_link") 2>conftest.er1 | |
| 8231 ac_status=$? | |
| 8232 grep -v '^ *+' conftest.er1 >conftest.err | |
| 8233 rm -f conftest.er1 | |
| 8234 cat conftest.err >&5 | |
| 8235 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 8236 (exit $ac_status); } && { | |
| 8237 » test -z "$ac_c_werror_flag" || | |
| 8238 » test ! -s conftest.err | |
| 8239 } && test -s conftest$ac_exeext && | |
| 8240 $as_test_x conftest$ac_exeext; then | |
| 8241 eval "$as_ac_var=yes" | |
| 8242 else | |
| 8243 echo "$as_me: failed program was:" >&5 | |
| 8244 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 8245 | |
| 8246 » eval "$as_ac_var=no" | |
| 8247 fi | |
| 8248 | |
| 8249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
| 8250 conftest$ac_exeext conftest.$ac_ext | |
| 8251 fi | |
| 8252 ac_res=`eval echo '${'$as_ac_var'}'` | |
| 8253 » { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
| 8254 echo "${ECHO_T}$ac_res" >&6; } | |
| 8255 if test `eval echo '${'$as_ac_var'}'` = yes; then | |
| 8256 cat >>confdefs.h <<_ACEOF | 5671 cat >>confdefs.h <<_ACEOF |
| 8257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 5672 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 8258 _ACEOF | 5673 _ACEOF |
| 8259 | 5674 |
| 8260 fi | 5675 fi |
| 8261 done | 5676 done |
| 8262 | 5677 |
| 8263 # Look for the case-insensitive comparison functions | 5678 # Look for the case-insensitive comparison functions |
| 8264 | |
| 8265 | |
| 8266 | |
| 8267 | |
| 8268 | |
| 8269 for ac_func in strcasecmp strncasecmp stricmp _stricmp strcmpi | 5679 for ac_func in strcasecmp strncasecmp stricmp _stricmp strcmpi |
| 8270 do | 5680 do : |
| 8271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 5681 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 8272 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 5682 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 8273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 5683 eval as_val=\$$as_ac_var |
| 8274 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 5684 if test "x$as_val" = x""yes; then : |
| 8275 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 8276 else | |
| 8277 cat >conftest.$ac_ext <<_ACEOF | |
| 8278 /* confdefs.h. */ | |
| 8279 _ACEOF | |
| 8280 cat confdefs.h >>conftest.$ac_ext | |
| 8281 cat >>conftest.$ac_ext <<_ACEOF | |
| 8282 /* end confdefs.h. */ | |
| 8283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func
. | |
| 8284 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
| 8285 #define $ac_func innocuous_$ac_func | |
| 8286 | |
| 8287 /* System header to define __stub macros and hopefully few prototypes, | |
| 8288 which can conflict with char $ac_func (); below. | |
| 8289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
| 8290 <limits.h> exists even on freestanding compilers. */ | |
| 8291 | |
| 8292 #ifdef __STDC__ | |
| 8293 # include <limits.h> | |
| 8294 #else | |
| 8295 # include <assert.h> | |
| 8296 #endif | |
| 8297 | |
| 8298 #undef $ac_func | |
| 8299 | |
| 8300 /* Override any GCC internal prototype to avoid an error. | |
| 8301 Use char because int might match the return type of a GCC | |
| 8302 builtin and then its argument prototype would still apply. */ | |
| 8303 #ifdef __cplusplus | |
| 8304 extern "C" | |
| 8305 #endif | |
| 8306 char $ac_func (); | |
| 8307 /* The GNU C library defines this for functions which it implements | |
| 8308 to always fail with ENOSYS. Some functions are actually named | |
| 8309 something starting with __ and the normal name is an alias. */ | |
| 8310 #if defined __stub_$ac_func || defined __stub___$ac_func | |
| 8311 choke me | |
| 8312 #endif | |
| 8313 | |
| 8314 int | |
| 8315 main () | |
| 8316 { | |
| 8317 return $ac_func (); | |
| 8318 ; | |
| 8319 return 0; | |
| 8320 } | |
| 8321 _ACEOF | |
| 8322 rm -f conftest.$ac_objext conftest$ac_exeext | |
| 8323 if { (ac_try="$ac_link" | |
| 8324 case "(($ac_try" in | |
| 8325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 8326 *) ac_try_echo=$ac_try;; | |
| 8327 esac | |
| 8328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 8329 (eval "$ac_link") 2>conftest.er1 | |
| 8330 ac_status=$? | |
| 8331 grep -v '^ *+' conftest.er1 >conftest.err | |
| 8332 rm -f conftest.er1 | |
| 8333 cat conftest.err >&5 | |
| 8334 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 8335 (exit $ac_status); } && { | |
| 8336 » test -z "$ac_c_werror_flag" || | |
| 8337 » test ! -s conftest.err | |
| 8338 } && test -s conftest$ac_exeext && | |
| 8339 $as_test_x conftest$ac_exeext; then | |
| 8340 eval "$as_ac_var=yes" | |
| 8341 else | |
| 8342 echo "$as_me: failed program was:" >&5 | |
| 8343 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 8344 | |
| 8345 » eval "$as_ac_var=no" | |
| 8346 fi | |
| 8347 | |
| 8348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
| 8349 conftest$ac_exeext conftest.$ac_ext | |
| 8350 fi | |
| 8351 ac_res=`eval echo '${'$as_ac_var'}'` | |
| 8352 » { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
| 8353 echo "${ECHO_T}$ac_res" >&6; } | |
| 8354 if test `eval echo '${'$as_ac_var'}'` = yes; then | |
| 8355 cat >>confdefs.h <<_ACEOF | 5685 cat >>confdefs.h <<_ACEOF |
| 8356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 5686 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 8357 _ACEOF | 5687 _ACEOF |
| 8358 | 5688 |
| 8359 fi | 5689 fi |
| 8360 done | 5690 done |
| 8361 | 5691 |
| 8362 | 5692 |
| 8363 # | 5693 # |
| 8364 # Check for gettext() and other i18n/l10n things. | 5694 # Check for gettext() and other i18n/l10n things. |
| 8365 # | 5695 # |
| 8366 ALL_LINGUAS="" | 5696 ALL_LINGUAS="" |
| 8367 | 5697 |
| 8368 { echo "$as_me:$LINENO: checking whether NLS is requested" >&5 | 5698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&
5 |
| 8369 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; } | 5699 $as_echo_n "checking whether NLS is requested... " >&6; } |
| 8370 # Check whether --enable-nls was given. | 5700 # Check whether --enable-nls was given. |
| 8371 if test "${enable_nls+set}" = set; then | 5701 if test "${enable_nls+set}" = set; then : |
| 8372 enableval=$enable_nls; USE_NLS=$enableval | 5702 enableval=$enable_nls; USE_NLS=$enableval |
| 8373 else | 5703 else |
| 8374 USE_NLS=yes | 5704 USE_NLS=yes |
| 8375 fi | 5705 fi |
| 8376 | 5706 |
| 8377 { echo "$as_me:$LINENO: result: $USE_NLS" >&5 | 5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 |
| 8378 echo "${ECHO_T}$USE_NLS" >&6; } | 5708 $as_echo "$USE_NLS" >&6; } |
| 8379 | 5709 |
| 8380 | 5710 |
| 8381 | 5711 |
| 8382 | 5712 |
| 5713 GETTEXT_MACRO_VERSION=0.17 |
| 5714 |
| 5715 |
| 8383 | 5716 |
| 8384 | 5717 |
| 8385 # Prepare PATH_SEPARATOR. | 5718 # Prepare PATH_SEPARATOR. |
| 8386 # The user is always right. | 5719 # The user is always right. |
| 8387 if test "${PATH_SEPARATOR+set}" != set; then | 5720 if test "${PATH_SEPARATOR+set}" != set; then |
| 8388 echo "#! /bin/sh" >conf$$.sh | 5721 echo "#! /bin/sh" >conf$$.sh |
| 8389 echo "exit 0" >>conf$$.sh | 5722 echo "exit 0" >>conf$$.sh |
| 8390 chmod +x conf$$.sh | 5723 chmod +x conf$$.sh |
| 8391 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 5724 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
| 8392 PATH_SEPARATOR=';' | 5725 PATH_SEPARATOR=';' |
| (...skipping 12 matching lines...) Expand all Loading... |
| 8405 chmod +x conf$$.file | 5738 chmod +x conf$$.file |
| 8406 if test -x conf$$.file >/dev/null 2>&1; then | 5739 if test -x conf$$.file >/dev/null 2>&1; then |
| 8407 ac_executable_p="test -x" | 5740 ac_executable_p="test -x" |
| 8408 else | 5741 else |
| 8409 ac_executable_p="test -f" | 5742 ac_executable_p="test -f" |
| 8410 fi | 5743 fi |
| 8411 rm -f conf$$.file | 5744 rm -f conf$$.file |
| 8412 | 5745 |
| 8413 # Extract the first word of "msgfmt", so it can be a program name with args. | 5746 # Extract the first word of "msgfmt", so it can be a program name with args. |
| 8414 set dummy msgfmt; ac_word=$2 | 5747 set dummy msgfmt; ac_word=$2 |
| 8415 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 5749 $as_echo_n "checking for $ac_word... " >&6; } |
| 8417 if test "${ac_cv_path_MSGFMT+set}" = set; then | 5750 if test "${ac_cv_path_MSGFMT+set}" = set; then : |
| 8418 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5751 $as_echo_n "(cached) " >&6 |
| 8419 else | 5752 else |
| 8420 case "$MSGFMT" in | 5753 case "$MSGFMT" in |
| 8421 [\\/]* | ?:[\\/]*) | 5754 [\\/]* | ?:[\\/]*) |
| 8422 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. | 5755 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. |
| 8423 ;; | 5756 ;; |
| 8424 *) | 5757 *) |
| 8425 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR | 5758 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR |
| 8426 for ac_dir in $PATH; do | 5759 for ac_dir in $PATH; do |
| 8427 IFS="$ac_save_IFS" | 5760 IFS="$ac_save_IFS" |
| 8428 test -z "$ac_dir" && ac_dir=. | 5761 test -z "$ac_dir" && ac_dir=. |
| 8429 for ac_exec_ext in '' $ac_executable_extensions; do | 5762 for ac_exec_ext in '' $ac_executable_extensions; do |
| 8430 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then | 5763 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then |
| 8431 echo "$as_me: trying $ac_dir/$ac_word..." >&5 | 5764 echo "$as_me: trying $ac_dir/$ac_word..." >&5 |
| 8432 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && | 5765 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && |
| 8433 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/
dev/null; then exit 1; else exit 0; fi); then | 5766 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/
dev/null; then exit 1; else exit 0; fi); then |
| 8434 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" | 5767 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" |
| 8435 break 2 | 5768 break 2 |
| 8436 fi | 5769 fi |
| 8437 fi | 5770 fi |
| 8438 done | 5771 done |
| 8439 done | 5772 done |
| 8440 IFS="$ac_save_IFS" | 5773 IFS="$ac_save_IFS" |
| 8441 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" | 5774 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" |
| 8442 ;; | 5775 ;; |
| 8443 esac | 5776 esac |
| 8444 fi | 5777 fi |
| 8445 MSGFMT="$ac_cv_path_MSGFMT" | 5778 MSGFMT="$ac_cv_path_MSGFMT" |
| 8446 if test "$MSGFMT" != ":"; then | 5779 if test "$MSGFMT" != ":"; then |
| 8447 { echo "$as_me:$LINENO: result: $MSGFMT" >&5 | 5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 |
| 8448 echo "${ECHO_T}$MSGFMT" >&6; } | 5781 $as_echo "$MSGFMT" >&6; } |
| 8449 else | 5782 else |
| 8450 { echo "$as_me:$LINENO: result: no" >&5 | 5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8451 echo "${ECHO_T}no" >&6; } | 5784 $as_echo "no" >&6; } |
| 8452 fi | 5785 fi |
| 8453 | 5786 |
| 8454 # Extract the first word of "gmsgfmt", so it can be a program name with args. | 5787 # Extract the first word of "gmsgfmt", so it can be a program name with args. |
| 8455 set dummy gmsgfmt; ac_word=$2 | 5788 set dummy gmsgfmt; ac_word=$2 |
| 8456 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 5790 $as_echo_n "checking for $ac_word... " >&6; } |
| 8458 if test "${ac_cv_path_GMSGFMT+set}" = set; then | 5791 if test "${ac_cv_path_GMSGFMT+set}" = set; then : |
| 8459 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5792 $as_echo_n "(cached) " >&6 |
| 8460 else | 5793 else |
| 8461 case $GMSGFMT in | 5794 case $GMSGFMT in |
| 8462 [\\/]* | ?:[\\/]*) | 5795 [\\/]* | ?:[\\/]*) |
| 8463 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. | 5796 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
| 8464 ;; | 5797 ;; |
| 8465 *) | 5798 *) |
| 8466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8467 for as_dir in $PATH | 5800 for as_dir in $PATH |
| 8468 do | 5801 do |
| 8469 IFS=$as_save_IFS | 5802 IFS=$as_save_IFS |
| 8470 test -z "$as_dir" && as_dir=. | 5803 test -z "$as_dir" && as_dir=. |
| 8471 for ac_exec_ext in '' $ac_executable_extensions; do | 5804 for ac_exec_ext in '' $ac_executable_extensions; do |
| 8472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | 5805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then |
| 8473 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" | 5806 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" |
| 8474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 8475 break 2 | 5808 break 2 |
| 8476 fi | 5809 fi |
| 8477 done | 5810 done |
| 8478 done | 5811 done |
| 8479 IFS=$as_save_IFS | 5812 IFS=$as_save_IFS |
| 8480 | 5813 |
| 8481 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" | 5814 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" |
| 8482 ;; | 5815 ;; |
| 8483 esac | 5816 esac |
| 8484 fi | 5817 fi |
| 8485 GMSGFMT=$ac_cv_path_GMSGFMT | 5818 GMSGFMT=$ac_cv_path_GMSGFMT |
| 8486 if test -n "$GMSGFMT"; then | 5819 if test -n "$GMSGFMT"; then |
| 8487 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5 | 5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 |
| 8488 echo "${ECHO_T}$GMSGFMT" >&6; } | 5821 $as_echo "$GMSGFMT" >&6; } |
| 8489 else | 5822 else |
| 8490 { echo "$as_me:$LINENO: result: no" >&5 | 5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8491 echo "${ECHO_T}no" >&6; } | 5824 $as_echo "no" >&6; } |
| 8492 fi | 5825 fi |
| 8493 | 5826 |
| 8494 | 5827 |
| 8495 | 5828 |
| 8496 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in | 5829 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in |
| 8497 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; | 5830 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; |
| 8498 *) MSGFMT_015=$MSGFMT ;; | 5831 *) MSGFMT_015=$MSGFMT ;; |
| 8499 esac | 5832 esac |
| 8500 | 5833 |
| 8501 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in | 5834 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in |
| (...skipping 26 matching lines...) Expand all Loading... |
| 8528 chmod +x conf$$.file | 5861 chmod +x conf$$.file |
| 8529 if test -x conf$$.file >/dev/null 2>&1; then | 5862 if test -x conf$$.file >/dev/null 2>&1; then |
| 8530 ac_executable_p="test -x" | 5863 ac_executable_p="test -x" |
| 8531 else | 5864 else |
| 8532 ac_executable_p="test -f" | 5865 ac_executable_p="test -f" |
| 8533 fi | 5866 fi |
| 8534 rm -f conf$$.file | 5867 rm -f conf$$.file |
| 8535 | 5868 |
| 8536 # Extract the first word of "xgettext", so it can be a program name with args. | 5869 # Extract the first word of "xgettext", so it can be a program name with args. |
| 8537 set dummy xgettext; ac_word=$2 | 5870 set dummy xgettext; ac_word=$2 |
| 8538 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 5872 $as_echo_n "checking for $ac_word... " >&6; } |
| 8540 if test "${ac_cv_path_XGETTEXT+set}" = set; then | 5873 if test "${ac_cv_path_XGETTEXT+set}" = set; then : |
| 8541 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5874 $as_echo_n "(cached) " >&6 |
| 8542 else | 5875 else |
| 8543 case "$XGETTEXT" in | 5876 case "$XGETTEXT" in |
| 8544 [\\/]* | ?:[\\/]*) | 5877 [\\/]* | ?:[\\/]*) |
| 8545 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path
. | 5878 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path
. |
| 8546 ;; | 5879 ;; |
| 8547 *) | 5880 *) |
| 8548 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR | 5881 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR |
| 8549 for ac_dir in $PATH; do | 5882 for ac_dir in $PATH; do |
| 8550 IFS="$ac_save_IFS" | 5883 IFS="$ac_save_IFS" |
| 8551 test -z "$ac_dir" && ac_dir=. | 5884 test -z "$ac_dir" && ac_dir=. |
| 8552 for ac_exec_ext in '' $ac_executable_extensions; do | 5885 for ac_exec_ext in '' $ac_executable_extensions; do |
| 8553 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then | 5886 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then |
| 8554 echo "$as_me: trying $ac_dir/$ac_word..." >&5 | 5887 echo "$as_me: trying $ac_dir/$ac_word..." >&5 |
| 8555 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-add
ress= /dev/null >&5 2>&1 && | 5888 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-add
ress= /dev/null >&5 2>&1 && |
| 8556 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address
= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; f
i); then | 5889 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address
= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; f
i); then |
| 8557 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" | 5890 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" |
| 8558 break 2 | 5891 break 2 |
| 8559 fi | 5892 fi |
| 8560 fi | 5893 fi |
| 8561 done | 5894 done |
| 8562 done | 5895 done |
| 8563 IFS="$ac_save_IFS" | 5896 IFS="$ac_save_IFS" |
| 8564 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" | 5897 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" |
| 8565 ;; | 5898 ;; |
| 8566 esac | 5899 esac |
| 8567 fi | 5900 fi |
| 8568 XGETTEXT="$ac_cv_path_XGETTEXT" | 5901 XGETTEXT="$ac_cv_path_XGETTEXT" |
| 8569 if test "$XGETTEXT" != ":"; then | 5902 if test "$XGETTEXT" != ":"; then |
| 8570 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5 | 5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 |
| 8571 echo "${ECHO_T}$XGETTEXT" >&6; } | 5904 $as_echo "$XGETTEXT" >&6; } |
| 8572 else | 5905 else |
| 8573 { echo "$as_me:$LINENO: result: no" >&5 | 5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8574 echo "${ECHO_T}no" >&6; } | 5907 $as_echo "no" >&6; } |
| 8575 fi | 5908 fi |
| 8576 | 5909 |
| 8577 rm -f messages.po | 5910 rm -f messages.po |
| 8578 | 5911 |
| 8579 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in | 5912 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in |
| 8580 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; | 5913 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; |
| 8581 *) XGETTEXT_015=$XGETTEXT ;; | 5914 *) XGETTEXT_015=$XGETTEXT ;; |
| 8582 esac | 5915 esac |
| 8583 | 5916 |
| 8584 | 5917 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 8606 chmod +x conf$$.file | 5939 chmod +x conf$$.file |
| 8607 if test -x conf$$.file >/dev/null 2>&1; then | 5940 if test -x conf$$.file >/dev/null 2>&1; then |
| 8608 ac_executable_p="test -x" | 5941 ac_executable_p="test -x" |
| 8609 else | 5942 else |
| 8610 ac_executable_p="test -f" | 5943 ac_executable_p="test -f" |
| 8611 fi | 5944 fi |
| 8612 rm -f conf$$.file | 5945 rm -f conf$$.file |
| 8613 | 5946 |
| 8614 # Extract the first word of "msgmerge", so it can be a program name with args. | 5947 # Extract the first word of "msgmerge", so it can be a program name with args. |
| 8615 set dummy msgmerge; ac_word=$2 | 5948 set dummy msgmerge; ac_word=$2 |
| 8616 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 5950 $as_echo_n "checking for $ac_word... " >&6; } |
| 8618 if test "${ac_cv_path_MSGMERGE+set}" = set; then | 5951 if test "${ac_cv_path_MSGMERGE+set}" = set; then : |
| 8619 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5952 $as_echo_n "(cached) " >&6 |
| 8620 else | 5953 else |
| 8621 case "$MSGMERGE" in | 5954 case "$MSGMERGE" in |
| 8622 [\\/]* | ?:[\\/]*) | 5955 [\\/]* | ?:[\\/]*) |
| 8623 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path
. | 5956 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path
. |
| 8624 ;; | 5957 ;; |
| 8625 *) | 5958 *) |
| 8626 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR | 5959 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR |
| 8627 for ac_dir in $PATH; do | 5960 for ac_dir in $PATH; do |
| 8628 IFS="$ac_save_IFS" | 5961 IFS="$ac_save_IFS" |
| 8629 test -z "$ac_dir" && ac_dir=. | 5962 test -z "$ac_dir" && ac_dir=. |
| 8630 for ac_exec_ext in '' $ac_executable_extensions; do | 5963 for ac_exec_ext in '' $ac_executable_extensions; do |
| 8631 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then | 5964 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then |
| 8632 echo "$as_me: trying $ac_dir/$ac_word..." >&5 | 5965 echo "$as_me: trying $ac_dir/$ac_word..." >&5 |
| 8633 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then | 5966 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then |
| 8634 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" | 5967 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" |
| 8635 break 2 | 5968 break 2 |
| 8636 fi | 5969 fi |
| 8637 fi | 5970 fi |
| 8638 done | 5971 done |
| 8639 done | 5972 done |
| 8640 IFS="$ac_save_IFS" | 5973 IFS="$ac_save_IFS" |
| 8641 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" | 5974 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" |
| 8642 ;; | 5975 ;; |
| 8643 esac | 5976 esac |
| 8644 fi | 5977 fi |
| 8645 MSGMERGE="$ac_cv_path_MSGMERGE" | 5978 MSGMERGE="$ac_cv_path_MSGMERGE" |
| 8646 if test "$MSGMERGE" != ":"; then | 5979 if test "$MSGMERGE" != ":"; then |
| 8647 { echo "$as_me:$LINENO: result: $MSGMERGE" >&5 | 5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 |
| 8648 echo "${ECHO_T}$MSGMERGE" >&6; } | 5981 $as_echo "$MSGMERGE" >&6; } |
| 8649 else | 5982 else |
| 8650 { echo "$as_me:$LINENO: result: no" >&5 | 5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8651 echo "${ECHO_T}no" >&6; } | 5984 $as_echo "no" >&6; } |
| 8652 fi | 5985 fi |
| 8653 | 5986 |
| 8654 | 5987 |
| 8655 test -n "$localedir" || localedir='${datadir}/locale' | 5988 test -n "$localedir" || localedir='${datadir}/locale' |
| 8656 | 5989 |
| 8657 | 5990 |
| 5991 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= |
| 5992 |
| 5993 |
| 8658 ac_config_commands="$ac_config_commands po-directories" | 5994 ac_config_commands="$ac_config_commands po-directories" |
| 8659 | 5995 |
| 8660 | 5996 |
| 8661 | 5997 |
| 8662 if test "X$prefix" = "XNONE"; then | 5998 if test "X$prefix" = "XNONE"; then |
| 8663 acl_final_prefix="$ac_default_prefix" | 5999 acl_final_prefix="$ac_default_prefix" |
| 8664 else | 6000 else |
| 8665 acl_final_prefix="$prefix" | 6001 acl_final_prefix="$prefix" |
| 8666 fi | 6002 fi |
| 8667 if test "X$exec_prefix" = "XNONE"; then | 6003 if test "X$exec_prefix" = "XNONE"; then |
| 8668 acl_final_exec_prefix='${prefix}' | 6004 acl_final_exec_prefix='${prefix}' |
| 8669 else | 6005 else |
| 8670 acl_final_exec_prefix="$exec_prefix" | 6006 acl_final_exec_prefix="$exec_prefix" |
| 8671 fi | 6007 fi |
| 8672 acl_save_prefix="$prefix" | 6008 acl_save_prefix="$prefix" |
| 8673 prefix="$acl_final_prefix" | 6009 prefix="$acl_final_prefix" |
| 8674 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" | 6010 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" |
| 8675 prefix="$acl_save_prefix" | 6011 prefix="$acl_save_prefix" |
| 8676 | 6012 |
| 8677 # Make sure we can run config.sub. | 6013 # Make sure we can run config.sub. |
| 8678 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | 6014 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
| 8679 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 | 6015 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
| 8680 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} | |
| 8681 { (exit 1); exit 1; }; } | |
| 8682 | 6016 |
| 8683 { echo "$as_me:$LINENO: checking build system type" >&5 | 6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
| 8684 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } | 6018 $as_echo_n "checking build system type... " >&6; } |
| 8685 if test "${ac_cv_build+set}" = set; then | 6019 if test "${ac_cv_build+set}" = set; then : |
| 8686 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6020 $as_echo_n "(cached) " >&6 |
| 8687 else | 6021 else |
| 8688 ac_build_alias=$build_alias | 6022 ac_build_alias=$build_alias |
| 8689 test "x$ac_build_alias" = x && | 6023 test "x$ac_build_alias" = x && |
| 8690 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | 6024 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
| 8691 test "x$ac_build_alias" = x && | 6025 test "x$ac_build_alias" = x && |
| 8692 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one
" >&5 | 6026 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 |
| 8693 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | |
| 8694 { (exit 1); exit 1; }; } | |
| 8695 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | 6027 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
| 8696 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias
failed" >&5 | 6028 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
| 8697 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} | |
| 8698 { (exit 1); exit 1; }; } | |
| 8699 | 6029 |
| 8700 fi | 6030 fi |
| 8701 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | 6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
| 8702 echo "${ECHO_T}$ac_cv_build" >&6; } | 6032 $as_echo "$ac_cv_build" >&6; } |
| 8703 case $ac_cv_build in | 6033 case $ac_cv_build in |
| 8704 *-*-*) ;; | 6034 *-*-*) ;; |
| 8705 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 | 6035 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; |
| 8706 echo "$as_me: error: invalid value of canonical build" >&2;} | |
| 8707 { (exit 1); exit 1; }; };; | |
| 8708 esac | 6036 esac |
| 8709 build=$ac_cv_build | 6037 build=$ac_cv_build |
| 8710 ac_save_IFS=$IFS; IFS='-' | 6038 ac_save_IFS=$IFS; IFS='-' |
| 8711 set x $ac_cv_build | 6039 set x $ac_cv_build |
| 8712 shift | 6040 shift |
| 8713 build_cpu=$1 | 6041 build_cpu=$1 |
| 8714 build_vendor=$2 | 6042 build_vendor=$2 |
| 8715 shift; shift | 6043 shift; shift |
| 8716 # Remember, the first character of IFS is used to create $*, | 6044 # Remember, the first character of IFS is used to create $*, |
| 8717 # except with old shells: | 6045 # except with old shells: |
| 8718 build_os=$* | 6046 build_os=$* |
| 8719 IFS=$ac_save_IFS | 6047 IFS=$ac_save_IFS |
| 8720 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | 6048 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
| 8721 | 6049 |
| 8722 | 6050 |
| 8723 { echo "$as_me:$LINENO: checking host system type" >&5 | 6051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
| 8724 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } | 6052 $as_echo_n "checking host system type... " >&6; } |
| 8725 if test "${ac_cv_host+set}" = set; then | 6053 if test "${ac_cv_host+set}" = set; then : |
| 8726 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6054 $as_echo_n "(cached) " >&6 |
| 8727 else | 6055 else |
| 8728 if test "x$host_alias" = x; then | 6056 if test "x$host_alias" = x; then |
| 8729 ac_cv_host=$ac_cv_build | 6057 ac_cv_host=$ac_cv_build |
| 8730 else | 6058 else |
| 8731 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | 6059 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
| 8732 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias f
ailed" >&5 | 6060 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
| 8733 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} | |
| 8734 { (exit 1); exit 1; }; } | |
| 8735 fi | 6061 fi |
| 8736 | 6062 |
| 8737 fi | 6063 fi |
| 8738 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | 6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
| 8739 echo "${ECHO_T}$ac_cv_host" >&6; } | 6065 $as_echo "$ac_cv_host" >&6; } |
| 8740 case $ac_cv_host in | 6066 case $ac_cv_host in |
| 8741 *-*-*) ;; | 6067 *-*-*) ;; |
| 8742 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 | 6068 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; |
| 8743 echo "$as_me: error: invalid value of canonical host" >&2;} | |
| 8744 { (exit 1); exit 1; }; };; | |
| 8745 esac | 6069 esac |
| 8746 host=$ac_cv_host | 6070 host=$ac_cv_host |
| 8747 ac_save_IFS=$IFS; IFS='-' | 6071 ac_save_IFS=$IFS; IFS='-' |
| 8748 set x $ac_cv_host | 6072 set x $ac_cv_host |
| 8749 shift | 6073 shift |
| 8750 host_cpu=$1 | 6074 host_cpu=$1 |
| 8751 host_vendor=$2 | 6075 host_vendor=$2 |
| 8752 shift; shift | 6076 shift; shift |
| 8753 # Remember, the first character of IFS is used to create $*, | 6077 # Remember, the first character of IFS is used to create $*, |
| 8754 # except with old shells: | 6078 # except with old shells: |
| 8755 host_os=$* | 6079 host_os=$* |
| 8756 IFS=$ac_save_IFS | 6080 IFS=$ac_save_IFS |
| 8757 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | 6081 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
| 8758 | 6082 |
| 8759 | 6083 |
| 8760 | 6084 |
| 8761 # Check whether --with-gnu-ld was given. | 6085 # Check whether --with-gnu-ld was given. |
| 8762 if test "${with_gnu_ld+set}" = set; then | 6086 if test "${with_gnu_ld+set}" = set; then : |
| 8763 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes | 6087 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
| 8764 else | 6088 else |
| 8765 with_gnu_ld=no | 6089 with_gnu_ld=no |
| 8766 fi | 6090 fi |
| 8767 | 6091 |
| 8768 # Prepare PATH_SEPARATOR. | 6092 # Prepare PATH_SEPARATOR. |
| 8769 # The user is always right. | 6093 # The user is always right. |
| 8770 if test "${PATH_SEPARATOR+set}" != set; then | 6094 if test "${PATH_SEPARATOR+set}" != set; then |
| 8771 echo "#! /bin/sh" >conf$$.sh | 6095 echo "#! /bin/sh" >conf$$.sh |
| 8772 echo "exit 0" >>conf$$.sh | 6096 echo "exit 0" >>conf$$.sh |
| 8773 chmod +x conf$$.sh | 6097 chmod +x conf$$.sh |
| 8774 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 6098 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
| 8775 PATH_SEPARATOR=';' | 6099 PATH_SEPARATOR=';' |
| 8776 else | 6100 else |
| 8777 PATH_SEPARATOR=: | 6101 PATH_SEPARATOR=: |
| 8778 fi | 6102 fi |
| 8779 rm -f conf$$.sh | 6103 rm -f conf$$.sh |
| 8780 fi | 6104 fi |
| 8781 ac_prog=ld | 6105 ac_prog=ld |
| 8782 if test "$GCC" = yes; then | 6106 if test "$GCC" = yes; then |
| 8783 # Check if gcc -print-prog-name=ld gives a path. | 6107 # Check if gcc -print-prog-name=ld gives a path. |
| 8784 { echo "$as_me:$LINENO: checking for ld used by GCC" >&5 | 6108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 |
| 8785 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; } | 6109 $as_echo_n "checking for ld used by GCC... " >&6; } |
| 8786 case $host in | 6110 case $host in |
| 8787 *-*-mingw*) | 6111 *-*-mingw*) |
| 8788 # gcc leaves a trailing carriage return which upsets mingw | 6112 # gcc leaves a trailing carriage return which upsets mingw |
| 8789 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | 6113 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
| 8790 *) | 6114 *) |
| 8791 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | 6115 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
| 8792 esac | 6116 esac |
| 8793 case $ac_prog in | 6117 case $ac_prog in |
| 8794 # Accept absolute paths. | 6118 # Accept absolute paths. |
| 8795 [\\/]* | [A-Za-z]:[\\/]*) | 6119 [\\/]* | [A-Za-z]:[\\/]*) |
| 8796 re_direlt='/[^/][^/]*/\.\./' | 6120 re_direlt='/[^/][^/]*/\.\./' |
| 8797 # Canonicalize the path of ld | 6121 # Canonicalize the path of ld |
| 8798 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` | 6122 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` |
| 8799 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do | 6123 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do |
| 8800 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` | 6124 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` |
| 8801 done | 6125 done |
| 8802 test -z "$LD" && LD="$ac_prog" | 6126 test -z "$LD" && LD="$ac_prog" |
| 8803 ;; | 6127 ;; |
| 8804 "") | 6128 "") |
| 8805 # If it fails, then pretend we aren't using GCC. | 6129 # If it fails, then pretend we aren't using GCC. |
| 8806 ac_prog=ld | 6130 ac_prog=ld |
| 8807 ;; | 6131 ;; |
| 8808 *) | 6132 *) |
| 8809 # If it is relative, then search for the first ld in PATH. | 6133 # If it is relative, then search for the first ld in PATH. |
| 8810 with_gnu_ld=unknown | 6134 with_gnu_ld=unknown |
| 8811 ;; | 6135 ;; |
| 8812 esac | 6136 esac |
| 8813 elif test "$with_gnu_ld" = yes; then | 6137 elif test "$with_gnu_ld" = yes; then |
| 8814 { echo "$as_me:$LINENO: checking for GNU ld" >&5 | 6138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
| 8815 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } | 6139 $as_echo_n "checking for GNU ld... " >&6; } |
| 8816 else | 6140 else |
| 8817 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 | 6141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
| 8818 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } | 6142 $as_echo_n "checking for non-GNU ld... " >&6; } |
| 8819 fi | 6143 fi |
| 8820 if test "${acl_cv_path_LD+set}" = set; then | 6144 if test "${acl_cv_path_LD+set}" = set; then : |
| 8821 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6145 $as_echo_n "(cached) " >&6 |
| 8822 else | 6146 else |
| 8823 if test -z "$LD"; then | 6147 if test -z "$LD"; then |
| 8824 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" | 6148 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" |
| 8825 for ac_dir in $PATH; do | 6149 for ac_dir in $PATH; do |
| 8826 test -z "$ac_dir" && ac_dir=. | 6150 test -z "$ac_dir" && ac_dir=. |
| 8827 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | 6151 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
| 8828 acl_cv_path_LD="$ac_dir/$ac_prog" | 6152 acl_cv_path_LD="$ac_dir/$ac_prog" |
| 8829 # Check to see if the program is GNU ld. I'd rather use --version, | 6153 # Check to see if the program is GNU ld. I'd rather use --version, |
| 8830 # but apparently some GNU ld's only accept -v. | 6154 # but apparently some GNU ld's only accept -v. |
| 8831 # Break only if it was the GNU/non-GNU ld that we prefer. | 6155 # Break only if it was the GNU/non-GNU ld that we prefer. |
| 8832 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in | 6156 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in |
| 8833 *GNU* | *'with BFD'*) | 6157 *GNU* | *'with BFD'*) |
| 8834 test "$with_gnu_ld" != no && break ;; | 6158 test "$with_gnu_ld" != no && break ;; |
| 8835 *) | 6159 *) |
| 8836 test "$with_gnu_ld" != yes && break ;; | 6160 test "$with_gnu_ld" != yes && break ;; |
| 8837 esac | 6161 esac |
| 8838 fi | 6162 fi |
| 8839 done | 6163 done |
| 8840 IFS="$ac_save_ifs" | 6164 IFS="$ac_save_ifs" |
| 8841 else | 6165 else |
| 8842 acl_cv_path_LD="$LD" # Let the user override the test with a path. | 6166 acl_cv_path_LD="$LD" # Let the user override the test with a path. |
| 8843 fi | 6167 fi |
| 8844 fi | 6168 fi |
| 8845 | 6169 |
| 8846 LD="$acl_cv_path_LD" | 6170 LD="$acl_cv_path_LD" |
| 8847 if test -n "$LD"; then | 6171 if test -n "$LD"; then |
| 8848 { echo "$as_me:$LINENO: result: $LD" >&5 | 6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
| 8849 echo "${ECHO_T}$LD" >&6; } | 6173 $as_echo "$LD" >&6; } |
| 8850 else | 6174 else |
| 8851 { echo "$as_me:$LINENO: result: no" >&5 | 6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8852 echo "${ECHO_T}no" >&6; } | 6176 $as_echo "no" >&6; } |
| 8853 fi | 6177 fi |
| 8854 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PA
TH" >&5 | 6178 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 |
| 8855 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} | 6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld"
>&5 |
| 8856 { (exit 1); exit 1; }; } | 6180 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
| 8857 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 | 6181 if test "${acl_cv_prog_gnu_ld+set}" = set; then : |
| 8858 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } | 6182 $as_echo_n "(cached) " >&6 |
| 8859 if test "${acl_cv_prog_gnu_ld+set}" = set; then | |
| 8860 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 8861 else | 6183 else |
| 8862 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 6184 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
| 8863 case `$LD -v 2>&1 </dev/null` in | 6185 case `$LD -v 2>&1 </dev/null` in |
| 8864 *GNU* | *'with BFD'*) | 6186 *GNU* | *'with BFD'*) |
| 8865 acl_cv_prog_gnu_ld=yes ;; | 6187 acl_cv_prog_gnu_ld=yes ;; |
| 8866 *) | 6188 *) |
| 8867 acl_cv_prog_gnu_ld=no ;; | 6189 acl_cv_prog_gnu_ld=no ;; |
| 8868 esac | 6190 esac |
| 8869 fi | 6191 fi |
| 8870 { echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5 | 6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 |
| 8871 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; } | 6193 $as_echo "$acl_cv_prog_gnu_ld" >&6; } |
| 8872 with_gnu_ld=$acl_cv_prog_gnu_ld | 6194 with_gnu_ld=$acl_cv_prog_gnu_ld |
| 8873 | 6195 |
| 8874 | 6196 |
| 8875 | 6197 |
| 8876 | 6198 |
| 8877 { echo "$as_me:$LINENO: checking
for shared library run path origin" >&5 | 6199 { $as_echo "$as_me:${as_lineno-$
LINENO}: checking for shared library run path origin" >&5 |
| 8878 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; } | 6200 $as_echo_n "checking for shared library run path origin... " >&6; } |
| 8879 if test "${acl_cv_rpath+set}" = set; then | 6201 if test "${acl_cv_rpath+set}" = set; then : |
| 8880 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6202 $as_echo_n "(cached) " >&6 |
| 8881 else | 6203 else |
| 8882 | 6204 |
| 8883 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ | 6205 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ |
| 8884 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh | 6206 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh |
| 8885 . ./conftest.sh | 6207 . ./conftest.sh |
| 8886 rm -f ./conftest.sh | 6208 rm -f ./conftest.sh |
| 8887 acl_cv_rpath=done | 6209 acl_cv_rpath=done |
| 8888 | 6210 |
| 8889 fi | 6211 fi |
| 8890 { echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5 | 6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 |
| 8891 echo "${ECHO_T}$acl_cv_rpath" >&6; } | 6213 $as_echo "$acl_cv_rpath" >&6; } |
| 8892 wl="$acl_cv_wl" | 6214 wl="$acl_cv_wl" |
| 8893 libext="$acl_cv_libext" | 6215 acl_libext="$acl_cv_libext" |
| 8894 shlibext="$acl_cv_shlibext" | 6216 acl_shlibext="$acl_cv_shlibext" |
| 8895 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" | 6217 acl_libname_spec="$acl_cv_libname_spec" |
| 8896 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" | 6218 acl_library_names_spec="$acl_cv_library_names_spec" |
| 8897 hardcode_direct="$acl_cv_hardcode_direct" | 6219 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" |
| 8898 hardcode_minus_L="$acl_cv_hardcode_minus_L" | 6220 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" |
| 6221 acl_hardcode_direct="$acl_cv_hardcode_direct" |
| 6222 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" |
| 8899 # Check whether --enable-rpath was given. | 6223 # Check whether --enable-rpath was given. |
| 8900 if test "${enable_rpath+set}" = set; then | 6224 if test "${enable_rpath+set}" = set; then : |
| 8901 enableval=$enable_rpath; : | 6225 enableval=$enable_rpath; : |
| 8902 else | 6226 else |
| 8903 enable_rpath=yes | 6227 enable_rpath=yes |
| 8904 fi | 6228 fi |
| 8905 | 6229 |
| 8906 | 6230 |
| 8907 | 6231 |
| 8908 acl_libdirstem=lib | 6232 acl_libdirstem=lib |
| 8909 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libr
aries: ,,p' | sed -e 's,^=,,'` | 6233 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libr
aries: ,,p' | sed -e 's,^=,,'` |
| 8910 if test -n "$searchpath"; then | 6234 if test -n "$searchpath"; then |
| (...skipping 12 matching lines...) Expand all Loading... |
| 8923 IFS="$acl_save_IFS" | 6247 IFS="$acl_save_IFS" |
| 8924 fi | 6248 fi |
| 8925 | 6249 |
| 8926 | 6250 |
| 8927 | 6251 |
| 8928 | 6252 |
| 8929 | 6253 |
| 8930 | 6254 |
| 8931 | 6255 |
| 8932 | 6256 |
| 6257 |
| 8933 use_additional=yes | 6258 use_additional=yes |
| 8934 | 6259 |
| 8935 acl_save_prefix="$prefix" | 6260 acl_save_prefix="$prefix" |
| 8936 prefix="$acl_final_prefix" | 6261 prefix="$acl_final_prefix" |
| 8937 acl_save_exec_prefix="$exec_prefix" | 6262 acl_save_exec_prefix="$exec_prefix" |
| 8938 exec_prefix="$acl_final_exec_prefix" | 6263 exec_prefix="$acl_final_exec_prefix" |
| 8939 | 6264 |
| 8940 eval additional_includedir=\"$includedir\" | 6265 eval additional_includedir=\"$includedir\" |
| 8941 eval additional_libdir=\"$libdir\" | 6266 eval additional_libdir=\"$libdir\" |
| 8942 | 6267 |
| 8943 exec_prefix="$acl_save_exec_prefix" | 6268 exec_prefix="$acl_save_exec_prefix" |
| 8944 prefix="$acl_save_prefix" | 6269 prefix="$acl_save_prefix" |
| 8945 | 6270 |
| 8946 | 6271 |
| 8947 # Check whether --with-libiconv-prefix was given. | 6272 # Check whether --with-libiconv-prefix was given. |
| 8948 if test "${with_libiconv_prefix+set}" = set; then | 6273 if test "${with_libiconv_prefix+set}" = set; then : |
| 8949 withval=$with_libiconv_prefix; | 6274 withval=$with_libiconv_prefix; |
| 8950 if test "X$withval" = "Xno"; then | 6275 if test "X$withval" = "Xno"; then |
| 8951 use_additional=no | 6276 use_additional=no |
| 8952 else | 6277 else |
| 8953 if test "X$withval" = "X"; then | 6278 if test "X$withval" = "X"; then |
| 8954 | 6279 |
| 8955 acl_save_prefix="$prefix" | 6280 acl_save_prefix="$prefix" |
| 8956 prefix="$acl_final_prefix" | 6281 prefix="$acl_final_prefix" |
| 8957 acl_save_exec_prefix="$exec_prefix" | 6282 acl_save_exec_prefix="$exec_prefix" |
| 8958 exec_prefix="$acl_final_exec_prefix" | 6283 exec_prefix="$acl_final_exec_prefix" |
| 8959 | 6284 |
| 8960 eval additional_includedir=\"$includedir\" | 6285 eval additional_includedir=\"$includedir\" |
| 8961 eval additional_libdir=\"$libdir\" | 6286 eval additional_libdir=\"$libdir\" |
| 8962 | 6287 |
| 8963 exec_prefix="$acl_save_exec_prefix" | 6288 exec_prefix="$acl_save_exec_prefix" |
| 8964 prefix="$acl_save_prefix" | 6289 prefix="$acl_save_prefix" |
| 8965 | 6290 |
| 8966 else | 6291 else |
| 8967 additional_includedir="$withval/include" | 6292 additional_includedir="$withval/include" |
| 8968 additional_libdir="$withval/$acl_libdirstem" | 6293 additional_libdir="$withval/$acl_libdirstem" |
| 8969 fi | 6294 fi |
| 8970 fi | 6295 fi |
| 8971 | 6296 |
| 8972 fi | 6297 fi |
| 8973 | 6298 |
| 8974 LIBICONV= | 6299 LIBICONV= |
| 8975 LTLIBICONV= | 6300 LTLIBICONV= |
| 8976 INCICONV= | 6301 INCICONV= |
| 6302 LIBICONV_PREFIX= |
| 8977 rpathdirs= | 6303 rpathdirs= |
| 8978 ltrpathdirs= | 6304 ltrpathdirs= |
| 8979 names_already_handled= | 6305 names_already_handled= |
| 8980 names_next_round='iconv ' | 6306 names_next_round='iconv ' |
| 8981 while test -n "$names_next_round"; do | 6307 while test -n "$names_next_round"; do |
| 8982 names_this_round="$names_next_round" | 6308 names_this_round="$names_next_round" |
| 8983 names_next_round= | 6309 names_next_round= |
| 8984 for name in $names_this_round; do | 6310 for name in $names_this_round; do |
| 8985 already_handled= | 6311 already_handled= |
| 8986 for n in $names_already_handled; do | 6312 for n in $names_already_handled; do |
| (...skipping 13 matching lines...) Expand all Loading... |
| 9000 eval value=\"\$LTLIB$uppername\" | 6326 eval value=\"\$LTLIB$uppername\" |
| 9001 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" | 6327 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" |
| 9002 else | 6328 else |
| 9003 : | 6329 : |
| 9004 fi | 6330 fi |
| 9005 else | 6331 else |
| 9006 found_dir= | 6332 found_dir= |
| 9007 found_la= | 6333 found_la= |
| 9008 found_so= | 6334 found_so= |
| 9009 found_a= | 6335 found_a= |
| 6336 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name |
| 6337 if test -n "$acl_shlibext"; then |
| 6338 shrext=".$acl_shlibext" # typically: shrext=.so |
| 6339 else |
| 6340 shrext= |
| 6341 fi |
| 9010 if test $use_additional = yes; then | 6342 if test $use_additional = yes; then |
| 9011 if test -n "$shlibext" \ | 6343 dir="$additional_libdir" |
| 9012 && { test -f "$additional_libdir/lib$name.$shlibext" \ | 6344 if test -n "$acl_shlibext"; then |
| 9013 || { test "$shlibext" = dll \ | 6345 if test -f "$dir/$libname$shrext"; then |
| 9014 && test -f "$additional_libdir/lib$name.dll.a"; }; }; t
hen | 6346 found_dir="$dir" |
| 9015 found_dir="$additional_libdir" | 6347 found_so="$dir/$libname$shrext" |
| 9016 if test -f "$additional_libdir/lib$name.$shlibext"; then | |
| 9017 found_so="$additional_libdir/lib$name.$shlibext" | |
| 9018 else | 6348 else |
| 9019 found_so="$additional_libdir/lib$name.dll.a" | 6349 if test "$acl_library_names_spec" = '$libname$shrext$versuffix';
then |
| 9020 fi | 6350 ver=`(cd "$dir" && \ |
| 9021 if test -f "$additional_libdir/lib$name.la"; then | 6351 for f in "$libname$shrext".*; do echo "$f"; done \ |
| 9022 found_la="$additional_libdir/lib$name.la" | 6352 | sed -e "s,^$libname$shrext\\\\.,," \ |
| 9023 fi | 6353 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ |
| 9024 else | 6354 | sed 1q ) 2>/dev/null` |
| 9025 if test -f "$additional_libdir/lib$name.$libext"; then | 6355 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then |
| 9026 found_dir="$additional_libdir" | 6356 found_dir="$dir" |
| 9027 found_a="$additional_libdir/lib$name.$libext" | 6357 found_so="$dir/$libname$shrext.$ver" |
| 9028 if test -f "$additional_libdir/lib$name.la"; then | 6358 fi |
| 9029 found_la="$additional_libdir/lib$name.la" | 6359 else |
| 6360 eval library_names=\"$acl_library_names_spec\" |
| 6361 for f in $library_names; do |
| 6362 if test -f "$dir/$f"; then |
| 6363 found_dir="$dir" |
| 6364 found_so="$dir/$f" |
| 6365 break |
| 6366 fi |
| 6367 done |
| 9030 fi | 6368 fi |
| 9031 fi | 6369 fi |
| 9032 fi | 6370 fi |
| 6371 if test "X$found_dir" = "X"; then |
| 6372 if test -f "$dir/$libname.$acl_libext"; then |
| 6373 found_dir="$dir" |
| 6374 found_a="$dir/$libname.$acl_libext" |
| 6375 fi |
| 6376 fi |
| 6377 if test "X$found_dir" != "X"; then |
| 6378 if test -f "$dir/$libname.la"; then |
| 6379 found_la="$dir/$libname.la" |
| 6380 fi |
| 6381 fi |
| 9033 fi | 6382 fi |
| 9034 if test "X$found_dir" = "X"; then | 6383 if test "X$found_dir" = "X"; then |
| 9035 for x in $LDFLAGS $LTLIBICONV; do | 6384 for x in $LDFLAGS $LTLIBICONV; do |
| 9036 | 6385 |
| 9037 acl_save_prefix="$prefix" | 6386 acl_save_prefix="$prefix" |
| 9038 prefix="$acl_final_prefix" | 6387 prefix="$acl_final_prefix" |
| 9039 acl_save_exec_prefix="$exec_prefix" | 6388 acl_save_exec_prefix="$exec_prefix" |
| 9040 exec_prefix="$acl_final_exec_prefix" | 6389 exec_prefix="$acl_final_exec_prefix" |
| 9041 eval x=\"$x\" | 6390 eval x=\"$x\" |
| 9042 exec_prefix="$acl_save_exec_prefix" | 6391 exec_prefix="$acl_save_exec_prefix" |
| 9043 prefix="$acl_save_prefix" | 6392 prefix="$acl_save_prefix" |
| 9044 | 6393 |
| 9045 case "$x" in | 6394 case "$x" in |
| 9046 -L*) | 6395 -L*) |
| 9047 dir=`echo "X$x" | sed -e 's/^X-L//'` | 6396 dir=`echo "X$x" | sed -e 's/^X-L//'` |
| 9048 if test -n "$shlibext" \ | 6397 if test -n "$acl_shlibext"; then |
| 9049 && { test -f "$dir/lib$name.$shlibext" \ | 6398 if test -f "$dir/$libname$shrext"; then |
| 9050 || { test "$shlibext" = dll \ | 6399 found_dir="$dir" |
| 9051 && test -f "$dir/lib$name.dll.a"; }; }; then | 6400 found_so="$dir/$libname$shrext" |
| 9052 found_dir="$dir" | |
| 9053 if test -f "$dir/lib$name.$shlibext"; then | |
| 9054 found_so="$dir/lib$name.$shlibext" | |
| 9055 else | 6401 else |
| 9056 found_so="$dir/lib$name.dll.a" | 6402 if test "$acl_library_names_spec" = '$libname$shrext$versu
ffix'; then |
| 6403 ver=`(cd "$dir" && \ |
| 6404 for f in "$libname$shrext".*; do echo "$f"; done \ |
| 6405 | sed -e "s,^$libname$shrext\\\\.,," \ |
| 6406 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5
\ |
| 6407 | sed 1q ) 2>/dev/null` |
| 6408 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"
; then |
| 6409 found_dir="$dir" |
| 6410 found_so="$dir/$libname$shrext.$ver" |
| 6411 fi |
| 6412 else |
| 6413 eval library_names=\"$acl_library_names_spec\" |
| 6414 for f in $library_names; do |
| 6415 if test -f "$dir/$f"; then |
| 6416 found_dir="$dir" |
| 6417 found_so="$dir/$f" |
| 6418 break |
| 6419 fi |
| 6420 done |
| 6421 fi |
| 9057 fi | 6422 fi |
| 9058 if test -f "$dir/lib$name.la"; then | 6423 fi |
| 9059 found_la="$dir/lib$name.la" | 6424 if test "X$found_dir" = "X"; then |
| 6425 if test -f "$dir/$libname.$acl_libext"; then |
| 6426 found_dir="$dir" |
| 6427 found_a="$dir/$libname.$acl_libext" |
| 9060 fi | 6428 fi |
| 9061 else | 6429 fi |
| 9062 if test -f "$dir/lib$name.$libext"; then | 6430 if test "X$found_dir" != "X"; then |
| 9063 found_dir="$dir" | 6431 if test -f "$dir/$libname.la"; then |
| 9064 found_a="$dir/lib$name.$libext" | 6432 found_la="$dir/$libname.la" |
| 9065 if test -f "$dir/lib$name.la"; then | |
| 9066 found_la="$dir/lib$name.la" | |
| 9067 fi | |
| 9068 fi | 6433 fi |
| 9069 fi | 6434 fi |
| 9070 ;; | 6435 ;; |
| 9071 esac | 6436 esac |
| 9072 if test "X$found_dir" != "X"; then | 6437 if test "X$found_dir" != "X"; then |
| 9073 break | 6438 break |
| 9074 fi | 6439 fi |
| 9075 done | 6440 done |
| 9076 fi | 6441 fi |
| 9077 if test "X$found_dir" != "X"; then | 6442 if test "X$found_dir" != "X"; then |
| 9078 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l
$name" | 6443 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l
$name" |
| 9079 if test "X$found_so" != "X"; then | 6444 if test "X$found_so" != "X"; then |
| 9080 if test "$enable_rpath"
= no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then | 6445 if test "$enable_rpath"
= no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then |
| 9081 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" | 6446 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
| 9082 else | 6447 else |
| 9083
haveit= | 6448
haveit= |
| 9084 for x in $ltrpathdirs; do | 6449 for x in $ltrpathdirs; do |
| 9085 if test "X$x" = "X$found_dir"; then | 6450 if test "X$x" = "X$found_dir"; then |
| 9086 haveit=yes | 6451 haveit=yes |
| 9087 break | 6452 break |
| 9088 fi | 6453 fi |
| 9089 done | 6454 done |
| 9090 if test -z "$haveit"; then | 6455 if test -z "$haveit"; then |
| 9091 ltrpathdirs="$ltrpathdirs $found_dir" | 6456 ltrpathdirs="$ltrpathdirs $found_dir" |
| 9092 fi | 6457 fi |
| 9093 if test "$hardcode_direct" = yes; then | 6458 if test "$acl_hardcode_direct" = yes; then |
| 9094 LIBICONV="${LIBICONV}${LIB
ICONV:+ }$found_so" | 6459 LIBICONV="${LIBICONV}${LIB
ICONV:+ }$found_so" |
| 9095 else | 6460 else |
| 9096 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_min
us_L" = no; then | 6461 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hard
code_minus_L" = no; then |
| 9097 LIBICONV="${LIBICONV
}${LIBICONV:+ }$found_so" | 6462 LIBICONV="${LIBICONV
}${LIBICONV:+ }$found_so" |
| 9098 haveit= | 6463 haveit= |
| 9099 for x in $rpathdirs; do | 6464 for x in $rpathdirs; do |
| 9100 if test "X$x" = "X$found_dir"; then | 6465 if test "X$x" = "X$found_dir"; then |
| 9101 haveit=yes | 6466 haveit=yes |
| 9102 break | 6467 break |
| 9103 fi | 6468 fi |
| 9104 done | 6469 done |
| 9105 if test -z "$haveit"; then | 6470 if test -z "$haveit"; then |
| 9106 rpathdirs="$rpathdirs $found_dir" | 6471 rpathdirs="$rpathdirs $found_dir" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 9118 prefix="$acl_save_prefix" | 6483 prefix="$acl_save_prefix" |
| 9119 | 6484 |
| 9120 if test "X$x" = "X-L$found_dir"; then | 6485 if test "X$x" = "X-L$found_dir"; then |
| 9121 haveit=yes | 6486 haveit=yes |
| 9122 break | 6487 break |
| 9123 fi | 6488 fi |
| 9124 done | 6489 done |
| 9125 if test -z "$haveit"; then | 6490 if test -z "$haveit"; then |
| 9126 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" | 6491 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" |
| 9127 fi | 6492 fi |
| 9128 if test "$hardcode_minus_L" != no; then | 6493 if test "$acl_hardcode_minus_L" != no; then |
| 9129
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" | 6494
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
| 9130 else | 6495 else |
| 9131
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" | 6496
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" |
| 9132 fi | 6497 fi |
| 9133 fi | 6498 fi |
| 9134 fi | 6499 fi |
| 9135 fi | 6500 fi |
| 9136 else | 6501 else |
| 9137 if test "X$found_a" != "X"; then | 6502 if test "X$found_a" != "X"; then |
| 9138 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" | 6503 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" |
| 9139 else | 6504 else |
| 9140 LIBICONV="${LIBICONV}${LIBICONV:
+ }-L$found_dir -l$name" | 6505 LIBICONV="${LIBICONV}${LIBICONV:
+ }-L$found_dir -l$name" |
| 9141 fi | 6506 fi |
| 9142 fi | 6507 fi |
| 9143 additional_includedir= | 6508 additional_includedir= |
| 9144 case "$found_dir" in | 6509 case "$found_dir" in |
| 9145 */$acl_libdirstem | */$acl_libdirstem/) | 6510 */$acl_libdirstem | */$acl_libdirstem/) |
| 9146 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdir
stem/"'*$,,'` | 6511 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdir
stem/"'*$,,'` |
| 6512 LIBICONV_PREFIX="$basedir" |
| 9147 additional_includedir="$basedir/include" | 6513 additional_includedir="$basedir/include" |
| 9148 ;; | 6514 ;; |
| 9149 esac | 6515 esac |
| 9150 if test "X$additional_includedir" != "X"; then | 6516 if test "X$additional_includedir" != "X"; then |
| 9151
if test "X$additional_includedir" != "X/usr/incl
ude"; then | 6517
if test "X$additional_includedir" != "X/usr/incl
ude"; then |
| 9152 haveit= | 6518 haveit= |
| 9153 if test "X$additional_includedir" = "X/usr/local/include"; then | 6519 if test "X$additional_includedir" = "X/usr/local/include"; then |
| 9154 if test -n "$GCC"; then | 6520 if test -n "$GCC"; then |
| 9155 case $host_os in | 6521 case $host_os in |
| 9156 linux* | gnu* | k*bsd*-gnu) haveit=yes;; | 6522 linux* | gnu* | k*bsd*-gnu) haveit=yes;; |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9287 fi | 6653 fi |
| 9288 else | 6654 else |
| 9289 LIBICONV="${LIBICONV
}${LIBICONV:+ }-l$name" | 6655 LIBICONV="${LIBICONV
}${LIBICONV:+ }-l$name" |
| 9290 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" | 6656 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" |
| 9291 fi | 6657 fi |
| 9292 fi | 6658 fi |
| 9293 fi | 6659 fi |
| 9294 done | 6660 done |
| 9295 done | 6661 done |
| 9296 if test "X$rpathdirs" != "X"; then | 6662 if test "X$rpathdirs" != "X"; then |
| 9297 if test -n "$hardcode_libdir_separator"; then | 6663 if test -n "$acl_hardcode_libdir_separator"; then |
| 9298 alldirs= | 6664 alldirs= |
| 9299 for found_dir in $rpathdirs; do | 6665 for found_dir in $rpathdirs; do |
| 9300 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" | 6666 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" |
| 9301 done | 6667 done |
| 9302 acl_save_libdir="$libdir" | 6668 acl_save_libdir="$libdir" |
| 9303 libdir="$alldirs" | 6669 libdir="$alldirs" |
| 9304 eval flag=\"$hardcode_libdir_flag_spec\" | 6670 eval flag=\"$acl_hardcode_libdir_flag_spec\" |
| 9305 libdir="$acl_save_libdir" | 6671 libdir="$acl_save_libdir" |
| 9306 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" | 6672 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" |
| 9307 else | 6673 else |
| 9308 for found_dir in $rpathdirs; do | 6674 for found_dir in $rpathdirs; do |
| 9309 acl_save_libdir="$libdir" | 6675 acl_save_libdir="$libdir" |
| 9310 libdir="$found_dir" | 6676 libdir="$found_dir" |
| 9311 eval flag=\"$hardcode_libdir_flag_spec\" | 6677 eval flag=\"$acl_hardcode_libdir_flag_spec\" |
| 9312 libdir="$acl_save_libdir" | 6678 libdir="$acl_save_libdir" |
| 9313 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" | 6679 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" |
| 9314 done | 6680 done |
| 9315 fi | 6681 fi |
| 9316 fi | 6682 fi |
| 9317 if test "X$ltrpathdirs" != "X"; then | 6683 if test "X$ltrpathdirs" != "X"; then |
| 9318 for found_dir in $ltrpathdirs; do | 6684 for found_dir in $ltrpathdirs; do |
| 9319 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" | 6685 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" |
| 9320 done | 6686 done |
| 9321 fi | 6687 fi |
| (...skipping 14 matching lines...) Expand all Loading... |
| 9336 | 6702 |
| 9337 | 6703 |
| 9338 | 6704 |
| 9339 | 6705 |
| 9340 | 6706 |
| 9341 | 6707 |
| 9342 | 6708 |
| 9343 | 6709 |
| 9344 | 6710 |
| 9345 | 6711 |
| 9346 | 6712 gt_INTL_MACOSX |
| 9347 { echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5 | |
| 9348 echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6; } | |
| 9349 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then | |
| 9350 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 9351 else | |
| 9352 gt_save_LIBS="$LIBS" | |
| 9353 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" | |
| 9354 cat >conftest.$ac_ext <<_ACEOF | |
| 9355 /* confdefs.h. */ | |
| 9356 _ACEOF | |
| 9357 cat confdefs.h >>conftest.$ac_ext | |
| 9358 cat >>conftest.$ac_ext <<_ACEOF | |
| 9359 /* end confdefs.h. */ | |
| 9360 #include <CoreFoundation/CFPreferences.h> | |
| 9361 int | |
| 9362 main () | |
| 9363 { | |
| 9364 CFPreferencesCopyAppValue(NULL, NULL) | |
| 9365 ; | |
| 9366 return 0; | |
| 9367 } | |
| 9368 _ACEOF | |
| 9369 rm -f conftest.$ac_objext conftest$ac_exeext | |
| 9370 if { (ac_try="$ac_link" | |
| 9371 case "(($ac_try" in | |
| 9372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 9373 *) ac_try_echo=$ac_try;; | |
| 9374 esac | |
| 9375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 9376 (eval "$ac_link") 2>conftest.er1 | |
| 9377 ac_status=$? | |
| 9378 grep -v '^ *+' conftest.er1 >conftest.err | |
| 9379 rm -f conftest.er1 | |
| 9380 cat conftest.err >&5 | |
| 9381 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 9382 (exit $ac_status); } && { | |
| 9383 » test -z "$ac_c_werror_flag" || | |
| 9384 » test ! -s conftest.err | |
| 9385 } && test -s conftest$ac_exeext && | |
| 9386 $as_test_x conftest$ac_exeext; then | |
| 9387 gt_cv_func_CFPreferencesCopyAppValue=yes | |
| 9388 else | |
| 9389 echo "$as_me: failed program was:" >&5 | |
| 9390 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 9391 | |
| 9392 » gt_cv_func_CFPreferencesCopyAppValue=no | |
| 9393 fi | |
| 9394 | |
| 9395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
| 9396 conftest$ac_exeext conftest.$ac_ext | |
| 9397 LIBS="$gt_save_LIBS" | |
| 9398 fi | |
| 9399 { echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 | |
| 9400 echo "${ECHO_T}$gt_cv_func_CFPreferencesCopyAppValue" >&6; } | |
| 9401 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then | |
| 9402 | |
| 9403 cat >>confdefs.h <<\_ACEOF | |
| 9404 #define HAVE_CFPREFERENCESCOPYAPPVALUE 1 | |
| 9405 _ACEOF | |
| 9406 | |
| 9407 fi | |
| 9408 { echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5 | |
| 9409 echo $ECHO_N "checking for CFLocaleCopyCurrent... $ECHO_C" >&6; } | |
| 9410 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then | |
| 9411 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 9412 else | |
| 9413 gt_save_LIBS="$LIBS" | |
| 9414 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" | |
| 9415 cat >conftest.$ac_ext <<_ACEOF | |
| 9416 /* confdefs.h. */ | |
| 9417 _ACEOF | |
| 9418 cat confdefs.h >>conftest.$ac_ext | |
| 9419 cat >>conftest.$ac_ext <<_ACEOF | |
| 9420 /* end confdefs.h. */ | |
| 9421 #include <CoreFoundation/CFLocale.h> | |
| 9422 int | |
| 9423 main () | |
| 9424 { | |
| 9425 CFLocaleCopyCurrent(); | |
| 9426 ; | |
| 9427 return 0; | |
| 9428 } | |
| 9429 _ACEOF | |
| 9430 rm -f conftest.$ac_objext conftest$ac_exeext | |
| 9431 if { (ac_try="$ac_link" | |
| 9432 case "(($ac_try" in | |
| 9433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 9434 *) ac_try_echo=$ac_try;; | |
| 9435 esac | |
| 9436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 9437 (eval "$ac_link") 2>conftest.er1 | |
| 9438 ac_status=$? | |
| 9439 grep -v '^ *+' conftest.er1 >conftest.err | |
| 9440 rm -f conftest.er1 | |
| 9441 cat conftest.err >&5 | |
| 9442 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 9443 (exit $ac_status); } && { | |
| 9444 » test -z "$ac_c_werror_flag" || | |
| 9445 » test ! -s conftest.err | |
| 9446 } && test -s conftest$ac_exeext && | |
| 9447 $as_test_x conftest$ac_exeext; then | |
| 9448 gt_cv_func_CFLocaleCopyCurrent=yes | |
| 9449 else | |
| 9450 echo "$as_me: failed program was:" >&5 | |
| 9451 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 9452 | |
| 9453 » gt_cv_func_CFLocaleCopyCurrent=no | |
| 9454 fi | |
| 9455 | |
| 9456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
| 9457 conftest$ac_exeext conftest.$ac_ext | |
| 9458 LIBS="$gt_save_LIBS" | |
| 9459 fi | |
| 9460 { echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 | |
| 9461 echo "${ECHO_T}$gt_cv_func_CFLocaleCopyCurrent" >&6; } | |
| 9462 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then | |
| 9463 | |
| 9464 cat >>confdefs.h <<\_ACEOF | |
| 9465 #define HAVE_CFLOCALECOPYCURRENT 1 | |
| 9466 _ACEOF | |
| 9467 | |
| 9468 fi | |
| 9469 INTL_MACOSX_LIBS= | |
| 9470 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLoca
leCopyCurrent = yes; then | |
| 9471 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" | |
| 9472 fi | |
| 9473 | |
| 9474 | |
| 9475 | 6713 |
| 9476 | 6714 |
| 9477 | 6715 |
| 9478 | 6716 |
| 9479 LIBINTL= | 6717 LIBINTL= |
| 9480 LTLIBINTL= | 6718 LTLIBINTL= |
| 9481 POSUB= | 6719 POSUB= |
| 9482 | 6720 |
| 9483 case " $gt_needs " in | 6721 case " $gt_needs " in |
| 9484 *" need-formatstring-macros "*) gt_api_version=3 ;; | 6722 *" need-formatstring-macros "*) gt_api_version=3 ;; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 9501 ' | 6739 ' |
| 9502 else | 6740 else |
| 9503 gt_revision_test_code= | 6741 gt_revision_test_code= |
| 9504 fi | 6742 fi |
| 9505 if test $gt_api_version -ge 2; then | 6743 if test $gt_api_version -ge 2; then |
| 9506 gt_expression_test_code=' + * ngettext ("", "", 0)' | 6744 gt_expression_test_code=' + * ngettext ("", "", 0)' |
| 9507 else | 6745 else |
| 9508 gt_expression_test_code= | 6746 gt_expression_test_code= |
| 9509 fi | 6747 fi |
| 9510 | 6748 |
| 9511 { echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5 | 6749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in lib
c" >&5 |
| 9512 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6; } | 6750 $as_echo_n "checking for GNU gettext in libc... " >&6; } |
| 9513 if { as_var=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; };
then | 6751 if { as_var=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; };
then : |
| 9514 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6752 $as_echo_n "(cached) " >&6 |
| 9515 else | 6753 else |
| 9516 cat >conftest.$ac_ext <<_ACEOF | 6754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9517 /* confdefs.h. */ | |
| 9518 _ACEOF | |
| 9519 cat confdefs.h >>conftest.$ac_ext | |
| 9520 cat >>conftest.$ac_ext <<_ACEOF | |
| 9521 /* end confdefs.h. */ | 6755 /* end confdefs.h. */ |
| 9522 #include <libintl.h> | 6756 #include <libintl.h> |
| 9523 $gt_revision_test_code | 6757 $gt_revision_test_code |
| 9524 extern int _nl_msg_cat_cntr; | 6758 extern int _nl_msg_cat_cntr; |
| 9525 extern int *_nl_domain_bindings; | 6759 extern int *_nl_domain_bindings; |
| 9526 int | 6760 int |
| 9527 main () | 6761 main () |
| 9528 { | 6762 { |
| 9529 bindtextdomain ("", ""); | 6763 bindtextdomain ("", ""); |
| 9530 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_b
indings | 6764 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_b
indings |
| 9531 ; | 6765 ; |
| 9532 return 0; | 6766 return 0; |
| 9533 } | 6767 } |
| 9534 _ACEOF | 6768 _ACEOF |
| 9535 rm -f conftest.$ac_objext conftest$ac_exeext | 6769 if ac_fn_c_try_link "$LINENO"; then : |
| 9536 if { (ac_try="$ac_link" | |
| 9537 case "(($ac_try" in | |
| 9538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 9539 *) ac_try_echo=$ac_try;; | |
| 9540 esac | |
| 9541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 9542 (eval "$ac_link") 2>conftest.er1 | |
| 9543 ac_status=$? | |
| 9544 grep -v '^ *+' conftest.er1 >conftest.err | |
| 9545 rm -f conftest.er1 | |
| 9546 cat conftest.err >&5 | |
| 9547 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 9548 (exit $ac_status); } && { | |
| 9549 » test -z "$ac_c_werror_flag" || | |
| 9550 » test ! -s conftest.err | |
| 9551 } && test -s conftest$ac_exeext && | |
| 9552 $as_test_x conftest$ac_exeext; then | |
| 9553 eval "$gt_func_gnugettext_libc=yes" | 6770 eval "$gt_func_gnugettext_libc=yes" |
| 9554 else | 6771 else |
| 9555 echo "$as_me: failed program was:" >&5 | 6772 eval "$gt_func_gnugettext_libc=no" |
| 9556 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 9557 | |
| 9558 » eval "$gt_func_gnugettext_libc=no" | |
| 9559 fi | 6773 fi |
| 9560 | 6774 rm -f core conftest.err conftest.$ac_objext \ |
| 9561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 6775 conftest$ac_exeext conftest.$ac_ext |
| 9562 conftest$ac_exeext conftest.$ac_ext | |
| 9563 fi | 6776 fi |
| 9564 ac_res=`eval echo '${'$gt_func_gnugettext_libc'}'` | 6777 eval ac_res=\$$gt_func_gnugettext_libc |
| 9565 » { echo "$as_me:$LINENO: result: $ac_res" >&5 | 6778 » { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 9566 echo "${ECHO_T}$ac_res" >&6; } | 6779 $as_echo "$ac_res" >&6; } |
| 9567 | 6780 |
| 9568 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes";
}; then | 6781 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes";
}; then |
| 9569 | 6782 |
| 9570 | 6783 |
| 9571 | 6784 |
| 9572 | 6785 |
| 9573 | 6786 |
| 9574 am_save_CPPFLAGS="$CPPFLAGS" | 6787 am_save_CPPFLAGS="$CPPFLAGS" |
| 9575 | 6788 |
| 9576 for element in $INCICONV; do | 6789 for element in $INCICONV; do |
| (...skipping 12 matching lines...) Expand all Loading... |
| 9589 haveit=yes | 6802 haveit=yes |
| 9590 break | 6803 break |
| 9591 fi | 6804 fi |
| 9592 done | 6805 done |
| 9593 if test -z "$haveit"; then | 6806 if test -z "$haveit"; then |
| 9594 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" | 6807 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" |
| 9595 fi | 6808 fi |
| 9596 done | 6809 done |
| 9597 | 6810 |
| 9598 | 6811 |
| 9599 { echo "$as_me:$LINENO: checking for iconv" >&5 | 6812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 |
| 9600 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; } | 6813 $as_echo_n "checking for iconv... " >&6; } |
| 9601 if test "${am_cv_func_iconv+set}" = set; then | 6814 if test "${am_cv_func_iconv+set}" = set; then : |
| 9602 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6815 $as_echo_n "(cached) " >&6 |
| 9603 else | 6816 else |
| 9604 | 6817 |
| 9605 am_cv_func_iconv="no, consider installing GNU libiconv" | 6818 am_cv_func_iconv="no, consider installing GNU libiconv" |
| 9606 am_cv_lib_iconv=no | 6819 am_cv_lib_iconv=no |
| 9607 cat >conftest.$ac_ext <<_ACEOF | 6820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9608 /* confdefs.h. */ | |
| 9609 _ACEOF | |
| 9610 cat confdefs.h >>conftest.$ac_ext | |
| 9611 cat >>conftest.$ac_ext <<_ACEOF | |
| 9612 /* end confdefs.h. */ | 6821 /* end confdefs.h. */ |
| 9613 #include <stdlib.h> | 6822 #include <stdlib.h> |
| 9614 #include <iconv.h> | 6823 #include <iconv.h> |
| 9615 int | 6824 int |
| 9616 main () | 6825 main () |
| 9617 { | 6826 { |
| 9618 iconv_t cd = iconv_open("",""); | 6827 iconv_t cd = iconv_open("",""); |
| 9619 iconv(cd,NULL,NULL,NULL,NULL); | 6828 iconv(cd,NULL,NULL,NULL,NULL); |
| 9620 iconv_close(cd); | 6829 iconv_close(cd); |
| 9621 ; | 6830 ; |
| 9622 return 0; | 6831 return 0; |
| 9623 } | 6832 } |
| 9624 _ACEOF | 6833 _ACEOF |
| 9625 rm -f conftest.$ac_objext conftest$ac_exeext | 6834 if ac_fn_c_try_link "$LINENO"; then : |
| 9626 if { (ac_try="$ac_link" | |
| 9627 case "(($ac_try" in | |
| 9628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 9629 *) ac_try_echo=$ac_try;; | |
| 9630 esac | |
| 9631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 9632 (eval "$ac_link") 2>conftest.er1 | |
| 9633 ac_status=$? | |
| 9634 grep -v '^ *+' conftest.er1 >conftest.err | |
| 9635 rm -f conftest.er1 | |
| 9636 cat conftest.err >&5 | |
| 9637 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 9638 (exit $ac_status); } && { | |
| 9639 » test -z "$ac_c_werror_flag" || | |
| 9640 » test ! -s conftest.err | |
| 9641 } && test -s conftest$ac_exeext && | |
| 9642 $as_test_x conftest$ac_exeext; then | |
| 9643 am_cv_func_iconv=yes | 6835 am_cv_func_iconv=yes |
| 9644 else | |
| 9645 echo "$as_me: failed program was:" >&5 | |
| 9646 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 9647 | |
| 9648 | |
| 9649 fi | 6836 fi |
| 9650 | 6837 rm -f core conftest.err conftest.$ac_objext \ |
| 9651 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 6838 conftest$ac_exeext conftest.$ac_ext |
| 9652 conftest$ac_exeext conftest.$ac_ext | |
| 9653 if test "$am_cv_func_iconv" != yes; then | 6839 if test "$am_cv_func_iconv" != yes; then |
| 9654 am_save_LIBS="$LIBS" | 6840 am_save_LIBS="$LIBS" |
| 9655 LIBS="$LIBS $LIBICONV" | 6841 LIBS="$LIBS $LIBICONV" |
| 9656 cat >conftest.$ac_ext <<_ACEOF | 6842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9657 /* confdefs.h. */ | |
| 9658 _ACEOF | |
| 9659 cat confdefs.h >>conftest.$ac_ext | |
| 9660 cat >>conftest.$ac_ext <<_ACEOF | |
| 9661 /* end confdefs.h. */ | 6843 /* end confdefs.h. */ |
| 9662 #include <stdlib.h> | 6844 #include <stdlib.h> |
| 9663 #include <iconv.h> | 6845 #include <iconv.h> |
| 9664 int | 6846 int |
| 9665 main () | 6847 main () |
| 9666 { | 6848 { |
| 9667 iconv_t cd = iconv_open("",""); | 6849 iconv_t cd = iconv_open("",""); |
| 9668 iconv(cd,NULL,NULL,NULL,NULL); | 6850 iconv(cd,NULL,NULL,NULL,NULL); |
| 9669 iconv_close(cd); | 6851 iconv_close(cd); |
| 9670 ; | 6852 ; |
| 9671 return 0; | 6853 return 0; |
| 9672 } | 6854 } |
| 9673 _ACEOF | 6855 _ACEOF |
| 9674 rm -f conftest.$ac_objext conftest$ac_exeext | 6856 if ac_fn_c_try_link "$LINENO"; then : |
| 9675 if { (ac_try="$ac_link" | |
| 9676 case "(($ac_try" in | |
| 9677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 9678 *) ac_try_echo=$ac_try;; | |
| 9679 esac | |
| 9680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 9681 (eval "$ac_link") 2>conftest.er1 | |
| 9682 ac_status=$? | |
| 9683 grep -v '^ *+' conftest.er1 >conftest.err | |
| 9684 rm -f conftest.er1 | |
| 9685 cat conftest.err >&5 | |
| 9686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 9687 (exit $ac_status); } && { | |
| 9688 » test -z "$ac_c_werror_flag" || | |
| 9689 » test ! -s conftest.err | |
| 9690 } && test -s conftest$ac_exeext && | |
| 9691 $as_test_x conftest$ac_exeext; then | |
| 9692 am_cv_lib_iconv=yes | 6857 am_cv_lib_iconv=yes |
| 9693 am_cv_func_iconv=yes | 6858 am_cv_func_iconv=yes |
| 9694 else | |
| 9695 echo "$as_me: failed program was:" >&5 | |
| 9696 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 9697 | |
| 9698 | |
| 9699 fi | 6859 fi |
| 9700 | 6860 rm -f core conftest.err conftest.$ac_objext \ |
| 9701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 6861 conftest$ac_exeext conftest.$ac_ext |
| 9702 conftest$ac_exeext conftest.$ac_ext | |
| 9703 LIBS="$am_save_LIBS" | 6862 LIBS="$am_save_LIBS" |
| 9704 fi | 6863 fi |
| 9705 | 6864 |
| 9706 fi | 6865 fi |
| 9707 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 | 6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 |
| 9708 echo "${ECHO_T}$am_cv_func_iconv" >&6; } | 6867 $as_echo "$am_cv_func_iconv" >&6; } |
| 9709 if test "$am_cv_func_iconv" = yes; then | 6868 if test "$am_cv_func_iconv" = yes; then |
| 6869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 |
| 6870 $as_echo_n "checking for working iconv... " >&6; } |
| 6871 if test "${am_cv_func_iconv_works+set}" = set; then : |
| 6872 $as_echo_n "(cached) " >&6 |
| 6873 else |
| 9710 | 6874 |
| 9711 cat >>confdefs.h <<\_ACEOF | 6875 am_save_LIBS="$LIBS" |
| 9712 #define HAVE_ICONV 1 | 6876 if test $am_cv_lib_iconv = yes; then |
| 6877 LIBS="$LIBS $LIBICONV" |
| 6878 fi |
| 6879 if test "$cross_compiling" = yes; then : |
| 6880 case "$host_os" in |
| 6881 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; |
| 6882 *) am_cv_func_iconv_works="guessing yes" ;; |
| 6883 esac |
| 6884 else |
| 6885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6886 /* end confdefs.h. */ |
| 6887 |
| 6888 #include <iconv.h> |
| 6889 #include <string.h> |
| 6890 int main () |
| 6891 { |
| 6892 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful |
| 6893 returns. */ |
| 6894 { |
| 6895 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); |
| 6896 if (cd_utf8_to_88591 != (iconv_t)(-1)) |
| 6897 { |
| 6898 static const char input[] = "\342\202\254"; /* EURO SIGN */ |
| 6899 char buf[10]; |
| 6900 const char *inptr = input; |
| 6901 size_t inbytesleft = strlen (input); |
| 6902 char *outptr = buf; |
| 6903 size_t outbytesleft = sizeof (buf); |
| 6904 size_t res = iconv (cd_utf8_to_88591, |
| 6905 (char **) &inptr, &inbytesleft, |
| 6906 &outptr, &outbytesleft); |
| 6907 if (res == 0) |
| 6908 return 1; |
| 6909 } |
| 6910 } |
| 6911 #if 0 /* This bug could be worked around by the caller. */ |
| 6912 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ |
| 6913 { |
| 6914 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); |
| 6915 if (cd_88591_to_utf8 != (iconv_t)(-1)) |
| 6916 { |
| 6917 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augen
ma\337"; |
| 6918 char buf[50]; |
| 6919 const char *inptr = input; |
| 6920 size_t inbytesleft = strlen (input); |
| 6921 char *outptr = buf; |
| 6922 size_t outbytesleft = sizeof (buf); |
| 6923 size_t res = iconv (cd_88591_to_utf8, |
| 6924 (char **) &inptr, &inbytesleft, |
| 6925 &outptr, &outbytesleft); |
| 6926 if ((int)res > 0) |
| 6927 return 1; |
| 6928 } |
| 6929 } |
| 6930 #endif |
| 6931 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is |
| 6932 provided. */ |
| 6933 if (/* Try standardized names. */ |
| 6934 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) |
| 6935 /* Try IRIX, OSF/1 names. */ |
| 6936 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) |
| 6937 /* Try AIX names. */ |
| 6938 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) |
| 6939 /* Try HP-UX names. */ |
| 6940 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) |
| 6941 return 1; |
| 6942 return 0; |
| 6943 } |
| 9713 _ACEOF | 6944 _ACEOF |
| 6945 if ac_fn_c_try_run "$LINENO"; then : |
| 6946 am_cv_func_iconv_works=yes |
| 6947 else |
| 6948 am_cv_func_iconv_works=no |
| 6949 fi |
| 6950 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 6951 conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 6952 fi |
| 6953 |
| 6954 LIBS="$am_save_LIBS" |
| 6955 |
| 6956 fi |
| 6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 |
| 6958 $as_echo "$am_cv_func_iconv_works" >&6; } |
| 6959 case "$am_cv_func_iconv_works" in |
| 6960 *no) am_func_iconv=no am_cv_lib_iconv=no ;; |
| 6961 *) am_func_iconv=yes ;; |
| 6962 esac |
| 6963 else |
| 6964 am_func_iconv=no am_cv_lib_iconv=no |
| 6965 fi |
| 6966 if test "$am_func_iconv" = yes; then |
| 6967 |
| 6968 $as_echo "#define HAVE_ICONV 1" >>confdefs.h |
| 9714 | 6969 |
| 9715 fi | 6970 fi |
| 9716 if test "$am_cv_lib_iconv" = yes; then | 6971 if test "$am_cv_lib_iconv" = yes; then |
| 9717 { echo "$as_me:$LINENO: checking how to link with libiconv" >&5 | 6972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv"
>&5 |
| 9718 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; } | 6973 $as_echo_n "checking how to link with libiconv... " >&6; } |
| 9719 { echo "$as_me:$LINENO: result: $LIBICONV" >&5 | 6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 |
| 9720 echo "${ECHO_T}$LIBICONV" >&6; } | 6975 $as_echo "$LIBICONV" >&6; } |
| 9721 else | 6976 else |
| 9722 CPPFLAGS="$am_save_CPPFLAGS" | 6977 CPPFLAGS="$am_save_CPPFLAGS" |
| 9723 LIBICONV= | 6978 LIBICONV= |
| 9724 LTLIBICONV= | 6979 LTLIBICONV= |
| 9725 fi | 6980 fi |
| 9726 | 6981 |
| 9727 | 6982 |
| 9728 | 6983 |
| 9729 | 6984 |
| 9730 | 6985 |
| 9731 | 6986 |
| 9732 | 6987 |
| 6988 |
| 9733 use_additional=yes | 6989 use_additional=yes |
| 9734 | 6990 |
| 9735 acl_save_prefix="$prefix" | 6991 acl_save_prefix="$prefix" |
| 9736 prefix="$acl_final_prefix" | 6992 prefix="$acl_final_prefix" |
| 9737 acl_save_exec_prefix="$exec_prefix" | 6993 acl_save_exec_prefix="$exec_prefix" |
| 9738 exec_prefix="$acl_final_exec_prefix" | 6994 exec_prefix="$acl_final_exec_prefix" |
| 9739 | 6995 |
| 9740 eval additional_includedir=\"$includedir\" | 6996 eval additional_includedir=\"$includedir\" |
| 9741 eval additional_libdir=\"$libdir\" | 6997 eval additional_libdir=\"$libdir\" |
| 9742 | 6998 |
| 9743 exec_prefix="$acl_save_exec_prefix" | 6999 exec_prefix="$acl_save_exec_prefix" |
| 9744 prefix="$acl_save_prefix" | 7000 prefix="$acl_save_prefix" |
| 9745 | 7001 |
| 9746 | 7002 |
| 9747 # Check whether --with-libintl-prefix was given. | 7003 # Check whether --with-libintl-prefix was given. |
| 9748 if test "${with_libintl_prefix+set}" = set; then | 7004 if test "${with_libintl_prefix+set}" = set; then : |
| 9749 withval=$with_libintl_prefix; | 7005 withval=$with_libintl_prefix; |
| 9750 if test "X$withval" = "Xno"; then | 7006 if test "X$withval" = "Xno"; then |
| 9751 use_additional=no | 7007 use_additional=no |
| 9752 else | 7008 else |
| 9753 if test "X$withval" = "X"; then | 7009 if test "X$withval" = "X"; then |
| 9754 | 7010 |
| 9755 acl_save_prefix="$prefix" | 7011 acl_save_prefix="$prefix" |
| 9756 prefix="$acl_final_prefix" | 7012 prefix="$acl_final_prefix" |
| 9757 acl_save_exec_prefix="$exec_prefix" | 7013 acl_save_exec_prefix="$exec_prefix" |
| 9758 exec_prefix="$acl_final_exec_prefix" | 7014 exec_prefix="$acl_final_exec_prefix" |
| 9759 | 7015 |
| 9760 eval additional_includedir=\"$includedir\" | 7016 eval additional_includedir=\"$includedir\" |
| 9761 eval additional_libdir=\"$libdir\" | 7017 eval additional_libdir=\"$libdir\" |
| 9762 | 7018 |
| 9763 exec_prefix="$acl_save_exec_prefix" | 7019 exec_prefix="$acl_save_exec_prefix" |
| 9764 prefix="$acl_save_prefix" | 7020 prefix="$acl_save_prefix" |
| 9765 | 7021 |
| 9766 else | 7022 else |
| 9767 additional_includedir="$withval/include" | 7023 additional_includedir="$withval/include" |
| 9768 additional_libdir="$withval/$acl_libdirstem" | 7024 additional_libdir="$withval/$acl_libdirstem" |
| 9769 fi | 7025 fi |
| 9770 fi | 7026 fi |
| 9771 | 7027 |
| 9772 fi | 7028 fi |
| 9773 | 7029 |
| 9774 LIBINTL= | 7030 LIBINTL= |
| 9775 LTLIBINTL= | 7031 LTLIBINTL= |
| 9776 INCINTL= | 7032 INCINTL= |
| 7033 LIBINTL_PREFIX= |
| 9777 rpathdirs= | 7034 rpathdirs= |
| 9778 ltrpathdirs= | 7035 ltrpathdirs= |
| 9779 names_already_handled= | 7036 names_already_handled= |
| 9780 names_next_round='intl ' | 7037 names_next_round='intl ' |
| 9781 while test -n "$names_next_round"; do | 7038 while test -n "$names_next_round"; do |
| 9782 names_this_round="$names_next_round" | 7039 names_this_round="$names_next_round" |
| 9783 names_next_round= | 7040 names_next_round= |
| 9784 for name in $names_this_round; do | 7041 for name in $names_this_round; do |
| 9785 already_handled= | 7042 already_handled= |
| 9786 for n in $names_already_handled; do | 7043 for n in $names_already_handled; do |
| (...skipping 13 matching lines...) Expand all Loading... |
| 9800 eval value=\"\$LTLIB$uppername\" | 7057 eval value=\"\$LTLIB$uppername\" |
| 9801 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" | 7058 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" |
| 9802 else | 7059 else |
| 9803 : | 7060 : |
| 9804 fi | 7061 fi |
| 9805 else | 7062 else |
| 9806 found_dir= | 7063 found_dir= |
| 9807 found_la= | 7064 found_la= |
| 9808 found_so= | 7065 found_so= |
| 9809 found_a= | 7066 found_a= |
| 7067 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name |
| 7068 if test -n "$acl_shlibext"; then |
| 7069 shrext=".$acl_shlibext" # typically: shrext=.so |
| 7070 else |
| 7071 shrext= |
| 7072 fi |
| 9810 if test $use_additional = yes; then | 7073 if test $use_additional = yes; then |
| 9811 if test -n "$shlibext" \ | 7074 dir="$additional_libdir" |
| 9812 && { test -f "$additional_libdir/lib$name.$shlibext" \ | 7075 if test -n "$acl_shlibext"; then |
| 9813 || { test "$shlibext" = dll \ | 7076 if test -f "$dir/$libname$shrext"; then |
| 9814 && test -f "$additional_libdir/lib$name.dll.a"; }; }; t
hen | 7077 found_dir="$dir" |
| 9815 found_dir="$additional_libdir" | 7078 found_so="$dir/$libname$shrext" |
| 9816 if test -f "$additional_libdir/lib$name.$shlibext"; then | |
| 9817 found_so="$additional_libdir/lib$name.$shlibext" | |
| 9818 else | 7079 else |
| 9819 found_so="$additional_libdir/lib$name.dll.a" | 7080 if test "$acl_library_names_spec" = '$libname$shrext$versuffix';
then |
| 9820 fi | 7081 ver=`(cd "$dir" && \ |
| 9821 if test -f "$additional_libdir/lib$name.la"; then | 7082 for f in "$libname$shrext".*; do echo "$f"; done \ |
| 9822 found_la="$additional_libdir/lib$name.la" | 7083 | sed -e "s,^$libname$shrext\\\\.,," \ |
| 9823 fi | 7084 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ |
| 9824 else | 7085 | sed 1q ) 2>/dev/null` |
| 9825 if test -f "$additional_libdir/lib$name.$libext"; then | 7086 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then |
| 9826 found_dir="$additional_libdir" | 7087 found_dir="$dir" |
| 9827 found_a="$additional_libdir/lib$name.$libext" | 7088 found_so="$dir/$libname$shrext.$ver" |
| 9828 if test -f "$additional_libdir/lib$name.la"; then | 7089 fi |
| 9829 found_la="$additional_libdir/lib$name.la" | 7090 else |
| 7091 eval library_names=\"$acl_library_names_spec\" |
| 7092 for f in $library_names; do |
| 7093 if test -f "$dir/$f"; then |
| 7094 found_dir="$dir" |
| 7095 found_so="$dir/$f" |
| 7096 break |
| 7097 fi |
| 7098 done |
| 9830 fi | 7099 fi |
| 9831 fi | 7100 fi |
| 9832 fi | 7101 fi |
| 7102 if test "X$found_dir" = "X"; then |
| 7103 if test -f "$dir/$libname.$acl_libext"; then |
| 7104 found_dir="$dir" |
| 7105 found_a="$dir/$libname.$acl_libext" |
| 7106 fi |
| 7107 fi |
| 7108 if test "X$found_dir" != "X"; then |
| 7109 if test -f "$dir/$libname.la"; then |
| 7110 found_la="$dir/$libname.la" |
| 7111 fi |
| 7112 fi |
| 9833 fi | 7113 fi |
| 9834 if test "X$found_dir" = "X"; then | 7114 if test "X$found_dir" = "X"; then |
| 9835 for x in $LDFLAGS $LTLIBINTL; do | 7115 for x in $LDFLAGS $LTLIBINTL; do |
| 9836 | 7116 |
| 9837 acl_save_prefix="$prefix" | 7117 acl_save_prefix="$prefix" |
| 9838 prefix="$acl_final_prefix" | 7118 prefix="$acl_final_prefix" |
| 9839 acl_save_exec_prefix="$exec_prefix" | 7119 acl_save_exec_prefix="$exec_prefix" |
| 9840 exec_prefix="$acl_final_exec_prefix" | 7120 exec_prefix="$acl_final_exec_prefix" |
| 9841 eval x=\"$x\" | 7121 eval x=\"$x\" |
| 9842 exec_prefix="$acl_save_exec_prefix" | 7122 exec_prefix="$acl_save_exec_prefix" |
| 9843 prefix="$acl_save_prefix" | 7123 prefix="$acl_save_prefix" |
| 9844 | 7124 |
| 9845 case "$x" in | 7125 case "$x" in |
| 9846 -L*) | 7126 -L*) |
| 9847 dir=`echo "X$x" | sed -e 's/^X-L//'` | 7127 dir=`echo "X$x" | sed -e 's/^X-L//'` |
| 9848 if test -n "$shlibext" \ | 7128 if test -n "$acl_shlibext"; then |
| 9849 && { test -f "$dir/lib$name.$shlibext" \ | 7129 if test -f "$dir/$libname$shrext"; then |
| 9850 || { test "$shlibext" = dll \ | 7130 found_dir="$dir" |
| 9851 && test -f "$dir/lib$name.dll.a"; }; }; then | 7131 found_so="$dir/$libname$shrext" |
| 9852 found_dir="$dir" | |
| 9853 if test -f "$dir/lib$name.$shlibext"; then | |
| 9854 found_so="$dir/lib$name.$shlibext" | |
| 9855 else | 7132 else |
| 9856 found_so="$dir/lib$name.dll.a" | 7133 if test "$acl_library_names_spec" = '$libname$shrext$versu
ffix'; then |
| 7134 ver=`(cd "$dir" && \ |
| 7135 for f in "$libname$shrext".*; do echo "$f"; done \ |
| 7136 | sed -e "s,^$libname$shrext\\\\.,," \ |
| 7137 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5
\ |
| 7138 | sed 1q ) 2>/dev/null` |
| 7139 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"
; then |
| 7140 found_dir="$dir" |
| 7141 found_so="$dir/$libname$shrext.$ver" |
| 7142 fi |
| 7143 else |
| 7144 eval library_names=\"$acl_library_names_spec\" |
| 7145 for f in $library_names; do |
| 7146 if test -f "$dir/$f"; then |
| 7147 found_dir="$dir" |
| 7148 found_so="$dir/$f" |
| 7149 break |
| 7150 fi |
| 7151 done |
| 7152 fi |
| 9857 fi | 7153 fi |
| 9858 if test -f "$dir/lib$name.la"; then | 7154 fi |
| 9859 found_la="$dir/lib$name.la" | 7155 if test "X$found_dir" = "X"; then |
| 7156 if test -f "$dir/$libname.$acl_libext"; then |
| 7157 found_dir="$dir" |
| 7158 found_a="$dir/$libname.$acl_libext" |
| 9860 fi | 7159 fi |
| 9861 else | 7160 fi |
| 9862 if test -f "$dir/lib$name.$libext"; then | 7161 if test "X$found_dir" != "X"; then |
| 9863 found_dir="$dir" | 7162 if test -f "$dir/$libname.la"; then |
| 9864 found_a="$dir/lib$name.$libext" | 7163 found_la="$dir/$libname.la" |
| 9865 if test -f "$dir/lib$name.la"; then | |
| 9866 found_la="$dir/lib$name.la" | |
| 9867 fi | |
| 9868 fi | 7164 fi |
| 9869 fi | 7165 fi |
| 9870 ;; | 7166 ;; |
| 9871 esac | 7167 esac |
| 9872 if test "X$found_dir" != "X"; then | 7168 if test "X$found_dir" != "X"; then |
| 9873 break | 7169 break |
| 9874 fi | 7170 fi |
| 9875 done | 7171 done |
| 9876 fi | 7172 fi |
| 9877 if test "X$found_dir" != "X"; then | 7173 if test "X$found_dir" != "X"; then |
| 9878 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$na
me" | 7174 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$na
me" |
| 9879 if test "X$found_so" != "X"; then | 7175 if test "X$found_so" != "X"; then |
| 9880 if test "$enable_rpath"
= no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then | 7176 if test "$enable_rpath"
= no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then |
| 9881 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" | 7177 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" |
| 9882 else | 7178 else |
| 9883
haveit= | 7179
haveit= |
| 9884 for x in $ltrpathdirs; do | 7180 for x in $ltrpathdirs; do |
| 9885 if test "X$x" = "X$found_dir"; then | 7181 if test "X$x" = "X$found_dir"; then |
| 9886 haveit=yes | 7182 haveit=yes |
| 9887 break | 7183 break |
| 9888 fi | 7184 fi |
| 9889 done | 7185 done |
| 9890 if test -z "$haveit"; then | 7186 if test -z "$haveit"; then |
| 9891 ltrpathdirs="$ltrpathdirs $found_dir" | 7187 ltrpathdirs="$ltrpathdirs $found_dir" |
| 9892 fi | 7188 fi |
| 9893 if test "$hardcode_direct" = yes; then | 7189 if test "$acl_hardcode_direct" = yes; then |
| 9894 LIBINTL="${LIBINTL}${LIBIN
TL:+ }$found_so" | 7190 LIBINTL="${LIBINTL}${LIBIN
TL:+ }$found_so" |
| 9895 else | 7191 else |
| 9896 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_min
us_L" = no; then | 7192 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hard
code_minus_L" = no; then |
| 9897 LIBINTL="${LIBINTL}$
{LIBINTL:+ }$found_so" | 7193 LIBINTL="${LIBINTL}$
{LIBINTL:+ }$found_so" |
| 9898 haveit= | 7194 haveit= |
| 9899 for x in $rpathdirs; do | 7195 for x in $rpathdirs; do |
| 9900 if test "X$x" = "X$found_dir"; then | 7196 if test "X$x" = "X$found_dir"; then |
| 9901 haveit=yes | 7197 haveit=yes |
| 9902 break | 7198 break |
| 9903 fi | 7199 fi |
| 9904 done | 7200 done |
| 9905 if test -z "$haveit"; then | 7201 if test -z "$haveit"; then |
| 9906 rpathdirs="$rpathdirs $found_dir" | 7202 rpathdirs="$rpathdirs $found_dir" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 9918 prefix="$acl_save_prefix" | 7214 prefix="$acl_save_prefix" |
| 9919 | 7215 |
| 9920 if test "X$x" = "X-L$found_dir"; then | 7216 if test "X$x" = "X-L$found_dir"; then |
| 9921 haveit=yes | 7217 haveit=yes |
| 9922 break | 7218 break |
| 9923 fi | 7219 fi |
| 9924 done | 7220 done |
| 9925 if test -z "$haveit"; then | 7221 if test -z "$haveit"; then |
| 9926 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" | 7222 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" |
| 9927 fi | 7223 fi |
| 9928 if test "$hardcode_minus_L" != no; then | 7224 if test "$acl_hardcode_minus_L" != no; then |
| 9929
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" | 7225
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" |
| 9930 else | 7226 else |
| 9931
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" | 7227
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" |
| 9932 fi | 7228 fi |
| 9933 fi | 7229 fi |
| 9934 fi | 7230 fi |
| 9935 fi | 7231 fi |
| 9936 else | 7232 else |
| 9937 if test "X$found_a" != "X"; then | 7233 if test "X$found_a" != "X"; then |
| 9938 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" | 7234 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" |
| 9939 else | 7235 else |
| 9940 LIBINTL="${LIBINTL}${LIBINTL:+ }
-L$found_dir -l$name" | 7236 LIBINTL="${LIBINTL}${LIBINTL:+ }
-L$found_dir -l$name" |
| 9941 fi | 7237 fi |
| 9942 fi | 7238 fi |
| 9943 additional_includedir= | 7239 additional_includedir= |
| 9944 case "$found_dir" in | 7240 case "$found_dir" in |
| 9945 */$acl_libdirstem | */$acl_libdirstem/) | 7241 */$acl_libdirstem | */$acl_libdirstem/) |
| 9946 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdir
stem/"'*$,,'` | 7242 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdir
stem/"'*$,,'` |
| 7243 LIBINTL_PREFIX="$basedir" |
| 9947 additional_includedir="$basedir/include" | 7244 additional_includedir="$basedir/include" |
| 9948 ;; | 7245 ;; |
| 9949 esac | 7246 esac |
| 9950 if test "X$additional_includedir" != "X"; then | 7247 if test "X$additional_includedir" != "X"; then |
| 9951
if test "X$additional_includedir" != "X/usr/incl
ude"; then | 7248
if test "X$additional_includedir" != "X/usr/incl
ude"; then |
| 9952 haveit= | 7249 haveit= |
| 9953 if test "X$additional_includedir" = "X/usr/local/include"; then | 7250 if test "X$additional_includedir" = "X/usr/local/include"; then |
| 9954 if test -n "$GCC"; then | 7251 if test -n "$GCC"; then |
| 9955 case $host_os in | 7252 case $host_os in |
| 9956 linux* | gnu* | k*bsd*-gnu) haveit=yes;; | 7253 linux* | gnu* | k*bsd*-gnu) haveit=yes;; |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10087 fi | 7384 fi |
| 10088 else | 7385 else |
| 10089 LIBINTL="${LIBINTL}$
{LIBINTL:+ }-l$name" | 7386 LIBINTL="${LIBINTL}$
{LIBINTL:+ }-l$name" |
| 10090 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" | 7387 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" |
| 10091 fi | 7388 fi |
| 10092 fi | 7389 fi |
| 10093 fi | 7390 fi |
| 10094 done | 7391 done |
| 10095 done | 7392 done |
| 10096 if test "X$rpathdirs" != "X"; then | 7393 if test "X$rpathdirs" != "X"; then |
| 10097 if test -n "$hardcode_libdir_separator"; then | 7394 if test -n "$acl_hardcode_libdir_separator"; then |
| 10098 alldirs= | 7395 alldirs= |
| 10099 for found_dir in $rpathdirs; do | 7396 for found_dir in $rpathdirs; do |
| 10100 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" | 7397 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" |
| 10101 done | 7398 done |
| 10102 acl_save_libdir="$libdir" | 7399 acl_save_libdir="$libdir" |
| 10103 libdir="$alldirs" | 7400 libdir="$alldirs" |
| 10104 eval flag=\"$hardcode_libdir_flag_spec\" | 7401 eval flag=\"$acl_hardcode_libdir_flag_spec\" |
| 10105 libdir="$acl_save_libdir" | 7402 libdir="$acl_save_libdir" |
| 10106 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" | 7403 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" |
| 10107 else | 7404 else |
| 10108 for found_dir in $rpathdirs; do | 7405 for found_dir in $rpathdirs; do |
| 10109 acl_save_libdir="$libdir" | 7406 acl_save_libdir="$libdir" |
| 10110 libdir="$found_dir" | 7407 libdir="$found_dir" |
| 10111 eval flag=\"$hardcode_libdir_flag_spec\" | 7408 eval flag=\"$acl_hardcode_libdir_flag_spec\" |
| 10112 libdir="$acl_save_libdir" | 7409 libdir="$acl_save_libdir" |
| 10113 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" | 7410 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" |
| 10114 done | 7411 done |
| 10115 fi | 7412 fi |
| 10116 fi | 7413 fi |
| 10117 if test "X$ltrpathdirs" != "X"; then | 7414 if test "X$ltrpathdirs" != "X"; then |
| 10118 for found_dir in $ltrpathdirs; do | 7415 for found_dir in $ltrpathdirs; do |
| 10119 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" | 7416 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" |
| 10120 done | 7417 done |
| 10121 fi | 7418 fi |
| 10122 | 7419 |
| 10123 { echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5 | 7420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in l
ibintl" >&5 |
| 10124 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6; } | 7421 $as_echo_n "checking for GNU gettext in libintl... " >&6; } |
| 10125 if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set";
}; then | 7422 if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set";
}; then : |
| 10126 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7423 $as_echo_n "(cached) " >&6 |
| 10127 else | 7424 else |
| 10128 gt_save_CPPFLAGS="$CPPFLAGS" | 7425 gt_save_CPPFLAGS="$CPPFLAGS" |
| 10129 CPPFLAGS="$CPPFLAGS $INCINTL" | 7426 CPPFLAGS="$CPPFLAGS $INCINTL" |
| 10130 gt_save_LIBS="$LIBS" | 7427 gt_save_LIBS="$LIBS" |
| 10131 LIBS="$LIBS $LIBINTL" | 7428 LIBS="$LIBS $LIBINTL" |
| 10132 cat >conftest.$ac_ext <<_ACEOF | 7429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10133 /* confdefs.h. */ | |
| 10134 _ACEOF | |
| 10135 cat confdefs.h >>conftest.$ac_ext | |
| 10136 cat >>conftest.$ac_ext <<_ACEOF | |
| 10137 /* end confdefs.h. */ | 7430 /* end confdefs.h. */ |
| 10138 #include <libintl.h> | 7431 #include <libintl.h> |
| 10139 $gt_revision_test_code | 7432 $gt_revision_test_code |
| 10140 extern int _nl_msg_cat_cntr; | 7433 extern int _nl_msg_cat_cntr; |
| 10141 extern | 7434 extern |
| 10142 #ifdef __cplusplus | 7435 #ifdef __cplusplus |
| 10143 "C" | 7436 "C" |
| 10144 #endif | 7437 #endif |
| 10145 const char *_nl_expand_alias (const char *); | 7438 const char *_nl_expand_alias (const char *); |
| 10146 int | 7439 int |
| 10147 main () | 7440 main () |
| 10148 { | 7441 { |
| 10149 bindtextdomain ("", ""); | 7442 bindtextdomain ("", ""); |
| 10150 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_a
lias ("") | 7443 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_a
lias ("") |
| 10151 ; | 7444 ; |
| 10152 return 0; | 7445 return 0; |
| 10153 } | 7446 } |
| 10154 _ACEOF | 7447 _ACEOF |
| 10155 rm -f conftest.$ac_objext conftest$ac_exeext | 7448 if ac_fn_c_try_link "$LINENO"; then : |
| 10156 if { (ac_try="$ac_link" | |
| 10157 case "(($ac_try" in | |
| 10158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 10159 *) ac_try_echo=$ac_try;; | |
| 10160 esac | |
| 10161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 10162 (eval "$ac_link") 2>conftest.er1 | |
| 10163 ac_status=$? | |
| 10164 grep -v '^ *+' conftest.er1 >conftest.err | |
| 10165 rm -f conftest.er1 | |
| 10166 cat conftest.err >&5 | |
| 10167 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 10168 (exit $ac_status); } && { | |
| 10169 » test -z "$ac_c_werror_flag" || | |
| 10170 » test ! -s conftest.err | |
| 10171 } && test -s conftest$ac_exeext && | |
| 10172 $as_test_x conftest$ac_exeext; then | |
| 10173 eval "$gt_func_gnugettext_libintl=yes" | 7449 eval "$gt_func_gnugettext_libintl=yes" |
| 10174 else | 7450 else |
| 10175 echo "$as_me: failed program was:" >&5 | 7451 eval "$gt_func_gnugettext_libintl=no" |
| 10176 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 10177 | |
| 10178 » eval "$gt_func_gnugettext_libintl=no" | |
| 10179 fi | 7452 fi |
| 10180 | 7453 rm -f core conftest.err conftest.$ac_objext \ |
| 10181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 7454 conftest$ac_exeext conftest.$ac_ext |
| 10182 conftest$ac_exeext conftest.$ac_ext | |
| 10183 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "
$gt_val" != yes; } && test -n "$LIBICONV"; then | 7455 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "
$gt_val" != yes; } && test -n "$LIBICONV"; then |
| 10184 LIBS="$LIBS $LIBICONV" | 7456 LIBS="$LIBS $LIBICONV" |
| 10185 cat >conftest.$ac_ext <<_ACEOF | 7457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10186 /* confdefs.h. */ | |
| 10187 _ACEOF | |
| 10188 cat confdefs.h >>conftest.$ac_ext | |
| 10189 cat >>conftest.$ac_ext <<_ACEOF | |
| 10190 /* end confdefs.h. */ | 7458 /* end confdefs.h. */ |
| 10191 #include <libintl.h> | 7459 #include <libintl.h> |
| 10192 $gt_revision_test_code | 7460 $gt_revision_test_code |
| 10193 extern int _nl_msg_cat_cntr; | 7461 extern int _nl_msg_cat_cntr; |
| 10194 extern | 7462 extern |
| 10195 #ifdef __cplusplus | 7463 #ifdef __cplusplus |
| 10196 "C" | 7464 "C" |
| 10197 #endif | 7465 #endif |
| 10198 const char *_nl_expand_alias (const char *); | 7466 const char *_nl_expand_alias (const char *); |
| 10199 int | 7467 int |
| 10200 main () | 7468 main () |
| 10201 { | 7469 { |
| 10202 bindtextdomain ("", ""); | 7470 bindtextdomain ("", ""); |
| 10203 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_a
lias ("") | 7471 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_a
lias ("") |
| 10204 ; | 7472 ; |
| 10205 return 0; | 7473 return 0; |
| 10206 } | 7474 } |
| 10207 _ACEOF | 7475 _ACEOF |
| 10208 rm -f conftest.$ac_objext conftest$ac_exeext | 7476 if ac_fn_c_try_link "$LINENO"; then : |
| 10209 if { (ac_try="$ac_link" | |
| 10210 case "(($ac_try" in | |
| 10211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 10212 *) ac_try_echo=$ac_try;; | |
| 10213 esac | |
| 10214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 10215 (eval "$ac_link") 2>conftest.er1 | |
| 10216 ac_status=$? | |
| 10217 grep -v '^ *+' conftest.er1 >conftest.err | |
| 10218 rm -f conftest.er1 | |
| 10219 cat conftest.err >&5 | |
| 10220 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 10221 (exit $ac_status); } && { | |
| 10222 » test -z "$ac_c_werror_flag" || | |
| 10223 » test ! -s conftest.err | |
| 10224 } && test -s conftest$ac_exeext && | |
| 10225 $as_test_x conftest$ac_exeext; then | |
| 10226 LIBINTL="$LIBINTL $LIBICONV" | 7477 LIBINTL="$LIBINTL $LIBICONV" |
| 10227 LTLIBINTL="$LTLIBINTL $LTLIBICONV" | 7478 LTLIBINTL="$LTLIBINTL $LTLIBICONV" |
| 10228 eval "$gt_func_gnugettext_libintl=yes" | 7479 eval "$gt_func_gnugettext_libintl=yes" |
| 10229 | 7480 |
| 10230 else | |
| 10231 echo "$as_me: failed program was:" >&5 | |
| 10232 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 10233 | |
| 10234 | |
| 10235 fi | 7481 fi |
| 10236 | 7482 rm -f core conftest.err conftest.$ac_objext \ |
| 10237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 7483 conftest$ac_exeext conftest.$ac_ext |
| 10238 conftest$ac_exeext conftest.$ac_ext | |
| 10239 fi | 7484 fi |
| 10240 CPPFLAGS="$gt_save_CPPFLAGS" | 7485 CPPFLAGS="$gt_save_CPPFLAGS" |
| 10241 LIBS="$gt_save_LIBS" | 7486 LIBS="$gt_save_LIBS" |
| 10242 fi | 7487 fi |
| 10243 ac_res=`eval echo '${'$gt_func_gnugettext_libintl'}'` | 7488 eval ac_res=\$$gt_func_gnugettext_libintl |
| 10244 » { echo "$as_me:$LINENO: result: $ac_res" >&5 | 7489 » { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 10245 echo "${ECHO_T}$ac_res" >&6; } | 7490 $as_echo "$ac_res" >&6; } |
| 10246 fi | 7491 fi |
| 10247 | 7492 |
| 10248 if { eval "gt_val=\$$gt_func_gnugettext_
libc"; test "$gt_val" = "yes"; } \ | 7493 if { eval "gt_val=\$$gt_func_gnugettext_
libc"; test "$gt_val" = "yes"; } \ |
| 10249 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" =
"yes"; } \ | 7494 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" =
"yes"; } \ |
| 10250 && test "$PACKAGE" != gettext-runtime \ | 7495 && test "$PACKAGE" != gettext-runtime \ |
| 10251 && test "$PACKAGE" != gettext-tools; }; then | 7496 && test "$PACKAGE" != gettext-tools; }; then |
| 10252 gt_use_preinstalled_gnugettext=yes | 7497 gt_use_preinstalled_gnugettext=yes |
| 10253 else | 7498 else |
| 10254 LIBINTL= | 7499 LIBINTL= |
| 10255 LTLIBINTL= | 7500 LTLIBINTL= |
| 10256 INCINTL= | 7501 INCINTL= |
| 10257 fi | 7502 fi |
| 10258 | 7503 |
| 10259 | 7504 |
| 10260 | 7505 |
| 10261 if test -n "$INTL_MACOSX_LIBS"; then | 7506 if test -n "$INTL_MACOSX_LIBS"; then |
| 10262 if test "$gt_use_preinstalled_gnugettext" = "yes" \ | 7507 if test "$gt_use_preinstalled_gnugettext" = "yes" \ |
| 10263 || test "$nls_cv_use_gnu_gettext" = "yes"; then | 7508 || test "$nls_cv_use_gnu_gettext" = "yes"; then |
| 10264 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" | 7509 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" |
| 10265 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" | 7510 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" |
| 10266 fi | 7511 fi |
| 10267 fi | 7512 fi |
| 10268 | 7513 |
| 10269 if test "$gt_use_preinstalled_gnugettext" = "yes" \ | 7514 if test "$gt_use_preinstalled_gnugettext" = "yes" \ |
| 10270 || test "$nls_cv_use_gnu_gettext" = "yes"; then | 7515 || test "$nls_cv_use_gnu_gettext" = "yes"; then |
| 10271 | 7516 |
| 10272 cat >>confdefs.h <<\_ACEOF | 7517 $as_echo "#define ENABLE_NLS 1" >>confdefs.h |
| 10273 #define ENABLE_NLS 1 | |
| 10274 _ACEOF | |
| 10275 | 7518 |
| 10276 else | 7519 else |
| 10277 USE_NLS=no | 7520 USE_NLS=no |
| 10278 fi | 7521 fi |
| 10279 fi | 7522 fi |
| 10280 | 7523 |
| 10281 { echo "$as_me:$LINENO: checking whether to use NLS" >&5 | 7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 |
| 10282 echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6; } | 7525 $as_echo_n "checking whether to use NLS... " >&6; } |
| 10283 { echo "$as_me:$LINENO: result: $USE_NLS" >&5 | 7526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 |
| 10284 echo "${ECHO_T}$USE_NLS" >&6; } | 7527 $as_echo "$USE_NLS" >&6; } |
| 10285 if test "$USE_NLS" = "yes"; then | 7528 if test "$USE_NLS" = "yes"; then |
| 10286 { echo "$as_me:$LINENO: checking where the gettext function comes from" >&5 | 7529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function
comes from" >&5 |
| 10287 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6; } | 7530 $as_echo_n "checking where the gettext function comes from... " >&6; } |
| 10288 if test "$gt_use_preinstalled_gnugettext" = "yes"; then | 7531 if test "$gt_use_preinstalled_gnugettext" = "yes"; then |
| 10289 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes";
}; then | 7532 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes";
}; then |
| 10290 gt_source="external libintl" | 7533 gt_source="external libintl" |
| 10291 else | 7534 else |
| 10292 gt_source="libc" | 7535 gt_source="libc" |
| 10293 fi | 7536 fi |
| 10294 else | 7537 else |
| 10295 gt_source="included intl directory" | 7538 gt_source="included intl directory" |
| 10296 fi | 7539 fi |
| 10297 { echo "$as_me:$LINENO: result: $gt_source" >&5 | 7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 |
| 10298 echo "${ECHO_T}$gt_source" >&6; } | 7541 $as_echo "$gt_source" >&6; } |
| 10299 fi | 7542 fi |
| 10300 | 7543 |
| 10301 if test "$USE_NLS" = "yes"; then | 7544 if test "$USE_NLS" = "yes"; then |
| 10302 | 7545 |
| 10303 if test "$gt_use_preinstalled_gnugettext" = "yes"; then | 7546 if test "$gt_use_preinstalled_gnugettext" = "yes"; then |
| 10304 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes";
}; then | 7547 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes";
}; then |
| 10305 { echo "$as_me:$LINENO: checking how to link with libintl" >&5 | 7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libin
tl" >&5 |
| 10306 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6; } | 7549 $as_echo_n "checking how to link with libintl... " >&6; } |
| 10307 { echo "$as_me:$LINENO: result: $LIBINTL" >&5 | 7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 |
| 10308 echo "${ECHO_T}$LIBINTL" >&6; } | 7551 $as_echo "$LIBINTL" >&6; } |
| 10309 | 7552 |
| 10310 for element in $INCINTL; do | 7553 for element in $INCINTL; do |
| 10311 haveit= | 7554 haveit= |
| 10312 for x in $CPPFLAGS; do | 7555 for x in $CPPFLAGS; do |
| 10313 | 7556 |
| 10314 acl_save_prefix="$prefix" | 7557 acl_save_prefix="$prefix" |
| 10315 prefix="$acl_final_prefix" | 7558 prefix="$acl_final_prefix" |
| 10316 acl_save_exec_prefix="$exec_prefix" | 7559 acl_save_exec_prefix="$exec_prefix" |
| 10317 exec_prefix="$acl_final_exec_prefix" | 7560 exec_prefix="$acl_final_exec_prefix" |
| 10318 eval x=\"$x\" | 7561 eval x=\"$x\" |
| 10319 exec_prefix="$acl_save_exec_prefix" | 7562 exec_prefix="$acl_save_exec_prefix" |
| 10320 prefix="$acl_save_prefix" | 7563 prefix="$acl_save_prefix" |
| 10321 | 7564 |
| 10322 if test "X$x" = "X$element"; then | 7565 if test "X$x" = "X$element"; then |
| 10323 haveit=yes | 7566 haveit=yes |
| 10324 break | 7567 break |
| 10325 fi | 7568 fi |
| 10326 done | 7569 done |
| 10327 if test -z "$haveit"; then | 7570 if test -z "$haveit"; then |
| 10328 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" | 7571 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" |
| 10329 fi | 7572 fi |
| 10330 done | 7573 done |
| 10331 | 7574 |
| 10332 fi | 7575 fi |
| 10333 | 7576 |
| 10334 | 7577 |
| 10335 cat >>confdefs.h <<\_ACEOF | 7578 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h |
| 10336 #define HAVE_GETTEXT 1 | |
| 10337 _ACEOF | |
| 10338 | 7579 |
| 10339 | 7580 |
| 10340 cat >>confdefs.h <<\_ACEOF | 7581 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h |
| 10341 #define HAVE_DCGETTEXT 1 | |
| 10342 _ACEOF | |
| 10343 | 7582 |
| 10344 fi | 7583 fi |
| 10345 | 7584 |
| 10346 POSUB=po | 7585 POSUB=po |
| 10347 fi | 7586 fi |
| 10348 | 7587 |
| 10349 | 7588 |
| 10350 | 7589 |
| 10351 INTLLIBS="$LIBINTL" | 7590 INTLLIBS="$LIBINTL" |
| 10352 | 7591 |
| 10353 | 7592 |
| 10354 | 7593 |
| 10355 | 7594 |
| 10356 | 7595 |
| 10357 | 7596 |
| 10358 # autoheader templates for AM_GNU_GETTEXT checks. | 7597 # autoheader templates for AM_GNU_GETTEXT checks. |
| 10359 | 7598 |
| 10360 | 7599 |
| 10361 | 7600 |
| 10362 | 7601 |
| 10363 | 7602 |
| 10364 | 7603 |
| 10365 | |
| 10366 | |
| 10367 | |
| 10368 | |
| 10369 | |
| 10370 # Check for GNU C Library | 7604 # Check for GNU C Library |
| 10371 | 7605 |
| 10372 | 7606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU C Library" >&5 |
| 10373 { echo "$as_me:$LINENO: checking for GNU C Library" >&5 | 7607 $as_echo_n "checking for GNU C Library... " >&6; } |
| 10374 echo $ECHO_N "checking for GNU C Library... $ECHO_C" >&6; } | 7608 if test "${yasm_cv_header_gnulib+set}" = set; then : |
| 10375 if test "${yasm_cv_header_gnulib+set}" = set; then | 7609 $as_echo_n "(cached) " >&6 |
| 10376 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 10377 else | 7610 else |
| 10378 cat >conftest.$ac_ext <<_ACEOF | 7611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10379 /* confdefs.h. */ | |
| 10380 _ACEOF | |
| 10381 cat confdefs.h >>conftest.$ac_ext | |
| 10382 cat >>conftest.$ac_ext <<_ACEOF | |
| 10383 /* end confdefs.h. */ | 7612 /* end confdefs.h. */ |
| 10384 #include <features.h> | 7613 #include <features.h> |
| 10385 #ifdef __GNU_LIBRARY__ | 7614 #ifdef __GNU_LIBRARY__ |
| 10386 gnulib | 7615 gnulib |
| 10387 #endif | 7616 #endif |
| 10388 | 7617 |
| 10389 _ACEOF | 7618 _ACEOF |
| 10390 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 7619 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 10391 $EGREP "gnulib" >/dev/null 2>&1; then | 7620 $EGREP "gnulib" >/dev/null 2>&1; then : |
| 10392 yasm_cv_header_gnulib=yes | 7621 yasm_cv_header_gnulib=yes |
| 10393 else | 7622 else |
| 10394 yasm_cv_header_gnulib=no | 7623 yasm_cv_header_gnulib=no |
| 10395 fi | 7624 fi |
| 10396 rm -f conftest* | 7625 rm -f conftest* |
| 10397 | 7626 |
| 10398 fi | 7627 fi |
| 10399 { echo "$as_me:$LINENO: result: $yasm_cv_header_gnulib" >&5 | 7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $yasm_cv_header_gnulib" >&5 |
| 10400 echo "${ECHO_T}$yasm_cv_header_gnulib" >&6; } | 7629 $as_echo "$yasm_cv_header_gnulib" >&6; } |
| 10401 if test "$yasm_cv_header_gnulib" = yes; then | 7630 if test "$yasm_cv_header_gnulib" = yes; then |
| 10402 » cat >>confdefs.h <<\_ACEOF | 7631 » $as_echo "#define HAVE_GNU_C_LIBRARY 1" >>confdefs.h |
| 10403 #define HAVE_GNU_C_LIBRARY 1 | |
| 10404 _ACEOF | |
| 10405 | 7632 |
| 10406 fi | 7633 fi |
| 10407 | 7634 |
| 10408 # Force x86 architecture only for now. | 7635 # Force x86 architecture only for now. |
| 10409 ARCH=x86 | 7636 ARCH=x86 |
| 10410 | 7637 |
| 10411 | 7638 |
| 10412 | 7639 |
| 10413 # Require things for --enable-maintainer-mode option. | 7640 # Require things for --enable-maintainer-mode option. |
| 10414 if test "$USE_MAINTAINER_MODE" = "yes"; then | 7641 if test "$USE_MAINTAINER_MODE" = "yes"; then |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10477 fi | 7704 fi |
| 10478 | 7705 |
| 10479 # If we're using GCC, then we can turn on -ansi -pedantic -Wall too. | 7706 # If we're using GCC, then we can turn on -ansi -pedantic -Wall too. |
| 10480 if test "$USE_MAINTAINER_MODE" = "yes"; then | 7707 if test "$USE_MAINTAINER_MODE" = "yes"; then |
| 10481 if test "$GCC" = yes; then | 7708 if test "$GCC" = yes; then |
| 10482 MORE_CFLAGS="-ansi -pedantic -Wall $MORE_CFLAGS" | 7709 MORE_CFLAGS="-ansi -pedantic -Wall $MORE_CFLAGS" |
| 10483 fi | 7710 fi |
| 10484 fi | 7711 fi |
| 10485 | 7712 |
| 10486 | 7713 |
| 10487 # | |
| 10488 # Cross-building | |
| 10489 # | |
| 10490 if test "$cross_compiling" = "yes"; then | |
| 10491 { echo "$as_me:$LINENO: checking cc for build" >&5 | |
| 10492 echo $ECHO_N "checking cc for build... $ECHO_C" >&6; } | |
| 10493 CC_FOR_BUILD="${CC_FOR_BUILD-PATH=/usr/bin:$PATH cc}" | |
| 10494 { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5 | |
| 10495 echo "${ECHO_T}$CC_FOR_BUILD" >&6; } | |
| 10496 CCLD_FOR_BUILD="$CC_FOR_BUILD" | |
| 10497 else | |
| 10498 CC_FOR_BUILD="${CC_FOR_BUILD-$CC}" | |
| 10499 CCLD_FOR_BUILD="${CCLD_FOR_BUILD-$CC}" | |
| 10500 fi | |
| 10501 | |
| 10502 | |
| 10503 | 7714 |
| 10504 | 7715 |
| 7716 if test "${build}" != "${host}" ; then |
| 7717 CC_FOR_BUILD=${CC_FOR_BUILD-cc} |
| 7718 CCLD_FOR_BUILD=${CCLD_FOR_BUILD-cc} |
| 7719 else |
| 7720 CC_FOR_BUILD="\$(CC)" |
| 7721 CCLD_FOR_BUILD="\$(CC)" |
| 7722 fi |
| 10505 | 7723 |
| 10506 | 7724 |
| 10507 # libtool erroneously calls CC_FOR_BUILD HOST_CC; | 7725 |
| 10508 # --host is the platform that the package is compiled for. | 7726 |
| 10509 HOST_CC="$CC_FOR_BUILD" | 7727 if test "$build" != "$target" || test "$build" != "$host"; then |
| 7728 CPP_PROG="${CPP_FOR_HOST-cc -E}" |
| 7729 else |
| 7730 CPP_PROG="${CPP}" |
| 7731 fi |
| 7732 |
| 7733 cat >>confdefs.h <<_ACEOF |
| 7734 #define CPP_PROG "${CPP_PROG}" |
| 7735 _ACEOF |
| 10510 | 7736 |
| 10511 | 7737 |
| 10512 # Detect if we have Python | 7738 # Detect if we have Python |
| 10513 if test x$enable_python = xno; then | 7739 if test x$enable_python = xno; then |
| 10514 have_python=no | 7740 have_python=no |
| 10515 else | 7741 else |
| 10516 { echo "$as_me:$LINENO: Checking for Python" >&5 | 7742 { $as_echo "$as_me:${as_lineno-$LINENO}: Checking for Python" >&5 |
| 10517 echo "$as_me: Checking for Python" >&6;} | 7743 $as_echo "$as_me: Checking for Python" >&6;} |
| 10518 have_python=no | 7744 have_python=no |
| 10519 | 7745 |
| 10520 | 7746 |
| 10521 | 7747 |
| 10522 | 7748 |
| 10523 if test -n "$PYTHON"; then | 7749 if test -n "$PYTHON"; then |
| 10524 # If the user set $PYTHON, use it and don't search something else. | 7750 # If the user set $PYTHON, use it and don't search something else. |
| 10525 { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.4" >&5 | 7751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version
>= 2.4" >&5 |
| 10526 echo $ECHO_N "checking whether $PYTHON version >= 2.4... $ECHO_C" >&6; } | 7752 $as_echo_n "checking whether $PYTHON version >= 2.4... " >&6; } |
| 10527 prog="import sys, string | 7753 prog="import sys |
| 10528 # split strings by '.' and convert to numeric. Append some zeros | 7754 # split strings by '.' and convert to numeric. Append some zeros |
| 10529 # because we need at least 4 digits for the hex conversion. | 7755 # because we need at least 4 digits for the hex conversion. |
| 10530 minver = map(int, string.split('2.4', '.')) + [0, 0, 0] | 7756 # map returns an iterator in Python 3.0 and a list in 2.x |
| 7757 minver = list(map(int, '2.4'.split('.'))) + [0, 0, 0] |
| 10531 minverhex = 0 | 7758 minverhex = 0 |
| 10532 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] | 7759 # xrange is not present in Python 3.0 and range returns an iterator |
| 7760 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] |
| 10533 sys.exit(sys.hexversion < minverhex)" | 7761 sys.exit(sys.hexversion < minverhex)" |
| 10534 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 | 7762 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 |
| 10535 ($PYTHON -c "$prog") >&5 2>&5 | 7763 ($PYTHON -c "$prog") >&5 2>&5 |
| 10536 ac_status=$? | 7764 ac_status=$? |
| 10537 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10538 (exit $ac_status); }; then | 7766 (exit $ac_status); }; then : |
| 10539 { echo "$as_me:$LINENO: result: yes" >&5 | 7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 10540 echo "${ECHO_T}yes" >&6; } | 7768 $as_echo "yes" >&6; } |
| 10541 else | 7769 else |
| 10542 { { echo "$as_me:$LINENO: error: too old" >&5 | 7770 as_fn_error "too old" "$LINENO" 5 |
| 10543 echo "$as_me: error: too old" >&2;} | |
| 10544 { (exit 1); exit 1; }; } | |
| 10545 fi | 7771 fi |
| 10546 | |
| 10547 am_display_PYTHON=$PYTHON | 7772 am_display_PYTHON=$PYTHON |
| 10548 else | 7773 else |
| 10549 # Otherwise, try each interpreter until we find one that satisfies | 7774 # Otherwise, try each interpreter until we find one that satisfies |
| 10550 # VERSION. | 7775 # VERSION. |
| 10551 { echo "$as_me:$LINENO: checking for a Python interpreter with version >=
2.4" >&5 | 7776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter
with version >= 2.4" >&5 |
| 10552 echo $ECHO_N "checking for a Python interpreter with version >= 2.4... $ECHO_C"
>&6; } | 7777 $as_echo_n "checking for a Python interpreter with version >= 2.4... " >&6; } |
| 10553 if test "${am_cv_pathless_PYTHON+set}" = set; then | 7778 if test "${am_cv_pathless_PYTHON+set}" = set; then : |
| 10554 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7779 $as_echo_n "(cached) " >&6 |
| 10555 else | 7780 else |
| 10556 | 7781 |
| 10557 » for am_cv_pathless_PYTHON in python python2 python2.5 python2.4 python2.
3 python2.2 python2.1 python2.0 python1.6 python1.5 none; do | 7782 » for am_cv_pathless_PYTHON in python python2 python3 python3.0 python2.5
python2.4 python2.3 python2.2 python2.1 python2.0 none; do |
| 10558 test "$am_cv_pathless_PYTHON" = none && break | 7783 test "$am_cv_pathless_PYTHON" = none && break |
| 10559 » prog="import sys, string | 7784 » prog="import sys |
| 10560 # split strings by '.' and convert to numeric. Append some zeros | 7785 # split strings by '.' and convert to numeric. Append some zeros |
| 10561 # because we need at least 4 digits for the hex conversion. | 7786 # because we need at least 4 digits for the hex conversion. |
| 10562 minver = map(int, string.split('2.4', '.')) + [0, 0, 0] | 7787 # map returns an iterator in Python 3.0 and a list in 2.x |
| 7788 minver = list(map(int, '2.4'.split('.'))) + [0, 0, 0] |
| 10563 minverhex = 0 | 7789 minverhex = 0 |
| 10564 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] | 7790 # xrange is not present in Python 3.0 and range returns an iterator |
| 7791 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] |
| 10565 sys.exit(sys.hexversion < minverhex)" | 7792 sys.exit(sys.hexversion < minverhex)" |
| 10566 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5 | 7793 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5 |
| 10567 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5 | 7794 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5 |
| 10568 ac_status=$? | 7795 ac_status=$? |
| 10569 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7796 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10570 (exit $ac_status); }; then | 7797 (exit $ac_status); }; then : |
| 10571 break | 7798 break |
| 10572 fi | 7799 fi |
| 10573 | |
| 10574 done | 7800 done |
| 10575 fi | 7801 fi |
| 10576 { echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5 | 7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5 |
| 10577 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6; } | 7803 $as_echo "$am_cv_pathless_PYTHON" >&6; } |
| 10578 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. | 7804 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. |
| 10579 if test "$am_cv_pathless_PYTHON" = none; then | 7805 if test "$am_cv_pathless_PYTHON" = none; then |
| 10580 PYTHON=: | 7806 PYTHON=: |
| 10581 else | 7807 else |
| 10582 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a pro
gram name with args. | 7808 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a pro
gram name with args. |
| 10583 set dummy $am_cv_pathless_PYTHON; ac_word=$2 | 7809 set dummy $am_cv_pathless_PYTHON; ac_word=$2 |
| 10584 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 7810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 7811 $as_echo_n "checking for $ac_word... " >&6; } |
| 10586 if test "${ac_cv_path_PYTHON+set}" = set; then | 7812 if test "${ac_cv_path_PYTHON+set}" = set; then : |
| 10587 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7813 $as_echo_n "(cached) " >&6 |
| 10588 else | 7814 else |
| 10589 case $PYTHON in | 7815 case $PYTHON in |
| 10590 [\\/]* | ?:[\\/]*) | 7816 [\\/]* | ?:[\\/]*) |
| 10591 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. | 7817 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. |
| 10592 ;; | 7818 ;; |
| 10593 *) | 7819 *) |
| 10594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 7820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10595 for as_dir in $PATH | 7821 for as_dir in $PATH |
| 10596 do | 7822 do |
| 10597 IFS=$as_save_IFS | 7823 IFS=$as_save_IFS |
| 10598 test -z "$as_dir" && as_dir=. | 7824 test -z "$as_dir" && as_dir=. |
| 10599 for ac_exec_ext in '' $ac_executable_extensions; do | 7825 for ac_exec_ext in '' $ac_executable_extensions; do |
| 10600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | 7826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then |
| 10601 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" | 7827 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" |
| 10602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 7828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 10603 break 2 | 7829 break 2 |
| 10604 fi | 7830 fi |
| 10605 done | 7831 done |
| 10606 done | 7832 done |
| 10607 IFS=$as_save_IFS | 7833 IFS=$as_save_IFS |
| 10608 | 7834 |
| 10609 ;; | 7835 ;; |
| 10610 esac | 7836 esac |
| 10611 fi | 7837 fi |
| 10612 PYTHON=$ac_cv_path_PYTHON | 7838 PYTHON=$ac_cv_path_PYTHON |
| 10613 if test -n "$PYTHON"; then | 7839 if test -n "$PYTHON"; then |
| 10614 { echo "$as_me:$LINENO: result: $PYTHON" >&5 | 7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 |
| 10615 echo "${ECHO_T}$PYTHON" >&6; } | 7841 $as_echo "$PYTHON" >&6; } |
| 10616 else | 7842 else |
| 10617 { echo "$as_me:$LINENO: result: no" >&5 | 7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10618 echo "${ECHO_T}no" >&6; } | 7844 $as_echo "no" >&6; } |
| 10619 fi | 7845 fi |
| 10620 | 7846 |
| 10621 | 7847 |
| 10622 fi | 7848 fi |
| 10623 am_display_PYTHON=$am_cv_pathless_PYTHON | 7849 am_display_PYTHON=$am_cv_pathless_PYTHON |
| 10624 fi | 7850 fi |
| 10625 | 7851 |
| 10626 | 7852 |
| 10627 if test "$PYTHON" = :; then | 7853 if test "$PYTHON" = :; then |
| 10628 { echo "$as_me:$LINENO: WARNING: Python not found" >&5 | 7854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Python not found" >&5 |
| 10629 echo "$as_me: WARNING: Python not found" >&2;} | 7855 $as_echo "$as_me: WARNING: Python not found" >&2;} |
| 10630 else | 7856 else |
| 10631 | 7857 |
| 10632 | 7858 |
| 10633 { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5 | 7859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON versi
on" >&5 |
| 10634 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; } | 7860 $as_echo_n "checking for $am_display_PYTHON version... " >&6; } |
| 10635 if test "${am_cv_python_version+set}" = set; then | 7861 if test "${am_cv_python_version+set}" = set; then : |
| 10636 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7862 $as_echo_n "(cached) " >&6 |
| 10637 else | 7863 else |
| 10638 am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"` | 7864 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3]
)"` |
| 10639 fi | 7865 fi |
| 10640 { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5 | 7866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5 |
| 10641 echo "${ECHO_T}$am_cv_python_version" >&6; } | 7867 $as_echo "$am_cv_python_version" >&6; } |
| 10642 PYTHON_VERSION=$am_cv_python_version | 7868 PYTHON_VERSION=$am_cv_python_version |
| 10643 | 7869 |
| 10644 | 7870 |
| 10645 | 7871 |
| 10646 PYTHON_PREFIX='${prefix}' | 7872 PYTHON_PREFIX='${prefix}' |
| 10647 | 7873 |
| 10648 PYTHON_EXEC_PREFIX='${exec_prefix}' | 7874 PYTHON_EXEC_PREFIX='${exec_prefix}' |
| 10649 | 7875 |
| 10650 | 7876 |
| 10651 | 7877 |
| 10652 { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5 | 7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platf
orm" >&5 |
| 10653 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; } | 7879 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; } |
| 10654 if test "${am_cv_python_platform+set}" = set; then | 7880 if test "${am_cv_python_platform+set}" = set; then : |
| 10655 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7881 $as_echo_n "(cached) " >&6 |
| 10656 else | 7882 else |
| 10657 am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"` | 7883 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"
` |
| 10658 fi | 7884 fi |
| 10659 { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5 | 7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5 |
| 10660 echo "${ECHO_T}$am_cv_python_platform" >&6; } | 7886 $as_echo "$am_cv_python_platform" >&6; } |
| 10661 PYTHON_PLATFORM=$am_cv_python_platform | 7887 PYTHON_PLATFORM=$am_cv_python_platform |
| 10662 | 7888 |
| 10663 | 7889 |
| 10664 | 7890 |
| 10665 | 7891 |
| 10666 { echo "$as_me:$LINENO: checking for $am_display_PYTHON script d
irectory" >&5 | 7892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_displa
y_PYTHON script directory" >&5 |
| 10667 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6;
} | 7893 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; } |
| 10668 if test "${am_cv_python_pythondir+set}" = set; then | 7894 if test "${am_cv_python_pythondir+set}" = set; then : |
| 10669 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7895 $as_echo_n "(cached) " >&6 |
| 10670 else | 7896 else |
| 10671 am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sys
config.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || | 7897 if test "x$prefix" = xNONE |
| 7898 then |
| 7899 am_py_prefix=$ac_default_prefix |
| 7900 else |
| 7901 am_py_prefix=$prefix |
| 7902 fi |
| 7903 am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysco
nfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>
/dev/null || |
| 10672 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` | 7904 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` |
| 7905 case $am_cv_python_pythondir in |
| 7906 $am_py_prefix*) |
| 7907 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'` |
| 7908 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__str
ip_prefix,$PYTHON_PREFIX,"` |
| 7909 ;; |
| 7910 *) |
| 7911 case $am_py_prefix in |
| 7912 /usr|/System*) ;; |
| 7913 *) |
| 7914 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-p
ackages |
| 7915 ;; |
| 7916 esac |
| 7917 ;; |
| 7918 esac |
| 7919 |
| 10673 fi | 7920 fi |
| 10674 { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5 | 7921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5 |
| 10675 echo "${ECHO_T}$am_cv_python_pythondir" >&6; } | 7922 $as_echo "$am_cv_python_pythondir" >&6; } |
| 10676 pythondir=$am_cv_python_pythondir | 7923 pythondir=$am_cv_python_pythondir |
| 10677 | 7924 |
| 10678 | 7925 |
| 10679 | 7926 |
| 10680 pkgpythondir=\${pythondir}/$PACKAGE | 7927 pkgpythondir=\${pythondir}/$PACKAGE |
| 10681 | 7928 |
| 10682 | 7929 |
| 10683 { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension mo
dule directory" >&5 | 7930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PY
THON extension module directory" >&5 |
| 10684 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECH
O_C" >&6; } | 7931 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6;
} |
| 10685 if test "${am_cv_python_pyexecdir+set}" = set; then | 7932 if test "${am_cv_python_pyexecdir+set}" = set; then : |
| 10686 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7933 $as_echo_n "(cached) " >&6 |
| 10687 else | 7934 else |
| 10688 am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sys
config.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || | 7935 if test "x$exec_prefix" = xNONE |
| 10689 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"` | 7936 then |
| 7937 am_py_exec_prefix=$am_py_prefix |
| 7938 else |
| 7939 am_py_exec_prefix=$exec_prefix |
| 7940 fi |
| 7941 am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysco
nfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix')
)" 2>/dev/null || |
| 7942 echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"` |
| 7943 case $am_cv_python_pyexecdir in |
| 7944 $am_py_exec_prefix*) |
| 7945 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'` |
| 7946 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__str
ip_prefix,$PYTHON_EXEC_PREFIX,"` |
| 7947 ;; |
| 7948 *) |
| 7949 case $am_py_exec_prefix in |
| 7950 /usr|/System*) ;; |
| 7951 *) |
| 7952 » am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/
site-packages |
| 7953 » ;; |
| 7954 esac |
| 7955 ;; |
| 7956 esac |
| 7957 |
| 10690 fi | 7958 fi |
| 10691 { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5 | 7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5 |
| 10692 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; } | 7960 $as_echo "$am_cv_python_pyexecdir" >&6; } |
| 10693 pyexecdir=$am_cv_python_pyexecdir | 7961 pyexecdir=$am_cv_python_pyexecdir |
| 10694 | 7962 |
| 10695 | 7963 |
| 10696 | 7964 |
| 10697 pkgpyexecdir=\${pyexecdir}/$PACKAGE | 7965 pkgpyexecdir=\${pyexecdir}/$PACKAGE |
| 10698 | 7966 |
| 10699 | 7967 |
| 10700 | 7968 |
| 10701 fi | 7969 fi |
| 10702 | 7970 |
| 10703 | 7971 |
| 10704 | 7972 |
| 10705 if test -z "$PYTHON" || test "$PYTHON" = : ; then | 7973 if test -z "$PYTHON" || test "$PYTHON" = : ; then |
| 10706 have_python=no | 7974 have_python=no |
| 10707 else | 7975 else |
| 10708 have_python=yes | 7976 have_python=yes |
| 10709 fi | 7977 fi |
| 10710 | 7978 |
| 10711 if test x$have_python = xno ; then | 7979 if test x$have_python = xno ; then |
| 10712 if test x$enable_python = xyes ; then | 7980 if test x$enable_python = xyes ; then |
| 10713 { { echo "$as_me:$LINENO: error: Python explicitly requested, but a
suitable Python version was not found" >&5 | 7981 as_fn_error "Python explicitly requested, but a suitable Python vers
ion was not found" "$LINENO" 5 |
| 10714 echo "$as_me: error: Python explicitly requested, but a suitable Python version
was not found" >&2;} | |
| 10715 { (exit 1); exit 1; }; } | |
| 10716 else | 7982 else |
| 10717 { echo "$as_me:$LINENO: WARNING: Could not find a suitable version o
f Python" >&5 | 7983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find a s
uitable version of Python" >&5 |
| 10718 echo "$as_me: WARNING: Could not find a suitable version of Python" >&2;} | 7984 $as_echo "$as_me: WARNING: Could not find a suitable version of Python" >&2;} |
| 10719 fi | 7985 fi |
| 10720 fi | 7986 fi |
| 10721 fi | 7987 fi |
| 10722 | 7988 |
| 10723 # Detect if we can build Python bindings | 7989 # Detect if we can build Python bindings |
| 10724 # (needs Python, Python headers, and Pyrex) | 7990 # (needs Python, Python headers, and Cython) |
| 10725 if test x$enable_python_bindings = xno; then | 7991 if test x$enable_python_bindings = xno; then |
| 10726 have_python_bindings=no | 7992 have_python_bindings=no |
| 10727 else | 7993 else |
| 10728 { echo "$as_me:$LINENO: Checking to see if we can build Python bindings" >&5 | 7994 { $as_echo "$as_me:${as_lineno-$LINENO}: Checking to see if we can build Pyt
hon bindings" >&5 |
| 10729 echo "$as_me: Checking to see if we can build Python bindings" >&6;} | 7995 $as_echo "$as_me: Checking to see if we can build Python bindings" >&6;} |
| 10730 have_python_bindings=no | 7996 have_python_bindings=no |
| 10731 if test x$have_python = xyes; then | 7997 if test x$have_python = xyes; then |
| 10732 { echo "$as_me:$LINENO: checking for Pyrex >= 0.9.5.1" >&5 | 7998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cython >= 0.11.3"
>&5 |
| 10733 echo $ECHO_N "checking for Pyrex >= 0.9.5.1... $ECHO_C" >&6; } | 7999 $as_echo_n "checking for Cython >= 0.11.3... " >&6; } |
| 10734 prog="import sys | 8000 prog="import sys |
| 10735 from Pyrex.Compiler.Version import version | 8001 from Cython.Compiler.Version import version |
| 10736 # split strings by '.' and convert to numeric. Append some zeros | 8002 # split strings by '.' and convert to numeric. Append some zeros |
| 10737 # because we need at least 4 digits for the hex conversion. | 8003 # because we need at least 4 digits for the hex conversion. |
| 10738 pyrexver = map(int, version.rstrip('abcdefghijklmnopqrstuvwxyz').split('.')) + [
0, 0, 0] | 8004 ver = map(int, version.rstrip('abcdefghijklmnopqrstuvwxyz').split('.')) + [0, 0,
0] |
| 10739 pyrexverhex = 0 | 8005 verhex = 0 |
| 10740 for i in xrange(0, 4): pyrexverhex = (pyrexverhex << 8) + pyrexver[i] | 8006 for i in xrange(0, 4): verhex = (verhex << 8) + ver[i] |
| 10741 minver = map(int, '0.9.5.1'.split('.')) + [0, 0, 0] | 8007 minver = map(int, '0.11.3'.split('.')) + [0, 0, 0] |
| 10742 minverhex = 0 | 8008 minverhex = 0 |
| 10743 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] | 8009 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] |
| 10744 sys.exit(pyrexverhex < minverhex)" | 8010 sys.exit(verhex < minverhex)" |
| 10745 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 | 8011 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 |
| 10746 ($PYTHON -c "$prog") >&5 2>&5 | 8012 ($PYTHON -c "$prog") >&5 2>&5 |
| 10747 ac_status=$? | 8013 ac_status=$? |
| 10748 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8014 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10749 (exit $ac_status); }; then | 8015 (exit $ac_status); }; then : |
| 10750 { echo "$as_me:$LINENO: result: yes" >&5 | 8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 10751 echo "${ECHO_T}yes" >&6; } | 8017 $as_echo "yes" >&6; } |
| 10752 have_pyrex=yes | 8018 have_cython=yes |
| 10753 else | 8019 else |
| 10754 { echo "$as_me:$LINENO: result: no" >&5 | 8020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10755 echo "${ECHO_T}no" >&6; } | 8021 $as_echo "no" >&6; } |
| 10756 have_pyrex=no | 8022 have_cython=no |
| 10757 fi | 8023 fi |
| 10758 | 8024 |
| 10759 | 8025 |
| 10760 | 8026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for headers required to compil
e python extensions" >&5 |
| 10761 { echo "$as_me:$LINENO: checking for headers required to compile python extensio
ns" >&5 | 8027 $as_echo_n "checking for headers required to compile python extensions... " >&6;
} |
| 10762 echo $ECHO_N "checking for headers required to compile python extensions... $ECH
O_C" >&6; } | |
| 10763 py_prefix=`$PYTHON -c "import sys; print sys.prefix"` | 8028 py_prefix=`$PYTHON -c "import sys; print sys.prefix"` |
| 10764 py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"` | 8029 py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"` |
| 10765 PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}" | 8030 PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}" |
| 10766 if test "$py_prefix" != "$py_exec_prefix"; then | 8031 if test "$py_prefix" != "$py_exec_prefix"; then |
| 10767 PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_V
ERSION}" | 8032 PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_V
ERSION}" |
| 10768 fi | 8033 fi |
| 10769 | 8034 |
| 10770 save_CPPFLAGS="$CPPFLAGS" | 8035 save_CPPFLAGS="$CPPFLAGS" |
| 10771 CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES" | 8036 CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES" |
| 10772 cat >conftest.$ac_ext <<_ACEOF | 8037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10773 /* confdefs.h. */ | |
| 10774 _ACEOF | |
| 10775 cat confdefs.h >>conftest.$ac_ext | |
| 10776 cat >>conftest.$ac_ext <<_ACEOF | |
| 10777 /* end confdefs.h. */ | 8038 /* end confdefs.h. */ |
| 10778 #include <Python.h> | 8039 #include <Python.h> |
| 10779 _ACEOF | 8040 _ACEOF |
| 10780 if { (ac_try="$ac_cpp conftest.$ac_ext" | 8041 if ac_fn_c_try_cpp "$LINENO"; then : |
| 10781 case "(($ac_try" in | 8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
| 10782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 8043 $as_echo "found" >&6; } |
| 10783 *) ac_try_echo=$ac_try;; | |
| 10784 esac | |
| 10785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 10786 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
| 10787 ac_status=$? | |
| 10788 grep -v '^ *+' conftest.er1 >conftest.err | |
| 10789 rm -f conftest.er1 | |
| 10790 cat conftest.err >&5 | |
| 10791 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 10792 (exit $ac_status); } >/dev/null && { | |
| 10793 » test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
| 10794 » test ! -s conftest.err | |
| 10795 }; then | |
| 10796 { echo "$as_me:$LINENO: result: found" >&5 | |
| 10797 echo "${ECHO_T}found" >&6; } | |
| 10798 have_python_headers=yes | 8044 have_python_headers=yes |
| 10799 else | 8045 else |
| 10800 echo "$as_me: failed program was:" >&5 | 8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 |
| 10801 sed 's/^/| /' conftest.$ac_ext >&5 | 8047 $as_echo "not found" >&6; } |
| 10802 | |
| 10803 { echo "$as_me:$LINENO: result: not found" >&5 | |
| 10804 echo "${ECHO_T}not found" >&6; } | |
| 10805 have_python_headers=no | 8048 have_python_headers=no |
| 10806 fi | 8049 fi |
| 10807 | |
| 10808 rm -f conftest.err conftest.$ac_ext | 8050 rm -f conftest.err conftest.$ac_ext |
| 10809 CPPFLAGS="$save_CPPFLAGS" | 8051 CPPFLAGS="$save_CPPFLAGS" |
| 10810 | 8052 |
| 10811 | 8053 |
| 10812 if test x$have_pyrex = xyes -a x$have_python_headers = xyes ; then | 8054 if test x$have_cython = xyes -a x$have_python_headers = xyes ; then |
| 10813 have_python_bindings=yes | 8055 have_python_bindings=yes |
| 10814 fi | 8056 fi |
| 10815 fi | 8057 fi |
| 10816 | 8058 |
| 10817 if test x$have_python_bindings = xno ; then | 8059 if test x$have_python_bindings = xno ; then |
| 10818 if test x$enable_python_bindings = xyes ; then | 8060 if test x$enable_python_bindings = xyes ; then |
| 10819 { { echo "$as_me:$LINENO: error: Building Python bindings explicitly
requested, but can't build Python bindings because either Pyrex, Python headers
or a suitable Python version was not found" >&5 | 8061 as_fn_error "Building Python bindings explicitly requested, but can'
t build Python bindings because either Cython, Python headers or a suitable Pyth
on version was not found" "$LINENO" 5 |
| 10820 echo "$as_me: error: Building Python bindings explicitly requested, but can't bu
ild Python bindings because either Pyrex, Python headers or a suitable Python ve
rsion was not found" >&2;} | |
| 10821 { (exit 1); exit 1; }; } | |
| 10822 else | 8062 else |
| 10823 { echo "$as_me:$LINENO: WARNING: Couldn't find either Pyrex, the Pyt
hon headers or a suitable version of Python, not building Python bindings" >&5 | 8063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find eith
er Cython, the Python headers or a suitable version of Python, not building Pyth
on bindings" >&5 |
| 10824 echo "$as_me: WARNING: Couldn't find either Pyrex, the Python headers or a suita
ble version of Python, not building Python bindings" >&2;} | 8064 $as_echo "$as_me: WARNING: Couldn't find either Cython, the Python headers or a
suitable version of Python, not building Python bindings" >&2;} |
| 10825 fi | 8065 fi |
| 10826 fi | 8066 fi |
| 10827 fi | 8067 fi |
| 10828 | 8068 |
| 10829 if test x$have_python = xyes; then | 8069 if test x$have_python = xyes; then |
| 10830 HAVE_PYTHON_TRUE= | 8070 HAVE_PYTHON_TRUE= |
| 10831 HAVE_PYTHON_FALSE='#' | 8071 HAVE_PYTHON_FALSE='#' |
| 10832 else | 8072 else |
| 10833 HAVE_PYTHON_TRUE='#' | 8073 HAVE_PYTHON_TRUE='#' |
| 10834 HAVE_PYTHON_FALSE= | 8074 HAVE_PYTHON_FALSE= |
| (...skipping 30 matching lines...) Expand all Loading... |
| 10865 # but we know of no workaround that is simple, portable, and efficient. | 8105 # but we know of no workaround that is simple, portable, and efficient. |
| 10866 # So, we kill variables containing newlines. | 8106 # So, we kill variables containing newlines. |
| 10867 # Ultrix sh set writes to stderr and can't be redirected directly, | 8107 # Ultrix sh set writes to stderr and can't be redirected directly, |
| 10868 # and sets the high bit in the cache file unless we assign to the vars. | 8108 # and sets the high bit in the cache file unless we assign to the vars. |
| 10869 ( | 8109 ( |
| 10870 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; d
o | 8110 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; d
o |
| 10871 eval ac_val=\$$ac_var | 8111 eval ac_val=\$$ac_var |
| 10872 case $ac_val in #( | 8112 case $ac_val in #( |
| 10873 *${as_nl}*) | 8113 *${as_nl}*) |
| 10874 case $ac_var in #( | 8114 case $ac_var in #( |
| 10875 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a
newline." >&5 | 8115 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $
ac_var contains a newline" >&5 |
| 10876 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | 8116 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 10877 esac | 8117 esac |
| 10878 case $ac_var in #( | 8118 case $ac_var in #( |
| 10879 _ | IFS | as_nl) ;; #( | 8119 _ | IFS | as_nl) ;; #( |
| 10880 *) $as_unset $ac_var ;; | 8120 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 8121 *) { eval $ac_var=; unset $ac_var;} ;; |
| 10881 esac ;; | 8122 esac ;; |
| 10882 esac | 8123 esac |
| 10883 done | 8124 done |
| 10884 | 8125 |
| 10885 (set) 2>&1 | | 8126 (set) 2>&1 | |
| 10886 case $as_nl`(ac_space=' '; set) 2>&1` in #( | 8127 case $as_nl`(ac_space=' '; set) 2>&1` in #( |
| 10887 *${as_nl}ac_space=\ *) | 8128 *${as_nl}ac_space=\ *) |
| 10888 # `set' does not quote correctly, so add quotes (double-quote | 8129 # `set' does not quote correctly, so add quotes: double-quote |
| 10889 # substitution turns \\\\ into \\, and sed turns \\ into \). | 8130 # substitution turns \\\\ into \\, and sed turns \\ into \. |
| 10890 sed -n \ | 8131 sed -n \ |
| 10891 "s/'/'\\\\''/g; | 8132 "s/'/'\\\\''/g; |
| 10892 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 8133 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 10893 ;; #( | 8134 ;; #( |
| 10894 *) | 8135 *) |
| 10895 # `set' quotes correctly as required by POSIX, so do not add quotes. | 8136 # `set' quotes correctly as required by POSIX, so do not add quotes. |
| 10896 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | 8137 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 10897 ;; | 8138 ;; |
| 10898 esac | | 8139 esac | |
| 10899 sort | 8140 sort |
| 10900 ) | | 8141 ) | |
| 10901 sed ' | 8142 sed ' |
| 10902 /^ac_cv_env_/b end | 8143 /^ac_cv_env_/b end |
| 10903 t clear | 8144 t clear |
| 10904 :clear | 8145 :clear |
| 10905 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | 8146 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
| 10906 t end | 8147 t end |
| 10907 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 8148 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| 10908 :end' >>confcache | 8149 :end' >>confcache |
| 10909 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | 8150 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| 10910 if test -w "$cache_file"; then | 8151 if test -w "$cache_file"; then |
| 10911 test "x$cache_file" != "x/dev/null" && | 8152 test "x$cache_file" != "x/dev/null" && |
| 10912 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 | 8153 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
| 10913 echo "$as_me: updating cache $cache_file" >&6;} | 8154 $as_echo "$as_me: updating cache $cache_file" >&6;} |
| 10914 cat confcache >$cache_file | 8155 cat confcache >$cache_file |
| 10915 else | 8156 else |
| 10916 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 | 8157 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cach
e_file" >&5 |
| 10917 echo "$as_me: not updating unwritable cache $cache_file" >&6;} | 8158 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 10918 fi | 8159 fi |
| 10919 fi | 8160 fi |
| 10920 rm -f confcache | 8161 rm -f confcache |
| 10921 | 8162 |
| 10922 test "x$prefix" = xNONE && prefix=$ac_default_prefix | 8163 test "x$prefix" = xNONE && prefix=$ac_default_prefix |
| 10923 # Let make expand exec_prefix. | 8164 # Let make expand exec_prefix. |
| 10924 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | 8165 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
| 10925 | 8166 |
| 10926 DEFS=-DHAVE_CONFIG_H | 8167 DEFS=-DHAVE_CONFIG_H |
| 10927 | 8168 |
| 10928 ac_libobjs= | 8169 ac_libobjs= |
| 10929 ac_ltlibobjs= | 8170 ac_ltlibobjs= |
| 10930 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 8171 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
| 10931 # 1. Remove the extension, and $U if already installed. | 8172 # 1. Remove the extension, and $U if already installed. |
| 10932 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | 8173 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
| 10933 ac_i=`echo "$ac_i" | sed "$ac_script"` | 8174 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
| 10934 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | 8175 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
| 10935 # will be set to the directory where LIBOBJS objects are built. | 8176 # will be set to the directory where LIBOBJS objects are built. |
| 10936 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" | 8177 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
| 10937 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' | 8178 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
| 10938 done | 8179 done |
| 10939 LIBOBJS=$ac_libobjs | 8180 LIBOBJS=$ac_libobjs |
| 10940 | 8181 |
| 10941 LTLIBOBJS=$ac_ltlibobjs | 8182 LTLIBOBJS=$ac_ltlibobjs |
| 10942 | 8183 |
| 10943 | 8184 |
| 8185 if test -n "$EXEEXT"; then |
| 8186 am__EXEEXT_TRUE= |
| 8187 am__EXEEXT_FALSE='#' |
| 8188 else |
| 8189 am__EXEEXT_TRUE='#' |
| 8190 am__EXEEXT_FALSE= |
| 8191 fi |
| 8192 |
| 10944 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then | 8193 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
| 10945 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never def
ined. | 8194 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined. |
| 10946 Usually this means the macro was only invoked conditionally." >&5 | 8195 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 10947 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. | |
| 10948 Usually this means the macro was only invoked conditionally." >&2;} | |
| 10949 { (exit 1); exit 1; }; } | |
| 10950 fi | 8196 fi |
| 10951 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | 8197 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
| 10952 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. | 8198 as_fn_error "conditional \"AMDEP\" was never defined. |
| 10953 Usually this means the macro was only invoked conditionally." >&5 | 8199 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 10954 echo "$as_me: error: conditional \"AMDEP\" was never defined. | |
| 10955 Usually this means the macro was only invoked conditionally." >&2;} | |
| 10956 { (exit 1); exit 1; }; } | |
| 10957 fi | 8200 fi |
| 10958 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | 8201 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
| 10959 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defin
ed. | 8202 as_fn_error "conditional \"am__fastdepCC\" was never defined. |
| 10960 Usually this means the macro was only invoked conditionally." >&5 | 8203 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 10961 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. | |
| 10962 Usually this means the macro was only invoked conditionally." >&2;} | |
| 10963 { (exit 1); exit 1; }; } | |
| 10964 fi | 8204 fi |
| 10965 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then | 8205 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then |
| 10966 { { echo "$as_me:$LINENO: error: conditional \"BUILD_MAN\" was never defined. | 8206 as_fn_error "conditional \"BUILD_MAN\" was never defined. |
| 10967 Usually this means the macro was only invoked conditionally." >&5 | 8207 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 10968 echo "$as_me: error: conditional \"BUILD_MAN\" was never defined. | |
| 10969 Usually this means the macro was only invoked conditionally." >&2;} | |
| 10970 { (exit 1); exit 1; }; } | |
| 10971 fi | 8208 fi |
| 10972 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then | 8209 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then |
| 10973 { { echo "$as_me:$LINENO: error: conditional \"HAVE_PYTHON\" was never defined
. | 8210 as_fn_error "conditional \"HAVE_PYTHON\" was never defined. |
| 10974 Usually this means the macro was only invoked conditionally." >&5 | 8211 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 10975 echo "$as_me: error: conditional \"HAVE_PYTHON\" was never defined. | |
| 10976 Usually this means the macro was only invoked conditionally." >&2;} | |
| 10977 { (exit 1); exit 1; }; } | |
| 10978 fi | 8212 fi |
| 10979 if test -z "${HAVE_PYTHON_BINDINGS_TRUE}" && test -z "${HAVE_PYTHON_BINDINGS_FAL
SE}"; then | 8213 if test -z "${HAVE_PYTHON_BINDINGS_TRUE}" && test -z "${HAVE_PYTHON_BINDINGS_FAL
SE}"; then |
| 10980 { { echo "$as_me:$LINENO: error: conditional \"HAVE_PYTHON_BINDINGS\" was neve
r defined. | 8214 as_fn_error "conditional \"HAVE_PYTHON_BINDINGS\" was never defined. |
| 10981 Usually this means the macro was only invoked conditionally." >&5 | 8215 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 10982 echo "$as_me: error: conditional \"HAVE_PYTHON_BINDINGS\" was never defined. | |
| 10983 Usually this means the macro was only invoked conditionally." >&2;} | |
| 10984 { (exit 1); exit 1; }; } | |
| 10985 fi | 8216 fi |
| 10986 | 8217 |
| 10987 : ${CONFIG_STATUS=./config.status} | 8218 : ${CONFIG_STATUS=./config.status} |
| 8219 ac_write_fail=0 |
| 10988 ac_clean_files_save=$ac_clean_files | 8220 ac_clean_files_save=$ac_clean_files |
| 10989 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 8221 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
| 10990 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | 8222 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
| 10991 echo "$as_me: creating $CONFIG_STATUS" >&6;} | 8223 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
| 10992 cat >$CONFIG_STATUS <<_ACEOF | 8224 as_write_fail=0 |
| 8225 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
| 10993 #! $SHELL | 8226 #! $SHELL |
| 10994 # Generated by $as_me. | 8227 # Generated by $as_me. |
| 10995 # Run this file to recreate the current configuration. | 8228 # Run this file to recreate the current configuration. |
| 10996 # Compiler output produced by configure, useful for debugging | 8229 # Compiler output produced by configure, useful for debugging |
| 10997 # configure, is in config.log if it exists. | 8230 # configure, is in config.log if it exists. |
| 10998 | 8231 |
| 10999 debug=false | 8232 debug=false |
| 11000 ac_cs_recheck=false | 8233 ac_cs_recheck=false |
| 11001 ac_cs_silent=false | 8234 ac_cs_silent=false |
| 8235 |
| 11002 SHELL=\${CONFIG_SHELL-$SHELL} | 8236 SHELL=\${CONFIG_SHELL-$SHELL} |
| 11003 _ACEOF | 8237 export SHELL |
| 11004 | 8238 _ASEOF |
| 11005 cat >>$CONFIG_STATUS <<\_ACEOF | 8239 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
| 11006 ## --------------------- ## | 8240 ## -------------------- ## |
| 11007 ## M4sh Initialization. ## | 8241 ## M4sh Initialization. ## |
| 11008 ## --------------------- ## | 8242 ## -------------------- ## |
| 11009 | 8243 |
| 11010 # Be more Bourne compatible | 8244 # Be more Bourne compatible |
| 11011 DUALCASE=1; export DUALCASE # for MKS sh | 8245 DUALCASE=1; export DUALCASE # for MKS sh |
| 11012 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 8246 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
| 11013 emulate sh | 8247 emulate sh |
| 11014 NULLCMD=: | 8248 NULLCMD=: |
| 11015 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 8249 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 11016 # is contrary to our usage. Disable this feature. | 8250 # is contrary to our usage. Disable this feature. |
| 11017 alias -g '${1+"$@"}'='"$@"' | 8251 alias -g '${1+"$@"}'='"$@"' |
| 11018 setopt NO_GLOB_SUBST | 8252 setopt NO_GLOB_SUBST |
| 11019 else | 8253 else |
| 11020 case `(set -o) 2>/dev/null` in | 8254 case `(set -o) 2>/dev/null` in #( |
| 11021 *posix*) set -o posix ;; | 8255 *posix*) : |
| 8256 set -o posix ;; #( |
| 8257 *) : |
| 8258 ;; |
| 11022 esac | 8259 esac |
| 11023 | |
| 11024 fi | 8260 fi |
| 11025 | 8261 |
| 11026 | 8262 |
| 11027 | 8263 as_nl=' |
| 11028 | 8264 ' |
| 11029 # PATH needs CR | 8265 export as_nl |
| 11030 # Avoid depending upon Character Ranges. | 8266 # Printing a long string crashes Solaris 7 /usr/bin/printf. |
| 11031 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 8267 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 11032 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 8268 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
| 11033 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 8269 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
| 11034 as_cr_digits='0123456789' | 8270 # Prefer a ksh shell builtin over an external printf program on Solaris, |
| 11035 as_cr_alnum=$as_cr_Letters$as_cr_digits | 8271 # but without wasting forks for bash or zsh. |
| 8272 if test -z "$BASH_VERSION$ZSH_VERSION" \ |
| 8273 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 8274 as_echo='print -r --' |
| 8275 as_echo_n='print -rn --' |
| 8276 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 8277 as_echo='printf %s\n' |
| 8278 as_echo_n='printf %s' |
| 8279 else |
| 8280 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
| 8281 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
| 8282 as_echo_n='/usr/ucb/echo -n' |
| 8283 else |
| 8284 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
| 8285 as_echo_n_body='eval |
| 8286 arg=$1; |
| 8287 case $arg in #( |
| 8288 *"$as_nl"*) |
| 8289 » expr "X$arg" : "X\\(.*\\)$as_nl"; |
| 8290 » arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
| 8291 esac; |
| 8292 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
| 8293 ' |
| 8294 export as_echo_n_body |
| 8295 as_echo_n='sh -c $as_echo_n_body as_echo' |
| 8296 fi |
| 8297 export as_echo_body |
| 8298 as_echo='sh -c $as_echo_body as_echo' |
| 8299 fi |
| 11036 | 8300 |
| 11037 # The user is always right. | 8301 # The user is always right. |
| 11038 if test "${PATH_SEPARATOR+set}" != set; then | 8302 if test "${PATH_SEPARATOR+set}" != set; then |
| 11039 echo "#! /bin/sh" >conf$$.sh | 8303 PATH_SEPARATOR=: |
| 11040 echo "exit 0" >>conf$$.sh | 8304 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
| 11041 chmod +x conf$$.sh | 8305 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
| 11042 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 8306 PATH_SEPARATOR=';' |
| 11043 PATH_SEPARATOR=';' | 8307 } |
| 11044 else | |
| 11045 PATH_SEPARATOR=: | |
| 11046 fi | |
| 11047 rm -f conf$$.sh | |
| 11048 fi | |
| 11049 | |
| 11050 # Support unset when possible. | |
| 11051 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
| 11052 as_unset=unset | |
| 11053 else | |
| 11054 as_unset=false | |
| 11055 fi | 8308 fi |
| 11056 | 8309 |
| 11057 | 8310 |
| 11058 # IFS | 8311 # IFS |
| 11059 # We need space, tab and new line, in precisely that order. Quoting is | 8312 # We need space, tab and new line, in precisely that order. Quoting is |
| 11060 # there to prevent editors from complaining about space-tab. | 8313 # there to prevent editors from complaining about space-tab. |
| 11061 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 8314 # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
| 11062 # splitting by setting IFS to empty value.) | 8315 # splitting by setting IFS to empty value.) |
| 11063 as_nl=' | |
| 11064 ' | |
| 11065 IFS=" "" $as_nl" | 8316 IFS=" "" $as_nl" |
| 11066 | 8317 |
| 11067 # Find who we are. Look in the path if we contain no directory separator. | 8318 # Find who we are. Look in the path if we contain no directory separator. |
| 11068 case $0 in | 8319 case $0 in #(( |
| 11069 *[\\/]* ) as_myself=$0 ;; | 8320 *[\\/]* ) as_myself=$0 ;; |
| 11070 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 8321 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 11071 for as_dir in $PATH | 8322 for as_dir in $PATH |
| 11072 do | 8323 do |
| 11073 IFS=$as_save_IFS | 8324 IFS=$as_save_IFS |
| 11074 test -z "$as_dir" && as_dir=. | 8325 test -z "$as_dir" && as_dir=. |
| 11075 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 8326 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 11076 done | 8327 done |
| 11077 IFS=$as_save_IFS | 8328 IFS=$as_save_IFS |
| 11078 | 8329 |
| 11079 ;; | 8330 ;; |
| 11080 esac | 8331 esac |
| 11081 # We did not find ourselves, most probably we were run as `sh COMMAND' | 8332 # We did not find ourselves, most probably we were run as `sh COMMAND' |
| 11082 # in which case we are not to be found in the path. | 8333 # in which case we are not to be found in the path. |
| 11083 if test "x$as_myself" = x; then | 8334 if test "x$as_myself" = x; then |
| 11084 as_myself=$0 | 8335 as_myself=$0 |
| 11085 fi | 8336 fi |
| 11086 if test ! -f "$as_myself"; then | 8337 if test ! -f "$as_myself"; then |
| 11087 echo "$as_myself: error: cannot find myself; rerun with an absolute file name"
>&2 | 8338 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file n
ame" >&2 |
| 11088 { (exit 1); exit 1; } | 8339 exit 1 |
| 11089 fi | 8340 fi |
| 11090 | 8341 |
| 11091 # Work around bugs in pre-3.0 UWIN ksh. | 8342 # Unset variables that we do not need and which cause bugs (e.g. in |
| 11092 for as_var in ENV MAIL MAILPATH | 8343 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
| 11093 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | 8344 # suppresses any "Segmentation fault" message there. '((' could |
| 8345 # trigger a bug in pdksh 5.2.14. |
| 8346 for as_var in BASH_ENV ENV MAIL MAILPATH |
| 8347 do eval test x\${$as_var+set} = xset \ |
| 8348 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
| 11094 done | 8349 done |
| 11095 PS1='$ ' | 8350 PS1='$ ' |
| 11096 PS2='> ' | 8351 PS2='> ' |
| 11097 PS4='+ ' | 8352 PS4='+ ' |
| 11098 | 8353 |
| 11099 # NLS nuisances. | 8354 # NLS nuisances. |
| 11100 for as_var in \ | 8355 LC_ALL=C |
| 11101 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 8356 export LC_ALL |
| 11102 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 8357 LANGUAGE=C |
| 11103 LC_TELEPHONE LC_TIME | 8358 export LANGUAGE |
| 11104 do | 8359 |
| 11105 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | 8360 # CDPATH. |
| 11106 eval $as_var=C; export $as_var | 8361 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 11107 else | 8362 |
| 11108 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | 8363 |
| 8364 # as_fn_error ERROR [LINENO LOG_FD] |
| 8365 # --------------------------------- |
| 8366 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| 8367 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| 8368 # script with status $?, using 1 if that was 0. |
| 8369 as_fn_error () |
| 8370 { |
| 8371 as_status=$?; test $as_status -eq 0 && as_status=1 |
| 8372 if test "$3"; then |
| 8373 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 8374 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
| 11109 fi | 8375 fi |
| 11110 done | 8376 $as_echo "$as_me: error: $1" >&2 |
| 8377 as_fn_exit $as_status |
| 8378 } # as_fn_error |
| 11111 | 8379 |
| 11112 # Required to use basename. | 8380 |
| 8381 # as_fn_set_status STATUS |
| 8382 # ----------------------- |
| 8383 # Set $? to STATUS, without forking. |
| 8384 as_fn_set_status () |
| 8385 { |
| 8386 return $1 |
| 8387 } # as_fn_set_status |
| 8388 |
| 8389 # as_fn_exit STATUS |
| 8390 # ----------------- |
| 8391 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
| 8392 as_fn_exit () |
| 8393 { |
| 8394 set +e |
| 8395 as_fn_set_status $1 |
| 8396 exit $1 |
| 8397 } # as_fn_exit |
| 8398 |
| 8399 # as_fn_unset VAR |
| 8400 # --------------- |
| 8401 # Portably unset VAR. |
| 8402 as_fn_unset () |
| 8403 { |
| 8404 { eval $1=; unset $1;} |
| 8405 } |
| 8406 as_unset=as_fn_unset |
| 8407 # as_fn_append VAR VALUE |
| 8408 # ---------------------- |
| 8409 # Append the text in VALUE to the end of the definition contained in VAR. Take |
| 8410 # advantage of any shell optimizations that allow amortized linear growth over |
| 8411 # repeated appends, instead of the typical quadratic growth present in naive |
| 8412 # implementations. |
| 8413 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
| 8414 eval 'as_fn_append () |
| 8415 { |
| 8416 eval $1+=\$2 |
| 8417 }' |
| 8418 else |
| 8419 as_fn_append () |
| 8420 { |
| 8421 eval $1=\$$1\$2 |
| 8422 } |
| 8423 fi # as_fn_append |
| 8424 |
| 8425 # as_fn_arith ARG... |
| 8426 # ------------------ |
| 8427 # Perform arithmetic evaluation on the ARGs, and store the result in the |
| 8428 # global $as_val. Take advantage of shells that can avoid forks. The arguments |
| 8429 # must be portable across $(()) and expr. |
| 8430 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
| 8431 eval 'as_fn_arith () |
| 8432 { |
| 8433 as_val=$(( $* )) |
| 8434 }' |
| 8435 else |
| 8436 as_fn_arith () |
| 8437 { |
| 8438 as_val=`expr "$@" || test $? -eq 1` |
| 8439 } |
| 8440 fi # as_fn_arith |
| 8441 |
| 8442 |
| 11113 if expr a : '\(a\)' >/dev/null 2>&1 && | 8443 if expr a : '\(a\)' >/dev/null 2>&1 && |
| 11114 test "X`expr 00001 : '.*\(...\)'`" = X001; then | 8444 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 11115 as_expr=expr | 8445 as_expr=expr |
| 11116 else | 8446 else |
| 11117 as_expr=false | 8447 as_expr=false |
| 11118 fi | 8448 fi |
| 11119 | 8449 |
| 11120 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | 8450 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 11121 as_basename=basename | 8451 as_basename=basename |
| 11122 else | 8452 else |
| 11123 as_basename=false | 8453 as_basename=false |
| 11124 fi | 8454 fi |
| 11125 | 8455 |
| 8456 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 8457 as_dirname=dirname |
| 8458 else |
| 8459 as_dirname=false |
| 8460 fi |
| 11126 | 8461 |
| 11127 # Name of the executable. | |
| 11128 as_me=`$as_basename -- "$0" || | 8462 as_me=`$as_basename -- "$0" || |
| 11129 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 8463 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 11130 X"$0" : 'X\(//\)$' \| \ | 8464 X"$0" : 'X\(//\)$' \| \ |
| 11131 X"$0" : 'X\(/\)' \| . 2>/dev/null || | 8465 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 11132 echo X/"$0" | | 8466 $as_echo X/"$0" | |
| 11133 sed '/^.*\/\([^/][^/]*\)\/*$/{ | 8467 sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 11134 s//\1/ | 8468 s//\1/ |
| 11135 q | 8469 q |
| 11136 } | 8470 } |
| 11137 /^X\/\(\/\/\)$/{ | 8471 /^X\/\(\/\/\)$/{ |
| 11138 s//\1/ | 8472 s//\1/ |
| 11139 q | 8473 q |
| 11140 } | 8474 } |
| 11141 /^X\/\(\/\).*/{ | 8475 /^X\/\(\/\).*/{ |
| 11142 s//\1/ | 8476 s//\1/ |
| 11143 q | 8477 q |
| 11144 } | 8478 } |
| 11145 s/.*/./; q'` | 8479 s/.*/./; q'` |
| 11146 | 8480 |
| 11147 # CDPATH. | 8481 # Avoid depending upon Character Ranges. |
| 11148 $as_unset CDPATH | 8482 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 11149 | 8483 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 11150 | 8484 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 11151 | 8485 as_cr_digits='0123456789' |
| 11152 as_lineno_1=$LINENO | 8486 as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 11153 as_lineno_2=$LINENO | |
| 11154 test "x$as_lineno_1" != "x$as_lineno_2" && | |
| 11155 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | |
| 11156 | |
| 11157 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
| 11158 # uniformly replaced by the line number. The first 'sed' inserts a | |
| 11159 # line-number line after each line using $LINENO; the second 'sed' | |
| 11160 # does the real work. The second script uses 'N' to pair each | |
| 11161 # line-number line with the line containing $LINENO, and appends | |
| 11162 # trailing '-' during substitution so that $LINENO is not a special | |
| 11163 # case at line end. | |
| 11164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
| 11165 # scripts with optimization help from Paolo Bonzini. Blame Lee | |
| 11166 # E. McMahon (1931-1989) for sed's syntax. :-) | |
| 11167 sed -n ' | |
| 11168 p | |
| 11169 /[$]LINENO/= | |
| 11170 ' <$as_myself | | |
| 11171 sed ' | |
| 11172 s/[$]LINENO.*/&-/ | |
| 11173 t lineno | |
| 11174 b | |
| 11175 :lineno | |
| 11176 N | |
| 11177 :loop | |
| 11178 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
| 11179 t loop | |
| 11180 s/-\n.*// | |
| 11181 ' >$as_me.lineno && | |
| 11182 chmod +x "$as_me.lineno" || | |
| 11183 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell
" >&2 | |
| 11184 { (exit 1); exit 1; }; } | |
| 11185 | |
| 11186 # Don't try to exec as it changes $[0], causing all sort of problems | |
| 11187 # (the dirname of $[0] is not the place where we might find the | |
| 11188 # original and so on. Autoconf is especially sensitive to this). | |
| 11189 . "./$as_me.lineno" | |
| 11190 # Exit status is that of the last command. | |
| 11191 exit | |
| 11192 } | |
| 11193 | |
| 11194 | |
| 11195 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
| 11196 as_dirname=dirname | |
| 11197 else | |
| 11198 as_dirname=false | |
| 11199 fi | |
| 11200 | 8487 |
| 11201 ECHO_C= ECHO_N= ECHO_T= | 8488 ECHO_C= ECHO_N= ECHO_T= |
| 11202 case `echo -n x` in | 8489 case `echo -n x` in #((((( |
| 11203 -n*) | 8490 -n*) |
| 11204 case `echo 'x\c'` in | 8491 case `echo 'xy\c'` in |
| 11205 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | 8492 *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 11206 *) ECHO_C='\c';; | 8493 xy) ECHO_C='\c';; |
| 8494 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
| 8495 ECHO_T='»';; |
| 11207 esac;; | 8496 esac;; |
| 11208 *) | 8497 *) |
| 11209 ECHO_N='-n';; | 8498 ECHO_N='-n';; |
| 11210 esac | 8499 esac |
| 11211 | 8500 |
| 11212 if expr a : '\(a\)' >/dev/null 2>&1 && | |
| 11213 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
| 11214 as_expr=expr | |
| 11215 else | |
| 11216 as_expr=false | |
| 11217 fi | |
| 11218 | |
| 11219 rm -f conf$$ conf$$.exe conf$$.file | 8501 rm -f conf$$ conf$$.exe conf$$.file |
| 11220 if test -d conf$$.dir; then | 8502 if test -d conf$$.dir; then |
| 11221 rm -f conf$$.dir/conf$$.file | 8503 rm -f conf$$.dir/conf$$.file |
| 11222 else | 8504 else |
| 11223 rm -f conf$$.dir | 8505 rm -f conf$$.dir |
| 11224 mkdir conf$$.dir | 8506 mkdir conf$$.dir 2>/dev/null |
| 11225 fi | 8507 fi |
| 11226 echo >conf$$.file | 8508 if (echo >conf$$.file) 2>/dev/null; then |
| 11227 if ln -s conf$$.file conf$$ 2>/dev/null; then | 8509 if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 11228 as_ln_s='ln -s' | 8510 as_ln_s='ln -s' |
| 11229 # ... but there are two gotchas: | 8511 # ... but there are two gotchas: |
| 11230 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | 8512 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 11231 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | 8513 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 11232 # In both cases, we have to default to `cp -p'. | 8514 # In both cases, we have to default to `cp -p'. |
| 11233 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | 8515 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 8516 as_ln_s='cp -p' |
| 8517 elif ln conf$$.file conf$$ 2>/dev/null; then |
| 8518 as_ln_s=ln |
| 8519 else |
| 11234 as_ln_s='cp -p' | 8520 as_ln_s='cp -p' |
| 11235 elif ln conf$$.file conf$$ 2>/dev/null; then | 8521 fi |
| 11236 as_ln_s=ln | |
| 11237 else | 8522 else |
| 11238 as_ln_s='cp -p' | 8523 as_ln_s='cp -p' |
| 11239 fi | 8524 fi |
| 11240 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 8525 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 11241 rmdir conf$$.dir 2>/dev/null | 8526 rmdir conf$$.dir 2>/dev/null |
| 11242 | 8527 |
| 8528 |
| 8529 # as_fn_mkdir_p |
| 8530 # ------------- |
| 8531 # Create "$as_dir" as a directory, including parents if necessary. |
| 8532 as_fn_mkdir_p () |
| 8533 { |
| 8534 |
| 8535 case $as_dir in #( |
| 8536 -*) as_dir=./$as_dir;; |
| 8537 esac |
| 8538 test -d "$as_dir" || eval $as_mkdir_p || { |
| 8539 as_dirs= |
| 8540 while :; do |
| 8541 case $as_dir in #( |
| 8542 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 8543 *) as_qdir=$as_dir;; |
| 8544 esac |
| 8545 as_dirs="'$as_qdir' $as_dirs" |
| 8546 as_dir=`$as_dirname -- "$as_dir" || |
| 8547 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 8548 X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 8549 X"$as_dir" : 'X\(//\)$' \| \ |
| 8550 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 8551 $as_echo X"$as_dir" | |
| 8552 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 8553 s//\1/ |
| 8554 q |
| 8555 } |
| 8556 /^X\(\/\/\)[^/].*/{ |
| 8557 s//\1/ |
| 8558 q |
| 8559 } |
| 8560 /^X\(\/\/\)$/{ |
| 8561 s//\1/ |
| 8562 q |
| 8563 } |
| 8564 /^X\(\/\).*/{ |
| 8565 s//\1/ |
| 8566 q |
| 8567 } |
| 8568 s/.*/./; q'` |
| 8569 test -d "$as_dir" && break |
| 8570 done |
| 8571 test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 8572 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
| 8573 |
| 8574 |
| 8575 } # as_fn_mkdir_p |
| 11243 if mkdir -p . 2>/dev/null; then | 8576 if mkdir -p . 2>/dev/null; then |
| 11244 as_mkdir_p=: | 8577 as_mkdir_p='mkdir -p "$as_dir"' |
| 11245 else | 8578 else |
| 11246 test -d ./-p && rmdir ./-p | 8579 test -d ./-p && rmdir ./-p |
| 11247 as_mkdir_p=false | 8580 as_mkdir_p=false |
| 11248 fi | 8581 fi |
| 11249 | 8582 |
| 11250 if test -x / >/dev/null 2>&1; then | 8583 if test -x / >/dev/null 2>&1; then |
| 11251 as_test_x='test -x' | 8584 as_test_x='test -x' |
| 11252 else | 8585 else |
| 11253 if ls -dL / >/dev/null 2>&1; then | 8586 if ls -dL / >/dev/null 2>&1; then |
| 11254 as_ls_L_option=L | 8587 as_ls_L_option=L |
| 11255 else | 8588 else |
| 11256 as_ls_L_option= | 8589 as_ls_L_option= |
| 11257 fi | 8590 fi |
| 11258 as_test_x=' | 8591 as_test_x=' |
| 11259 eval sh -c '\'' | 8592 eval sh -c '\'' |
| 11260 if test -d "$1"; then | 8593 if test -d "$1"; then |
| 11261 test -d "$1/."; | 8594 » test -d "$1/."; |
| 11262 else | 8595 else |
| 11263 » case $1 in | 8596 » case $1 in #( |
| 11264 -*)set "./$1";; | 8597 » -*)set "./$1";; |
| 11265 esac; | 8598 esac; |
| 11266 » case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | 8599 » case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
| 11267 ???[sx]*):;;*)false;;esac;fi | 8600 ???[sx]*):;;*)false;;esac;fi |
| 11268 '\'' sh | 8601 '\'' sh |
| 11269 ' | 8602 ' |
| 11270 fi | 8603 fi |
| 11271 as_executable_p=$as_test_x | 8604 as_executable_p=$as_test_x |
| 11272 | 8605 |
| 11273 # Sed expression to map a string onto a valid CPP name. | 8606 # Sed expression to map a string onto a valid CPP name. |
| 11274 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 8607 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 11275 | 8608 |
| 11276 # Sed expression to map a string onto a valid variable name. | 8609 # Sed expression to map a string onto a valid variable name. |
| 11277 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 8610 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 11278 | 8611 |
| 11279 | 8612 |
| 11280 exec 6>&1 | 8613 exec 6>&1 |
| 8614 ## ----------------------------------- ## |
| 8615 ## Main body of $CONFIG_STATUS script. ## |
| 8616 ## ----------------------------------- ## |
| 8617 _ASEOF |
| 8618 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
| 11281 | 8619 |
| 11282 # Save the log message, to keep $[0] and so on meaningful, and to | 8620 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 8621 # Save the log message, to keep $0 and so on meaningful, and to |
| 11283 # report actual input values of CONFIG_FILES etc. instead of their | 8622 # report actual input values of CONFIG_FILES etc. instead of their |
| 11284 # values after options handling. | 8623 # values after options handling. |
| 11285 ac_log=" | 8624 ac_log=" |
| 11286 This file was extended by yasm $as_me 0.8.0, which was | 8625 This file was extended by yasm $as_me 1.1.0, which was |
| 11287 generated by GNU Autoconf 2.61. Invocation command line was | 8626 generated by GNU Autoconf 2.65. Invocation command line was |
| 11288 | 8627 |
| 11289 CONFIG_FILES = $CONFIG_FILES | 8628 CONFIG_FILES = $CONFIG_FILES |
| 11290 CONFIG_HEADERS = $CONFIG_HEADERS | 8629 CONFIG_HEADERS = $CONFIG_HEADERS |
| 11291 CONFIG_LINKS = $CONFIG_LINKS | 8630 CONFIG_LINKS = $CONFIG_LINKS |
| 11292 CONFIG_COMMANDS = $CONFIG_COMMANDS | 8631 CONFIG_COMMANDS = $CONFIG_COMMANDS |
| 11293 $ $0 $@ | 8632 $ $0 $@ |
| 11294 | 8633 |
| 11295 on `(hostname || uname -n) 2>/dev/null | sed 1q` | 8634 on `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 11296 " | 8635 " |
| 11297 | 8636 |
| 11298 _ACEOF | 8637 _ACEOF |
| 11299 | 8638 |
| 11300 cat >>$CONFIG_STATUS <<_ACEOF | 8639 case $ac_config_files in *" |
| 8640 "*) set x $ac_config_files; shift; ac_config_files=$*;; |
| 8641 esac |
| 8642 |
| 8643 case $ac_config_headers in *" |
| 8644 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
| 8645 esac |
| 8646 |
| 8647 |
| 8648 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 11301 # Files that config.status was made for. | 8649 # Files that config.status was made for. |
| 11302 config_files="$ac_config_files" | 8650 config_files="`echo $ac_config_files`" |
| 11303 config_headers="$ac_config_headers" | 8651 config_headers="`echo $ac_config_headers`" |
| 11304 config_commands="$ac_config_commands" | 8652 config_commands="`echo $ac_config_commands`" |
| 11305 | 8653 |
| 11306 _ACEOF | 8654 _ACEOF |
| 11307 | 8655 |
| 11308 cat >>$CONFIG_STATUS <<\_ACEOF | 8656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 11309 ac_cs_usage="\ | 8657 ac_cs_usage="\ |
| 11310 \`$as_me' instantiates files from templates according to the | 8658 \`$as_me' instantiates files and other configuration actions |
| 11311 current configuration. | 8659 from templates according to the current configuration. Unless the files |
| 8660 and actions are specified as TAGs, all are instantiated by default. |
| 11312 | 8661 |
| 11313 Usage: $0 [OPTIONS] [FILE]... | 8662 Usage: $0 [OPTION]... [TAG]... |
| 11314 | 8663 |
| 11315 -h, --help print this help, then exit | 8664 -h, --help print this help, then exit |
| 11316 -V, --version print version number and configuration settings, then exit | 8665 -V, --version print version number and configuration settings, then exit |
| 11317 -q, --quiet do not print progress messages | 8666 --config print configuration, then exit |
| 8667 -q, --quiet, --silent |
| 8668 do not print progress messages |
| 11318 -d, --debug don't remove temporary files | 8669 -d, --debug don't remove temporary files |
| 11319 --recheck update $as_me by reconfiguring in the same conditions | 8670 --recheck update $as_me by reconfiguring in the same conditions |
| 11320 --file=FILE[:TEMPLATE] | 8671 --file=FILE[:TEMPLATE] |
| 11321 » » instantiate the configuration file FILE | 8672 instantiate the configuration file FILE |
| 11322 --header=FILE[:TEMPLATE] | 8673 --header=FILE[:TEMPLATE] |
| 11323 » » instantiate the configuration header FILE | 8674 instantiate the configuration header FILE |
| 11324 | 8675 |
| 11325 Configuration files: | 8676 Configuration files: |
| 11326 $config_files | 8677 $config_files |
| 11327 | 8678 |
| 11328 Configuration headers: | 8679 Configuration headers: |
| 11329 $config_headers | 8680 $config_headers |
| 11330 | 8681 |
| 11331 Configuration commands: | 8682 Configuration commands: |
| 11332 $config_commands | 8683 $config_commands |
| 11333 | 8684 |
| 11334 Report bugs to <bug-autoconf@gnu.org>." | 8685 Report bugs to <bug-yasm@tortall.net>." |
| 11335 | 8686 |
| 11336 _ACEOF | 8687 _ACEOF |
| 11337 cat >>$CONFIG_STATUS <<_ACEOF | 8688 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 8689 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g
'`" |
| 11338 ac_cs_version="\\ | 8690 ac_cs_version="\\ |
| 11339 yasm config.status 0.8.0 | 8691 yasm config.status 1.1.0 |
| 11340 configured by $0, generated by GNU Autoconf 2.61, | 8692 configured by $0, generated by GNU Autoconf 2.65, |
| 11341 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g
'`\\" | 8693 with options \\"\$ac_cs_config\\" |
| 11342 | 8694 |
| 11343 Copyright (C) 2006 Free Software Foundation, Inc. | 8695 Copyright (C) 2009 Free Software Foundation, Inc. |
| 11344 This config.status script is free software; the Free Software Foundation | 8696 This config.status script is free software; the Free Software Foundation |
| 11345 gives unlimited permission to copy, distribute and modify it." | 8697 gives unlimited permission to copy, distribute and modify it." |
| 11346 | 8698 |
| 11347 ac_pwd='$ac_pwd' | 8699 ac_pwd='$ac_pwd' |
| 11348 srcdir='$srcdir' | 8700 srcdir='$srcdir' |
| 11349 INSTALL='$INSTALL' | 8701 INSTALL='$INSTALL' |
| 11350 MKDIR_P='$MKDIR_P' | 8702 MKDIR_P='$MKDIR_P' |
| 8703 AWK='$AWK' |
| 8704 test -n "\$AWK" || AWK=awk |
| 11351 _ACEOF | 8705 _ACEOF |
| 11352 | 8706 |
| 11353 cat >>$CONFIG_STATUS <<\_ACEOF | 8707 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 11354 # If no file are specified by the user, then we need to provide default | 8708 # The default lists apply if the user does not specify any file. |
| 11355 # value. By we need to know if files were specified by the user. | |
| 11356 ac_need_defaults=: | 8709 ac_need_defaults=: |
| 11357 while test $# != 0 | 8710 while test $# != 0 |
| 11358 do | 8711 do |
| 11359 case $1 in | 8712 case $1 in |
| 11360 --*=*) | 8713 --*=*) |
| 11361 ac_option=`expr "X$1" : 'X\([^=]*\)='` | 8714 ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 11362 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | 8715 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
| 11363 ac_shift=: | 8716 ac_shift=: |
| 11364 ;; | 8717 ;; |
| 11365 *) | 8718 *) |
| 11366 ac_option=$1 | 8719 ac_option=$1 |
| 11367 ac_optarg=$2 | 8720 ac_optarg=$2 |
| 11368 ac_shift=shift | 8721 ac_shift=shift |
| 11369 ;; | 8722 ;; |
| 11370 esac | 8723 esac |
| 11371 | 8724 |
| 11372 case $ac_option in | 8725 case $ac_option in |
| 11373 # Handling of the options. | 8726 # Handling of the options. |
| 11374 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 8727 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| 11375 ac_cs_recheck=: ;; | 8728 ac_cs_recheck=: ;; |
| 11376 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | 8729 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
| 11377 echo "$ac_cs_version"; exit ;; | 8730 $as_echo "$ac_cs_version"; exit ;; |
| 8731 --config | --confi | --conf | --con | --co | --c ) |
| 8732 $as_echo "$ac_cs_config"; exit ;; |
| 11378 --debug | --debu | --deb | --de | --d | -d ) | 8733 --debug | --debu | --deb | --de | --d | -d ) |
| 11379 debug=: ;; | 8734 debug=: ;; |
| 11380 --file | --fil | --fi | --f ) | 8735 --file | --fil | --fi | --f ) |
| 11381 $ac_shift | 8736 $ac_shift |
| 11382 CONFIG_FILES="$CONFIG_FILES $ac_optarg" | 8737 case $ac_optarg in |
| 8738 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 8739 esac |
| 8740 as_fn_append CONFIG_FILES " '$ac_optarg'" |
| 11383 ac_need_defaults=false;; | 8741 ac_need_defaults=false;; |
| 11384 --header | --heade | --head | --hea ) | 8742 --header | --heade | --head | --hea ) |
| 11385 $ac_shift | 8743 $ac_shift |
| 11386 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | 8744 case $ac_optarg in |
| 8745 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 8746 esac |
| 8747 as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
| 11387 ac_need_defaults=false;; | 8748 ac_need_defaults=false;; |
| 11388 --he | --h) | 8749 --he | --h) |
| 11389 # Conflict between --help and --header | 8750 # Conflict between --help and --header |
| 11390 { echo "$as_me: error: ambiguous option: $1 | 8751 as_fn_error "ambiguous option: \`$1' |
| 11391 Try \`$0 --help' for more information." >&2 | 8752 Try \`$0 --help' for more information.";; |
| 11392 { (exit 1); exit 1; }; };; | |
| 11393 --help | --hel | -h ) | 8753 --help | --hel | -h ) |
| 11394 echo "$ac_cs_usage"; exit ;; | 8754 $as_echo "$ac_cs_usage"; exit ;; |
| 11395 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 8755 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 11396 | -silent | --silent | --silen | --sile | --sil | --si | --s) | 8756 | -silent | --silent | --silen | --sile | --sil | --si | --s) |
| 11397 ac_cs_silent=: ;; | 8757 ac_cs_silent=: ;; |
| 11398 | 8758 |
| 11399 # This is an error. | 8759 # This is an error. |
| 11400 -*) { echo "$as_me: error: unrecognized option: $1 | 8760 -*) as_fn_error "unrecognized option: \`$1' |
| 11401 Try \`$0 --help' for more information." >&2 | 8761 Try \`$0 --help' for more information." ;; |
| 11402 { (exit 1); exit 1; }; } ;; | |
| 11403 | 8762 |
| 11404 *) ac_config_targets="$ac_config_targets $1" | 8763 *) as_fn_append ac_config_targets " $1" |
| 11405 ac_need_defaults=false ;; | 8764 ac_need_defaults=false ;; |
| 11406 | 8765 |
| 11407 esac | 8766 esac |
| 11408 shift | 8767 shift |
| 11409 done | 8768 done |
| 11410 | 8769 |
| 11411 ac_configure_extra_args= | 8770 ac_configure_extra_args= |
| 11412 | 8771 |
| 11413 if $ac_cs_silent; then | 8772 if $ac_cs_silent; then |
| 11414 exec 6>/dev/null | 8773 exec 6>/dev/null |
| 11415 ac_configure_extra_args="$ac_configure_extra_args --silent" | 8774 ac_configure_extra_args="$ac_configure_extra_args --silent" |
| 11416 fi | 8775 fi |
| 11417 | 8776 |
| 11418 _ACEOF | 8777 _ACEOF |
| 11419 cat >>$CONFIG_STATUS <<_ACEOF | 8778 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 11420 if \$ac_cs_recheck; then | 8779 if \$ac_cs_recheck; then |
| 11421 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure
_extra_args " --no-create --no-recursion" >&6 | 8780 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create -
-no-recursion |
| 11422 CONFIG_SHELL=$SHELL | 8781 shift |
| 8782 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
| 8783 CONFIG_SHELL='$SHELL' |
| 11423 export CONFIG_SHELL | 8784 export CONFIG_SHELL |
| 11424 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-
recursion | 8785 exec "\$@" |
| 11425 fi | 8786 fi |
| 11426 | 8787 |
| 11427 _ACEOF | 8788 _ACEOF |
| 11428 cat >>$CONFIG_STATUS <<\_ACEOF | 8789 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 11429 exec 5>>config.log | 8790 exec 5>>config.log |
| 11430 { | 8791 { |
| 11431 echo | 8792 echo |
| 11432 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | 8793 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
| 11433 ## Running $as_me. ## | 8794 ## Running $as_me. ## |
| 11434 _ASBOX | 8795 _ASBOX |
| 11435 echo "$ac_log" | 8796 $as_echo "$ac_log" |
| 11436 } >&5 | 8797 } >&5 |
| 11437 | 8798 |
| 11438 _ACEOF | 8799 _ACEOF |
| 11439 cat >>$CONFIG_STATUS <<_ACEOF | 8800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 11440 # | 8801 # |
| 11441 # INIT-COMMANDS | 8802 # INIT-COMMANDS |
| 11442 # | 8803 # |
| 11443 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | 8804 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
| 11444 # variables for create stdint.h replacement | 8805 # variables for create stdint.h replacement |
| 11445 PACKAGE="$PACKAGE" | 8806 PACKAGE="$PACKAGE" |
| 11446 VERSION="$VERSION" | 8807 VERSION="$VERSION" |
| 11447 ac_stdint_h="$ac_stdint_h" | 8808 ac_stdint_h="$ac_stdint_h" |
| 11448 _ac_stdint_h=`echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp` | 8809 _ac_stdint_h=`$as_echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp` |
| 11449 ac_cv_stdint_message="$ac_cv_stdint_message" | 8810 ac_cv_stdint_message="$ac_cv_stdint_message" |
| 11450 ac_cv_header_stdint_t="$ac_cv_header_stdint_t" | 8811 ac_cv_header_stdint_t="$ac_cv_header_stdint_t" |
| 11451 ac_cv_header_stdint_x="$ac_cv_header_stdint_x" | 8812 ac_cv_header_stdint_x="$ac_cv_header_stdint_x" |
| 11452 ac_cv_header_stdint_o="$ac_cv_header_stdint_o" | 8813 ac_cv_header_stdint_o="$ac_cv_header_stdint_o" |
| 11453 ac_cv_header_stdint_u="$ac_cv_header_stdint_u" | 8814 ac_cv_header_stdint_u="$ac_cv_header_stdint_u" |
| 11454 ac_cv_type_uint64_t="$ac_cv_type_uint64_t" | 8815 ac_cv_type_uint64_t="$ac_cv_type_uint64_t" |
| 11455 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t" | 8816 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t" |
| 11456 ac_cv_char_data_model="$ac_cv_char_data_model" | 8817 ac_cv_char_data_model="$ac_cv_char_data_model" |
| 11457 ac_cv_long_data_model="$ac_cv_long_data_model" | 8818 ac_cv_long_data_model="$ac_cv_long_data_model" |
| 11458 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t" | 8819 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t" |
| 11459 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t" | 8820 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t" |
| 11460 ac_cv_type_intmax_t="$ac_cv_type_intmax_t" | 8821 ac_cv_type_intmax_t="$ac_cv_type_intmax_t" |
| 11461 | 8822 |
| 11462 # Capture the value of obsolete ALL_LINGUAS because we need it to compute | 8823 # Capture the value of obsolete ALL_LINGUAS because we need it to compute |
| 11463 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it | 8824 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it |
| 11464 # from automake < 1.5. | 8825 # from automake < 1.5. |
| 11465 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' | 8826 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' |
| 11466 # Capture the value of LINGUAS because we need it to compute CATALOGS. | 8827 # Capture the value of LINGUAS because we need it to compute CATALOGS. |
| 11467 LINGUAS="${LINGUAS-%UNSET%}" | 8828 LINGUAS="${LINGUAS-%UNSET%}" |
| 11468 | 8829 |
| 11469 | 8830 |
| 11470 _ACEOF | 8831 _ACEOF |
| 11471 | 8832 |
| 11472 cat >>$CONFIG_STATUS <<\_ACEOF | 8833 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 11473 | 8834 |
| 11474 # Handling of arguments. | 8835 # Handling of arguments. |
| 11475 for ac_config_target in $ac_config_targets | 8836 for ac_config_target in $ac_config_targets |
| 11476 do | 8837 do |
| 11477 case $ac_config_target in | 8838 case $ac_config_target in |
| 11478 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | 8839 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
| 11479 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | 8840 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
| 11480 "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;; | 8841 "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;; |
| 11481 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; | 8842 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; |
| 11482 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | 8843 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 11483 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; | 8844 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; |
| 11484 | 8845 |
| 11485 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | 8846 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
| 11486 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | |
| 11487 { (exit 1); exit 1; }; };; | |
| 11488 esac | 8847 esac |
| 11489 done | 8848 done |
| 11490 | 8849 |
| 11491 | 8850 |
| 11492 # If the user did not use the arguments to specify the items to instantiate, | 8851 # If the user did not use the arguments to specify the items to instantiate, |
| 11493 # then the envvar interface is used. Set only those that are not. | 8852 # then the envvar interface is used. Set only those that are not. |
| 11494 # We use the long form for the default assignment because of an extremely | 8853 # We use the long form for the default assignment because of an extremely |
| 11495 # bizarre bug on SunOS 4.1.3. | 8854 # bizarre bug on SunOS 4.1.3. |
| 11496 if $ac_need_defaults; then | 8855 if $ac_need_defaults; then |
| 11497 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | 8856 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
| 11498 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | 8857 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
| 11499 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | 8858 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
| 11500 fi | 8859 fi |
| 11501 | 8860 |
| 11502 # Have a temporary directory for convenience. Make it in the build tree | 8861 # Have a temporary directory for convenience. Make it in the build tree |
| 11503 # simply because there is no reason against having it here, and in addition, | 8862 # simply because there is no reason against having it here, and in addition, |
| 11504 # creating and moving files from /tmp can sometimes cause problems. | 8863 # creating and moving files from /tmp can sometimes cause problems. |
| 11505 # Hook for its removal unless debugging. | 8864 # Hook for its removal unless debugging. |
| 11506 # Note that there is a small window in which the directory will not be cleaned: | 8865 # Note that there is a small window in which the directory will not be cleaned: |
| 11507 # after its creation but before its name has been assigned to `$tmp'. | 8866 # after its creation but before its name has been assigned to `$tmp'. |
| 11508 $debug || | 8867 $debug || |
| 11509 { | 8868 { |
| 11510 tmp= | 8869 tmp= |
| 11511 trap 'exit_status=$? | 8870 trap 'exit_status=$? |
| 11512 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | 8871 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
| 11513 ' 0 | 8872 ' 0 |
| 11514 trap '{ (exit 1); exit 1; }' 1 2 13 15 | 8873 trap 'as_fn_exit 1' 1 2 13 15 |
| 11515 } | 8874 } |
| 11516 # Create a (secure) tmp directory for tmp files. | 8875 # Create a (secure) tmp directory for tmp files. |
| 11517 | 8876 |
| 11518 { | 8877 { |
| 11519 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | 8878 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
| 11520 test -n "$tmp" && test -d "$tmp" | 8879 test -n "$tmp" && test -d "$tmp" |
| 11521 } || | 8880 } || |
| 11522 { | 8881 { |
| 11523 tmp=./conf$$-$RANDOM | 8882 tmp=./conf$$-$RANDOM |
| 11524 (umask 077 && mkdir "$tmp") | 8883 (umask 077 && mkdir "$tmp") |
| 11525 } || | 8884 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 |
| 11526 { | |
| 11527 echo "$me: cannot create a temporary directory in ." >&2 | |
| 11528 { (exit 1); exit 1; } | |
| 11529 } | |
| 11530 | 8885 |
| 11531 # | 8886 # Set up the scripts for CONFIG_FILES section. |
| 11532 # Set up the sed scripts for CONFIG_FILES section. | 8887 # No need to generate them if there are no CONFIG_FILES. |
| 11533 # | 8888 # This happens for instance with `./config.status config.h'. |
| 11534 | |
| 11535 # No need to generate the scripts if there are no CONFIG_FILES. | |
| 11536 # This happens for instance when ./config.status config.h | |
| 11537 if test -n "$CONFIG_FILES"; then | 8889 if test -n "$CONFIG_FILES"; then |
| 11538 | 8890 |
| 8891 |
| 8892 ac_cr=`echo X | tr X '\015'` |
| 8893 # On cygwin, bash can eat \r inside `` if the user requested igncr. |
| 8894 # But we know of no other shell where ac_cr would be empty at this |
| 8895 # point, so we can use a bashism as a fallback. |
| 8896 if test "x$ac_cr" = x; then |
| 8897 eval ac_cr=\$\'\\r\' |
| 8898 fi |
| 8899 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
| 8900 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
| 8901 ac_cs_awk_cr='\r' |
| 8902 else |
| 8903 ac_cs_awk_cr=$ac_cr |
| 8904 fi |
| 8905 |
| 8906 echo 'BEGIN {' >"$tmp/subs1.awk" && |
| 11539 _ACEOF | 8907 _ACEOF |
| 11540 | 8908 |
| 11541 | 8909 |
| 11542 | 8910 { |
| 8911 echo "cat >conf$$subs.awk <<_ACEOF" && |
| 8912 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
| 8913 echo "_ACEOF" |
| 8914 } >conf$$subs.sh || |
| 8915 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 8916 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
| 11543 ac_delim='%!_!# ' | 8917 ac_delim='%!_!# ' |
| 11544 for ac_last_try in false false false false false :; do | 8918 for ac_last_try in false false false false false :; do |
| 11545 cat >conf$$subs.sed <<_ACEOF | 8919 . ./conf$$subs.sh || |
| 11546 SHELL!$SHELL$ac_delim | 8920 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 11547 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim | |
| 11548 PACKAGE_NAME!$PACKAGE_NAME$ac_delim | |
| 11549 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim | |
| 11550 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim | |
| 11551 PACKAGE_STRING!$PACKAGE_STRING$ac_delim | |
| 11552 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim | |
| 11553 exec_prefix!$exec_prefix$ac_delim | |
| 11554 prefix!$prefix$ac_delim | |
| 11555 program_transform_name!$program_transform_name$ac_delim | |
| 11556 bindir!$bindir$ac_delim | |
| 11557 sbindir!$sbindir$ac_delim | |
| 11558 libexecdir!$libexecdir$ac_delim | |
| 11559 datarootdir!$datarootdir$ac_delim | |
| 11560 datadir!$datadir$ac_delim | |
| 11561 sysconfdir!$sysconfdir$ac_delim | |
| 11562 sharedstatedir!$sharedstatedir$ac_delim | |
| 11563 localstatedir!$localstatedir$ac_delim | |
| 11564 includedir!$includedir$ac_delim | |
| 11565 oldincludedir!$oldincludedir$ac_delim | |
| 11566 docdir!$docdir$ac_delim | |
| 11567 infodir!$infodir$ac_delim | |
| 11568 htmldir!$htmldir$ac_delim | |
| 11569 dvidir!$dvidir$ac_delim | |
| 11570 pdfdir!$pdfdir$ac_delim | |
| 11571 psdir!$psdir$ac_delim | |
| 11572 libdir!$libdir$ac_delim | |
| 11573 localedir!$localedir$ac_delim | |
| 11574 mandir!$mandir$ac_delim | |
| 11575 DEFS!$DEFS$ac_delim | |
| 11576 ECHO_C!$ECHO_C$ac_delim | |
| 11577 ECHO_N!$ECHO_N$ac_delim | |
| 11578 ECHO_T!$ECHO_T$ac_delim | |
| 11579 LIBS!$LIBS$ac_delim | |
| 11580 build_alias!$build_alias$ac_delim | |
| 11581 host_alias!$host_alias$ac_delim | |
| 11582 target_alias!$target_alias$ac_delim | |
| 11583 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim | |
| 11584 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim | |
| 11585 INSTALL_DATA!$INSTALL_DATA$ac_delim | |
| 11586 am__isrc!$am__isrc$ac_delim | |
| 11587 CYGPATH_W!$CYGPATH_W$ac_delim | |
| 11588 PACKAGE!$PACKAGE$ac_delim | |
| 11589 VERSION!$VERSION$ac_delim | |
| 11590 ACLOCAL!$ACLOCAL$ac_delim | |
| 11591 AUTOCONF!$AUTOCONF$ac_delim | |
| 11592 AUTOMAKE!$AUTOMAKE$ac_delim | |
| 11593 AUTOHEADER!$AUTOHEADER$ac_delim | |
| 11594 MAKEINFO!$MAKEINFO$ac_delim | |
| 11595 install_sh!$install_sh$ac_delim | |
| 11596 STRIP!$STRIP$ac_delim | |
| 11597 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim | |
| 11598 mkdir_p!$mkdir_p$ac_delim | |
| 11599 AWK!$AWK$ac_delim | |
| 11600 SET_MAKE!$SET_MAKE$ac_delim | |
| 11601 am__leading_dot!$am__leading_dot$ac_delim | |
| 11602 AMTAR!$AMTAR$ac_delim | |
| 11603 am__tar!$am__tar$ac_delim | |
| 11604 am__untar!$am__untar$ac_delim | |
| 11605 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim | |
| 11606 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim | |
| 11607 MAINT!$MAINT$ac_delim | |
| 11608 CC!$CC$ac_delim | |
| 11609 CFLAGS!$CFLAGS$ac_delim | |
| 11610 LDFLAGS!$LDFLAGS$ac_delim | |
| 11611 CPPFLAGS!$CPPFLAGS$ac_delim | |
| 11612 ac_ct_CC!$ac_ct_CC$ac_delim | |
| 11613 EXEEXT!$EXEEXT$ac_delim | |
| 11614 OBJEXT!$OBJEXT$ac_delim | |
| 11615 DEPDIR!$DEPDIR$ac_delim | |
| 11616 am__include!$am__include$ac_delim | |
| 11617 am__quote!$am__quote$ac_delim | |
| 11618 AMDEP_TRUE!$AMDEP_TRUE$ac_delim | |
| 11619 AMDEP_FALSE!$AMDEP_FALSE$ac_delim | |
| 11620 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim | |
| 11621 CCDEPMODE!$CCDEPMODE$ac_delim | |
| 11622 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim | |
| 11623 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim | |
| 11624 CPP!$CPP$ac_delim | |
| 11625 LN_S!$LN_S$ac_delim | |
| 11626 RANLIB!$RANLIB$ac_delim | |
| 11627 XMLTO!$XMLTO$ac_delim | |
| 11628 BUILD_MAN_TRUE!$BUILD_MAN_TRUE$ac_delim | |
| 11629 BUILD_MAN_FALSE!$BUILD_MAN_FALSE$ac_delim | |
| 11630 GREP!$GREP$ac_delim | |
| 11631 EGREP!$EGREP$ac_delim | |
| 11632 USE_NLS!$USE_NLS$ac_delim | |
| 11633 MSGFMT!$MSGFMT$ac_delim | |
| 11634 GMSGFMT!$GMSGFMT$ac_delim | |
| 11635 MSGFMT_015!$MSGFMT_015$ac_delim | |
| 11636 GMSGFMT_015!$GMSGFMT_015$ac_delim | |
| 11637 XGETTEXT!$XGETTEXT$ac_delim | |
| 11638 XGETTEXT_015!$XGETTEXT_015$ac_delim | |
| 11639 MSGMERGE!$MSGMERGE$ac_delim | |
| 11640 build!$build$ac_delim | |
| 11641 build_cpu!$build_cpu$ac_delim | |
| 11642 build_vendor!$build_vendor$ac_delim | |
| 11643 _ACEOF | |
| 11644 | 8921 |
| 11645 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then | 8922 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
| 8923 if test $ac_delim_n = $ac_delim_num; then |
| 11646 break | 8924 break |
| 11647 elif $ac_last_try; then | 8925 elif $ac_last_try; then |
| 11648 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | 8926 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 11649 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
| 11650 { (exit 1); exit 1; }; } | |
| 11651 else | 8927 else |
| 11652 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 8928 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 11653 fi | 8929 fi |
| 11654 done | 8930 done |
| 8931 rm -f conf$$subs.sh |
| 11655 | 8932 |
| 11656 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` | 8933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 11657 if test -n "$ac_eof"; then | 8934 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
| 11658 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` | 8935 _ACEOF |
| 11659 ac_eof=`expr $ac_eof + 1` | 8936 sed -n ' |
| 11660 fi | 8937 h |
| 8938 s/^/S["/; s/!.*/"]=/ |
| 8939 p |
| 8940 g |
| 8941 s/^[^!]*!// |
| 8942 :repl |
| 8943 t repl |
| 8944 s/'"$ac_delim"'$// |
| 8945 t delim |
| 8946 :nl |
| 8947 h |
| 8948 s/\(.\{148\}\)..*/\1/ |
| 8949 t more1 |
| 8950 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
| 8951 p |
| 8952 n |
| 8953 b repl |
| 8954 :more1 |
| 8955 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
| 8956 p |
| 8957 g |
| 8958 s/.\{148\}// |
| 8959 t nl |
| 8960 :delim |
| 8961 h |
| 8962 s/\(.\{148\}\)..*/\1/ |
| 8963 t more2 |
| 8964 s/["\\]/\\&/g; s/^/"/; s/$/"/ |
| 8965 p |
| 8966 b |
| 8967 :more2 |
| 8968 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
| 8969 p |
| 8970 g |
| 8971 s/.\{148\}// |
| 8972 t delim |
| 8973 ' <conf$$subs.awk | sed ' |
| 8974 /^[^""]/{ |
| 8975 N |
| 8976 s/\n// |
| 8977 } |
| 8978 ' >>$CONFIG_STATUS || ac_write_fail=1 |
| 8979 rm -f conf$$subs.awk |
| 8980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 8981 _ACAWK |
| 8982 cat >>"\$tmp/subs1.awk" <<_ACAWK && |
| 8983 for (key in S) S_is_set[key] = 1 |
| 8984 FS = "" |
| 11661 | 8985 |
| 11662 cat >>$CONFIG_STATUS <<_ACEOF | 8986 } |
| 11663 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof | 8987 { |
| 11664 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 8988 line = $ 0 |
| 8989 nfields = split(line, field, "@") |
| 8990 substed = 0 |
| 8991 len = length(field[1]) |
| 8992 for (i = 2; i < nfields; i++) { |
| 8993 key = field[i] |
| 8994 keylen = length(key) |
| 8995 if (S_is_set[key]) { |
| 8996 value = S[key] |
| 8997 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
| 8998 len += length(value) + length(field[++i]) |
| 8999 substed = 1 |
| 9000 } else |
| 9001 len += 1 + keylen |
| 9002 } |
| 9003 |
| 9004 print line |
| 9005 } |
| 9006 |
| 9007 _ACAWK |
| 11665 _ACEOF | 9008 _ACEOF |
| 11666 sed ' | 9009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 11667 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g | 9010 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
| 11668 s/^/s,@/; s/!/@,|#_!!_#|/ | 9011 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
| 11669 :n | 9012 else |
| 11670 t n | 9013 cat |
| 11671 s/'"$ac_delim"'$/,g/; t | 9014 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
| 11672 s/$/\\/; p | 9015 || as_fn_error "could not setup config files machinery" "$LINENO" 5 |
| 11673 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n | |
| 11674 ' >>$CONFIG_STATUS <conf$$subs.sed | |
| 11675 rm -f conf$$subs.sed | |
| 11676 cat >>$CONFIG_STATUS <<_ACEOF | |
| 11677 CEOF$ac_eof | |
| 11678 _ACEOF | 9016 _ACEOF |
| 11679 | 9017 |
| 11680 | |
| 11681 ac_delim='%!_!# ' | |
| 11682 for ac_last_try in false false false false false :; do | |
| 11683 cat >conf$$subs.sed <<_ACEOF | |
| 11684 build_os!$build_os$ac_delim | |
| 11685 host!$host$ac_delim | |
| 11686 host_cpu!$host_cpu$ac_delim | |
| 11687 host_vendor!$host_vendor$ac_delim | |
| 11688 host_os!$host_os$ac_delim | |
| 11689 INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim | |
| 11690 LIBICONV!$LIBICONV$ac_delim | |
| 11691 LTLIBICONV!$LTLIBICONV$ac_delim | |
| 11692 INTLLIBS!$INTLLIBS$ac_delim | |
| 11693 LIBINTL!$LIBINTL$ac_delim | |
| 11694 LTLIBINTL!$LTLIBINTL$ac_delim | |
| 11695 POSUB!$POSUB$ac_delim | |
| 11696 ARCH!$ARCH$ac_delim | |
| 11697 GCC!$GCC$ac_delim | |
| 11698 MORE_CFLAGS!$MORE_CFLAGS$ac_delim | |
| 11699 CC_FOR_BUILD!$CC_FOR_BUILD$ac_delim | |
| 11700 CCLD_FOR_BUILD!$CCLD_FOR_BUILD$ac_delim | |
| 11701 HOST_CC!$HOST_CC$ac_delim | |
| 11702 PYTHON!$PYTHON$ac_delim | |
| 11703 PYTHON_VERSION!$PYTHON_VERSION$ac_delim | |
| 11704 PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim | |
| 11705 PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim | |
| 11706 PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim | |
| 11707 pythondir!$pythondir$ac_delim | |
| 11708 pkgpythondir!$pkgpythondir$ac_delim | |
| 11709 pyexecdir!$pyexecdir$ac_delim | |
| 11710 pkgpyexecdir!$pkgpyexecdir$ac_delim | |
| 11711 PYTHON_INCLUDES!$PYTHON_INCLUDES$ac_delim | |
| 11712 HAVE_PYTHON_TRUE!$HAVE_PYTHON_TRUE$ac_delim | |
| 11713 HAVE_PYTHON_FALSE!$HAVE_PYTHON_FALSE$ac_delim | |
| 11714 HAVE_PYTHON_BINDINGS_TRUE!$HAVE_PYTHON_BINDINGS_TRUE$ac_delim | |
| 11715 HAVE_PYTHON_BINDINGS_FALSE!$HAVE_PYTHON_BINDINGS_FALSE$ac_delim | |
| 11716 LIBOBJS!$LIBOBJS$ac_delim | |
| 11717 LTLIBOBJS!$LTLIBOBJS$ac_delim | |
| 11718 _ACEOF | |
| 11719 | |
| 11720 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 34; then | |
| 11721 break | |
| 11722 elif $ac_last_try; then | |
| 11723 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | |
| 11724 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
| 11725 { (exit 1); exit 1; }; } | |
| 11726 else | |
| 11727 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
| 11728 fi | |
| 11729 done | |
| 11730 | |
| 11731 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` | |
| 11732 if test -n "$ac_eof"; then | |
| 11733 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` | |
| 11734 ac_eof=`expr $ac_eof + 1` | |
| 11735 fi | |
| 11736 | |
| 11737 cat >>$CONFIG_STATUS <<_ACEOF | |
| 11738 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof | |
| 11739 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end | |
| 11740 _ACEOF | |
| 11741 sed ' | |
| 11742 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g | |
| 11743 s/^/s,@/; s/!/@,|#_!!_#|/ | |
| 11744 :n | |
| 11745 t n | |
| 11746 s/'"$ac_delim"'$/,g/; t | |
| 11747 s/$/\\/; p | |
| 11748 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n | |
| 11749 ' >>$CONFIG_STATUS <conf$$subs.sed | |
| 11750 rm -f conf$$subs.sed | |
| 11751 cat >>$CONFIG_STATUS <<_ACEOF | |
| 11752 :end | |
| 11753 s/|#_!!_#|//g | |
| 11754 CEOF$ac_eof | |
| 11755 _ACEOF | |
| 11756 | |
| 11757 | |
| 11758 # VPATH may cause trouble with some makes, so we remove $(srcdir), | 9018 # VPATH may cause trouble with some makes, so we remove $(srcdir), |
| 11759 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | 9019 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
| 11760 # trailing colons and then remove the whole line if VPATH becomes empty | 9020 # trailing colons and then remove the whole line if VPATH becomes empty |
| 11761 # (actually we leave an empty line to preserve line numbers). | 9021 # (actually we leave an empty line to preserve line numbers). |
| 11762 if test "x$srcdir" = x.; then | 9022 if test "x$srcdir" = x.; then |
| 11763 ac_vpsub='/^[ ]*VPATH[ ]*=/{ | 9023 ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
| 11764 s/:*\$(srcdir):*/:/ | 9024 s/:*\$(srcdir):*/:/ |
| 11765 s/:*\${srcdir}:*/:/ | 9025 s/:*\${srcdir}:*/:/ |
| 11766 s/:*@srcdir@:*/:/ | 9026 s/:*@srcdir@:*/:/ |
| 11767 s/^\([^=]*=[ ]*\):*/\1/ | 9027 s/^\([^=]*=[ ]*\):*/\1/ |
| 11768 s/:*$// | 9028 s/:*$// |
| 11769 s/^[^=]*=[ ]*$// | 9029 s/^[^=]*=[ ]*$// |
| 11770 }' | 9030 }' |
| 11771 fi | 9031 fi |
| 11772 | 9032 |
| 11773 cat >>$CONFIG_STATUS <<\_ACEOF | 9033 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 11774 fi # test -n "$CONFIG_FILES" | 9034 fi # test -n "$CONFIG_FILES" |
| 11775 | 9035 |
| 9036 # Set up the scripts for CONFIG_HEADERS section. |
| 9037 # No need to generate them if there are no CONFIG_HEADERS. |
| 9038 # This happens for instance with `./config.status Makefile'. |
| 9039 if test -n "$CONFIG_HEADERS"; then |
| 9040 cat >"$tmp/defines.awk" <<\_ACAWK || |
| 9041 BEGIN { |
| 9042 _ACEOF |
| 11776 | 9043 |
| 11777 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS | 9044 # Transform confdefs.h into an awk script `defines.awk', embedded as |
| 9045 # here-document in config.status, that substitutes the proper values into |
| 9046 # config.h.in to produce config.h. |
| 9047 |
| 9048 # Create a delimiter string that does not exist in confdefs.h, to ease |
| 9049 # handling of long lines. |
| 9050 ac_delim='%!_!# ' |
| 9051 for ac_last_try in false false :; do |
| 9052 ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
| 9053 if test -z "$ac_t"; then |
| 9054 break |
| 9055 elif $ac_last_try; then |
| 9056 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 |
| 9057 else |
| 9058 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 9059 fi |
| 9060 done |
| 9061 |
| 9062 # For the awk script, D is an array of macro values keyed by name, |
| 9063 # likewise P contains macro parameters if any. Preserve backslash |
| 9064 # newline sequences. |
| 9065 |
| 9066 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
| 9067 sed -n ' |
| 9068 s/.\{148\}/&'"$ac_delim"'/g |
| 9069 t rset |
| 9070 :rset |
| 9071 s/^[» ]*#[» ]*define[» ][» ]*/ / |
| 9072 t def |
| 9073 d |
| 9074 :def |
| 9075 s/\\$// |
| 9076 t bsnl |
| 9077 s/["\\]/\\&/g |
| 9078 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[» ]*\(.*\)/P["\1"]="\2"\ |
| 9079 D["\1"]=" \3"/p |
| 9080 s/^ \('"$ac_word_re"'\)[» ]*\(.*\)/D["\1"]=" \2"/p |
| 9081 d |
| 9082 :bsnl |
| 9083 s/["\\]/\\&/g |
| 9084 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[» ]*\(.*\)/P["\1"]="\2"\ |
| 9085 D["\1"]=" \3\\\\\\n"\\/p |
| 9086 t cont |
| 9087 s/^ \('"$ac_word_re"'\)[» ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
| 9088 t cont |
| 9089 d |
| 9090 :cont |
| 9091 n |
| 9092 s/.\{148\}/&'"$ac_delim"'/g |
| 9093 t clear |
| 9094 :clear |
| 9095 s/\\$// |
| 9096 t bsnlc |
| 9097 s/["\\]/\\&/g; s/^/"/; s/$/"/p |
| 9098 d |
| 9099 :bsnlc |
| 9100 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
| 9101 b cont |
| 9102 ' <confdefs.h | sed ' |
| 9103 s/'"$ac_delim"'/"\\\ |
| 9104 "/g' >>$CONFIG_STATUS || ac_write_fail=1 |
| 9105 |
| 9106 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 9107 for (key in D) D_is_set[key] = 1 |
| 9108 FS = "" |
| 9109 } |
| 9110 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
| 9111 line = \$ 0 |
| 9112 split(line, arg, " ") |
| 9113 if (arg[1] == "#") { |
| 9114 defundef = arg[2] |
| 9115 mac1 = arg[3] |
| 9116 } else { |
| 9117 defundef = substr(arg[1], 2) |
| 9118 mac1 = arg[2] |
| 9119 } |
| 9120 split(mac1, mac2, "(") #) |
| 9121 macro = mac2[1] |
| 9122 prefix = substr(line, 1, index(line, defundef) - 1) |
| 9123 if (D_is_set[macro]) { |
| 9124 # Preserve the white space surrounding the "#". |
| 9125 print prefix "define", macro P[macro] D[macro] |
| 9126 next |
| 9127 } else { |
| 9128 # Replace #undef with comments. This is necessary, for example, |
| 9129 # in the case of _POSIX_SOURCE, which is predefined and required |
| 9130 # on some systems where configure will not decide to define it. |
| 9131 if (defundef == "undef") { |
| 9132 print "/*", prefix defundef, macro, "*/" |
| 9133 next |
| 9134 } |
| 9135 } |
| 9136 } |
| 9137 { print } |
| 9138 _ACAWK |
| 9139 _ACEOF |
| 9140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 9141 as_fn_error "could not setup config headers machinery" "$LINENO" 5 |
| 9142 fi # test -n "$CONFIG_HEADERS" |
| 9143 |
| 9144 |
| 9145 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
| 9146 shift |
| 9147 for ac_tag |
| 11778 do | 9148 do |
| 11779 case $ac_tag in | 9149 case $ac_tag in |
| 11780 :[FHLC]) ac_mode=$ac_tag; continue;; | 9150 :[FHLC]) ac_mode=$ac_tag; continue;; |
| 11781 esac | 9151 esac |
| 11782 case $ac_mode$ac_tag in | 9152 case $ac_mode$ac_tag in |
| 11783 :[FHL]*:*);; | 9153 :[FHL]*:*);; |
| 11784 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 | 9154 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; |
| 11785 echo "$as_me: error: Invalid tag $ac_tag." >&2;} | |
| 11786 { (exit 1); exit 1; }; };; | |
| 11787 :[FH]-) ac_tag=-:-;; | 9155 :[FH]-) ac_tag=-:-;; |
| 11788 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | 9156 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
| 11789 esac | 9157 esac |
| 11790 ac_save_IFS=$IFS | 9158 ac_save_IFS=$IFS |
| 11791 IFS=: | 9159 IFS=: |
| 11792 set x $ac_tag | 9160 set x $ac_tag |
| 11793 IFS=$ac_save_IFS | 9161 IFS=$ac_save_IFS |
| 11794 shift | 9162 shift |
| 11795 ac_file=$1 | 9163 ac_file=$1 |
| 11796 shift | 9164 shift |
| 11797 | 9165 |
| 11798 case $ac_mode in | 9166 case $ac_mode in |
| 11799 :L) ac_source=$1;; | 9167 :L) ac_source=$1;; |
| 11800 :[FH]) | 9168 :[FH]) |
| 11801 ac_file_inputs= | 9169 ac_file_inputs= |
| 11802 for ac_f | 9170 for ac_f |
| 11803 do | 9171 do |
| 11804 case $ac_f in | 9172 case $ac_f in |
| 11805 -) ac_f="$tmp/stdin";; | 9173 -) ac_f="$tmp/stdin";; |
| 11806 *) # Look for the file first in the build tree, then in the source tree | 9174 *) # Look for the file first in the build tree, then in the source tree |
| 11807 # (if the path is not absolute). The absolute path cannot be DOS-style
, | 9175 # (if the path is not absolute). The absolute path cannot be DOS-style
, |
| 11808 # because $ac_f cannot contain `:'. | 9176 # because $ac_f cannot contain `:'. |
| 11809 test -f "$ac_f" || | 9177 test -f "$ac_f" || |
| 11810 case $ac_f in | 9178 case $ac_f in |
| 11811 [\\/$]*) false;; | 9179 [\\/$]*) false;; |
| 11812 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | 9180 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
| 11813 esac || | 9181 esac || |
| 11814 » { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 | 9182 » as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
| 11815 echo "$as_me: error: cannot find input file: $ac_f" >&2;} | |
| 11816 { (exit 1); exit 1; }; };; | |
| 11817 esac | 9183 esac |
| 11818 ac_file_inputs="$ac_file_inputs $ac_f" | 9184 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; es
ac |
| 9185 as_fn_append ac_file_inputs " '$ac_f'" |
| 11819 done | 9186 done |
| 11820 | 9187 |
| 11821 # Let's still pretend it is `configure' which instantiates (i.e., don't | 9188 # Let's still pretend it is `configure' which instantiates (i.e., don't |
| 11822 # use $as_me), people would be surprised to read: | 9189 # use $as_me), people would be surprised to read: |
| 11823 # /* config.h. Generated by config.status. */ | 9190 # /* config.h. Generated by config.status. */ |
| 11824 configure_input="Generated from "`IFS=: | 9191 configure_input='Generated from '` |
| 11825 » echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." | 9192 » $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
| 9193 » `' by configure.' |
| 11826 if test x"$ac_file" != x-; then | 9194 if test x"$ac_file" != x-; then |
| 11827 configure_input="$ac_file. $configure_input" | 9195 configure_input="$ac_file. $configure_input" |
| 11828 { echo "$as_me:$LINENO: creating $ac_file" >&5 | 9196 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
| 11829 echo "$as_me: creating $ac_file" >&6;} | 9197 $as_echo "$as_me: creating $ac_file" >&6;} |
| 11830 fi | 9198 fi |
| 9199 # Neutralize special characters interpreted by sed in replacement strings. |
| 9200 case $configure_input in #( |
| 9201 *\&* | *\|* | *\\* ) |
| 9202 ac_sed_conf_input=`$as_echo "$configure_input" | |
| 9203 sed 's/[\\\\&|]/\\\\&/g'`;; #( |
| 9204 *) ac_sed_conf_input=$configure_input;; |
| 9205 esac |
| 11831 | 9206 |
| 11832 case $ac_tag in | 9207 case $ac_tag in |
| 11833 *:-:* | *:-) cat >"$tmp/stdin";; | 9208 *:-:* | *:-) cat >"$tmp/stdin" \ |
| 9209 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; |
| 11834 esac | 9210 esac |
| 11835 ;; | 9211 ;; |
| 11836 esac | 9212 esac |
| 11837 | 9213 |
| 11838 ac_dir=`$as_dirname -- "$ac_file" || | 9214 ac_dir=`$as_dirname -- "$ac_file" || |
| 11839 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 9215 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 11840 X"$ac_file" : 'X\(//\)[^/]' \| \ | 9216 X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 11841 X"$ac_file" : 'X\(//\)$' \| \ | 9217 X"$ac_file" : 'X\(//\)$' \| \ |
| 11842 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | 9218 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
| 11843 echo X"$ac_file" | | 9219 $as_echo X"$ac_file" | |
| 11844 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 9220 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 11845 s//\1/ | 9221 s//\1/ |
| 11846 q | 9222 q |
| 11847 } | 9223 } |
| 11848 /^X\(\/\/\)[^/].*/{ | 9224 /^X\(\/\/\)[^/].*/{ |
| 11849 s//\1/ | 9225 s//\1/ |
| 11850 q | 9226 q |
| 11851 } | 9227 } |
| 11852 /^X\(\/\/\)$/{ | 9228 /^X\(\/\/\)$/{ |
| 11853 s//\1/ | 9229 s//\1/ |
| 11854 q | 9230 q |
| 11855 } | 9231 } |
| 11856 /^X\(\/\).*/{ | 9232 /^X\(\/\).*/{ |
| 11857 s//\1/ | 9233 s//\1/ |
| 11858 q | 9234 q |
| 11859 } | 9235 } |
| 11860 s/.*/./; q'` | 9236 s/.*/./; q'` |
| 11861 { as_dir="$ac_dir" | 9237 as_dir="$ac_dir"; as_fn_mkdir_p |
| 11862 case $as_dir in #( | |
| 11863 -*) as_dir=./$as_dir;; | |
| 11864 esac | |
| 11865 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | |
| 11866 as_dirs= | |
| 11867 while :; do | |
| 11868 case $as_dir in #( | |
| 11869 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( | |
| 11870 *) as_qdir=$as_dir;; | |
| 11871 esac | |
| 11872 as_dirs="'$as_qdir' $as_dirs" | |
| 11873 as_dir=`$as_dirname -- "$as_dir" || | |
| 11874 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 11875 » X"$as_dir" : 'X\(//\)[^/]' \| \ | |
| 11876 » X"$as_dir" : 'X\(//\)$' \| \ | |
| 11877 » X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
| 11878 echo X"$as_dir" | | |
| 11879 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 11880 » s//\1/ | |
| 11881 » q | |
| 11882 » } | |
| 11883 » /^X\(\/\/\)[^/].*/{ | |
| 11884 » s//\1/ | |
| 11885 » q | |
| 11886 » } | |
| 11887 » /^X\(\/\/\)$/{ | |
| 11888 » s//\1/ | |
| 11889 » q | |
| 11890 » } | |
| 11891 » /^X\(\/\).*/{ | |
| 11892 » s//\1/ | |
| 11893 » q | |
| 11894 » } | |
| 11895 » s/.*/./; q'` | |
| 11896 test -d "$as_dir" && break | |
| 11897 done | |
| 11898 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
| 11899 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create direc
tory $as_dir" >&5 | |
| 11900 echo "$as_me: error: cannot create directory $as_dir" >&2;} | |
| 11901 { (exit 1); exit 1; }; }; } | |
| 11902 ac_builddir=. | 9238 ac_builddir=. |
| 11903 | 9239 |
| 11904 case "$ac_dir" in | 9240 case "$ac_dir" in |
| 11905 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 9241 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 11906 *) | 9242 *) |
| 11907 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 9243 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
| 11908 # A ".." for each directory in $ac_dir_suffix. | 9244 # A ".." for each directory in $ac_dir_suffix. |
| 11909 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` | 9245 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| 11910 case $ac_top_builddir_sub in | 9246 case $ac_top_builddir_sub in |
| 11911 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | 9247 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 11912 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | 9248 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 11913 esac ;; | 9249 esac ;; |
| 11914 esac | 9250 esac |
| 11915 ac_abs_top_builddir=$ac_pwd | 9251 ac_abs_top_builddir=$ac_pwd |
| 11916 ac_abs_builddir=$ac_pwd$ac_dir_suffix | 9252 ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 11917 # for backward compatibility: | 9253 # for backward compatibility: |
| 11918 ac_top_builddir=$ac_top_build_prefix | 9254 ac_top_builddir=$ac_top_build_prefix |
| 11919 | 9255 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 11944 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 9280 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
| 11945 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; | 9281 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
| 11946 esac | 9282 esac |
| 11947 ac_MKDIR_P=$MKDIR_P | 9283 ac_MKDIR_P=$MKDIR_P |
| 11948 case $MKDIR_P in | 9284 case $MKDIR_P in |
| 11949 [\\/$]* | ?:[\\/]* ) ;; | 9285 [\\/$]* | ?:[\\/]* ) ;; |
| 11950 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; | 9286 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
| 11951 esac | 9287 esac |
| 11952 _ACEOF | 9288 _ACEOF |
| 11953 | 9289 |
| 11954 cat >>$CONFIG_STATUS <<\_ACEOF | 9290 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 11955 # If the template does not know about datarootdir, expand it. | 9291 # If the template does not know about datarootdir, expand it. |
| 11956 # FIXME: This hack should be removed a few years after 2.60. | 9292 # FIXME: This hack should be removed a few years after 2.60. |
| 11957 ac_datarootdir_hack=; ac_datarootdir_seen= | 9293 ac_datarootdir_hack=; ac_datarootdir_seen= |
| 11958 | 9294 ac_sed_dataroot=' |
| 11959 case `sed -n '/datarootdir/ { | 9295 /datarootdir/ { |
| 11960 p | 9296 p |
| 11961 q | 9297 q |
| 11962 } | 9298 } |
| 11963 /@datadir@/p | 9299 /@datadir@/p |
| 11964 /@docdir@/p | 9300 /@docdir@/p |
| 11965 /@infodir@/p | 9301 /@infodir@/p |
| 11966 /@localedir@/p | 9302 /@localedir@/p |
| 11967 /@mandir@/p | 9303 /@mandir@/p' |
| 11968 ' $ac_file_inputs` in | 9304 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
| 11969 *datarootdir*) ac_datarootdir_seen=yes;; | 9305 *datarootdir*) ac_datarootdir_seen=yes;; |
| 11970 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | 9306 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
| 11971 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --dataroo
tdir setting" >&5 | 9307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ign
ore the --datarootdir setting" >&5 |
| 11972 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting
" >&2;} | 9308 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir set
ting" >&2;} |
| 11973 _ACEOF | 9309 _ACEOF |
| 11974 cat >>$CONFIG_STATUS <<_ACEOF | 9310 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 11975 ac_datarootdir_hack=' | 9311 ac_datarootdir_hack=' |
| 11976 s&@datadir@&$datadir&g | 9312 s&@datadir@&$datadir&g |
| 11977 s&@docdir@&$docdir&g | 9313 s&@docdir@&$docdir&g |
| 11978 s&@infodir@&$infodir&g | 9314 s&@infodir@&$infodir&g |
| 11979 s&@localedir@&$localedir&g | 9315 s&@localedir@&$localedir&g |
| 11980 s&@mandir@&$mandir&g | 9316 s&@mandir@&$mandir&g |
| 11981 s&\\\${datarootdir}&$datarootdir&g' ;; | 9317 s&\\\${datarootdir}&$datarootdir&g' ;; |
| 11982 esac | 9318 esac |
| 11983 _ACEOF | 9319 _ACEOF |
| 11984 | 9320 |
| 11985 # Neutralize VPATH when `$srcdir' = `.'. | 9321 # Neutralize VPATH when `$srcdir' = `.'. |
| 11986 # Shell code in configure.ac might set extrasub. | 9322 # Shell code in configure.ac might set extrasub. |
| 11987 # FIXME: do we really want to maintain this feature? | 9323 # FIXME: do we really want to maintain this feature? |
| 11988 cat >>$CONFIG_STATUS <<_ACEOF | 9324 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 11989 sed "$ac_vpsub | 9325 ac_sed_extra="$ac_vpsub |
| 11990 $extrasub | 9326 $extrasub |
| 11991 _ACEOF | 9327 _ACEOF |
| 11992 cat >>$CONFIG_STATUS <<\_ACEOF | 9328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 11993 :t | 9329 :t |
| 11994 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 9330 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
| 11995 s&@configure_input@&$configure_input&;t t | 9331 s|@configure_input@|$ac_sed_conf_input|;t t |
| 11996 s&@top_builddir@&$ac_top_builddir_sub&;t t | 9332 s&@top_builddir@&$ac_top_builddir_sub&;t t |
| 9333 s&@top_build_prefix@&$ac_top_build_prefix&;t t |
| 11997 s&@srcdir@&$ac_srcdir&;t t | 9334 s&@srcdir@&$ac_srcdir&;t t |
| 11998 s&@abs_srcdir@&$ac_abs_srcdir&;t t | 9335 s&@abs_srcdir@&$ac_abs_srcdir&;t t |
| 11999 s&@top_srcdir@&$ac_top_srcdir&;t t | 9336 s&@top_srcdir@&$ac_top_srcdir&;t t |
| 12000 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | 9337 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
| 12001 s&@builddir@&$ac_builddir&;t t | 9338 s&@builddir@&$ac_builddir&;t t |
| 12002 s&@abs_builddir@&$ac_abs_builddir&;t t | 9339 s&@abs_builddir@&$ac_abs_builddir&;t t |
| 12003 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | 9340 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
| 12004 s&@INSTALL@&$ac_INSTALL&;t t | 9341 s&@INSTALL@&$ac_INSTALL&;t t |
| 12005 s&@MKDIR_P@&$ac_MKDIR_P&;t t | 9342 s&@MKDIR_P@&$ac_MKDIR_P&;t t |
| 12006 $ac_datarootdir_hack | 9343 $ac_datarootdir_hack |
| 12007 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/ou
t | 9344 " |
| 9345 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/ou
t \ |
| 9346 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
| 12008 | 9347 |
| 12009 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 9348 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
| 12010 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | 9349 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
| 12011 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"
; } && | 9350 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"
; } && |
| 12012 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable
\`datarootdir' | 9351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a referenc
e to the variable \`datarootdir' |
| 12013 which seems to be undefined. Please make sure it is defined." >&5 | 9352 which seems to be undefined. Please make sure it is defined." >&5 |
| 12014 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootd
ir' | 9353 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datar
ootdir' |
| 12015 which seems to be undefined. Please make sure it is defined." >&2;} | 9354 which seems to be undefined. Please make sure it is defined." >&2;} |
| 12016 | 9355 |
| 12017 rm -f "$tmp/stdin" | 9356 rm -f "$tmp/stdin" |
| 12018 case $ac_file in | 9357 case $ac_file in |
| 12019 -) cat "$tmp/out"; rm -f "$tmp/out";; | 9358 -) cat "$tmp/out" && rm -f "$tmp/out";; |
| 12020 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; | 9359 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
| 12021 esac | 9360 esac \ |
| 9361 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
| 12022 ;; | 9362 ;; |
| 12023 :H) | 9363 :H) |
| 12024 # | 9364 # |
| 12025 # CONFIG_HEADER | 9365 # CONFIG_HEADER |
| 12026 # | 9366 # |
| 12027 _ACEOF | |
| 12028 | |
| 12029 # Transform confdefs.h into a sed script `conftest.defines', that | |
| 12030 # substitutes the proper values into config.h.in to produce config.h. | |
| 12031 rm -f conftest.defines conftest.tail | |
| 12032 # First, append a space to every undef/define line, to ease matching. | |
| 12033 echo 's/$/ /' >conftest.defines | |
| 12034 # Then, protect against being on the right side of a sed subst, or in | |
| 12035 # an unquoted here document, in config.status. If some macros were | |
| 12036 # called several times there might be several #defines for the same | |
| 12037 # symbol, which is useless. But do not sort them, since the last | |
| 12038 # AC_DEFINE must be honored. | |
| 12039 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | |
| 12040 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where | |
| 12041 # NAME is the cpp macro being defined, VALUE is the value it is being given. | |
| 12042 # PARAMS is the parameter list in the macro definition--in most cases, it's | |
| 12043 # just an empty string. | |
| 12044 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' | |
| 12045 ac_dB='\\)[ (].*,\\1define\\2' | |
| 12046 ac_dC=' ' | |
| 12047 ac_dD=' ,' | |
| 12048 | |
| 12049 uniq confdefs.h | | |
| 12050 sed -n ' | |
| 12051 t rset | |
| 12052 :rset | |
| 12053 s/^[ ]*#[ ]*define[ ][ ]*// | |
| 12054 t ok | |
| 12055 d | |
| 12056 :ok | |
| 12057 s/[\\&,]/\\&/g | |
| 12058 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"
'\2'"${ac_dC}"'\3'"$ac_dD"'/p | |
| 12059 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD
"'/p | |
| 12060 ' >>conftest.defines | |
| 12061 | |
| 12062 # Remove the space that was appended to ease matching. | |
| 12063 # Then replace #undef with comments. This is necessary, for | |
| 12064 # example, in the case of _POSIX_SOURCE, which is predefined and required | |
| 12065 # on some systems where configure will not decide to define it. | |
| 12066 # (The regexp can be short, since the line contains either #define or #undef.) | |
| 12067 echo 's/ $// | |
| 12068 s,^[ #]*u.*,/* & */,' >>conftest.defines | |
| 12069 | |
| 12070 # Break up conftest.defines: | |
| 12071 ac_max_sed_lines=50 | |
| 12072 | |
| 12073 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" | |
| 12074 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" | |
| 12075 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" | |
| 12076 # et cetera. | |
| 12077 ac_in='$ac_file_inputs' | |
| 12078 ac_out='"$tmp/out1"' | |
| 12079 ac_nxt='"$tmp/out2"' | |
| 12080 | |
| 12081 while : | |
| 12082 do | |
| 12083 # Write a here document: | |
| 12084 cat >>$CONFIG_STATUS <<_ACEOF | |
| 12085 # First, check the format of the line: | |
| 12086 cat >"\$tmp/defines.sed" <<\\CEOF | |
| 12087 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def | |
| 12088 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def | |
| 12089 b | |
| 12090 :def | |
| 12091 _ACEOF | |
| 12092 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS | |
| 12093 echo 'CEOF | |
| 12094 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS | |
| 12095 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in | |
| 12096 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail | |
| 12097 grep . conftest.tail >/dev/null || break | |
| 12098 rm -f conftest.defines | |
| 12099 mv conftest.tail conftest.defines | |
| 12100 done | |
| 12101 rm -f conftest.defines conftest.tail | |
| 12102 | |
| 12103 echo "ac_result=$ac_in" >>$CONFIG_STATUS | |
| 12104 cat >>$CONFIG_STATUS <<\_ACEOF | |
| 12105 if test x"$ac_file" != x-; then | 9367 if test x"$ac_file" != x-; then |
| 12106 echo "/* $configure_input */" >"$tmp/config.h" | 9368 { |
| 12107 cat "$ac_result" >>"$tmp/config.h" | 9369 $as_echo "/* $configure_input */" \ |
| 12108 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then | 9370 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
| 12109 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | 9371 } >"$tmp/config.h" \ |
| 12110 echo "$as_me: $ac_file is unchanged" >&6;} | 9372 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
| 9373 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
| 9374 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
| 9375 $as_echo "$as_me: $ac_file is unchanged" >&6;} |
| 12111 else | 9376 else |
| 12112 rm -f $ac_file | 9377 rm -f "$ac_file" |
| 12113 mv "$tmp/config.h" $ac_file | 9378 mv "$tmp/config.h" "$ac_file" \ |
| 9379 » || as_fn_error "could not create $ac_file" "$LINENO" 5 |
| 12114 fi | 9380 fi |
| 12115 else | 9381 else |
| 12116 echo "/* $configure_input */" | 9382 $as_echo "/* $configure_input */" \ |
| 12117 cat "$ac_result" | 9383 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
| 9384 || as_fn_error "could not create -" "$LINENO" 5 |
| 12118 fi | 9385 fi |
| 12119 rm -f "$tmp/out12" | 9386 # Compute "$ac_file"'s index in $config_headers. |
| 12120 # Compute $ac_file's index in $config_headers. | 9387 _am_arg="$ac_file" |
| 12121 _am_arg=$ac_file | |
| 12122 _am_stamp_count=1 | 9388 _am_stamp_count=1 |
| 12123 for _am_header in $config_headers :; do | 9389 for _am_header in $config_headers :; do |
| 12124 case $_am_header in | 9390 case $_am_header in |
| 12125 $_am_arg | $_am_arg:* ) | 9391 $_am_arg | $_am_arg:* ) |
| 12126 break ;; | 9392 break ;; |
| 12127 * ) | 9393 * ) |
| 12128 _am_stamp_count=`expr $_am_stamp_count + 1` ;; | 9394 _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
| 12129 esac | 9395 esac |
| 12130 done | 9396 done |
| 12131 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || | 9397 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
| 12132 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 9398 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 12133 X"$_am_arg" : 'X\(//\)[^/]' \| \ | 9399 X"$_am_arg" : 'X\(//\)[^/]' \| \ |
| 12134 X"$_am_arg" : 'X\(//\)$' \| \ | 9400 X"$_am_arg" : 'X\(//\)$' \| \ |
| 12135 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || | 9401 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
| 12136 echo X"$_am_arg" | | 9402 $as_echo X"$_am_arg" | |
| 12137 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 9403 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 12138 s//\1/ | 9404 s//\1/ |
| 12139 q | 9405 q |
| 12140 } | 9406 } |
| 12141 /^X\(\/\/\)[^/].*/{ | 9407 /^X\(\/\/\)[^/].*/{ |
| 12142 s//\1/ | 9408 s//\1/ |
| 12143 q | 9409 q |
| 12144 } | 9410 } |
| 12145 /^X\(\/\/\)$/{ | 9411 /^X\(\/\/\)$/{ |
| 12146 s//\1/ | 9412 s//\1/ |
| 12147 q | 9413 q |
| 12148 } | 9414 } |
| 12149 /^X\(\/\).*/{ | 9415 /^X\(\/\).*/{ |
| 12150 s//\1/ | 9416 s//\1/ |
| 12151 q | 9417 q |
| 12152 } | 9418 } |
| 12153 s/.*/./; q'`/stamp-h$_am_stamp_count | 9419 s/.*/./; q'`/stamp-h$_am_stamp_count |
| 12154 ;; | 9420 ;; |
| 12155 | 9421 |
| 12156 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 | 9422 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
| 12157 echo "$as_me: executing $ac_file commands" >&6;} | 9423 $as_echo "$as_me: executing $ac_file commands" >&6;} |
| 12158 ;; | 9424 ;; |
| 12159 esac | 9425 esac |
| 12160 | 9426 |
| 12161 | 9427 |
| 12162 case $ac_file$ac_mode in | 9428 case $ac_file$ac_mode in |
| 12163 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do | 9429 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
| 12164 # Strip MF so we end up with the name of the file. | 9430 # Autoconf 2.62 quotes --file arguments for eval, but not when files |
| 12165 mf=`echo "$mf" | sed -e 's/:.*$//'` | 9431 # are listed without --file. Let's play safe and only enable the eval |
| 12166 # Check whether this is an Automake generated Makefile or not. | 9432 # if we detect the quoting. |
| 12167 # We used to match only the files named `Makefile.in', but | 9433 case $CONFIG_FILES in |
| 12168 # some people rename them; so instead we look at the file content. | 9434 *\'*) eval set x "$CONFIG_FILES" ;; |
| 12169 # Grep'ing the first line is not enough: some people post-process | 9435 *) set x $CONFIG_FILES ;; |
| 12170 # each Makefile.in and add a new line on top of each file to say so. | 9436 esac |
| 12171 # Grep'ing the whole file is not good either: AIX grep has a line | 9437 shift |
| 12172 # limit of 2048, but all sed's we know have understand at least 4000. | 9438 for mf |
| 12173 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1;
then | 9439 do |
| 12174 dirpart=`$as_dirname -- "$mf" || | 9440 # Strip MF so we end up with the name of the file. |
| 9441 mf=`echo "$mf" | sed -e 's/:.*$//'` |
| 9442 # Check whether this is an Automake generated Makefile or not. |
| 9443 # We used to match only the files named `Makefile.in', but |
| 9444 # some people rename them; so instead we look at the file content. |
| 9445 # Grep'ing the first line is not enough: some people post-process |
| 9446 # each Makefile.in and add a new line on top of each file to say so. |
| 9447 # Grep'ing the whole file is not good either: AIX grep has a line |
| 9448 # limit of 2048, but all sed's we know have understand at least 4000. |
| 9449 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1
; then |
| 9450 dirpart=`$as_dirname -- "$mf" || |
| 12175 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 9451 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 12176 X"$mf" : 'X\(//\)[^/]' \| \ | 9452 X"$mf" : 'X\(//\)[^/]' \| \ |
| 12177 X"$mf" : 'X\(//\)$' \| \ | 9453 X"$mf" : 'X\(//\)$' \| \ |
| 12178 X"$mf" : 'X\(/\)' \| . 2>/dev/null || | 9454 X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
| 12179 echo X"$mf" | | 9455 $as_echo X"$mf" | |
| 12180 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 9456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 12181 s//\1/ | 9457 s//\1/ |
| 12182 q | 9458 q |
| 12183 } | 9459 } |
| 12184 /^X\(\/\/\)[^/].*/{ | 9460 /^X\(\/\/\)[^/].*/{ |
| 12185 s//\1/ | 9461 s//\1/ |
| 12186 q | 9462 q |
| 12187 } | 9463 } |
| 12188 /^X\(\/\/\)$/{ | 9464 /^X\(\/\/\)$/{ |
| 12189 s//\1/ | 9465 s//\1/ |
| 12190 q | 9466 q |
| 12191 } | 9467 } |
| 12192 /^X\(\/\).*/{ | 9468 /^X\(\/\).*/{ |
| 12193 s//\1/ | 9469 s//\1/ |
| 12194 q | 9470 q |
| 12195 } | 9471 } |
| 12196 s/.*/./; q'` | 9472 s/.*/./; q'` |
| 12197 else | 9473 else |
| 12198 continue | 9474 continue |
| 12199 fi | 9475 fi |
| 12200 # Extract the definition of DEPDIR, am__include, and am__quote | 9476 # Extract the definition of DEPDIR, am__include, and am__quote |
| 12201 # from the Makefile without running `make'. | 9477 # from the Makefile without running `make'. |
| 12202 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | 9478 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
| 12203 test -z "$DEPDIR" && continue | 9479 test -z "$DEPDIR" && continue |
| 12204 am__include=`sed -n 's/^am__include = //p' < "$mf"` | 9480 am__include=`sed -n 's/^am__include = //p' < "$mf"` |
| 12205 test -z "am__include" && continue | 9481 test -z "am__include" && continue |
| 12206 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | 9482 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
| 12207 # When using ansi2knr, U may be empty or an underscore; expand it | 9483 # When using ansi2knr, U may be empty or an underscore; expand it |
| 12208 U=`sed -n 's/^U = //p' < "$mf"` | 9484 U=`sed -n 's/^U = //p' < "$mf"` |
| 12209 # Find all dependency output files, they are included files with | 9485 # Find all dependency output files, they are included files with |
| 12210 # $(DEPDIR) in their names. We invoke sed twice because it is the | 9486 # $(DEPDIR) in their names. We invoke sed twice because it is the |
| 12211 # simplest approach to changing $(DEPDIR) to its actual value in the | 9487 # simplest approach to changing $(DEPDIR) to its actual value in the |
| 12212 # expansion. | 9488 # expansion. |
| 12213 for file in `sed -n " | 9489 for file in `sed -n " |
| 12214 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | 9490 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
| 12215 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | 9491 » sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
| 12216 # Make sure the directory exists. | 9492 # Make sure the directory exists. |
| 12217 test -f "$dirpart/$file" && continue | 9493 test -f "$dirpart/$file" && continue |
| 12218 fdir=`$as_dirname -- "$file" || | 9494 fdir=`$as_dirname -- "$file" || |
| 12219 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 9495 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 12220 X"$file" : 'X\(//\)[^/]' \| \ | 9496 X"$file" : 'X\(//\)[^/]' \| \ |
| 12221 X"$file" : 'X\(//\)$' \| \ | 9497 X"$file" : 'X\(//\)$' \| \ |
| 12222 X"$file" : 'X\(/\)' \| . 2>/dev/null || | 9498 X"$file" : 'X\(/\)' \| . 2>/dev/null || |
| 12223 echo X"$file" | | 9499 $as_echo X"$file" | |
| 12224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 9500 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 12225 s//\1/ | 9501 s//\1/ |
| 12226 q | 9502 q |
| 12227 } | 9503 } |
| 12228 /^X\(\/\/\)[^/].*/{ | 9504 /^X\(\/\/\)[^/].*/{ |
| 12229 s//\1/ | 9505 s//\1/ |
| 12230 q | 9506 q |
| 12231 } | 9507 } |
| 12232 /^X\(\/\/\)$/{ | 9508 /^X\(\/\/\)$/{ |
| 12233 s//\1/ | 9509 s//\1/ |
| 12234 q | 9510 q |
| 12235 } | 9511 } |
| 12236 /^X\(\/\).*/{ | 9512 /^X\(\/\).*/{ |
| 12237 s//\1/ | 9513 s//\1/ |
| 12238 q | 9514 q |
| 12239 } | 9515 } |
| 12240 s/.*/./; q'` | 9516 s/.*/./; q'` |
| 12241 { as_dir=$dirpart/$fdir | 9517 as_dir=$dirpart/$fdir; as_fn_mkdir_p |
| 12242 case $as_dir in #( | 9518 # echo "creating $dirpart/$file" |
| 12243 -*) as_dir=./$as_dir;; | 9519 echo '# dummy' > "$dirpart/$file" |
| 12244 esac | |
| 12245 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | |
| 12246 as_dirs= | |
| 12247 while :; do | |
| 12248 case $as_dir in #( | |
| 12249 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( | |
| 12250 *) as_qdir=$as_dir;; | |
| 12251 esac | |
| 12252 as_dirs="'$as_qdir' $as_dirs" | |
| 12253 as_dir=`$as_dirname -- "$as_dir" || | |
| 12254 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 12255 » X"$as_dir" : 'X\(//\)[^/]' \| \ | |
| 12256 » X"$as_dir" : 'X\(//\)$' \| \ | |
| 12257 » X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
| 12258 echo X"$as_dir" | | |
| 12259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 12260 » s//\1/ | |
| 12261 » q | |
| 12262 » } | |
| 12263 » /^X\(\/\/\)[^/].*/{ | |
| 12264 » s//\1/ | |
| 12265 » q | |
| 12266 » } | |
| 12267 » /^X\(\/\/\)$/{ | |
| 12268 » s//\1/ | |
| 12269 » q | |
| 12270 » } | |
| 12271 » /^X\(\/\).*/{ | |
| 12272 » s//\1/ | |
| 12273 » q | |
| 12274 » } | |
| 12275 » s/.*/./; q'` | |
| 12276 test -d "$as_dir" && break | |
| 12277 done | 9520 done |
| 12278 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
| 12279 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create direc
tory $as_dir" >&5 | |
| 12280 echo "$as_me: error: cannot create directory $as_dir" >&2;} | |
| 12281 { (exit 1); exit 1; }; }; } | |
| 12282 # echo "creating $dirpart/$file" | |
| 12283 echo '# dummy' > "$dirpart/$file" | |
| 12284 done | 9521 done |
| 12285 done | 9522 } |
| 12286 ;; | 9523 ;; |
| 12287 "$ac_stdint_h":C) | 9524 "$ac_stdint_h":C) |
| 12288 { echo "$as_me:$LINENO: creating $ac_stdint_h : $_ac_stdint_h" >&5 | 9525 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h"
>&5 |
| 12289 echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;} | 9526 $as_echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;} |
| 12290 ac_stdint=$tmp/_stdint.h | 9527 ac_stdint=$tmp/_stdint.h |
| 12291 | 9528 |
| 12292 echo "#ifndef" $_ac_stdint_h >$ac_stdint | 9529 echo "#ifndef" $_ac_stdint_h >$ac_stdint |
| 12293 echo "#define" $_ac_stdint_h "1" >>$ac_stdint | 9530 echo "#define" $_ac_stdint_h "1" >>$ac_stdint |
| 12294 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint | 9531 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint |
| 12295 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint | 9532 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint |
| 12296 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint | 9533 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint |
| 12297 if test "_$ac_cv_header_stdint_t" != "_" ; then | 9534 if test "_$ac_cv_header_stdint_t" != "_" ; then |
| 12298 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint | 9535 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint |
| 12299 echo "#include <stdint.h>" >>$ac_stdint | 9536 echo "#include <stdint.h>" >>$ac_stdint |
| (...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12710 # define UINT_LEAST64_MAX UINT64_MAX | 9947 # define UINT_LEAST64_MAX UINT64_MAX |
| 12711 | 9948 |
| 12712 /* shortcircuit*/ | 9949 /* shortcircuit*/ |
| 12713 #endif | 9950 #endif |
| 12714 /* once */ | 9951 /* once */ |
| 12715 #endif | 9952 #endif |
| 12716 #endif | 9953 #endif |
| 12717 STDINT_EOF | 9954 STDINT_EOF |
| 12718 fi | 9955 fi |
| 12719 if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then | 9956 if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then |
| 12720 { echo "$as_me:$LINENO: $ac_stdint_h is unchanged" >&5 | 9957 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5 |
| 12721 echo "$as_me: $ac_stdint_h is unchanged" >&6;} | 9958 $as_echo "$as_me: $ac_stdint_h is unchanged" >&6;} |
| 12722 else | 9959 else |
| 12723 ac_dir=`$as_dirname -- "$ac_stdint_h" || | 9960 ac_dir=`$as_dirname -- "$ac_stdint_h" || |
| 12724 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 9961 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 12725 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \ | 9962 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \ |
| 12726 X"$ac_stdint_h" : 'X\(//\)$' \| \ | 9963 X"$ac_stdint_h" : 'X\(//\)$' \| \ |
| 12727 X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null || | 9964 X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null || |
| 12728 echo X"$ac_stdint_h" | | 9965 $as_echo X"$ac_stdint_h" | |
| 12729 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 9966 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 12730 s//\1/ | 9967 s//\1/ |
| 12731 q | 9968 q |
| 12732 } | 9969 } |
| 12733 /^X\(\/\/\)[^/].*/{ | 9970 /^X\(\/\/\)[^/].*/{ |
| 12734 s//\1/ | 9971 s//\1/ |
| 12735 q | 9972 q |
| 12736 } | 9973 } |
| 12737 /^X\(\/\/\)$/{ | 9974 /^X\(\/\/\)$/{ |
| 12738 s//\1/ | 9975 s//\1/ |
| 12739 q | 9976 q |
| 12740 } | 9977 } |
| 12741 /^X\(\/\).*/{ | 9978 /^X\(\/\).*/{ |
| 12742 s//\1/ | 9979 s//\1/ |
| 12743 q | 9980 q |
| 12744 } | 9981 } |
| 12745 s/.*/./; q'` | 9982 s/.*/./; q'` |
| 12746 { as_dir="$ac_dir" | 9983 as_dir="$ac_dir"; as_fn_mkdir_p |
| 12747 case $as_dir in #( | |
| 12748 -*) as_dir=./$as_dir;; | |
| 12749 esac | |
| 12750 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | |
| 12751 as_dirs= | |
| 12752 while :; do | |
| 12753 case $as_dir in #( | |
| 12754 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( | |
| 12755 *) as_qdir=$as_dir;; | |
| 12756 esac | |
| 12757 as_dirs="'$as_qdir' $as_dirs" | |
| 12758 as_dir=`$as_dirname -- "$as_dir" || | |
| 12759 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 12760 » X"$as_dir" : 'X\(//\)[^/]' \| \ | |
| 12761 » X"$as_dir" : 'X\(//\)$' \| \ | |
| 12762 » X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
| 12763 echo X"$as_dir" | | |
| 12764 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 12765 » s//\1/ | |
| 12766 » q | |
| 12767 » } | |
| 12768 » /^X\(\/\/\)[^/].*/{ | |
| 12769 » s//\1/ | |
| 12770 » q | |
| 12771 » } | |
| 12772 » /^X\(\/\/\)$/{ | |
| 12773 » s//\1/ | |
| 12774 » q | |
| 12775 » } | |
| 12776 » /^X\(\/\).*/{ | |
| 12777 » s//\1/ | |
| 12778 » q | |
| 12779 » } | |
| 12780 » s/.*/./; q'` | |
| 12781 test -d "$as_dir" && break | |
| 12782 done | |
| 12783 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
| 12784 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create direc
tory $as_dir" >&5 | |
| 12785 echo "$as_me: error: cannot create directory $as_dir" >&2;} | |
| 12786 { (exit 1); exit 1; }; }; } | |
| 12787 rm -f $ac_stdint_h | 9984 rm -f $ac_stdint_h |
| 12788 mv $ac_stdint $ac_stdint_h | 9985 mv $ac_stdint $ac_stdint_h |
| 12789 fi | 9986 fi |
| 12790 ;; | 9987 ;; |
| 12791 "po-directories":C) | 9988 "po-directories":C) |
| 12792 for ac_file in $CONFIG_FILES; do | 9989 for ac_file in $CONFIG_FILES; do |
| 12793 # Support "outfile[:infile[:infile...]]" | 9990 # Support "outfile[:infile[:infile...]]" |
| 12794 case "$ac_file" in | 9991 case "$ac_file" in |
| 12795 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; | 9992 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
| 12796 esac | 9993 esac |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12899 done | 10096 done |
| 12900 fi | 10097 fi |
| 12901 ;; | 10098 ;; |
| 12902 esac | 10099 esac |
| 12903 done ;; | 10100 done ;; |
| 12904 | 10101 |
| 12905 esac | 10102 esac |
| 12906 done # for ac_tag | 10103 done # for ac_tag |
| 12907 | 10104 |
| 12908 | 10105 |
| 12909 { (exit 0); exit 0; } | 10106 as_fn_exit 0 |
| 12910 _ACEOF | 10107 _ACEOF |
| 12911 chmod +x $CONFIG_STATUS | |
| 12912 ac_clean_files=$ac_clean_files_save | 10108 ac_clean_files=$ac_clean_files_save |
| 12913 | 10109 |
| 10110 test $ac_write_fail = 0 || |
| 10111 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
| 10112 |
| 12914 | 10113 |
| 12915 # configure is writing to config.log, and then calls config.status. | 10114 # configure is writing to config.log, and then calls config.status. |
| 12916 # config.status does its own redirection, appending to config.log. | 10115 # config.status does its own redirection, appending to config.log. |
| 12917 # Unfortunately, on DOS this fails, as config.log is still kept open | 10116 # Unfortunately, on DOS this fails, as config.log is still kept open |
| 12918 # by configure, so config.status won't be able to write to it; its | 10117 # by configure, so config.status won't be able to write to it; its |
| 12919 # output is simply discarded. So we exec the FD to /dev/null, | 10118 # output is simply discarded. So we exec the FD to /dev/null, |
| 12920 # effectively closing config.log, so it can be properly (re)opened and | 10119 # effectively closing config.log, so it can be properly (re)opened and |
| 12921 # appended to by config.status. When coming back to configure, we | 10120 # appended to by config.status. When coming back to configure, we |
| 12922 # need to make the FD available again. | 10121 # need to make the FD available again. |
| 12923 if test "$no_create" != yes; then | 10122 if test "$no_create" != yes; then |
| 12924 ac_cs_success=: | 10123 ac_cs_success=: |
| 12925 ac_config_status_args= | 10124 ac_config_status_args= |
| 12926 test "$silent" = yes && | 10125 test "$silent" = yes && |
| 12927 ac_config_status_args="$ac_config_status_args --quiet" | 10126 ac_config_status_args="$ac_config_status_args --quiet" |
| 12928 exec 5>/dev/null | 10127 exec 5>/dev/null |
| 12929 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 10128 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
| 12930 exec 5>>config.log | 10129 exec 5>>config.log |
| 12931 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 10130 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
| 12932 # would make configure fail if this is the last instruction. | 10131 # would make configure fail if this is the last instruction. |
| 12933 $ac_cs_success || { (exit 1); exit 1; } | 10132 $ac_cs_success || as_fn_exit $? |
| 10133 fi |
| 10134 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
| 10135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un
recognized_opts" >&5 |
| 10136 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
| 12934 fi | 10137 fi |
| 12935 | 10138 |
| OLD | NEW |