[3b3b0e] | 1 | #! /bin/sh |
---|
| 2 | # Guess values for system-dependent variables and create Makefiles. |
---|
| 3 | # Generated by GNU Autoconf 2.65 for FULL-PACKAGE-NAME VERSION. |
---|
| 4 | # |
---|
| 5 | # Report bugs to <BUG-REPORT-ADDRESS>. |
---|
| 6 | # |
---|
| 7 | # |
---|
| 8 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
---|
| 9 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
---|
| 10 | # Inc. |
---|
| 11 | # |
---|
| 12 | # |
---|
| 13 | # This configure script is free software; the Free Software Foundation |
---|
| 14 | # gives unlimited permission to copy, distribute and modify it. |
---|
| 15 | ## -------------------- ## |
---|
| 16 | ## M4sh Initialization. ## |
---|
| 17 | ## -------------------- ## |
---|
| 18 | |
---|
| 19 | # Be more Bourne compatible |
---|
| 20 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
| 21 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
---|
| 22 | emulate sh |
---|
| 23 | NULLCMD=: |
---|
| 24 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
| 25 | # is contrary to our usage. Disable this feature. |
---|
| 26 | alias -g '${1+"$@"}'='"$@"' |
---|
| 27 | setopt NO_GLOB_SUBST |
---|
| 28 | else |
---|
| 29 | case `(set -o) 2>/dev/null` in #( |
---|
| 30 | *posix*) : |
---|
| 31 | set -o posix ;; #( |
---|
| 32 | *) : |
---|
| 33 | ;; |
---|
| 34 | esac |
---|
| 35 | fi |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | as_nl=' |
---|
| 39 | ' |
---|
| 40 | export as_nl |
---|
| 41 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
---|
| 42 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
---|
| 43 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
| 44 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
| 45 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
---|
| 46 | # but without wasting forks for bash or zsh. |
---|
| 47 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
---|
| 48 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
| 49 | as_echo='print -r --' |
---|
| 50 | as_echo_n='print -rn --' |
---|
| 51 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
| 52 | as_echo='printf %s\n' |
---|
| 53 | as_echo_n='printf %s' |
---|
| 54 | else |
---|
| 55 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
---|
| 56 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
---|
| 57 | as_echo_n='/usr/ucb/echo -n' |
---|
| 58 | else |
---|
| 59 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
---|
| 60 | as_echo_n_body='eval |
---|
| 61 | arg=$1; |
---|
| 62 | case $arg in #( |
---|
| 63 | *"$as_nl"*) |
---|
| 64 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
---|
| 65 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
---|
| 66 | esac; |
---|
| 67 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
---|
| 68 | ' |
---|
| 69 | export as_echo_n_body |
---|
| 70 | as_echo_n='sh -c $as_echo_n_body as_echo' |
---|
| 71 | fi |
---|
| 72 | export as_echo_body |
---|
| 73 | as_echo='sh -c $as_echo_body as_echo' |
---|
| 74 | fi |
---|
| 75 | |
---|
| 76 | # The user is always right. |
---|
| 77 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
| 78 | PATH_SEPARATOR=: |
---|
| 79 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
---|
| 80 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
---|
| 81 | PATH_SEPARATOR=';' |
---|
| 82 | } |
---|
| 83 | fi |
---|
| 84 | |
---|
| 85 | |
---|
| 86 | # IFS |
---|
| 87 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
| 88 | # there to prevent editors from complaining about space-tab. |
---|
| 89 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
| 90 | # splitting by setting IFS to empty value.) |
---|
| 91 | IFS=" "" $as_nl" |
---|
| 92 | |
---|
| 93 | # Find who we are. Look in the path if we contain no directory separator. |
---|
| 94 | case $0 in #(( |
---|
| 95 | *[\\/]* ) as_myself=$0 ;; |
---|
| 96 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 97 | for as_dir in $PATH |
---|
| 98 | do |
---|
| 99 | IFS=$as_save_IFS |
---|
| 100 | test -z "$as_dir" && as_dir=. |
---|
| 101 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
| 102 | done |
---|
| 103 | IFS=$as_save_IFS |
---|
| 104 | |
---|
| 105 | ;; |
---|
| 106 | esac |
---|
| 107 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
| 108 | # in which case we are not to be found in the path. |
---|
| 109 | if test "x$as_myself" = x; then |
---|
| 110 | as_myself=$0 |
---|
| 111 | fi |
---|
| 112 | if test ! -f "$as_myself"; then |
---|
| 113 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
| 114 | exit 1 |
---|
| 115 | fi |
---|
| 116 | |
---|
| 117 | # Unset variables that we do not need and which cause bugs (e.g. in |
---|
| 118 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
---|
| 119 | # suppresses any "Segmentation fault" message there. '((' could |
---|
| 120 | # trigger a bug in pdksh 5.2.14. |
---|
| 121 | for as_var in BASH_ENV ENV MAIL MAILPATH |
---|
| 122 | do eval test x\${$as_var+set} = xset \ |
---|
| 123 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
---|
| 124 | done |
---|
| 125 | PS1='$ ' |
---|
| 126 | PS2='> ' |
---|
| 127 | PS4='+ ' |
---|
| 128 | |
---|
| 129 | # NLS nuisances. |
---|
| 130 | LC_ALL=C |
---|
| 131 | export LC_ALL |
---|
| 132 | LANGUAGE=C |
---|
| 133 | export LANGUAGE |
---|
| 134 | |
---|
| 135 | # CDPATH. |
---|
| 136 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
---|
| 137 | |
---|
| 138 | if test "x$CONFIG_SHELL" = x; then |
---|
| 139 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
---|
| 140 | emulate sh |
---|
| 141 | NULLCMD=: |
---|
| 142 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
---|
| 143 | # is contrary to our usage. Disable this feature. |
---|
| 144 | alias -g '\${1+\"\$@\"}'='\"\$@\"' |
---|
| 145 | setopt NO_GLOB_SUBST |
---|
| 146 | else |
---|
| 147 | case \`(set -o) 2>/dev/null\` in #( |
---|
| 148 | *posix*) : |
---|
| 149 | set -o posix ;; #( |
---|
| 150 | *) : |
---|
| 151 | ;; |
---|
| 152 | esac |
---|
| 153 | fi |
---|
| 154 | " |
---|
| 155 | as_required="as_fn_return () { (exit \$1); } |
---|
| 156 | as_fn_success () { as_fn_return 0; } |
---|
| 157 | as_fn_failure () { as_fn_return 1; } |
---|
| 158 | as_fn_ret_success () { return 0; } |
---|
| 159 | as_fn_ret_failure () { return 1; } |
---|
| 160 | |
---|
| 161 | exitcode=0 |
---|
| 162 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
---|
| 163 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
---|
| 164 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
---|
| 165 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
---|
| 166 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
---|
| 167 | |
---|
| 168 | else |
---|
| 169 | exitcode=1; echo positional parameters were not saved. |
---|
| 170 | fi |
---|
| 171 | test x\$exitcode = x0 || exit 1" |
---|
| 172 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
---|
| 173 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
---|
| 174 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
---|
| 175 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
---|
| 176 | test \$(( 1 + 1 )) = 2 || exit 1" |
---|
| 177 | if (eval "$as_required") 2>/dev/null; then : |
---|
| 178 | as_have_required=yes |
---|
| 179 | else |
---|
| 180 | as_have_required=no |
---|
| 181 | fi |
---|
| 182 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
---|
| 183 | |
---|
| 184 | else |
---|
| 185 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 186 | as_found=false |
---|
| 187 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
| 188 | do |
---|
| 189 | IFS=$as_save_IFS |
---|
| 190 | test -z "$as_dir" && as_dir=. |
---|
| 191 | as_found=: |
---|
| 192 | case $as_dir in #( |
---|
| 193 | /*) |
---|
| 194 | for as_base in sh bash ksh sh5; do |
---|
| 195 | # Try only shells that exist, to save several forks. |
---|
| 196 | as_shell=$as_dir/$as_base |
---|
| 197 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
---|
| 198 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
---|
| 199 | CONFIG_SHELL=$as_shell as_have_required=yes |
---|
| 200 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
---|
| 201 | break 2 |
---|
| 202 | fi |
---|
| 203 | fi |
---|
| 204 | done;; |
---|
| 205 | esac |
---|
| 206 | as_found=false |
---|
| 207 | done |
---|
| 208 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
---|
| 209 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
---|
| 210 | CONFIG_SHELL=$SHELL as_have_required=yes |
---|
| 211 | fi; } |
---|
| 212 | IFS=$as_save_IFS |
---|
| 213 | |
---|
| 214 | |
---|
| 215 | if test "x$CONFIG_SHELL" != x; then : |
---|
| 216 | # We cannot yet assume a decent shell, so we have to provide a |
---|
| 217 | # neutralization value for shells without unset; and this also |
---|
| 218 | # works around shells that cannot unset nonexistent variables. |
---|
| 219 | BASH_ENV=/dev/null |
---|
| 220 | ENV=/dev/null |
---|
| 221 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
---|
| 222 | export CONFIG_SHELL |
---|
| 223 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
---|
| 224 | fi |
---|
| 225 | |
---|
| 226 | if test x$as_have_required = xno; then : |
---|
| 227 | $as_echo "$0: This script requires a shell more modern than all" |
---|
| 228 | $as_echo "$0: the shells that I found on your system." |
---|
| 229 | if test x${ZSH_VERSION+set} = xset ; then |
---|
| 230 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
---|
| 231 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
---|
| 232 | else |
---|
| 233 | $as_echo "$0: Please tell bug-autoconf@gnu.org and BUG-REPORT-ADDRESS |
---|
| 234 | $0: about your system, including any error possibly output |
---|
| 235 | $0: before this message. Then install a modern shell, or |
---|
| 236 | $0: manually run the script under such a shell if you do |
---|
| 237 | $0: have one." |
---|
| 238 | fi |
---|
| 239 | exit 1 |
---|
| 240 | fi |
---|
| 241 | fi |
---|
| 242 | fi |
---|
| 243 | SHELL=${CONFIG_SHELL-/bin/sh} |
---|
| 244 | export SHELL |
---|
| 245 | # Unset more variables known to interfere with behavior of common tools. |
---|
| 246 | CLICOLOR_FORCE= GREP_OPTIONS= |
---|
| 247 | unset CLICOLOR_FORCE GREP_OPTIONS |
---|
| 248 | |
---|
| 249 | ## --------------------- ## |
---|
| 250 | ## M4sh Shell Functions. ## |
---|
| 251 | ## --------------------- ## |
---|
| 252 | # as_fn_unset VAR |
---|
| 253 | # --------------- |
---|
| 254 | # Portably unset VAR. |
---|
| 255 | as_fn_unset () |
---|
| 256 | { |
---|
| 257 | { eval $1=; unset $1;} |
---|
| 258 | } |
---|
| 259 | as_unset=as_fn_unset |
---|
| 260 | |
---|
| 261 | # as_fn_set_status STATUS |
---|
| 262 | # ----------------------- |
---|
| 263 | # Set $? to STATUS, without forking. |
---|
| 264 | as_fn_set_status () |
---|
| 265 | { |
---|
| 266 | return $1 |
---|
| 267 | } # as_fn_set_status |
---|
| 268 | |
---|
| 269 | # as_fn_exit STATUS |
---|
| 270 | # ----------------- |
---|
| 271 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
---|
| 272 | as_fn_exit () |
---|
| 273 | { |
---|
| 274 | set +e |
---|
| 275 | as_fn_set_status $1 |
---|
| 276 | exit $1 |
---|
| 277 | } # as_fn_exit |
---|
| 278 | |
---|
| 279 | # as_fn_mkdir_p |
---|
| 280 | # ------------- |
---|
| 281 | # Create "$as_dir" as a directory, including parents if necessary. |
---|
| 282 | as_fn_mkdir_p () |
---|
| 283 | { |
---|
| 284 | |
---|
| 285 | case $as_dir in #( |
---|
| 286 | -*) as_dir=./$as_dir;; |
---|
| 287 | esac |
---|
| 288 | test -d "$as_dir" || eval $as_mkdir_p || { |
---|
| 289 | as_dirs= |
---|
| 290 | while :; do |
---|
| 291 | case $as_dir in #( |
---|
| 292 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
---|
| 293 | *) as_qdir=$as_dir;; |
---|
| 294 | esac |
---|
| 295 | as_dirs="'$as_qdir' $as_dirs" |
---|
| 296 | as_dir=`$as_dirname -- "$as_dir" || |
---|
| 297 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 298 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
| 299 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
| 300 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 301 | $as_echo X"$as_dir" | |
---|
| 302 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 303 | s//\1/ |
---|
| 304 | q |
---|
| 305 | } |
---|
| 306 | /^X\(\/\/\)[^/].*/{ |
---|
| 307 | s//\1/ |
---|
| 308 | q |
---|
| 309 | } |
---|
| 310 | /^X\(\/\/\)$/{ |
---|
| 311 | s//\1/ |
---|
| 312 | q |
---|
| 313 | } |
---|
| 314 | /^X\(\/\).*/{ |
---|
| 315 | s//\1/ |
---|
| 316 | q |
---|
| 317 | } |
---|
| 318 | s/.*/./; q'` |
---|
| 319 | test -d "$as_dir" && break |
---|
| 320 | done |
---|
| 321 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
| 322 | } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
---|
| 323 | |
---|
| 324 | |
---|
| 325 | } # as_fn_mkdir_p |
---|
| 326 | # as_fn_append VAR VALUE |
---|
| 327 | # ---------------------- |
---|
| 328 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
---|
| 329 | # advantage of any shell optimizations that allow amortized linear growth over |
---|
| 330 | # repeated appends, instead of the typical quadratic growth present in naive |
---|
| 331 | # implementations. |
---|
| 332 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
---|
| 333 | eval 'as_fn_append () |
---|
| 334 | { |
---|
| 335 | eval $1+=\$2 |
---|
| 336 | }' |
---|
| 337 | else |
---|
| 338 | as_fn_append () |
---|
| 339 | { |
---|
| 340 | eval $1=\$$1\$2 |
---|
| 341 | } |
---|
| 342 | fi # as_fn_append |
---|
| 343 | |
---|
| 344 | # as_fn_arith ARG... |
---|
| 345 | # ------------------ |
---|
| 346 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
---|
| 347 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
---|
| 348 | # must be portable across $(()) and expr. |
---|
| 349 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
---|
| 350 | eval 'as_fn_arith () |
---|
| 351 | { |
---|
| 352 | as_val=$(( $* )) |
---|
| 353 | }' |
---|
| 354 | else |
---|
| 355 | as_fn_arith () |
---|
| 356 | { |
---|
| 357 | as_val=`expr "$@" || test $? -eq 1` |
---|
| 358 | } |
---|
| 359 | fi # as_fn_arith |
---|
| 360 | |
---|
| 361 | |
---|
| 362 | # as_fn_error ERROR [LINENO LOG_FD] |
---|
| 363 | # --------------------------------- |
---|
| 364 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
---|
| 365 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
---|
| 366 | # script with status $?, using 1 if that was 0. |
---|
| 367 | as_fn_error () |
---|
| 368 | { |
---|
| 369 | as_status=$?; test $as_status -eq 0 && as_status=1 |
---|
| 370 | if test "$3"; then |
---|
| 371 | as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 372 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
---|
| 373 | fi |
---|
| 374 | $as_echo "$as_me: error: $1" >&2 |
---|
| 375 | as_fn_exit $as_status |
---|
| 376 | } # as_fn_error |
---|
| 377 | |
---|
| 378 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
| 379 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
| 380 | as_expr=expr |
---|
| 381 | else |
---|
| 382 | as_expr=false |
---|
| 383 | fi |
---|
| 384 | |
---|
| 385 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
| 386 | as_basename=basename |
---|
| 387 | else |
---|
| 388 | as_basename=false |
---|
| 389 | fi |
---|
| 390 | |
---|
| 391 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
| 392 | as_dirname=dirname |
---|
| 393 | else |
---|
| 394 | as_dirname=false |
---|
| 395 | fi |
---|
| 396 | |
---|
| 397 | as_me=`$as_basename -- "$0" || |
---|
| 398 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
| 399 | X"$0" : 'X\(//\)$' \| \ |
---|
| 400 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 401 | $as_echo X/"$0" | |
---|
| 402 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
| 403 | s//\1/ |
---|
| 404 | q |
---|
| 405 | } |
---|
| 406 | /^X\/\(\/\/\)$/{ |
---|
| 407 | s//\1/ |
---|
| 408 | q |
---|
| 409 | } |
---|
| 410 | /^X\/\(\/\).*/{ |
---|
| 411 | s//\1/ |
---|
| 412 | q |
---|
| 413 | } |
---|
| 414 | s/.*/./; q'` |
---|
| 415 | |
---|
| 416 | # Avoid depending upon Character Ranges. |
---|
| 417 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
| 418 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
| 419 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
| 420 | as_cr_digits='0123456789' |
---|
| 421 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
| 422 | |
---|
| 423 | |
---|
| 424 | as_lineno_1=$LINENO as_lineno_1a=$LINENO |
---|
| 425 | as_lineno_2=$LINENO as_lineno_2a=$LINENO |
---|
| 426 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
---|
| 427 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
---|
| 428 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
---|
| 429 | sed -n ' |
---|
| 430 | p |
---|
| 431 | /[$]LINENO/= |
---|
| 432 | ' <$as_myself | |
---|
| 433 | sed ' |
---|
| 434 | s/[$]LINENO.*/&-/ |
---|
| 435 | t lineno |
---|
| 436 | b |
---|
| 437 | :lineno |
---|
| 438 | N |
---|
| 439 | :loop |
---|
| 440 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
---|
| 441 | t loop |
---|
| 442 | s/-\n.*// |
---|
| 443 | ' >$as_me.lineno && |
---|
| 444 | chmod +x "$as_me.lineno" || |
---|
| 445 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
---|
| 446 | |
---|
| 447 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
| 448 | # (the dirname of $[0] is not the place where we might find the |
---|
| 449 | # original and so on. Autoconf is especially sensitive to this). |
---|
| 450 | . "./$as_me.lineno" |
---|
| 451 | # Exit status is that of the last command. |
---|
| 452 | exit |
---|
| 453 | } |
---|
| 454 | |
---|
| 455 | ECHO_C= ECHO_N= ECHO_T= |
---|
| 456 | case `echo -n x` in #((((( |
---|
| 457 | -n*) |
---|
| 458 | case `echo 'xy\c'` in |
---|
| 459 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
| 460 | xy) ECHO_C='\c';; |
---|
| 461 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
---|
| 462 | ECHO_T=' ';; |
---|
| 463 | esac;; |
---|
| 464 | *) |
---|
| 465 | ECHO_N='-n';; |
---|
| 466 | esac |
---|
| 467 | |
---|
| 468 | rm -f conf$$ conf$$.exe conf$$.file |
---|
| 469 | if test -d conf$$.dir; then |
---|
| 470 | rm -f conf$$.dir/conf$$.file |
---|
| 471 | else |
---|
| 472 | rm -f conf$$.dir |
---|
| 473 | mkdir conf$$.dir 2>/dev/null |
---|
| 474 | fi |
---|
| 475 | if (echo >conf$$.file) 2>/dev/null; then |
---|
| 476 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
| 477 | as_ln_s='ln -s' |
---|
| 478 | # ... but there are two gotchas: |
---|
| 479 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
| 480 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
| 481 | # In both cases, we have to default to `cp -p'. |
---|
| 482 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
| 483 | as_ln_s='cp -p' |
---|
| 484 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
| 485 | as_ln_s=ln |
---|
| 486 | else |
---|
| 487 | as_ln_s='cp -p' |
---|
| 488 | fi |
---|
| 489 | else |
---|
| 490 | as_ln_s='cp -p' |
---|
| 491 | fi |
---|
| 492 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
| 493 | rmdir conf$$.dir 2>/dev/null |
---|
| 494 | |
---|
| 495 | if mkdir -p . 2>/dev/null; then |
---|
| 496 | as_mkdir_p='mkdir -p "$as_dir"' |
---|
| 497 | else |
---|
| 498 | test -d ./-p && rmdir ./-p |
---|
| 499 | as_mkdir_p=false |
---|
| 500 | fi |
---|
| 501 | |
---|
| 502 | if test -x / >/dev/null 2>&1; then |
---|
| 503 | as_test_x='test -x' |
---|
| 504 | else |
---|
| 505 | if ls -dL / >/dev/null 2>&1; then |
---|
| 506 | as_ls_L_option=L |
---|
| 507 | else |
---|
| 508 | as_ls_L_option= |
---|
| 509 | fi |
---|
| 510 | as_test_x=' |
---|
| 511 | eval sh -c '\'' |
---|
| 512 | if test -d "$1"; then |
---|
| 513 | test -d "$1/."; |
---|
| 514 | else |
---|
| 515 | case $1 in #( |
---|
| 516 | -*)set "./$1";; |
---|
| 517 | esac; |
---|
| 518 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
---|
| 519 | ???[sx]*):;;*)false;;esac;fi |
---|
| 520 | '\'' sh |
---|
| 521 | ' |
---|
| 522 | fi |
---|
| 523 | as_executable_p=$as_test_x |
---|
| 524 | |
---|
| 525 | # Sed expression to map a string onto a valid CPP name. |
---|
| 526 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 527 | |
---|
| 528 | # Sed expression to map a string onto a valid variable name. |
---|
| 529 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 530 | |
---|
| 531 | |
---|
| 532 | test -n "$DJDIR" || exec 7<&0 </dev/null |
---|
| 533 | exec 6>&1 |
---|
| 534 | |
---|
| 535 | # Name of the host. |
---|
| 536 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
---|
| 537 | # so uname gets run too. |
---|
| 538 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 539 | |
---|
| 540 | # |
---|
| 541 | # Initializations. |
---|
| 542 | # |
---|
| 543 | ac_default_prefix=/usr/local |
---|
| 544 | ac_clean_files= |
---|
| 545 | ac_config_libobj_dir=. |
---|
| 546 | LIBOBJS= |
---|
| 547 | cross_compiling=no |
---|
| 548 | subdirs= |
---|
| 549 | MFLAGS= |
---|
| 550 | MAKEFLAGS= |
---|
| 551 | |
---|
| 552 | # Identity of this package. |
---|
| 553 | PACKAGE_NAME='FULL-PACKAGE-NAME' |
---|
| 554 | PACKAGE_TARNAME='full-package-name' |
---|
| 555 | PACKAGE_VERSION='VERSION' |
---|
| 556 | PACKAGE_STRING='FULL-PACKAGE-NAME VERSION' |
---|
| 557 | PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS' |
---|
| 558 | PACKAGE_URL='' |
---|
| 559 | |
---|
| 560 | ac_unique_file="mylimits.h" |
---|
| 561 | # Factoring default headers for most tests. |
---|
| 562 | ac_includes_default="\ |
---|
| 563 | #include <stdio.h> |
---|
| 564 | #ifdef HAVE_SYS_TYPES_H |
---|
| 565 | # include <sys/types.h> |
---|
| 566 | #endif |
---|
| 567 | #ifdef HAVE_SYS_STAT_H |
---|
| 568 | # include <sys/stat.h> |
---|
| 569 | #endif |
---|
| 570 | #ifdef STDC_HEADERS |
---|
| 571 | # include <stdlib.h> |
---|
| 572 | # include <stddef.h> |
---|
| 573 | #else |
---|
| 574 | # ifdef HAVE_STDLIB_H |
---|
| 575 | # include <stdlib.h> |
---|
| 576 | # endif |
---|
| 577 | #endif |
---|
| 578 | #ifdef HAVE_STRING_H |
---|
| 579 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
---|
| 580 | # include <memory.h> |
---|
| 581 | # endif |
---|
| 582 | # include <string.h> |
---|
| 583 | #endif |
---|
| 584 | #ifdef HAVE_STRINGS_H |
---|
| 585 | # include <strings.h> |
---|
| 586 | #endif |
---|
| 587 | #ifdef HAVE_INTTYPES_H |
---|
| 588 | # include <inttypes.h> |
---|
| 589 | #endif |
---|
| 590 | #ifdef HAVE_STDINT_H |
---|
| 591 | # include <stdint.h> |
---|
| 592 | #endif |
---|
| 593 | #ifdef HAVE_UNISTD_H |
---|
| 594 | # include <unistd.h> |
---|
| 595 | #endif" |
---|
| 596 | |
---|
| 597 | ac_subst_vars='LTLIBOBJS |
---|
| 598 | LIBOBJS |
---|
| 599 | SI_CPU_SPARC |
---|
| 600 | SI_CPU_PPC |
---|
| 601 | SI_CPU_IA64 |
---|
| 602 | SI_CPU_X86_64 |
---|
| 603 | EXEC_EXT |
---|
| 604 | SI_CPU_I386 |
---|
| 605 | EGREP |
---|
| 606 | GREP |
---|
| 607 | CPP |
---|
| 608 | INSTALL_DATA |
---|
| 609 | INSTALL_SCRIPT |
---|
| 610 | INSTALL_PROGRAM |
---|
| 611 | LN_S |
---|
| 612 | ac_ct_CXX |
---|
| 613 | CXXFLAGS |
---|
| 614 | CXX |
---|
| 615 | OBJEXT |
---|
| 616 | EXEEXT |
---|
| 617 | ac_ct_CC |
---|
| 618 | CPPFLAGS |
---|
| 619 | LDFLAGS |
---|
| 620 | CFLAGS |
---|
| 621 | CC |
---|
| 622 | target_alias |
---|
| 623 | host_alias |
---|
| 624 | build_alias |
---|
| 625 | LIBS |
---|
| 626 | ECHO_T |
---|
| 627 | ECHO_N |
---|
| 628 | ECHO_C |
---|
| 629 | DEFS |
---|
| 630 | mandir |
---|
| 631 | localedir |
---|
| 632 | libdir |
---|
| 633 | psdir |
---|
| 634 | pdfdir |
---|
| 635 | dvidir |
---|
| 636 | htmldir |
---|
| 637 | infodir |
---|
| 638 | docdir |
---|
| 639 | oldincludedir |
---|
| 640 | includedir |
---|
| 641 | localstatedir |
---|
| 642 | sharedstatedir |
---|
| 643 | sysconfdir |
---|
| 644 | datadir |
---|
| 645 | datarootdir |
---|
| 646 | libexecdir |
---|
| 647 | sbindir |
---|
| 648 | bindir |
---|
| 649 | program_transform_name |
---|
| 650 | prefix |
---|
| 651 | exec_prefix |
---|
| 652 | PACKAGE_URL |
---|
| 653 | PACKAGE_BUGREPORT |
---|
| 654 | PACKAGE_STRING |
---|
| 655 | PACKAGE_VERSION |
---|
| 656 | PACKAGE_TARNAME |
---|
| 657 | PACKAGE_NAME |
---|
| 658 | PATH_SEPARATOR |
---|
| 659 | SHELL' |
---|
| 660 | ac_subst_files='' |
---|
| 661 | ac_user_opts=' |
---|
| 662 | enable_option_checking |
---|
| 663 | ' |
---|
| 664 | ac_precious_vars='build_alias |
---|
| 665 | host_alias |
---|
| 666 | target_alias |
---|
| 667 | CC |
---|
| 668 | CFLAGS |
---|
| 669 | LDFLAGS |
---|
| 670 | LIBS |
---|
| 671 | CPPFLAGS |
---|
| 672 | CXX |
---|
| 673 | CXXFLAGS |
---|
| 674 | CCC |
---|
| 675 | CPP' |
---|
| 676 | |
---|
| 677 | |
---|
| 678 | # Initialize some variables set by options. |
---|
| 679 | ac_init_help= |
---|
| 680 | ac_init_version=false |
---|
| 681 | ac_unrecognized_opts= |
---|
| 682 | ac_unrecognized_sep= |
---|
| 683 | # The variables have the same names as the options, with |
---|
| 684 | # dashes changed to underlines. |
---|
| 685 | cache_file=/dev/null |
---|
| 686 | exec_prefix=NONE |
---|
| 687 | no_create= |
---|
| 688 | no_recursion= |
---|
| 689 | prefix=NONE |
---|
| 690 | program_prefix=NONE |
---|
| 691 | program_suffix=NONE |
---|
| 692 | program_transform_name=s,x,x, |
---|
| 693 | silent= |
---|
| 694 | site= |
---|
| 695 | srcdir= |
---|
| 696 | verbose= |
---|
| 697 | x_includes=NONE |
---|
| 698 | x_libraries=NONE |
---|
| 699 | |
---|
| 700 | # Installation directory options. |
---|
| 701 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
---|
| 702 | # and all the variables that are supposed to be based on exec_prefix |
---|
| 703 | # by default will actually change. |
---|
| 704 | # Use braces instead of parens because sh, perl, etc. also accept them. |
---|
| 705 | # (The list follows the same order as the GNU Coding Standards.) |
---|
| 706 | bindir='${exec_prefix}/bin' |
---|
| 707 | sbindir='${exec_prefix}/sbin' |
---|
| 708 | libexecdir='${exec_prefix}/libexec' |
---|
| 709 | datarootdir='${prefix}/share' |
---|
| 710 | datadir='${datarootdir}' |
---|
| 711 | sysconfdir='${prefix}/etc' |
---|
| 712 | sharedstatedir='${prefix}/com' |
---|
| 713 | localstatedir='${prefix}/var' |
---|
| 714 | includedir='${prefix}/include' |
---|
| 715 | oldincludedir='/usr/include' |
---|
| 716 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
---|
| 717 | infodir='${datarootdir}/info' |
---|
| 718 | htmldir='${docdir}' |
---|
| 719 | dvidir='${docdir}' |
---|
| 720 | pdfdir='${docdir}' |
---|
| 721 | psdir='${docdir}' |
---|
| 722 | libdir='${exec_prefix}/lib' |
---|
| 723 | localedir='${datarootdir}/locale' |
---|
| 724 | mandir='${datarootdir}/man' |
---|
| 725 | |
---|
| 726 | ac_prev= |
---|
| 727 | ac_dashdash= |
---|
| 728 | for ac_option |
---|
| 729 | do |
---|
| 730 | # If the previous option needs an argument, assign it. |
---|
| 731 | if test -n "$ac_prev"; then |
---|
| 732 | eval $ac_prev=\$ac_option |
---|
| 733 | ac_prev= |
---|
| 734 | continue |
---|
| 735 | fi |
---|
| 736 | |
---|
| 737 | case $ac_option in |
---|
| 738 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
---|
| 739 | *) ac_optarg=yes ;; |
---|
| 740 | esac |
---|
| 741 | |
---|
| 742 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
| 743 | |
---|
| 744 | case $ac_dashdash$ac_option in |
---|
| 745 | --) |
---|
| 746 | ac_dashdash=yes ;; |
---|
| 747 | |
---|
| 748 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
| 749 | ac_prev=bindir ;; |
---|
| 750 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
| 751 | bindir=$ac_optarg ;; |
---|
| 752 | |
---|
| 753 | -build | --build | --buil | --bui | --bu) |
---|
| 754 | ac_prev=build_alias ;; |
---|
| 755 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
| 756 | build_alias=$ac_optarg ;; |
---|
| 757 | |
---|
| 758 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
| 759 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
| 760 | ac_prev=cache_file ;; |
---|
| 761 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
| 762 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
| 763 | cache_file=$ac_optarg ;; |
---|
| 764 | |
---|
| 765 | --config-cache | -C) |
---|
| 766 | cache_file=config.cache ;; |
---|
| 767 | |
---|
| 768 | -datadir | --datadir | --datadi | --datad) |
---|
| 769 | ac_prev=datadir ;; |
---|
| 770 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
---|
| 771 | datadir=$ac_optarg ;; |
---|
| 772 | |
---|
| 773 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
---|
| 774 | | --dataroo | --dataro | --datar) |
---|
| 775 | ac_prev=datarootdir ;; |
---|
| 776 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
---|
| 777 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
---|
| 778 | datarootdir=$ac_optarg ;; |
---|
| 779 | |
---|
| 780 | -disable-* | --disable-*) |
---|
| 781 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
---|
| 782 | # Reject names that are not valid shell variable names. |
---|
| 783 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
| 784 | as_fn_error "invalid feature name: $ac_useropt" |
---|
| 785 | ac_useropt_orig=$ac_useropt |
---|
| 786 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
| 787 | case $ac_user_opts in |
---|
| 788 | *" |
---|
| 789 | "enable_$ac_useropt" |
---|
| 790 | "*) ;; |
---|
| 791 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
---|
| 792 | ac_unrecognized_sep=', ';; |
---|
| 793 | esac |
---|
| 794 | eval enable_$ac_useropt=no ;; |
---|
| 795 | |
---|
| 796 | -docdir | --docdir | --docdi | --doc | --do) |
---|
| 797 | ac_prev=docdir ;; |
---|
| 798 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
---|
| 799 | docdir=$ac_optarg ;; |
---|
| 800 | |
---|
| 801 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
---|
| 802 | ac_prev=dvidir ;; |
---|
| 803 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
---|
| 804 | dvidir=$ac_optarg ;; |
---|
| 805 | |
---|
| 806 | -enable-* | --enable-*) |
---|
| 807 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
---|
| 808 | # Reject names that are not valid shell variable names. |
---|
| 809 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
| 810 | as_fn_error "invalid feature name: $ac_useropt" |
---|
| 811 | ac_useropt_orig=$ac_useropt |
---|
| 812 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
| 813 | case $ac_user_opts in |
---|
| 814 | *" |
---|
| 815 | "enable_$ac_useropt" |
---|
| 816 | "*) ;; |
---|
| 817 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
---|
| 818 | ac_unrecognized_sep=', ';; |
---|
| 819 | esac |
---|
| 820 | eval enable_$ac_useropt=\$ac_optarg ;; |
---|
| 821 | |
---|
| 822 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
| 823 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
| 824 | | --exec | --exe | --ex) |
---|
| 825 | ac_prev=exec_prefix ;; |
---|
| 826 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
| 827 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
| 828 | | --exec=* | --exe=* | --ex=*) |
---|
| 829 | exec_prefix=$ac_optarg ;; |
---|
| 830 | |
---|
| 831 | -gas | --gas | --ga | --g) |
---|
| 832 | # Obsolete; use --with-gas. |
---|
| 833 | with_gas=yes ;; |
---|
| 834 | |
---|
| 835 | -help | --help | --hel | --he | -h) |
---|
| 836 | ac_init_help=long ;; |
---|
| 837 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
---|
| 838 | ac_init_help=recursive ;; |
---|
| 839 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
---|
| 840 | ac_init_help=short ;; |
---|
| 841 | |
---|
| 842 | -host | --host | --hos | --ho) |
---|
| 843 | ac_prev=host_alias ;; |
---|
| 844 | -host=* | --host=* | --hos=* | --ho=*) |
---|
| 845 | host_alias=$ac_optarg ;; |
---|
| 846 | |
---|
| 847 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
---|
| 848 | ac_prev=htmldir ;; |
---|
| 849 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
---|
| 850 | | --ht=*) |
---|
| 851 | htmldir=$ac_optarg ;; |
---|
| 852 | |
---|
| 853 | -includedir | --includedir | --includedi | --included | --include \ |
---|
| 854 | | --includ | --inclu | --incl | --inc) |
---|
| 855 | ac_prev=includedir ;; |
---|
| 856 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
| 857 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
| 858 | includedir=$ac_optarg ;; |
---|
| 859 | |
---|
| 860 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
| 861 | ac_prev=infodir ;; |
---|
| 862 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
| 863 | infodir=$ac_optarg ;; |
---|
| 864 | |
---|
| 865 | -libdir | --libdir | --libdi | --libd) |
---|
| 866 | ac_prev=libdir ;; |
---|
| 867 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
| 868 | libdir=$ac_optarg ;; |
---|
| 869 | |
---|
| 870 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
| 871 | | --libexe | --libex | --libe) |
---|
| 872 | ac_prev=libexecdir ;; |
---|
| 873 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
| 874 | | --libexe=* | --libex=* | --libe=*) |
---|
| 875 | libexecdir=$ac_optarg ;; |
---|
| 876 | |
---|
| 877 | -localedir | --localedir | --localedi | --localed | --locale) |
---|
| 878 | ac_prev=localedir ;; |
---|
| 879 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
---|
| 880 | localedir=$ac_optarg ;; |
---|
| 881 | |
---|
| 882 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
| 883 | | --localstate | --localstat | --localsta | --localst | --locals) |
---|
| 884 | ac_prev=localstatedir ;; |
---|
| 885 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
| 886 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
---|
| 887 | localstatedir=$ac_optarg ;; |
---|
| 888 | |
---|
| 889 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
| 890 | ac_prev=mandir ;; |
---|
| 891 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
| 892 | mandir=$ac_optarg ;; |
---|
| 893 | |
---|
| 894 | -nfp | --nfp | --nf) |
---|
| 895 | # Obsolete; use --without-fp. |
---|
| 896 | with_fp=no ;; |
---|
| 897 | |
---|
| 898 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
| 899 | | --no-cr | --no-c | -n) |
---|
| 900 | no_create=yes ;; |
---|
| 901 | |
---|
| 902 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
| 903 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
| 904 | no_recursion=yes ;; |
---|
| 905 | |
---|
| 906 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
| 907 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
| 908 | | --oldin | --oldi | --old | --ol | --o) |
---|
| 909 | ac_prev=oldincludedir ;; |
---|
| 910 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
| 911 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
| 912 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
| 913 | oldincludedir=$ac_optarg ;; |
---|
| 914 | |
---|
| 915 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
| 916 | ac_prev=prefix ;; |
---|
| 917 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
| 918 | prefix=$ac_optarg ;; |
---|
| 919 | |
---|
| 920 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
| 921 | | --program-pre | --program-pr | --program-p) |
---|
| 922 | ac_prev=program_prefix ;; |
---|
| 923 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
| 924 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
| 925 | program_prefix=$ac_optarg ;; |
---|
| 926 | |
---|
| 927 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
| 928 | | --program-suf | --program-su | --program-s) |
---|
| 929 | ac_prev=program_suffix ;; |
---|
| 930 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
| 931 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
| 932 | program_suffix=$ac_optarg ;; |
---|
| 933 | |
---|
| 934 | -program-transform-name | --program-transform-name \ |
---|
| 935 | | --program-transform-nam | --program-transform-na \ |
---|
| 936 | | --program-transform-n | --program-transform- \ |
---|
| 937 | | --program-transform | --program-transfor \ |
---|
| 938 | | --program-transfo | --program-transf \ |
---|
| 939 | | --program-trans | --program-tran \ |
---|
| 940 | | --progr-tra | --program-tr | --program-t) |
---|
| 941 | ac_prev=program_transform_name ;; |
---|
| 942 | -program-transform-name=* | --program-transform-name=* \ |
---|
| 943 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
| 944 | | --program-transform-n=* | --program-transform-=* \ |
---|
| 945 | | --program-transform=* | --program-transfor=* \ |
---|
| 946 | | --program-transfo=* | --program-transf=* \ |
---|
| 947 | | --program-trans=* | --program-tran=* \ |
---|
| 948 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
| 949 | program_transform_name=$ac_optarg ;; |
---|
| 950 | |
---|
| 951 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
---|
| 952 | ac_prev=pdfdir ;; |
---|
| 953 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
---|
| 954 | pdfdir=$ac_optarg ;; |
---|
| 955 | |
---|
| 956 | -psdir | --psdir | --psdi | --psd | --ps) |
---|
| 957 | ac_prev=psdir ;; |
---|
| 958 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
---|
| 959 | psdir=$ac_optarg ;; |
---|
| 960 | |
---|
| 961 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 962 | | -silent | --silent | --silen | --sile | --sil) |
---|
| 963 | silent=yes ;; |
---|
| 964 | |
---|
| 965 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
| 966 | ac_prev=sbindir ;; |
---|
| 967 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
| 968 | | --sbi=* | --sb=*) |
---|
| 969 | sbindir=$ac_optarg ;; |
---|
| 970 | |
---|
| 971 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
| 972 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
| 973 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
| 974 | | --sha | --sh) |
---|
| 975 | ac_prev=sharedstatedir ;; |
---|
| 976 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
| 977 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
| 978 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
| 979 | | --sha=* | --sh=*) |
---|
| 980 | sharedstatedir=$ac_optarg ;; |
---|
| 981 | |
---|
| 982 | -site | --site | --sit) |
---|
| 983 | ac_prev=site ;; |
---|
| 984 | -site=* | --site=* | --sit=*) |
---|
| 985 | site=$ac_optarg ;; |
---|
| 986 | |
---|
| 987 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
| 988 | ac_prev=srcdir ;; |
---|
| 989 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
| 990 | srcdir=$ac_optarg ;; |
---|
| 991 | |
---|
| 992 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
| 993 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
| 994 | ac_prev=sysconfdir ;; |
---|
| 995 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
| 996 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
| 997 | sysconfdir=$ac_optarg ;; |
---|
| 998 | |
---|
| 999 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
| 1000 | ac_prev=target_alias ;; |
---|
| 1001 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
| 1002 | target_alias=$ac_optarg ;; |
---|
| 1003 | |
---|
| 1004 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
| 1005 | verbose=yes ;; |
---|
| 1006 | |
---|
| 1007 | -version | --version | --versio | --versi | --vers | -V) |
---|
| 1008 | ac_init_version=: ;; |
---|
| 1009 | |
---|
| 1010 | -with-* | --with-*) |
---|
| 1011 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
---|
| 1012 | # Reject names that are not valid shell variable names. |
---|
| 1013 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
| 1014 | as_fn_error "invalid package name: $ac_useropt" |
---|
| 1015 | ac_useropt_orig=$ac_useropt |
---|
| 1016 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
| 1017 | case $ac_user_opts in |
---|
| 1018 | *" |
---|
| 1019 | "with_$ac_useropt" |
---|
| 1020 | "*) ;; |
---|
| 1021 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
---|
| 1022 | ac_unrecognized_sep=', ';; |
---|
| 1023 | esac |
---|
| 1024 | eval with_$ac_useropt=\$ac_optarg ;; |
---|
| 1025 | |
---|
| 1026 | -without-* | --without-*) |
---|
| 1027 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
---|
| 1028 | # Reject names that are not valid shell variable names. |
---|
| 1029 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
| 1030 | as_fn_error "invalid package name: $ac_useropt" |
---|
| 1031 | ac_useropt_orig=$ac_useropt |
---|
| 1032 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
| 1033 | case $ac_user_opts in |
---|
| 1034 | *" |
---|
| 1035 | "with_$ac_useropt" |
---|
| 1036 | "*) ;; |
---|
| 1037 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
---|
| 1038 | ac_unrecognized_sep=', ';; |
---|
| 1039 | esac |
---|
| 1040 | eval with_$ac_useropt=no ;; |
---|
| 1041 | |
---|
| 1042 | --x) |
---|
| 1043 | # Obsolete; use --with-x. |
---|
| 1044 | with_x=yes ;; |
---|
| 1045 | |
---|
| 1046 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
| 1047 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
| 1048 | ac_prev=x_includes ;; |
---|
| 1049 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
| 1050 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
| 1051 | x_includes=$ac_optarg ;; |
---|
| 1052 | |
---|
| 1053 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
| 1054 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
| 1055 | ac_prev=x_libraries ;; |
---|
| 1056 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
| 1057 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
| 1058 | x_libraries=$ac_optarg ;; |
---|
| 1059 | |
---|
| 1060 | -*) as_fn_error "unrecognized option: \`$ac_option' |
---|
| 1061 | Try \`$0 --help' for more information." |
---|
| 1062 | ;; |
---|
| 1063 | |
---|
| 1064 | *=*) |
---|
| 1065 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
---|
| 1066 | # Reject names that are not valid shell variable names. |
---|
| 1067 | case $ac_envvar in #( |
---|
| 1068 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
---|
| 1069 | as_fn_error "invalid variable name: \`$ac_envvar'" ;; |
---|
| 1070 | esac |
---|
| 1071 | eval $ac_envvar=\$ac_optarg |
---|
| 1072 | export $ac_envvar ;; |
---|
| 1073 | |
---|
| 1074 | *) |
---|
| 1075 | # FIXME: should be removed in autoconf 3.0. |
---|
| 1076 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
---|
| 1077 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
| 1078 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
---|
| 1079 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
---|
| 1080 | ;; |
---|
| 1081 | |
---|
| 1082 | esac |
---|
| 1083 | done |
---|
| 1084 | |
---|
| 1085 | if test -n "$ac_prev"; then |
---|
| 1086 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
---|
| 1087 | as_fn_error "missing argument to $ac_option" |
---|
| 1088 | fi |
---|
| 1089 | |
---|
| 1090 | if test -n "$ac_unrecognized_opts"; then |
---|
| 1091 | case $enable_option_checking in |
---|
| 1092 | no) ;; |
---|
| 1093 | fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; |
---|
| 1094 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
---|
| 1095 | esac |
---|
| 1096 | fi |
---|
| 1097 | |
---|
| 1098 | # Check all directory arguments for consistency. |
---|
| 1099 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
---|
| 1100 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
---|
| 1101 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
---|
| 1102 | libdir localedir mandir |
---|
| 1103 | do |
---|
| 1104 | eval ac_val=\$$ac_var |
---|
| 1105 | # Remove trailing slashes. |
---|
| 1106 | case $ac_val in |
---|
| 1107 | */ ) |
---|
| 1108 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
---|
| 1109 | eval $ac_var=\$ac_val;; |
---|
| 1110 | esac |
---|
| 1111 | # Be sure to have absolute directory names. |
---|
| 1112 | case $ac_val in |
---|
| 1113 | [\\/$]* | ?:[\\/]* ) continue;; |
---|
| 1114 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
---|
| 1115 | esac |
---|
| 1116 | as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" |
---|
| 1117 | done |
---|
| 1118 | |
---|
| 1119 | # There might be people who depend on the old broken behavior: `$host' |
---|
| 1120 | # used to hold the argument of --host etc. |
---|
| 1121 | # FIXME: To remove some day. |
---|
| 1122 | build=$build_alias |
---|
| 1123 | host=$host_alias |
---|
| 1124 | target=$target_alias |
---|
| 1125 | |
---|
| 1126 | # FIXME: To remove some day. |
---|
| 1127 | if test "x$host_alias" != x; then |
---|
| 1128 | if test "x$build_alias" = x; then |
---|
| 1129 | cross_compiling=maybe |
---|
| 1130 | $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
---|
| 1131 | If a cross compiler is detected then cross compile mode will be used." >&2 |
---|
| 1132 | elif test "x$build_alias" != "x$host_alias"; then |
---|
| 1133 | cross_compiling=yes |
---|
| 1134 | fi |
---|
| 1135 | fi |
---|
| 1136 | |
---|
| 1137 | ac_tool_prefix= |
---|
| 1138 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
---|
| 1139 | |
---|
| 1140 | test "$silent" = yes && exec 6>/dev/null |
---|
| 1141 | |
---|
| 1142 | |
---|
| 1143 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
---|
| 1144 | ac_ls_di=`ls -di .` && |
---|
| 1145 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
---|
| 1146 | as_fn_error "working directory cannot be determined" |
---|
| 1147 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
---|
| 1148 | as_fn_error "pwd does not report name of working directory" |
---|
| 1149 | |
---|
| 1150 | |
---|
| 1151 | # Find the source files, if location was not specified. |
---|
| 1152 | if test -z "$srcdir"; then |
---|
| 1153 | ac_srcdir_defaulted=yes |
---|
| 1154 | # Try the directory containing this script, then the parent directory. |
---|
| 1155 | ac_confdir=`$as_dirname -- "$as_myself" || |
---|
| 1156 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 1157 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
---|
| 1158 | X"$as_myself" : 'X\(//\)$' \| \ |
---|
| 1159 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 1160 | $as_echo X"$as_myself" | |
---|
| 1161 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 1162 | s//\1/ |
---|
| 1163 | q |
---|
| 1164 | } |
---|
| 1165 | /^X\(\/\/\)[^/].*/{ |
---|
| 1166 | s//\1/ |
---|
| 1167 | q |
---|
| 1168 | } |
---|
| 1169 | /^X\(\/\/\)$/{ |
---|
| 1170 | s//\1/ |
---|
| 1171 | q |
---|
| 1172 | } |
---|
| 1173 | /^X\(\/\).*/{ |
---|
| 1174 | s//\1/ |
---|
| 1175 | q |
---|
| 1176 | } |
---|
| 1177 | s/.*/./; q'` |
---|
| 1178 | srcdir=$ac_confdir |
---|
| 1179 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
| 1180 | srcdir=.. |
---|
| 1181 | fi |
---|
| 1182 | else |
---|
| 1183 | ac_srcdir_defaulted=no |
---|
| 1184 | fi |
---|
| 1185 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
| 1186 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
---|
| 1187 | as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" |
---|
| 1188 | fi |
---|
| 1189 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
---|
| 1190 | ac_abs_confdir=`( |
---|
| 1191 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" |
---|
| 1192 | pwd)` |
---|
| 1193 | # When building in place, set srcdir=. |
---|
| 1194 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
---|
| 1195 | srcdir=. |
---|
| 1196 | fi |
---|
| 1197 | # Remove unnecessary trailing slashes from srcdir. |
---|
| 1198 | # Double slashes in file names in object file debugging info |
---|
| 1199 | # mess up M-x gdb in Emacs. |
---|
| 1200 | case $srcdir in |
---|
| 1201 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
---|
| 1202 | esac |
---|
| 1203 | for ac_var in $ac_precious_vars; do |
---|
| 1204 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
---|
| 1205 | eval ac_env_${ac_var}_value=\$${ac_var} |
---|
| 1206 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
---|
| 1207 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
---|
| 1208 | done |
---|
| 1209 | |
---|
| 1210 | # |
---|
| 1211 | # Report the --help message. |
---|
| 1212 | # |
---|
| 1213 | if test "$ac_init_help" = "long"; then |
---|
| 1214 | # Omit some internal or obsolete options to make the list less imposing. |
---|
| 1215 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
| 1216 | cat <<_ACEOF |
---|
| 1217 | \`configure' configures FULL-PACKAGE-NAME VERSION to adapt to many kinds of systems. |
---|
| 1218 | |
---|
| 1219 | Usage: $0 [OPTION]... [VAR=VALUE]... |
---|
| 1220 | |
---|
| 1221 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
---|
| 1222 | VAR=VALUE. See below for descriptions of some of the useful variables. |
---|
| 1223 | |
---|
| 1224 | Defaults for the options are specified in brackets. |
---|
| 1225 | |
---|
| 1226 | Configuration: |
---|
| 1227 | -h, --help display this help and exit |
---|
| 1228 | --help=short display options specific to this package |
---|
| 1229 | --help=recursive display the short help of all the included packages |
---|
| 1230 | -V, --version display version information and exit |
---|
| 1231 | -q, --quiet, --silent do not print \`checking...' messages |
---|
| 1232 | --cache-file=FILE cache test results in FILE [disabled] |
---|
| 1233 | -C, --config-cache alias for \`--cache-file=config.cache' |
---|
| 1234 | -n, --no-create do not create output files |
---|
| 1235 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
---|
| 1236 | |
---|
| 1237 | Installation directories: |
---|
| 1238 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
| 1239 | [$ac_default_prefix] |
---|
| 1240 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
| 1241 | [PREFIX] |
---|
| 1242 | |
---|
| 1243 | By default, \`make install' will install all the files in |
---|
| 1244 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
---|
| 1245 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
---|
| 1246 | for instance \`--prefix=\$HOME'. |
---|
| 1247 | |
---|
| 1248 | For better control, use the options below. |
---|
| 1249 | |
---|
| 1250 | Fine tuning of the installation directories: |
---|
| 1251 | --bindir=DIR user executables [EPREFIX/bin] |
---|
| 1252 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
---|
| 1253 | --libexecdir=DIR program executables [EPREFIX/libexec] |
---|
| 1254 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
---|
| 1255 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
---|
| 1256 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
---|
| 1257 | --libdir=DIR object code libraries [EPREFIX/lib] |
---|
| 1258 | --includedir=DIR C header files [PREFIX/include] |
---|
| 1259 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
---|
| 1260 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
---|
| 1261 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
---|
| 1262 | --infodir=DIR info documentation [DATAROOTDIR/info] |
---|
| 1263 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
---|
| 1264 | --mandir=DIR man documentation [DATAROOTDIR/man] |
---|
| 1265 | --docdir=DIR documentation root |
---|
| 1266 | [DATAROOTDIR/doc/full-package-name] |
---|
| 1267 | --htmldir=DIR html documentation [DOCDIR] |
---|
| 1268 | --dvidir=DIR dvi documentation [DOCDIR] |
---|
| 1269 | --pdfdir=DIR pdf documentation [DOCDIR] |
---|
| 1270 | --psdir=DIR ps documentation [DOCDIR] |
---|
| 1271 | _ACEOF |
---|
| 1272 | |
---|
| 1273 | cat <<\_ACEOF |
---|
| 1274 | _ACEOF |
---|
| 1275 | fi |
---|
| 1276 | |
---|
| 1277 | if test -n "$ac_init_help"; then |
---|
| 1278 | case $ac_init_help in |
---|
| 1279 | short | recursive ) echo "Configuration of FULL-PACKAGE-NAME VERSION:";; |
---|
| 1280 | esac |
---|
| 1281 | cat <<\_ACEOF |
---|
| 1282 | |
---|
| 1283 | Some influential environment variables: |
---|
| 1284 | CC C compiler command |
---|
| 1285 | CFLAGS C compiler flags |
---|
| 1286 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
---|
| 1287 | nonstandard directory <lib dir> |
---|
| 1288 | LIBS libraries to pass to the linker, e.g. -l<library> |
---|
| 1289 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
---|
| 1290 | you have headers in a nonstandard directory <include dir> |
---|
| 1291 | CXX C++ compiler command |
---|
| 1292 | CXXFLAGS C++ compiler flags |
---|
| 1293 | CPP C preprocessor |
---|
| 1294 | |
---|
| 1295 | Use these variables to override the choices made by `configure' or to help |
---|
| 1296 | it to find libraries and programs with nonstandard names/locations. |
---|
| 1297 | |
---|
| 1298 | Report bugs to <BUG-REPORT-ADDRESS>. |
---|
| 1299 | _ACEOF |
---|
| 1300 | ac_status=$? |
---|
| 1301 | fi |
---|
| 1302 | |
---|
| 1303 | if test "$ac_init_help" = "recursive"; then |
---|
| 1304 | # If there are subdirs, report their specific --help. |
---|
| 1305 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
---|
| 1306 | test -d "$ac_dir" || |
---|
| 1307 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
---|
| 1308 | continue |
---|
| 1309 | ac_builddir=. |
---|
| 1310 | |
---|
| 1311 | case "$ac_dir" in |
---|
| 1312 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 1313 | *) |
---|
| 1314 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
| 1315 | # A ".." for each directory in $ac_dir_suffix. |
---|
| 1316 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
| 1317 | case $ac_top_builddir_sub in |
---|
| 1318 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 1319 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
| 1320 | esac ;; |
---|
| 1321 | esac |
---|
| 1322 | ac_abs_top_builddir=$ac_pwd |
---|
| 1323 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
| 1324 | # for backward compatibility: |
---|
| 1325 | ac_top_builddir=$ac_top_build_prefix |
---|
| 1326 | |
---|
| 1327 | case $srcdir in |
---|
| 1328 | .) # We are building in place. |
---|
| 1329 | ac_srcdir=. |
---|
| 1330 | ac_top_srcdir=$ac_top_builddir_sub |
---|
| 1331 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
| 1332 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
| 1333 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
| 1334 | ac_top_srcdir=$srcdir |
---|
| 1335 | ac_abs_top_srcdir=$srcdir ;; |
---|
| 1336 | *) # Relative name. |
---|
| 1337 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
| 1338 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
| 1339 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
| 1340 | esac |
---|
| 1341 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
| 1342 | |
---|
| 1343 | cd "$ac_dir" || { ac_status=$?; continue; } |
---|
| 1344 | # Check for guested configure. |
---|
| 1345 | if test -f "$ac_srcdir/configure.gnu"; then |
---|
| 1346 | echo && |
---|
| 1347 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
---|
| 1348 | elif test -f "$ac_srcdir/configure"; then |
---|
| 1349 | echo && |
---|
| 1350 | $SHELL "$ac_srcdir/configure" --help=recursive |
---|
| 1351 | else |
---|
| 1352 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
---|
| 1353 | fi || ac_status=$? |
---|
| 1354 | cd "$ac_pwd" || { ac_status=$?; break; } |
---|
| 1355 | done |
---|
| 1356 | fi |
---|
| 1357 | |
---|
| 1358 | test -n "$ac_init_help" && exit $ac_status |
---|
| 1359 | if $ac_init_version; then |
---|
| 1360 | cat <<\_ACEOF |
---|
| 1361 | FULL-PACKAGE-NAME configure VERSION |
---|
| 1362 | generated by GNU Autoconf 2.65 |
---|
| 1363 | |
---|
| 1364 | Copyright (C) 2009 Free Software Foundation, Inc. |
---|
| 1365 | This configure script is free software; the Free Software Foundation |
---|
| 1366 | gives unlimited permission to copy, distribute and modify it. |
---|
| 1367 | _ACEOF |
---|
| 1368 | exit |
---|
| 1369 | fi |
---|
| 1370 | |
---|
| 1371 | ## ------------------------ ## |
---|
| 1372 | ## Autoconf initialization. ## |
---|
| 1373 | ## ------------------------ ## |
---|
| 1374 | |
---|
| 1375 | # ac_fn_c_try_compile LINENO |
---|
| 1376 | # -------------------------- |
---|
| 1377 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
---|
| 1378 | ac_fn_c_try_compile () |
---|
| 1379 | { |
---|
| 1380 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1381 | rm -f conftest.$ac_objext |
---|
| 1382 | if { { ac_try="$ac_compile" |
---|
| 1383 | case "(($ac_try" in |
---|
| 1384 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1385 | *) ac_try_echo=$ac_try;; |
---|
| 1386 | esac |
---|
| 1387 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 1388 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 1389 | (eval "$ac_compile") 2>conftest.err |
---|
| 1390 | ac_status=$? |
---|
| 1391 | if test -s conftest.err; then |
---|
| 1392 | grep -v '^ *+' conftest.err >conftest.er1 |
---|
| 1393 | cat conftest.er1 >&5 |
---|
| 1394 | mv -f conftest.er1 conftest.err |
---|
| 1395 | fi |
---|
| 1396 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 1397 | test $ac_status = 0; } && { |
---|
| 1398 | test -z "$ac_c_werror_flag" || |
---|
| 1399 | test ! -s conftest.err |
---|
| 1400 | } && test -s conftest.$ac_objext; then : |
---|
| 1401 | ac_retval=0 |
---|
| 1402 | else |
---|
| 1403 | $as_echo "$as_me: failed program was:" >&5 |
---|
| 1404 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1405 | |
---|
| 1406 | ac_retval=1 |
---|
| 1407 | fi |
---|
| 1408 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
---|
| 1409 | as_fn_set_status $ac_retval |
---|
| 1410 | |
---|
| 1411 | } # ac_fn_c_try_compile |
---|
| 1412 | |
---|
| 1413 | # ac_fn_cxx_try_compile LINENO |
---|
| 1414 | # ---------------------------- |
---|
| 1415 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
---|
| 1416 | ac_fn_cxx_try_compile () |
---|
| 1417 | { |
---|
| 1418 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1419 | rm -f conftest.$ac_objext |
---|
| 1420 | if { { ac_try="$ac_compile" |
---|
| 1421 | case "(($ac_try" in |
---|
| 1422 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1423 | *) ac_try_echo=$ac_try;; |
---|
| 1424 | esac |
---|
| 1425 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 1426 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 1427 | (eval "$ac_compile") 2>conftest.err |
---|
| 1428 | ac_status=$? |
---|
| 1429 | if test -s conftest.err; then |
---|
| 1430 | grep -v '^ *+' conftest.err >conftest.er1 |
---|
| 1431 | cat conftest.er1 >&5 |
---|
| 1432 | mv -f conftest.er1 conftest.err |
---|
| 1433 | fi |
---|
| 1434 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 1435 | test $ac_status = 0; } && { |
---|
| 1436 | test -z "$ac_cxx_werror_flag" || |
---|
| 1437 | test ! -s conftest.err |
---|
| 1438 | } && test -s conftest.$ac_objext; then : |
---|
| 1439 | ac_retval=0 |
---|
| 1440 | else |
---|
| 1441 | $as_echo "$as_me: failed program was:" >&5 |
---|
| 1442 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1443 | |
---|
| 1444 | ac_retval=1 |
---|
| 1445 | fi |
---|
| 1446 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
---|
| 1447 | as_fn_set_status $ac_retval |
---|
| 1448 | |
---|
| 1449 | } # ac_fn_cxx_try_compile |
---|
| 1450 | |
---|
| 1451 | # ac_fn_c_try_cpp LINENO |
---|
| 1452 | # ---------------------- |
---|
| 1453 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
---|
| 1454 | ac_fn_c_try_cpp () |
---|
| 1455 | { |
---|
| 1456 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1457 | if { { ac_try="$ac_cpp conftest.$ac_ext" |
---|
| 1458 | case "(($ac_try" in |
---|
| 1459 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1460 | *) ac_try_echo=$ac_try;; |
---|
| 1461 | esac |
---|
| 1462 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 1463 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 1464 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
---|
| 1465 | ac_status=$? |
---|
| 1466 | if test -s conftest.err; then |
---|
| 1467 | grep -v '^ *+' conftest.err >conftest.er1 |
---|
| 1468 | cat conftest.er1 >&5 |
---|
| 1469 | mv -f conftest.er1 conftest.err |
---|
| 1470 | fi |
---|
| 1471 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 1472 | test $ac_status = 0; } >/dev/null && { |
---|
| 1473 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
---|
| 1474 | test ! -s conftest.err |
---|
| 1475 | }; then : |
---|
| 1476 | ac_retval=0 |
---|
| 1477 | else |
---|
| 1478 | $as_echo "$as_me: failed program was:" >&5 |
---|
| 1479 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1480 | |
---|
| 1481 | ac_retval=1 |
---|
| 1482 | fi |
---|
| 1483 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
---|
| 1484 | as_fn_set_status $ac_retval |
---|
| 1485 | |
---|
| 1486 | } # ac_fn_c_try_cpp |
---|
| 1487 | |
---|
| 1488 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
---|
| 1489 | # ------------------------------------------------------- |
---|
| 1490 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using |
---|
| 1491 | # the include files in INCLUDES and setting the cache variable VAR |
---|
| 1492 | # accordingly. |
---|
| 1493 | ac_fn_c_check_header_mongrel () |
---|
| 1494 | { |
---|
| 1495 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1496 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
---|
| 1497 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
---|
| 1498 | $as_echo_n "checking for $2... " >&6; } |
---|
| 1499 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
---|
| 1500 | $as_echo_n "(cached) " >&6 |
---|
| 1501 | fi |
---|
| 1502 | eval ac_res=\$$3 |
---|
| 1503 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
| 1504 | $as_echo "$ac_res" >&6; } |
---|
| 1505 | else |
---|
| 1506 | # Is the header compilable? |
---|
| 1507 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
---|
| 1508 | $as_echo_n "checking $2 usability... " >&6; } |
---|
| 1509 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 1510 | /* end confdefs.h. */ |
---|
| 1511 | $4 |
---|
| 1512 | #include <$2> |
---|
| 1513 | _ACEOF |
---|
| 1514 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 1515 | ac_header_compiler=yes |
---|
| 1516 | else |
---|
| 1517 | ac_header_compiler=no |
---|
| 1518 | fi |
---|
| 1519 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 1520 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
---|
| 1521 | $as_echo "$ac_header_compiler" >&6; } |
---|
| 1522 | |
---|
| 1523 | # Is the header present? |
---|
| 1524 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
---|
| 1525 | $as_echo_n "checking $2 presence... " >&6; } |
---|
| 1526 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 1527 | /* end confdefs.h. */ |
---|
| 1528 | #include <$2> |
---|
| 1529 | _ACEOF |
---|
| 1530 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
| 1531 | ac_header_preproc=yes |
---|
| 1532 | else |
---|
| 1533 | ac_header_preproc=no |
---|
| 1534 | fi |
---|
| 1535 | rm -f conftest.err conftest.$ac_ext |
---|
| 1536 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
---|
| 1537 | $as_echo "$ac_header_preproc" >&6; } |
---|
| 1538 | |
---|
| 1539 | # So? What about this header? |
---|
| 1540 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
---|
| 1541 | yes:no: ) |
---|
| 1542 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
---|
| 1543 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
---|
| 1544 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
---|
| 1545 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
---|
| 1546 | ;; |
---|
| 1547 | no:yes:* ) |
---|
| 1548 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
---|
| 1549 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
---|
| 1550 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
---|
| 1551 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
---|
| 1552 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
---|
| 1553 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
---|
| 1554 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
---|
| 1555 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
---|
| 1556 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
---|
| 1557 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
---|
| 1558 | ( cat <<\_ASBOX |
---|
| 1559 | ## --------------------------------- ## |
---|
| 1560 | ## Report this to BUG-REPORT-ADDRESS ## |
---|
| 1561 | ## --------------------------------- ## |
---|
| 1562 | _ASBOX |
---|
| 1563 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
---|
| 1564 | ;; |
---|
| 1565 | esac |
---|
| 1566 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
---|
| 1567 | $as_echo_n "checking for $2... " >&6; } |
---|
| 1568 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
---|
| 1569 | $as_echo_n "(cached) " >&6 |
---|
| 1570 | else |
---|
| 1571 | eval "$3=\$ac_header_compiler" |
---|
| 1572 | fi |
---|
| 1573 | eval ac_res=\$$3 |
---|
| 1574 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
| 1575 | $as_echo "$ac_res" >&6; } |
---|
| 1576 | fi |
---|
| 1577 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
---|
| 1578 | |
---|
| 1579 | } # ac_fn_c_check_header_mongrel |
---|
| 1580 | |
---|
| 1581 | # ac_fn_c_try_run LINENO |
---|
| 1582 | # ---------------------- |
---|
| 1583 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
---|
| 1584 | # that executables *can* be run. |
---|
| 1585 | ac_fn_c_try_run () |
---|
| 1586 | { |
---|
| 1587 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1588 | if { { ac_try="$ac_link" |
---|
| 1589 | case "(($ac_try" in |
---|
| 1590 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1591 | *) ac_try_echo=$ac_try;; |
---|
| 1592 | esac |
---|
| 1593 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 1594 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 1595 | (eval "$ac_link") 2>&5 |
---|
| 1596 | ac_status=$? |
---|
| 1597 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 1598 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
---|
| 1599 | { { case "(($ac_try" in |
---|
| 1600 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1601 | *) ac_try_echo=$ac_try;; |
---|
| 1602 | esac |
---|
| 1603 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 1604 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 1605 | (eval "$ac_try") 2>&5 |
---|
| 1606 | ac_status=$? |
---|
| 1607 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 1608 | test $ac_status = 0; }; }; then : |
---|
| 1609 | ac_retval=0 |
---|
| 1610 | else |
---|
| 1611 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
---|
| 1612 | $as_echo "$as_me: failed program was:" >&5 |
---|
| 1613 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1614 | |
---|
| 1615 | ac_retval=$ac_status |
---|
| 1616 | fi |
---|
| 1617 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
---|
| 1618 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
---|
| 1619 | as_fn_set_status $ac_retval |
---|
| 1620 | |
---|
| 1621 | } # ac_fn_c_try_run |
---|
| 1622 | |
---|
| 1623 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
---|
| 1624 | # ------------------------------------------------------- |
---|
| 1625 | # Tests whether HEADER exists and can be compiled using the include files in |
---|
| 1626 | # INCLUDES, setting the cache variable VAR accordingly. |
---|
| 1627 | ac_fn_c_check_header_compile () |
---|
| 1628 | { |
---|
| 1629 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1630 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
---|
| 1631 | $as_echo_n "checking for $2... " >&6; } |
---|
| 1632 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
---|
| 1633 | $as_echo_n "(cached) " >&6 |
---|
| 1634 | else |
---|
| 1635 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 1636 | /* end confdefs.h. */ |
---|
| 1637 | $4 |
---|
| 1638 | #include <$2> |
---|
| 1639 | _ACEOF |
---|
| 1640 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 1641 | eval "$3=yes" |
---|
| 1642 | else |
---|
| 1643 | eval "$3=no" |
---|
| 1644 | fi |
---|
| 1645 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 1646 | fi |
---|
| 1647 | eval ac_res=\$$3 |
---|
| 1648 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
| 1649 | $as_echo "$ac_res" >&6; } |
---|
| 1650 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
---|
| 1651 | |
---|
| 1652 | } # ac_fn_c_check_header_compile |
---|
| 1653 | |
---|
| 1654 | # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES |
---|
| 1655 | # -------------------------------------------- |
---|
| 1656 | # Tries to find the compile-time value of EXPR in a program that includes |
---|
| 1657 | # INCLUDES, setting VAR accordingly. Returns whether the value could be |
---|
| 1658 | # computed |
---|
| 1659 | ac_fn_c_compute_int () |
---|
| 1660 | { |
---|
| 1661 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1662 | if test "$cross_compiling" = yes; then |
---|
| 1663 | # Depending upon the size, compute the lo and hi bounds. |
---|
| 1664 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 1665 | /* end confdefs.h. */ |
---|
| 1666 | $4 |
---|
| 1667 | int |
---|
| 1668 | main () |
---|
| 1669 | { |
---|
| 1670 | static int test_array [1 - 2 * !(($2) >= 0)]; |
---|
| 1671 | test_array [0] = 0 |
---|
| 1672 | |
---|
| 1673 | ; |
---|
| 1674 | return 0; |
---|
| 1675 | } |
---|
| 1676 | _ACEOF |
---|
| 1677 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 1678 | ac_lo=0 ac_mid=0 |
---|
| 1679 | while :; do |
---|
| 1680 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 1681 | /* end confdefs.h. */ |
---|
| 1682 | $4 |
---|
| 1683 | int |
---|
| 1684 | main () |
---|
| 1685 | { |
---|
| 1686 | static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
---|
| 1687 | test_array [0] = 0 |
---|
| 1688 | |
---|
| 1689 | ; |
---|
| 1690 | return 0; |
---|
| 1691 | } |
---|
| 1692 | _ACEOF |
---|
| 1693 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 1694 | ac_hi=$ac_mid; break |
---|
| 1695 | else |
---|
| 1696 | as_fn_arith $ac_mid + 1 && ac_lo=$as_val |
---|
| 1697 | if test $ac_lo -le $ac_mid; then |
---|
| 1698 | ac_lo= ac_hi= |
---|
| 1699 | break |
---|
| 1700 | fi |
---|
| 1701 | as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val |
---|
| 1702 | fi |
---|
| 1703 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 1704 | done |
---|
| 1705 | else |
---|
| 1706 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 1707 | /* end confdefs.h. */ |
---|
| 1708 | $4 |
---|
| 1709 | int |
---|
| 1710 | main () |
---|
| 1711 | { |
---|
| 1712 | static int test_array [1 - 2 * !(($2) < 0)]; |
---|
| 1713 | test_array [0] = 0 |
---|
| 1714 | |
---|
| 1715 | ; |
---|
| 1716 | return 0; |
---|
| 1717 | } |
---|
| 1718 | _ACEOF |
---|
| 1719 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 1720 | ac_hi=-1 ac_mid=-1 |
---|
| 1721 | while :; do |
---|
| 1722 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 1723 | /* end confdefs.h. */ |
---|
| 1724 | $4 |
---|
| 1725 | int |
---|
| 1726 | main () |
---|
| 1727 | { |
---|
| 1728 | static int test_array [1 - 2 * !(($2) >= $ac_mid)]; |
---|
| 1729 | test_array [0] = 0 |
---|
| 1730 | |
---|
| 1731 | ; |
---|
| 1732 | return 0; |
---|
| 1733 | } |
---|
| 1734 | _ACEOF |
---|
| 1735 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 1736 | ac_lo=$ac_mid; break |
---|
| 1737 | else |
---|
| 1738 | as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val |
---|
| 1739 | if test $ac_mid -le $ac_hi; then |
---|
| 1740 | ac_lo= ac_hi= |
---|
| 1741 | break |
---|
| 1742 | fi |
---|
| 1743 | as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val |
---|
| 1744 | fi |
---|
| 1745 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 1746 | done |
---|
| 1747 | else |
---|
| 1748 | ac_lo= ac_hi= |
---|
| 1749 | fi |
---|
| 1750 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 1751 | fi |
---|
| 1752 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 1753 | # Binary search between lo and hi bounds. |
---|
| 1754 | while test "x$ac_lo" != "x$ac_hi"; do |
---|
| 1755 | as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val |
---|
| 1756 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 1757 | /* end confdefs.h. */ |
---|
| 1758 | $4 |
---|
| 1759 | int |
---|
| 1760 | main () |
---|
| 1761 | { |
---|
| 1762 | static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
---|
| 1763 | test_array [0] = 0 |
---|
| 1764 | |
---|
| 1765 | ; |
---|
| 1766 | return 0; |
---|
| 1767 | } |
---|
| 1768 | _ACEOF |
---|
| 1769 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 1770 | ac_hi=$ac_mid |
---|
| 1771 | else |
---|
| 1772 | as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val |
---|
| 1773 | fi |
---|
| 1774 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 1775 | done |
---|
| 1776 | case $ac_lo in #(( |
---|
| 1777 | ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; |
---|
| 1778 | '') ac_retval=1 ;; |
---|
| 1779 | esac |
---|
| 1780 | else |
---|
| 1781 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 1782 | /* end confdefs.h. */ |
---|
| 1783 | $4 |
---|
| 1784 | static long int longval () { return $2; } |
---|
| 1785 | static unsigned long int ulongval () { return $2; } |
---|
| 1786 | #include <stdio.h> |
---|
| 1787 | #include <stdlib.h> |
---|
| 1788 | int |
---|
| 1789 | main () |
---|
| 1790 | { |
---|
| 1791 | |
---|
| 1792 | FILE *f = fopen ("conftest.val", "w"); |
---|
| 1793 | if (! f) |
---|
| 1794 | return 1; |
---|
| 1795 | if (($2) < 0) |
---|
| 1796 | { |
---|
| 1797 | long int i = longval (); |
---|
| 1798 | if (i != ($2)) |
---|
| 1799 | return 1; |
---|
| 1800 | fprintf (f, "%ld", i); |
---|
| 1801 | } |
---|
| 1802 | else |
---|
| 1803 | { |
---|
| 1804 | unsigned long int i = ulongval (); |
---|
| 1805 | if (i != ($2)) |
---|
| 1806 | return 1; |
---|
| 1807 | fprintf (f, "%lu", i); |
---|
| 1808 | } |
---|
| 1809 | /* Do not output a trailing newline, as this causes \r\n confusion |
---|
| 1810 | on some platforms. */ |
---|
| 1811 | return ferror (f) || fclose (f) != 0; |
---|
| 1812 | |
---|
| 1813 | ; |
---|
| 1814 | return 0; |
---|
| 1815 | } |
---|
| 1816 | _ACEOF |
---|
| 1817 | if ac_fn_c_try_run "$LINENO"; then : |
---|
| 1818 | echo >>conftest.val; read $3 <conftest.val; ac_retval=0 |
---|
| 1819 | else |
---|
| 1820 | ac_retval=1 |
---|
| 1821 | fi |
---|
| 1822 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
---|
| 1823 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
---|
| 1824 | rm -f conftest.val |
---|
| 1825 | |
---|
| 1826 | fi |
---|
| 1827 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
---|
| 1828 | as_fn_set_status $ac_retval |
---|
| 1829 | |
---|
| 1830 | } # ac_fn_c_compute_int |
---|
| 1831 | cat >config.log <<_ACEOF |
---|
| 1832 | This file contains any messages produced by compilers while |
---|
| 1833 | running configure, to aid debugging if configure makes a mistake. |
---|
| 1834 | |
---|
| 1835 | It was created by FULL-PACKAGE-NAME $as_me VERSION, which was |
---|
| 1836 | generated by GNU Autoconf 2.65. Invocation command line was |
---|
| 1837 | |
---|
| 1838 | $ $0 $@ |
---|
| 1839 | |
---|
| 1840 | _ACEOF |
---|
| 1841 | exec 5>>config.log |
---|
| 1842 | { |
---|
| 1843 | cat <<_ASUNAME |
---|
| 1844 | ## --------- ## |
---|
| 1845 | ## Platform. ## |
---|
| 1846 | ## --------- ## |
---|
| 1847 | |
---|
| 1848 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 1849 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
---|
| 1850 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
---|
| 1851 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
---|
| 1852 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
---|
| 1853 | |
---|
| 1854 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
---|
| 1855 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
---|
| 1856 | |
---|
| 1857 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
---|
| 1858 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
---|
| 1859 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
---|
| 1860 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
---|
| 1861 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
---|
| 1862 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
---|
| 1863 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
---|
| 1864 | |
---|
| 1865 | _ASUNAME |
---|
| 1866 | |
---|
| 1867 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1868 | for as_dir in $PATH |
---|
| 1869 | do |
---|
| 1870 | IFS=$as_save_IFS |
---|
| 1871 | test -z "$as_dir" && as_dir=. |
---|
| 1872 | $as_echo "PATH: $as_dir" |
---|
| 1873 | done |
---|
| 1874 | IFS=$as_save_IFS |
---|
| 1875 | |
---|
| 1876 | } >&5 |
---|
| 1877 | |
---|
| 1878 | cat >&5 <<_ACEOF |
---|
| 1879 | |
---|
| 1880 | |
---|
| 1881 | ## ----------- ## |
---|
| 1882 | ## Core tests. ## |
---|
| 1883 | ## ----------- ## |
---|
| 1884 | |
---|
| 1885 | _ACEOF |
---|
| 1886 | |
---|
| 1887 | |
---|
| 1888 | # Keep a trace of the command line. |
---|
| 1889 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
| 1890 | # Strip out --silent because we don't want to record it for future runs. |
---|
| 1891 | # Also quote any args containing shell meta-characters. |
---|
| 1892 | # Make two passes to allow for proper duplicate-argument suppression. |
---|
| 1893 | ac_configure_args= |
---|
| 1894 | ac_configure_args0= |
---|
| 1895 | ac_configure_args1= |
---|
| 1896 | ac_must_keep_next=false |
---|
| 1897 | for ac_pass in 1 2 |
---|
| 1898 | do |
---|
| 1899 | for ac_arg |
---|
| 1900 | do |
---|
| 1901 | case $ac_arg in |
---|
| 1902 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
---|
| 1903 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 1904 | | -silent | --silent | --silen | --sile | --sil) |
---|
| 1905 | continue ;; |
---|
| 1906 | *\'*) |
---|
| 1907 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 1908 | esac |
---|
| 1909 | case $ac_pass in |
---|
| 1910 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
---|
| 1911 | 2) |
---|
| 1912 | as_fn_append ac_configure_args1 " '$ac_arg'" |
---|
| 1913 | if test $ac_must_keep_next = true; then |
---|
| 1914 | ac_must_keep_next=false # Got value, back to normal. |
---|
| 1915 | else |
---|
| 1916 | case $ac_arg in |
---|
| 1917 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
---|
| 1918 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
---|
| 1919 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
---|
| 1920 | | -with-* | --with-* | -without-* | --without-* | --x) |
---|
| 1921 | case "$ac_configure_args0 " in |
---|
| 1922 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
---|
| 1923 | esac |
---|
| 1924 | ;; |
---|
| 1925 | -* ) ac_must_keep_next=true ;; |
---|
| 1926 | esac |
---|
| 1927 | fi |
---|
| 1928 | as_fn_append ac_configure_args " '$ac_arg'" |
---|
| 1929 | ;; |
---|
| 1930 | esac |
---|
| 1931 | done |
---|
| 1932 | done |
---|
| 1933 | { ac_configure_args0=; unset ac_configure_args0;} |
---|
| 1934 | { ac_configure_args1=; unset ac_configure_args1;} |
---|
| 1935 | |
---|
| 1936 | # When interrupted or exit'd, cleanup temporary files, and complete |
---|
| 1937 | # config.log. We remove comments because anyway the quotes in there |
---|
| 1938 | # would cause problems or look ugly. |
---|
| 1939 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
---|
| 1940 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
---|
| 1941 | trap 'exit_status=$? |
---|
| 1942 | # Save into config.log some information that might help in debugging. |
---|
| 1943 | { |
---|
| 1944 | echo |
---|
| 1945 | |
---|
| 1946 | cat <<\_ASBOX |
---|
| 1947 | ## ---------------- ## |
---|
| 1948 | ## Cache variables. ## |
---|
| 1949 | ## ---------------- ## |
---|
| 1950 | _ASBOX |
---|
| 1951 | echo |
---|
| 1952 | # The following way of writing the cache mishandles newlines in values, |
---|
| 1953 | ( |
---|
| 1954 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
---|
| 1955 | eval ac_val=\$$ac_var |
---|
| 1956 | case $ac_val in #( |
---|
| 1957 | *${as_nl}*) |
---|
| 1958 | case $ac_var in #( |
---|
| 1959 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
---|
| 1960 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
---|
| 1961 | esac |
---|
| 1962 | case $ac_var in #( |
---|
| 1963 | _ | IFS | as_nl) ;; #( |
---|
| 1964 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
---|
| 1965 | *) { eval $ac_var=; unset $ac_var;} ;; |
---|
| 1966 | esac ;; |
---|
| 1967 | esac |
---|
| 1968 | done |
---|
| 1969 | (set) 2>&1 | |
---|
| 1970 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
---|
| 1971 | *${as_nl}ac_space=\ *) |
---|
| 1972 | sed -n \ |
---|
| 1973 | "s/'\''/'\''\\\\'\'''\''/g; |
---|
| 1974 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
---|
| 1975 | ;; #( |
---|
| 1976 | *) |
---|
| 1977 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
| 1978 | ;; |
---|
| 1979 | esac | |
---|
| 1980 | sort |
---|
| 1981 | ) |
---|
| 1982 | echo |
---|
| 1983 | |
---|
| 1984 | cat <<\_ASBOX |
---|
| 1985 | ## ----------------- ## |
---|
| 1986 | ## Output variables. ## |
---|
| 1987 | ## ----------------- ## |
---|
| 1988 | _ASBOX |
---|
| 1989 | echo |
---|
| 1990 | for ac_var in $ac_subst_vars |
---|
| 1991 | do |
---|
| 1992 | eval ac_val=\$$ac_var |
---|
| 1993 | case $ac_val in |
---|
| 1994 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
| 1995 | esac |
---|
| 1996 | $as_echo "$ac_var='\''$ac_val'\''" |
---|
| 1997 | done | sort |
---|
| 1998 | echo |
---|
| 1999 | |
---|
| 2000 | if test -n "$ac_subst_files"; then |
---|
| 2001 | cat <<\_ASBOX |
---|
| 2002 | ## ------------------- ## |
---|
| 2003 | ## File substitutions. ## |
---|
| 2004 | ## ------------------- ## |
---|
| 2005 | _ASBOX |
---|
| 2006 | echo |
---|
| 2007 | for ac_var in $ac_subst_files |
---|
| 2008 | do |
---|
| 2009 | eval ac_val=\$$ac_var |
---|
| 2010 | case $ac_val in |
---|
| 2011 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
| 2012 | esac |
---|
| 2013 | $as_echo "$ac_var='\''$ac_val'\''" |
---|
| 2014 | done | sort |
---|
| 2015 | echo |
---|
| 2016 | fi |
---|
| 2017 | |
---|
| 2018 | if test -s confdefs.h; then |
---|
| 2019 | cat <<\_ASBOX |
---|
| 2020 | ## ----------- ## |
---|
| 2021 | ## confdefs.h. ## |
---|
| 2022 | ## ----------- ## |
---|
| 2023 | _ASBOX |
---|
| 2024 | echo |
---|
| 2025 | cat confdefs.h |
---|
| 2026 | echo |
---|
| 2027 | fi |
---|
| 2028 | test "$ac_signal" != 0 && |
---|
| 2029 | $as_echo "$as_me: caught signal $ac_signal" |
---|
| 2030 | $as_echo "$as_me: exit $exit_status" |
---|
| 2031 | } >&5 |
---|
| 2032 | rm -f core *.core core.conftest.* && |
---|
| 2033 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
---|
| 2034 | exit $exit_status |
---|
| 2035 | ' 0 |
---|
| 2036 | for ac_signal in 1 2 13 15; do |
---|
| 2037 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
---|
| 2038 | done |
---|
| 2039 | ac_signal=0 |
---|
| 2040 | |
---|
| 2041 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
| 2042 | rm -f -r conftest* confdefs.h |
---|
| 2043 | |
---|
| 2044 | $as_echo "/* confdefs.h */" > confdefs.h |
---|
| 2045 | |
---|
| 2046 | # Predefined preprocessor variables. |
---|
| 2047 | |
---|
| 2048 | cat >>confdefs.h <<_ACEOF |
---|
| 2049 | #define PACKAGE_NAME "$PACKAGE_NAME" |
---|
| 2050 | _ACEOF |
---|
| 2051 | |
---|
| 2052 | cat >>confdefs.h <<_ACEOF |
---|
| 2053 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
---|
| 2054 | _ACEOF |
---|
| 2055 | |
---|
| 2056 | cat >>confdefs.h <<_ACEOF |
---|
| 2057 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
---|
| 2058 | _ACEOF |
---|
| 2059 | |
---|
| 2060 | cat >>confdefs.h <<_ACEOF |
---|
| 2061 | #define PACKAGE_STRING "$PACKAGE_STRING" |
---|
| 2062 | _ACEOF |
---|
| 2063 | |
---|
| 2064 | cat >>confdefs.h <<_ACEOF |
---|
| 2065 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
---|
| 2066 | _ACEOF |
---|
| 2067 | |
---|
| 2068 | cat >>confdefs.h <<_ACEOF |
---|
| 2069 | #define PACKAGE_URL "$PACKAGE_URL" |
---|
| 2070 | _ACEOF |
---|
| 2071 | |
---|
| 2072 | |
---|
| 2073 | # Let the site file select an alternate cache file if it wants to. |
---|
| 2074 | # Prefer an explicitly selected file to automatically selected ones. |
---|
| 2075 | ac_site_file1=NONE |
---|
| 2076 | ac_site_file2=NONE |
---|
| 2077 | if test -n "$CONFIG_SITE"; then |
---|
| 2078 | ac_site_file1=$CONFIG_SITE |
---|
| 2079 | elif test "x$prefix" != xNONE; then |
---|
| 2080 | ac_site_file1=$prefix/share/config.site |
---|
| 2081 | ac_site_file2=$prefix/etc/config.site |
---|
| 2082 | else |
---|
| 2083 | ac_site_file1=$ac_default_prefix/share/config.site |
---|
| 2084 | ac_site_file2=$ac_default_prefix/etc/config.site |
---|
| 2085 | fi |
---|
| 2086 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
---|
| 2087 | do |
---|
| 2088 | test "x$ac_site_file" = xNONE && continue |
---|
| 2089 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
---|
| 2090 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
---|
| 2091 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
---|
| 2092 | sed 's/^/| /' "$ac_site_file" >&5 |
---|
| 2093 | . "$ac_site_file" |
---|
| 2094 | fi |
---|
| 2095 | done |
---|
| 2096 | |
---|
| 2097 | if test -r "$cache_file"; then |
---|
| 2098 | # Some versions of bash will fail to source /dev/null (special files |
---|
| 2099 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
---|
| 2100 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
---|
| 2101 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
---|
| 2102 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
---|
| 2103 | case $cache_file in |
---|
| 2104 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
---|
| 2105 | *) . "./$cache_file";; |
---|
| 2106 | esac |
---|
| 2107 | fi |
---|
| 2108 | else |
---|
| 2109 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
---|
| 2110 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
---|
| 2111 | >$cache_file |
---|
| 2112 | fi |
---|
| 2113 | |
---|
| 2114 | # Check that the precious variables saved in the cache have kept the same |
---|
| 2115 | # value. |
---|
| 2116 | ac_cache_corrupted=false |
---|
| 2117 | for ac_var in $ac_precious_vars; do |
---|
| 2118 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
---|
| 2119 | eval ac_new_set=\$ac_env_${ac_var}_set |
---|
| 2120 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
---|
| 2121 | eval ac_new_val=\$ac_env_${ac_var}_value |
---|
| 2122 | case $ac_old_set,$ac_new_set in |
---|
| 2123 | set,) |
---|
| 2124 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
---|
| 2125 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
---|
| 2126 | ac_cache_corrupted=: ;; |
---|
| 2127 | ,set) |
---|
| 2128 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
---|
| 2129 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
---|
| 2130 | ac_cache_corrupted=: ;; |
---|
| 2131 | ,);; |
---|
| 2132 | *) |
---|
| 2133 | if test "x$ac_old_val" != "x$ac_new_val"; then |
---|
| 2134 | # differences in whitespace do not lead to failure. |
---|
| 2135 | ac_old_val_w=`echo x $ac_old_val` |
---|
| 2136 | ac_new_val_w=`echo x $ac_new_val` |
---|
| 2137 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
---|
| 2138 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
---|
| 2139 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
---|
| 2140 | ac_cache_corrupted=: |
---|
| 2141 | else |
---|
| 2142 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
---|
| 2143 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
---|
| 2144 | eval $ac_var=\$ac_old_val |
---|
| 2145 | fi |
---|
| 2146 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
---|
| 2147 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
---|
| 2148 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
---|
| 2149 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
---|
| 2150 | fi;; |
---|
| 2151 | esac |
---|
| 2152 | # Pass precious variables to config.status. |
---|
| 2153 | if test "$ac_new_set" = set; then |
---|
| 2154 | case $ac_new_val in |
---|
| 2155 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 2156 | *) ac_arg=$ac_var=$ac_new_val ;; |
---|
| 2157 | esac |
---|
| 2158 | case " $ac_configure_args " in |
---|
| 2159 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
---|
| 2160 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
---|
| 2161 | esac |
---|
| 2162 | fi |
---|
| 2163 | done |
---|
| 2164 | if $ac_cache_corrupted; then |
---|
| 2165 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 2166 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 2167 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
---|
| 2168 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
---|
| 2169 | as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
---|
| 2170 | fi |
---|
| 2171 | ## -------------------- ## |
---|
| 2172 | ## Main body of script. ## |
---|
| 2173 | ## -------------------- ## |
---|
| 2174 | |
---|
| 2175 | ac_ext=c |
---|
| 2176 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 2177 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 2178 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 2179 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 2180 | |
---|
| 2181 | |
---|
| 2182 | |
---|
| 2183 | ac_config_headers="$ac_config_headers auxiliary.h" |
---|
| 2184 | |
---|
| 2185 | |
---|
| 2186 | # Checks for programs. |
---|
| 2187 | ac_ext=c |
---|
| 2188 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 2189 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 2190 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 2191 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 2192 | if test -n "$ac_tool_prefix"; then |
---|
| 2193 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
---|
| 2194 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
---|
| 2195 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2196 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 2197 | if test "${ac_cv_prog_CC+set}" = set; then : |
---|
| 2198 | $as_echo_n "(cached) " >&6 |
---|
| 2199 | else |
---|
| 2200 | if test -n "$CC"; then |
---|
| 2201 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 2202 | else |
---|
| 2203 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2204 | for as_dir in $PATH |
---|
| 2205 | do |
---|
| 2206 | IFS=$as_save_IFS |
---|
| 2207 | test -z "$as_dir" && as_dir=. |
---|
| 2208 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 2209 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
| 2210 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
---|
| 2211 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2212 | break 2 |
---|
| 2213 | fi |
---|
| 2214 | done |
---|
| 2215 | done |
---|
| 2216 | IFS=$as_save_IFS |
---|
| 2217 | |
---|
| 2218 | fi |
---|
| 2219 | fi |
---|
| 2220 | CC=$ac_cv_prog_CC |
---|
| 2221 | if test -n "$CC"; then |
---|
| 2222 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
| 2223 | $as_echo "$CC" >&6; } |
---|
| 2224 | else |
---|
| 2225 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2226 | $as_echo "no" >&6; } |
---|
| 2227 | fi |
---|
| 2228 | |
---|
| 2229 | |
---|
| 2230 | fi |
---|
| 2231 | if test -z "$ac_cv_prog_CC"; then |
---|
| 2232 | ac_ct_CC=$CC |
---|
| 2233 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
| 2234 | set dummy gcc; ac_word=$2 |
---|
| 2235 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2236 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 2237 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
---|
| 2238 | $as_echo_n "(cached) " >&6 |
---|
| 2239 | else |
---|
| 2240 | if test -n "$ac_ct_CC"; then |
---|
| 2241 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
| 2242 | else |
---|
| 2243 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2244 | for as_dir in $PATH |
---|
| 2245 | do |
---|
| 2246 | IFS=$as_save_IFS |
---|
| 2247 | test -z "$as_dir" && as_dir=. |
---|
| 2248 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 2249 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
| 2250 | ac_cv_prog_ac_ct_CC="gcc" |
---|
| 2251 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2252 | break 2 |
---|
| 2253 | fi |
---|
| 2254 | done |
---|
| 2255 | done |
---|
| 2256 | IFS=$as_save_IFS |
---|
| 2257 | |
---|
| 2258 | fi |
---|
| 2259 | fi |
---|
| 2260 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
| 2261 | if test -n "$ac_ct_CC"; then |
---|
| 2262 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
---|
| 2263 | $as_echo "$ac_ct_CC" >&6; } |
---|
| 2264 | else |
---|
| 2265 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2266 | $as_echo "no" >&6; } |
---|
| 2267 | fi |
---|
| 2268 | |
---|
| 2269 | if test "x$ac_ct_CC" = x; then |
---|
| 2270 | CC="" |
---|
| 2271 | else |
---|
| 2272 | case $cross_compiling:$ac_tool_warned in |
---|
| 2273 | yes:) |
---|
| 2274 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
| 2275 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
| 2276 | ac_tool_warned=yes ;; |
---|
| 2277 | esac |
---|
| 2278 | CC=$ac_ct_CC |
---|
| 2279 | fi |
---|
| 2280 | else |
---|
| 2281 | CC="$ac_cv_prog_CC" |
---|
| 2282 | fi |
---|
| 2283 | |
---|
| 2284 | if test -z "$CC"; then |
---|
| 2285 | if test -n "$ac_tool_prefix"; then |
---|
| 2286 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
---|
| 2287 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
---|
| 2288 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2289 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 2290 | if test "${ac_cv_prog_CC+set}" = set; then : |
---|
| 2291 | $as_echo_n "(cached) " >&6 |
---|
| 2292 | else |
---|
| 2293 | if test -n "$CC"; then |
---|
| 2294 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 2295 | else |
---|
| 2296 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2297 | for as_dir in $PATH |
---|
| 2298 | do |
---|
| 2299 | IFS=$as_save_IFS |
---|
| 2300 | test -z "$as_dir" && as_dir=. |
---|
| 2301 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 2302 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
| 2303 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
---|
| 2304 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2305 | break 2 |
---|
| 2306 | fi |
---|
| 2307 | done |
---|
| 2308 | done |
---|
| 2309 | IFS=$as_save_IFS |
---|
| 2310 | |
---|
| 2311 | fi |
---|
| 2312 | fi |
---|
| 2313 | CC=$ac_cv_prog_CC |
---|
| 2314 | if test -n "$CC"; then |
---|
| 2315 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
| 2316 | $as_echo "$CC" >&6; } |
---|
| 2317 | else |
---|
| 2318 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2319 | $as_echo "no" >&6; } |
---|
| 2320 | fi |
---|
| 2321 | |
---|
| 2322 | |
---|
| 2323 | fi |
---|
| 2324 | fi |
---|
| 2325 | if test -z "$CC"; then |
---|
| 2326 | # Extract the first word of "cc", so it can be a program name with args. |
---|
| 2327 | set dummy cc; ac_word=$2 |
---|
| 2328 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2329 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 2330 | if test "${ac_cv_prog_CC+set}" = set; then : |
---|
| 2331 | $as_echo_n "(cached) " >&6 |
---|
| 2332 | else |
---|
| 2333 | if test -n "$CC"; then |
---|
| 2334 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 2335 | else |
---|
| 2336 | ac_prog_rejected=no |
---|
| 2337 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2338 | for as_dir in $PATH |
---|
| 2339 | do |
---|
| 2340 | IFS=$as_save_IFS |
---|
| 2341 | test -z "$as_dir" && as_dir=. |
---|
| 2342 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 2343 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
| 2344 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
---|
| 2345 | ac_prog_rejected=yes |
---|
| 2346 | continue |
---|
| 2347 | fi |
---|
| 2348 | ac_cv_prog_CC="cc" |
---|
| 2349 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2350 | break 2 |
---|
| 2351 | fi |
---|
| 2352 | done |
---|
| 2353 | done |
---|
| 2354 | IFS=$as_save_IFS |
---|
| 2355 | |
---|
| 2356 | if test $ac_prog_rejected = yes; then |
---|
| 2357 | # We found a bogon in the path, so make sure we never use it. |
---|
| 2358 | set dummy $ac_cv_prog_CC |
---|
| 2359 | shift |
---|
| 2360 | if test $# != 0; then |
---|
| 2361 | # We chose a different compiler from the bogus one. |
---|
| 2362 | # However, it has the same basename, so the bogon will be chosen |
---|
| 2363 | # first if we set CC to just the basename; use the full file name. |
---|
| 2364 | shift |
---|
| 2365 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
---|
| 2366 | fi |
---|
| 2367 | fi |
---|
| 2368 | fi |
---|
| 2369 | fi |
---|
| 2370 | CC=$ac_cv_prog_CC |
---|
| 2371 | if test -n "$CC"; then |
---|
| 2372 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
| 2373 | $as_echo "$CC" >&6; } |
---|
| 2374 | else |
---|
| 2375 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2376 | $as_echo "no" >&6; } |
---|
| 2377 | fi |
---|
| 2378 | |
---|
| 2379 | |
---|
| 2380 | fi |
---|
| 2381 | if test -z "$CC"; then |
---|
| 2382 | if test -n "$ac_tool_prefix"; then |
---|
| 2383 | for ac_prog in cl.exe |
---|
| 2384 | do |
---|
| 2385 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
| 2386 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
| 2387 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2388 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 2389 | if test "${ac_cv_prog_CC+set}" = set; then : |
---|
| 2390 | $as_echo_n "(cached) " >&6 |
---|
| 2391 | else |
---|
| 2392 | if test -n "$CC"; then |
---|
| 2393 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 2394 | else |
---|
| 2395 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2396 | for as_dir in $PATH |
---|
| 2397 | do |
---|
| 2398 | IFS=$as_save_IFS |
---|
| 2399 | test -z "$as_dir" && as_dir=. |
---|
| 2400 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 2401 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
| 2402 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
---|
| 2403 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2404 | break 2 |
---|
| 2405 | fi |
---|
| 2406 | done |
---|
| 2407 | done |
---|
| 2408 | IFS=$as_save_IFS |
---|
| 2409 | |
---|
| 2410 | fi |
---|
| 2411 | fi |
---|
| 2412 | CC=$ac_cv_prog_CC |
---|
| 2413 | if test -n "$CC"; then |
---|
| 2414 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
| 2415 | $as_echo "$CC" >&6; } |
---|
| 2416 | else |
---|
| 2417 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2418 | $as_echo "no" >&6; } |
---|
| 2419 | fi |
---|
| 2420 | |
---|
| 2421 | |
---|
| 2422 | test -n "$CC" && break |
---|
| 2423 | done |
---|
| 2424 | fi |
---|
| 2425 | if test -z "$CC"; then |
---|
| 2426 | ac_ct_CC=$CC |
---|
| 2427 | for ac_prog in cl.exe |
---|
| 2428 | do |
---|
| 2429 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
| 2430 | set dummy $ac_prog; ac_word=$2 |
---|
| 2431 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2432 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 2433 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
---|
| 2434 | $as_echo_n "(cached) " >&6 |
---|
| 2435 | else |
---|
| 2436 | if test -n "$ac_ct_CC"; then |
---|
| 2437 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
| 2438 | else |
---|
| 2439 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2440 | for as_dir in $PATH |
---|
| 2441 | do |
---|
| 2442 | IFS=$as_save_IFS |
---|
| 2443 | test -z "$as_dir" && as_dir=. |
---|
| 2444 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 2445 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
| 2446 | ac_cv_prog_ac_ct_CC="$ac_prog" |
---|
| 2447 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2448 | break 2 |
---|
| 2449 | fi |
---|
| 2450 | done |
---|
| 2451 | done |
---|
| 2452 | IFS=$as_save_IFS |
---|
| 2453 | |
---|
| 2454 | fi |
---|
| 2455 | fi |
---|
| 2456 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
| 2457 | if test -n "$ac_ct_CC"; then |
---|
| 2458 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
---|
| 2459 | $as_echo "$ac_ct_CC" >&6; } |
---|
| 2460 | else |
---|
| 2461 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2462 | $as_echo "no" >&6; } |
---|
| 2463 | fi |
---|
| 2464 | |
---|
| 2465 | |
---|
| 2466 | test -n "$ac_ct_CC" && break |
---|
| 2467 | done |
---|
| 2468 | |
---|
| 2469 | if test "x$ac_ct_CC" = x; then |
---|
| 2470 | CC="" |
---|
| 2471 | else |
---|
| 2472 | case $cross_compiling:$ac_tool_warned in |
---|
| 2473 | yes:) |
---|
| 2474 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
| 2475 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
| 2476 | ac_tool_warned=yes ;; |
---|
| 2477 | esac |
---|
| 2478 | CC=$ac_ct_CC |
---|
| 2479 | fi |
---|
| 2480 | fi |
---|
| 2481 | |
---|
| 2482 | fi |
---|
| 2483 | |
---|
| 2484 | |
---|
| 2485 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 2486 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 2487 | as_fn_error "no acceptable C compiler found in \$PATH |
---|
| 2488 | See \`config.log' for more details." "$LINENO" 5; } |
---|
| 2489 | |
---|
| 2490 | # Provide some information about the compiler. |
---|
| 2491 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
---|
| 2492 | set X $ac_compile |
---|
| 2493 | ac_compiler=$2 |
---|
| 2494 | for ac_option in --version -v -V -qversion; do |
---|
| 2495 | { { ac_try="$ac_compiler $ac_option >&5" |
---|
| 2496 | case "(($ac_try" in |
---|
| 2497 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2498 | *) ac_try_echo=$ac_try;; |
---|
| 2499 | esac |
---|
| 2500 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 2501 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 2502 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
---|
| 2503 | ac_status=$? |
---|
| 2504 | if test -s conftest.err; then |
---|
| 2505 | sed '10a\ |
---|
| 2506 | ... rest of stderr output deleted ... |
---|
| 2507 | 10q' conftest.err >conftest.er1 |
---|
| 2508 | cat conftest.er1 >&5 |
---|
| 2509 | fi |
---|
| 2510 | rm -f conftest.er1 conftest.err |
---|
| 2511 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 2512 | test $ac_status = 0; } |
---|
| 2513 | done |
---|
| 2514 | |
---|
| 2515 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 2516 | /* end confdefs.h. */ |
---|
| 2517 | |
---|
| 2518 | int |
---|
| 2519 | main () |
---|
| 2520 | { |
---|
| 2521 | |
---|
| 2522 | ; |
---|
| 2523 | return 0; |
---|
| 2524 | } |
---|
| 2525 | _ACEOF |
---|
| 2526 | ac_clean_files_save=$ac_clean_files |
---|
| 2527 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
---|
| 2528 | # Try to create an executable without -o first, disregard a.out. |
---|
| 2529 | # It will help us diagnose broken compilers, and finding out an intuition |
---|
| 2530 | # of exeext. |
---|
| 2531 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
---|
| 2532 | $as_echo_n "checking whether the C compiler works... " >&6; } |
---|
| 2533 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
---|
| 2534 | |
---|
| 2535 | # The possible output files: |
---|
| 2536 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
---|
| 2537 | |
---|
| 2538 | ac_rmfiles= |
---|
| 2539 | for ac_file in $ac_files |
---|
| 2540 | do |
---|
| 2541 | case $ac_file in |
---|
| 2542 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
---|
| 2543 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
---|
| 2544 | esac |
---|
| 2545 | done |
---|
| 2546 | rm -f $ac_rmfiles |
---|
| 2547 | |
---|
| 2548 | if { { ac_try="$ac_link_default" |
---|
| 2549 | case "(($ac_try" in |
---|
| 2550 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2551 | *) ac_try_echo=$ac_try;; |
---|
| 2552 | esac |
---|
| 2553 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 2554 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 2555 | (eval "$ac_link_default") 2>&5 |
---|
| 2556 | ac_status=$? |
---|
| 2557 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 2558 | test $ac_status = 0; }; then : |
---|
| 2559 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
---|
| 2560 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
---|
| 2561 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
---|
| 2562 | # so that the user can short-circuit this test for compilers unknown to |
---|
| 2563 | # Autoconf. |
---|
| 2564 | for ac_file in $ac_files '' |
---|
| 2565 | do |
---|
| 2566 | test -f "$ac_file" || continue |
---|
| 2567 | case $ac_file in |
---|
| 2568 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
---|
| 2569 | ;; |
---|
| 2570 | [ab].out ) |
---|
| 2571 | # We found the default executable, but exeext='' is most |
---|
| 2572 | # certainly right. |
---|
| 2573 | break;; |
---|
| 2574 | *.* ) |
---|
| 2575 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
---|
| 2576 | then :; else |
---|
| 2577 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
| 2578 | fi |
---|
| 2579 | # We set ac_cv_exeext here because the later test for it is not |
---|
| 2580 | # safe: cross compilers may not add the suffix if given an `-o' |
---|
| 2581 | # argument, so we may need to know it at that point already. |
---|
| 2582 | # Even if this section looks crufty: it has the advantage of |
---|
| 2583 | # actually working. |
---|
| 2584 | break;; |
---|
| 2585 | * ) |
---|
| 2586 | break;; |
---|
| 2587 | esac |
---|
| 2588 | done |
---|
| 2589 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
---|
| 2590 | |
---|
| 2591 | else |
---|
| 2592 | ac_file='' |
---|
| 2593 | fi |
---|
| 2594 | if test -z "$ac_file"; then : |
---|
| 2595 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2596 | $as_echo "no" >&6; } |
---|
| 2597 | $as_echo "$as_me: failed program was:" >&5 |
---|
| 2598 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2599 | |
---|
| 2600 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 2601 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 2602 | { as_fn_set_status 77 |
---|
| 2603 | as_fn_error "C compiler cannot create executables |
---|
| 2604 | See \`config.log' for more details." "$LINENO" 5; }; } |
---|
| 2605 | else |
---|
| 2606 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
| 2607 | $as_echo "yes" >&6; } |
---|
| 2608 | fi |
---|
| 2609 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
---|
| 2610 | $as_echo_n "checking for C compiler default output file name... " >&6; } |
---|
| 2611 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
---|
| 2612 | $as_echo "$ac_file" >&6; } |
---|
| 2613 | ac_exeext=$ac_cv_exeext |
---|
| 2614 | |
---|
| 2615 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
---|
| 2616 | ac_clean_files=$ac_clean_files_save |
---|
| 2617 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
---|
| 2618 | $as_echo_n "checking for suffix of executables... " >&6; } |
---|
| 2619 | if { { ac_try="$ac_link" |
---|
| 2620 | case "(($ac_try" in |
---|
| 2621 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2622 | *) ac_try_echo=$ac_try;; |
---|
| 2623 | esac |
---|
| 2624 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 2625 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 2626 | (eval "$ac_link") 2>&5 |
---|
| 2627 | ac_status=$? |
---|
| 2628 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 2629 | test $ac_status = 0; }; then : |
---|
| 2630 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
---|
| 2631 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
---|
| 2632 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
---|
| 2633 | # `rm'. |
---|
| 2634 | for ac_file in conftest.exe conftest conftest.*; do |
---|
| 2635 | test -f "$ac_file" || continue |
---|
| 2636 | case $ac_file in |
---|
| 2637 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
---|
| 2638 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
| 2639 | break;; |
---|
| 2640 | * ) break;; |
---|
| 2641 | esac |
---|
| 2642 | done |
---|
| 2643 | else |
---|
| 2644 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 2645 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 2646 | as_fn_error "cannot compute suffix of executables: cannot compile and link |
---|
| 2647 | See \`config.log' for more details." "$LINENO" 5; } |
---|
| 2648 | fi |
---|
| 2649 | rm -f conftest conftest$ac_cv_exeext |
---|
| 2650 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
---|
| 2651 | $as_echo "$ac_cv_exeext" >&6; } |
---|
| 2652 | |
---|
| 2653 | rm -f conftest.$ac_ext |
---|
| 2654 | EXEEXT=$ac_cv_exeext |
---|
| 2655 | ac_exeext=$EXEEXT |
---|
| 2656 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 2657 | /* end confdefs.h. */ |
---|
| 2658 | #include <stdio.h> |
---|
| 2659 | int |
---|
| 2660 | main () |
---|
| 2661 | { |
---|
| 2662 | FILE *f = fopen ("conftest.out", "w"); |
---|
| 2663 | return ferror (f) || fclose (f) != 0; |
---|
| 2664 | |
---|
| 2665 | ; |
---|
| 2666 | return 0; |
---|
| 2667 | } |
---|
| 2668 | _ACEOF |
---|
| 2669 | ac_clean_files="$ac_clean_files conftest.out" |
---|
| 2670 | # Check that the compiler produces executables we can run. If not, either |
---|
| 2671 | # the compiler is broken, or we cross compile. |
---|
| 2672 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
---|
| 2673 | $as_echo_n "checking whether we are cross compiling... " >&6; } |
---|
| 2674 | if test "$cross_compiling" != yes; then |
---|
| 2675 | { { ac_try="$ac_link" |
---|
| 2676 | case "(($ac_try" in |
---|
| 2677 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2678 | *) ac_try_echo=$ac_try;; |
---|
| 2679 | esac |
---|
| 2680 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 2681 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 2682 | (eval "$ac_link") 2>&5 |
---|
| 2683 | ac_status=$? |
---|
| 2684 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 2685 | test $ac_status = 0; } |
---|
| 2686 | if { ac_try='./conftest$ac_cv_exeext' |
---|
| 2687 | { { case "(($ac_try" in |
---|
| 2688 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2689 | *) ac_try_echo=$ac_try;; |
---|
| 2690 | esac |
---|
| 2691 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 2692 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 2693 | (eval "$ac_try") 2>&5 |
---|
| 2694 | ac_status=$? |
---|
| 2695 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 2696 | test $ac_status = 0; }; }; then |
---|
| 2697 | cross_compiling=no |
---|
| 2698 | else |
---|
| 2699 | if test "$cross_compiling" = maybe; then |
---|
| 2700 | cross_compiling=yes |
---|
| 2701 | else |
---|
| 2702 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 2703 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 2704 | as_fn_error "cannot run C compiled programs. |
---|
| 2705 | If you meant to cross compile, use \`--host'. |
---|
| 2706 | See \`config.log' for more details." "$LINENO" 5; } |
---|
| 2707 | fi |
---|
| 2708 | fi |
---|
| 2709 | fi |
---|
| 2710 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
---|
| 2711 | $as_echo "$cross_compiling" >&6; } |
---|
| 2712 | |
---|
| 2713 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
---|
| 2714 | ac_clean_files=$ac_clean_files_save |
---|
| 2715 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
---|
| 2716 | $as_echo_n "checking for suffix of object files... " >&6; } |
---|
| 2717 | if test "${ac_cv_objext+set}" = set; then : |
---|
| 2718 | $as_echo_n "(cached) " >&6 |
---|
| 2719 | else |
---|
| 2720 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 2721 | /* end confdefs.h. */ |
---|
| 2722 | |
---|
| 2723 | int |
---|
| 2724 | main () |
---|
| 2725 | { |
---|
| 2726 | |
---|
| 2727 | ; |
---|
| 2728 | return 0; |
---|
| 2729 | } |
---|
| 2730 | _ACEOF |
---|
| 2731 | rm -f conftest.o conftest.obj |
---|
| 2732 | if { { ac_try="$ac_compile" |
---|
| 2733 | case "(($ac_try" in |
---|
| 2734 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2735 | *) ac_try_echo=$ac_try;; |
---|
| 2736 | esac |
---|
| 2737 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 2738 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 2739 | (eval "$ac_compile") 2>&5 |
---|
| 2740 | ac_status=$? |
---|
| 2741 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 2742 | test $ac_status = 0; }; then : |
---|
| 2743 | for ac_file in conftest.o conftest.obj conftest.*; do |
---|
| 2744 | test -f "$ac_file" || continue; |
---|
| 2745 | case $ac_file in |
---|
| 2746 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
---|
| 2747 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
---|
| 2748 | break;; |
---|
| 2749 | esac |
---|
| 2750 | done |
---|
| 2751 | else |
---|
| 2752 | $as_echo "$as_me: failed program was:" >&5 |
---|
| 2753 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2754 | |
---|
| 2755 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 2756 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 2757 | as_fn_error "cannot compute suffix of object files: cannot compile |
---|
| 2758 | See \`config.log' for more details." "$LINENO" 5; } |
---|
| 2759 | fi |
---|
| 2760 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
---|
| 2761 | fi |
---|
| 2762 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
---|
| 2763 | $as_echo "$ac_cv_objext" >&6; } |
---|
| 2764 | OBJEXT=$ac_cv_objext |
---|
| 2765 | ac_objext=$OBJEXT |
---|
| 2766 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
---|
| 2767 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
---|
| 2768 | if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
---|
| 2769 | $as_echo_n "(cached) " >&6 |
---|
| 2770 | else |
---|
| 2771 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 2772 | /* end confdefs.h. */ |
---|
| 2773 | |
---|
| 2774 | int |
---|
| 2775 | main () |
---|
| 2776 | { |
---|
| 2777 | #ifndef __GNUC__ |
---|
| 2778 | choke me |
---|
| 2779 | #endif |
---|
| 2780 | |
---|
| 2781 | ; |
---|
| 2782 | return 0; |
---|
| 2783 | } |
---|
| 2784 | _ACEOF |
---|
| 2785 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 2786 | ac_compiler_gnu=yes |
---|
| 2787 | else |
---|
| 2788 | ac_compiler_gnu=no |
---|
| 2789 | fi |
---|
| 2790 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 2791 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
---|
| 2792 | |
---|
| 2793 | fi |
---|
| 2794 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
---|
| 2795 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
---|
| 2796 | if test $ac_compiler_gnu = yes; then |
---|
| 2797 | GCC=yes |
---|
| 2798 | else |
---|
| 2799 | GCC= |
---|
| 2800 | fi |
---|
| 2801 | ac_test_CFLAGS=${CFLAGS+set} |
---|
| 2802 | ac_save_CFLAGS=$CFLAGS |
---|
| 2803 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
---|
| 2804 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
---|
| 2805 | if test "${ac_cv_prog_cc_g+set}" = set; then : |
---|
| 2806 | $as_echo_n "(cached) " >&6 |
---|
| 2807 | else |
---|
| 2808 | ac_save_c_werror_flag=$ac_c_werror_flag |
---|
| 2809 | ac_c_werror_flag=yes |
---|
| 2810 | ac_cv_prog_cc_g=no |
---|
| 2811 | CFLAGS="-g" |
---|
| 2812 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 2813 | /* end confdefs.h. */ |
---|
| 2814 | |
---|
| 2815 | int |
---|
| 2816 | main () |
---|
| 2817 | { |
---|
| 2818 | |
---|
| 2819 | ; |
---|
| 2820 | return 0; |
---|
| 2821 | } |
---|
| 2822 | _ACEOF |
---|
| 2823 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 2824 | ac_cv_prog_cc_g=yes |
---|
| 2825 | else |
---|
| 2826 | CFLAGS="" |
---|
| 2827 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 2828 | /* end confdefs.h. */ |
---|
| 2829 | |
---|
| 2830 | int |
---|
| 2831 | main () |
---|
| 2832 | { |
---|
| 2833 | |
---|
| 2834 | ; |
---|
| 2835 | return 0; |
---|
| 2836 | } |
---|
| 2837 | _ACEOF |
---|
| 2838 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 2839 | |
---|
| 2840 | else |
---|
| 2841 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
| 2842 | CFLAGS="-g" |
---|
| 2843 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 2844 | /* end confdefs.h. */ |
---|
| 2845 | |
---|
| 2846 | int |
---|
| 2847 | main () |
---|
| 2848 | { |
---|
| 2849 | |
---|
| 2850 | ; |
---|
| 2851 | return 0; |
---|
| 2852 | } |
---|
| 2853 | _ACEOF |
---|
| 2854 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 2855 | ac_cv_prog_cc_g=yes |
---|
| 2856 | fi |
---|
| 2857 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 2858 | fi |
---|
| 2859 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 2860 | fi |
---|
| 2861 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 2862 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
| 2863 | fi |
---|
| 2864 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
---|
| 2865 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
---|
| 2866 | if test "$ac_test_CFLAGS" = set; then |
---|
| 2867 | CFLAGS=$ac_save_CFLAGS |
---|
| 2868 | elif test $ac_cv_prog_cc_g = yes; then |
---|
| 2869 | if test "$GCC" = yes; then |
---|
| 2870 | CFLAGS="-g -O2" |
---|
| 2871 | else |
---|
| 2872 | CFLAGS="-g" |
---|
| 2873 | fi |
---|
| 2874 | else |
---|
| 2875 | if test "$GCC" = yes; then |
---|
| 2876 | CFLAGS="-O2" |
---|
| 2877 | else |
---|
| 2878 | CFLAGS= |
---|
| 2879 | fi |
---|
| 2880 | fi |
---|
| 2881 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
---|
| 2882 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
---|
| 2883 | if test "${ac_cv_prog_cc_c89+set}" = set; then : |
---|
| 2884 | $as_echo_n "(cached) " >&6 |
---|
| 2885 | else |
---|
| 2886 | ac_cv_prog_cc_c89=no |
---|
| 2887 | ac_save_CC=$CC |
---|
| 2888 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 2889 | /* end confdefs.h. */ |
---|
| 2890 | #include <stdarg.h> |
---|
| 2891 | #include <stdio.h> |
---|
| 2892 | #include <sys/types.h> |
---|
| 2893 | #include <sys/stat.h> |
---|
| 2894 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
---|
| 2895 | struct buf { int x; }; |
---|
| 2896 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
---|
| 2897 | static char *e (p, i) |
---|
| 2898 | char **p; |
---|
| 2899 | int i; |
---|
| 2900 | { |
---|
| 2901 | return p[i]; |
---|
| 2902 | } |
---|
| 2903 | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
| 2904 | { |
---|
| 2905 | char *s; |
---|
| 2906 | va_list v; |
---|
| 2907 | va_start (v,p); |
---|
| 2908 | s = g (p, va_arg (v,int)); |
---|
| 2909 | va_end (v); |
---|
| 2910 | return s; |
---|
| 2911 | } |
---|
| 2912 | |
---|
| 2913 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
---|
| 2914 | function prototypes and stuff, but not '\xHH' hex character constants. |
---|
| 2915 | These don't provoke an error unfortunately, instead are silently treated |
---|
| 2916 | as 'x'. The following induces an error, until -std is added to get |
---|
| 2917 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
---|
| 2918 | array size at least. It's necessary to write '\x00'==0 to get something |
---|
| 2919 | that's true only with -std. */ |
---|
| 2920 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
---|
| 2921 | |
---|
| 2922 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
---|
| 2923 | inside strings and character constants. */ |
---|
| 2924 | #define FOO(x) 'x' |
---|
| 2925 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
---|
| 2926 | |
---|
| 2927 | int test (int i, double x); |
---|
| 2928 | struct s1 {int (*f) (int a);}; |
---|
| 2929 | struct s2 {int (*f) (double a);}; |
---|
| 2930 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
---|
| 2931 | int argc; |
---|
| 2932 | char **argv; |
---|
| 2933 | int |
---|
| 2934 | main () |
---|
| 2935 | { |
---|
| 2936 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
---|
| 2937 | ; |
---|
| 2938 | return 0; |
---|
| 2939 | } |
---|
| 2940 | _ACEOF |
---|
| 2941 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
---|
| 2942 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
---|
| 2943 | do |
---|
| 2944 | CC="$ac_save_CC $ac_arg" |
---|
| 2945 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 2946 | ac_cv_prog_cc_c89=$ac_arg |
---|
| 2947 | fi |
---|
| 2948 | rm -f core conftest.err conftest.$ac_objext |
---|
| 2949 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
---|
| 2950 | done |
---|
| 2951 | rm -f conftest.$ac_ext |
---|
| 2952 | CC=$ac_save_CC |
---|
| 2953 | |
---|
| 2954 | fi |
---|
| 2955 | # AC_CACHE_VAL |
---|
| 2956 | case "x$ac_cv_prog_cc_c89" in |
---|
| 2957 | x) |
---|
| 2958 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
---|
| 2959 | $as_echo "none needed" >&6; } ;; |
---|
| 2960 | xno) |
---|
| 2961 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
---|
| 2962 | $as_echo "unsupported" >&6; } ;; |
---|
| 2963 | *) |
---|
| 2964 | CC="$CC $ac_cv_prog_cc_c89" |
---|
| 2965 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
---|
| 2966 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
---|
| 2967 | esac |
---|
| 2968 | if test "x$ac_cv_prog_cc_c89" != xno; then : |
---|
| 2969 | |
---|
| 2970 | fi |
---|
| 2971 | |
---|
| 2972 | ac_ext=c |
---|
| 2973 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 2974 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 2975 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 2976 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 2977 | |
---|
| 2978 | ac_ext=cpp |
---|
| 2979 | ac_cpp='$CXXCPP $CPPFLAGS' |
---|
| 2980 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 2981 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 2982 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
---|
| 2983 | if test -z "$CXX"; then |
---|
| 2984 | if test -n "$CCC"; then |
---|
| 2985 | CXX=$CCC |
---|
| 2986 | else |
---|
| 2987 | if test -n "$ac_tool_prefix"; then |
---|
| 2988 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
---|
| 2989 | do |
---|
| 2990 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
| 2991 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
| 2992 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2993 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 2994 | if test "${ac_cv_prog_CXX+set}" = set; then : |
---|
| 2995 | $as_echo_n "(cached) " >&6 |
---|
| 2996 | else |
---|
| 2997 | if test -n "$CXX"; then |
---|
| 2998 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
---|
| 2999 | else |
---|
| 3000 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 3001 | for as_dir in $PATH |
---|
| 3002 | do |
---|
| 3003 | IFS=$as_save_IFS |
---|
| 3004 | test -z "$as_dir" && as_dir=. |
---|
| 3005 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 3006 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
| 3007 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
---|
| 3008 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 3009 | break 2 |
---|
| 3010 | fi |
---|
| 3011 | done |
---|
| 3012 | done |
---|
| 3013 | IFS=$as_save_IFS |
---|
| 3014 | |
---|
| 3015 | fi |
---|
| 3016 | fi |
---|
| 3017 | CXX=$ac_cv_prog_CXX |
---|
| 3018 | if test -n "$CXX"; then |
---|
| 3019 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 |
---|
| 3020 | $as_echo "$CXX" >&6; } |
---|
| 3021 | else |
---|
| 3022 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 3023 | $as_echo "no" >&6; } |
---|
| 3024 | fi |
---|
| 3025 | |
---|
| 3026 | |
---|
| 3027 | test -n "$CXX" && break |
---|
| 3028 | done |
---|
| 3029 | fi |
---|
| 3030 | if test -z "$CXX"; then |
---|
| 3031 | ac_ct_CXX=$CXX |
---|
| 3032 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
---|
| 3033 | do |
---|
| 3034 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
| 3035 | set dummy $ac_prog; ac_word=$2 |
---|
| 3036 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 3037 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 3038 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : |
---|
| 3039 | $as_echo_n "(cached) " >&6 |
---|
| 3040 | else |
---|
| 3041 | if test -n "$ac_ct_CXX"; then |
---|
| 3042 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
---|
| 3043 | else |
---|
| 3044 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 3045 | for as_dir in $PATH |
---|
| 3046 | do |
---|
| 3047 | IFS=$as_save_IFS |
---|
| 3048 | test -z "$as_dir" && as_dir=. |
---|
| 3049 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 3050 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
| 3051 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
---|
| 3052 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 3053 | break 2 |
---|
| 3054 | fi |
---|
| 3055 | done |
---|
| 3056 | done |
---|
| 3057 | IFS=$as_save_IFS |
---|
| 3058 | |
---|
| 3059 | fi |
---|
| 3060 | fi |
---|
| 3061 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
---|
| 3062 | if test -n "$ac_ct_CXX"; then |
---|
| 3063 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 |
---|
| 3064 | $as_echo "$ac_ct_CXX" >&6; } |
---|
| 3065 | else |
---|
| 3066 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 3067 | $as_echo "no" >&6; } |
---|
| 3068 | fi |
---|
| 3069 | |
---|
| 3070 | |
---|
| 3071 | test -n "$ac_ct_CXX" && break |
---|
| 3072 | done |
---|
| 3073 | |
---|
| 3074 | if test "x$ac_ct_CXX" = x; then |
---|
| 3075 | CXX="g++" |
---|
| 3076 | else |
---|
| 3077 | case $cross_compiling:$ac_tool_warned in |
---|
| 3078 | yes:) |
---|
| 3079 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
| 3080 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
| 3081 | ac_tool_warned=yes ;; |
---|
| 3082 | esac |
---|
| 3083 | CXX=$ac_ct_CXX |
---|
| 3084 | fi |
---|
| 3085 | fi |
---|
| 3086 | |
---|
| 3087 | fi |
---|
| 3088 | fi |
---|
| 3089 | # Provide some information about the compiler. |
---|
| 3090 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 |
---|
| 3091 | set X $ac_compile |
---|
| 3092 | ac_compiler=$2 |
---|
| 3093 | for ac_option in --version -v -V -qversion; do |
---|
| 3094 | { { ac_try="$ac_compiler $ac_option >&5" |
---|
| 3095 | case "(($ac_try" in |
---|
| 3096 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3097 | *) ac_try_echo=$ac_try;; |
---|
| 3098 | esac |
---|
| 3099 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 3100 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 3101 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
---|
| 3102 | ac_status=$? |
---|
| 3103 | if test -s conftest.err; then |
---|
| 3104 | sed '10a\ |
---|
| 3105 | ... rest of stderr output deleted ... |
---|
| 3106 | 10q' conftest.err >conftest.er1 |
---|
| 3107 | cat conftest.er1 >&5 |
---|
| 3108 | fi |
---|
| 3109 | rm -f conftest.er1 conftest.err |
---|
| 3110 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 3111 | test $ac_status = 0; } |
---|
| 3112 | done |
---|
| 3113 | |
---|
| 3114 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
---|
| 3115 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
---|
| 3116 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : |
---|
| 3117 | $as_echo_n "(cached) " >&6 |
---|
| 3118 | else |
---|
| 3119 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3120 | /* end confdefs.h. */ |
---|
| 3121 | |
---|
| 3122 | int |
---|
| 3123 | main () |
---|
| 3124 | { |
---|
| 3125 | #ifndef __GNUC__ |
---|
| 3126 | choke me |
---|
| 3127 | #endif |
---|
| 3128 | |
---|
| 3129 | ; |
---|
| 3130 | return 0; |
---|
| 3131 | } |
---|
| 3132 | _ACEOF |
---|
| 3133 | if ac_fn_cxx_try_compile "$LINENO"; then : |
---|
| 3134 | ac_compiler_gnu=yes |
---|
| 3135 | else |
---|
| 3136 | ac_compiler_gnu=no |
---|
| 3137 | fi |
---|
| 3138 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 3139 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
---|
| 3140 | |
---|
| 3141 | fi |
---|
| 3142 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 |
---|
| 3143 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } |
---|
| 3144 | if test $ac_compiler_gnu = yes; then |
---|
| 3145 | GXX=yes |
---|
| 3146 | else |
---|
| 3147 | GXX= |
---|
| 3148 | fi |
---|
| 3149 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
---|
| 3150 | ac_save_CXXFLAGS=$CXXFLAGS |
---|
| 3151 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
---|
| 3152 | $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
---|
| 3153 | if test "${ac_cv_prog_cxx_g+set}" = set; then : |
---|
| 3154 | $as_echo_n "(cached) " >&6 |
---|
| 3155 | else |
---|
| 3156 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
---|
| 3157 | ac_cxx_werror_flag=yes |
---|
| 3158 | ac_cv_prog_cxx_g=no |
---|
| 3159 | CXXFLAGS="-g" |
---|
| 3160 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3161 | /* end confdefs.h. */ |
---|
| 3162 | |
---|
| 3163 | int |
---|
| 3164 | main () |
---|
| 3165 | { |
---|
| 3166 | |
---|
| 3167 | ; |
---|
| 3168 | return 0; |
---|
| 3169 | } |
---|
| 3170 | _ACEOF |
---|
| 3171 | if ac_fn_cxx_try_compile "$LINENO"; then : |
---|
| 3172 | ac_cv_prog_cxx_g=yes |
---|
| 3173 | else |
---|
| 3174 | CXXFLAGS="" |
---|
| 3175 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3176 | /* end confdefs.h. */ |
---|
| 3177 | |
---|
| 3178 | int |
---|
| 3179 | main () |
---|
| 3180 | { |
---|
| 3181 | |
---|
| 3182 | ; |
---|
| 3183 | return 0; |
---|
| 3184 | } |
---|
| 3185 | _ACEOF |
---|
| 3186 | if ac_fn_cxx_try_compile "$LINENO"; then : |
---|
| 3187 | |
---|
| 3188 | else |
---|
| 3189 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
---|
| 3190 | CXXFLAGS="-g" |
---|
| 3191 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3192 | /* end confdefs.h. */ |
---|
| 3193 | |
---|
| 3194 | int |
---|
| 3195 | main () |
---|
| 3196 | { |
---|
| 3197 | |
---|
| 3198 | ; |
---|
| 3199 | return 0; |
---|
| 3200 | } |
---|
| 3201 | _ACEOF |
---|
| 3202 | if ac_fn_cxx_try_compile "$LINENO"; then : |
---|
| 3203 | ac_cv_prog_cxx_g=yes |
---|
| 3204 | fi |
---|
| 3205 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 3206 | fi |
---|
| 3207 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 3208 | fi |
---|
| 3209 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 3210 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
---|
| 3211 | fi |
---|
| 3212 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 |
---|
| 3213 | $as_echo "$ac_cv_prog_cxx_g" >&6; } |
---|
| 3214 | if test "$ac_test_CXXFLAGS" = set; then |
---|
| 3215 | CXXFLAGS=$ac_save_CXXFLAGS |
---|
| 3216 | elif test $ac_cv_prog_cxx_g = yes; then |
---|
| 3217 | if test "$GXX" = yes; then |
---|
| 3218 | CXXFLAGS="-g -O2" |
---|
| 3219 | else |
---|
| 3220 | CXXFLAGS="-g" |
---|
| 3221 | fi |
---|
| 3222 | else |
---|
| 3223 | if test "$GXX" = yes; then |
---|
| 3224 | CXXFLAGS="-O2" |
---|
| 3225 | else |
---|
| 3226 | CXXFLAGS= |
---|
| 3227 | fi |
---|
| 3228 | fi |
---|
| 3229 | ac_ext=c |
---|
| 3230 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 3231 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 3232 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 3233 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 3234 | |
---|
| 3235 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
---|
| 3236 | $as_echo_n "checking whether ln -s works... " >&6; } |
---|
| 3237 | LN_S=$as_ln_s |
---|
| 3238 | if test "$LN_S" = "ln -s"; then |
---|
| 3239 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
| 3240 | $as_echo "yes" >&6; } |
---|
| 3241 | else |
---|
| 3242 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
---|
| 3243 | $as_echo "no, using $LN_S" >&6; } |
---|
| 3244 | fi |
---|
| 3245 | |
---|
| 3246 | ac_aux_dir= |
---|
| 3247 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
---|
| 3248 | for ac_t in install-sh install.sh shtool; do |
---|
| 3249 | if test -f "$ac_dir/$ac_t"; then |
---|
| 3250 | ac_aux_dir=$ac_dir |
---|
| 3251 | ac_install_sh="$ac_aux_dir/$ac_t -c" |
---|
| 3252 | break 2 |
---|
| 3253 | fi |
---|
| 3254 | done |
---|
| 3255 | done |
---|
| 3256 | if test -z "$ac_aux_dir"; then |
---|
| 3257 | as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
---|
| 3258 | fi |
---|
| 3259 | |
---|
| 3260 | # These three variables are undocumented and unsupported, |
---|
| 3261 | # and are intended to be withdrawn in a future Autoconf release. |
---|
| 3262 | # They can cause serious problems if a builder's source tree is in a directory |
---|
| 3263 | # whose full name contains unusual characters. |
---|
| 3264 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
---|
| 3265 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
---|
| 3266 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
---|
| 3267 | |
---|
| 3268 | |
---|
| 3269 | # Find a good install program. We prefer a C program (faster), |
---|
| 3270 | # so one script is as good as another. But avoid the broken or |
---|
| 3271 | # incompatible versions: |
---|
| 3272 | # SysV /etc/install, /usr/sbin/install |
---|
| 3273 | # SunOS /usr/etc/install |
---|
| 3274 | # IRIX /sbin/install |
---|
| 3275 | # AIX /bin/install |
---|
| 3276 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
---|
| 3277 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
---|
| 3278 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
---|
| 3279 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
---|
| 3280 | # OS/2's system install, which has a completely different semantic |
---|
| 3281 | # ./install, which can be erroneously created by make from ./install.sh. |
---|
| 3282 | # Reject install programs that cannot install multiple files. |
---|
| 3283 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
---|
| 3284 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
---|
| 3285 | if test -z "$INSTALL"; then |
---|
| 3286 | if test "${ac_cv_path_install+set}" = set; then : |
---|
| 3287 | $as_echo_n "(cached) " >&6 |
---|
| 3288 | else |
---|
| 3289 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 3290 | for as_dir in $PATH |
---|
| 3291 | do |
---|
| 3292 | IFS=$as_save_IFS |
---|
| 3293 | test -z "$as_dir" && as_dir=. |
---|
| 3294 | # Account for people who put trailing slashes in PATH elements. |
---|
| 3295 | case $as_dir/ in #(( |
---|
| 3296 | ./ | .// | /[cC]/* | \ |
---|
| 3297 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
---|
| 3298 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
---|
| 3299 | /usr/ucb/* ) ;; |
---|
| 3300 | *) |
---|
| 3301 | # OSF1 and SCO ODT 3.0 have their own names for install. |
---|
| 3302 | # Don't use installbsd from OSF since it installs stuff as root |
---|
| 3303 | # by default. |
---|
| 3304 | for ac_prog in ginstall scoinst install; do |
---|
| 3305 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 3306 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
---|
| 3307 | if test $ac_prog = install && |
---|
| 3308 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
| 3309 | # AIX install. It has an incompatible calling convention. |
---|
| 3310 | : |
---|
| 3311 | elif test $ac_prog = install && |
---|
| 3312 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
| 3313 | # program-specific install script used by HP pwplus--don't use. |
---|
| 3314 | : |
---|
| 3315 | else |
---|
| 3316 | rm -rf conftest.one conftest.two conftest.dir |
---|
| 3317 | echo one > conftest.one |
---|
| 3318 | echo two > conftest.two |
---|
| 3319 | mkdir conftest.dir |
---|
| 3320 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
---|
| 3321 | test -s conftest.one && test -s conftest.two && |
---|
| 3322 | test -s conftest.dir/conftest.one && |
---|
| 3323 | test -s conftest.dir/conftest.two |
---|
| 3324 | then |
---|
| 3325 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
---|
| 3326 | break 3 |
---|
| 3327 | fi |
---|
| 3328 | fi |
---|
| 3329 | fi |
---|
| 3330 | done |
---|
| 3331 | done |
---|
| 3332 | ;; |
---|
| 3333 | esac |
---|
| 3334 | |
---|
| 3335 | done |
---|
| 3336 | IFS=$as_save_IFS |
---|
| 3337 | |
---|
| 3338 | rm -rf conftest.one conftest.two conftest.dir |
---|
| 3339 | |
---|
| 3340 | fi |
---|
| 3341 | if test "${ac_cv_path_install+set}" = set; then |
---|
| 3342 | INSTALL=$ac_cv_path_install |
---|
| 3343 | else |
---|
| 3344 | # As a last resort, use the slow shell script. Don't cache a |
---|
| 3345 | # value for INSTALL within a source directory, because that will |
---|
| 3346 | # break other packages using the cache if that directory is |
---|
| 3347 | # removed, or if the value is a relative name. |
---|
| 3348 | INSTALL=$ac_install_sh |
---|
| 3349 | fi |
---|
| 3350 | fi |
---|
| 3351 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
---|
| 3352 | $as_echo "$INSTALL" >&6; } |
---|
| 3353 | |
---|
| 3354 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
---|
| 3355 | # It thinks the first close brace ends the variable substitution. |
---|
| 3356 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
---|
| 3357 | |
---|
| 3358 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
---|
| 3359 | |
---|
| 3360 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
---|
| 3361 | |
---|
| 3362 | |
---|
| 3363 | # Checks for libraries. |
---|
| 3364 | |
---|
| 3365 | # Checks for header files. |
---|
| 3366 | |
---|
| 3367 | ac_ext=c |
---|
| 3368 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 3369 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 3370 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 3371 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 3372 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
---|
| 3373 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
---|
| 3374 | # On Suns, sometimes $CPP names a directory. |
---|
| 3375 | if test -n "$CPP" && test -d "$CPP"; then |
---|
| 3376 | CPP= |
---|
| 3377 | fi |
---|
| 3378 | if test -z "$CPP"; then |
---|
| 3379 | if test "${ac_cv_prog_CPP+set}" = set; then : |
---|
| 3380 | $as_echo_n "(cached) " >&6 |
---|
| 3381 | else |
---|
| 3382 | # Double quotes because CPP needs to be expanded |
---|
| 3383 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
---|
| 3384 | do |
---|
| 3385 | ac_preproc_ok=false |
---|
| 3386 | for ac_c_preproc_warn_flag in '' yes |
---|
| 3387 | do |
---|
| 3388 | # Use a header file that comes with gcc, so configuring glibc |
---|
| 3389 | # with a fresh cross-compiler works. |
---|
| 3390 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
| 3391 | # <limits.h> exists even on freestanding compilers. |
---|
| 3392 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
| 3393 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
| 3394 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3395 | /* end confdefs.h. */ |
---|
| 3396 | #ifdef __STDC__ |
---|
| 3397 | # include <limits.h> |
---|
| 3398 | #else |
---|
| 3399 | # include <assert.h> |
---|
| 3400 | #endif |
---|
| 3401 | Syntax error |
---|
| 3402 | _ACEOF |
---|
| 3403 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
| 3404 | |
---|
| 3405 | else |
---|
| 3406 | # Broken: fails on valid input. |
---|
| 3407 | continue |
---|
| 3408 | fi |
---|
| 3409 | rm -f conftest.err conftest.$ac_ext |
---|
| 3410 | |
---|
| 3411 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
| 3412 | # can be detected and how. |
---|
| 3413 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3414 | /* end confdefs.h. */ |
---|
| 3415 | #include <ac_nonexistent.h> |
---|
| 3416 | _ACEOF |
---|
| 3417 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
| 3418 | # Broken: success on invalid input. |
---|
| 3419 | continue |
---|
| 3420 | else |
---|
| 3421 | # Passes both tests. |
---|
| 3422 | ac_preproc_ok=: |
---|
| 3423 | break |
---|
| 3424 | fi |
---|
| 3425 | rm -f conftest.err conftest.$ac_ext |
---|
| 3426 | |
---|
| 3427 | done |
---|
| 3428 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
| 3429 | rm -f conftest.err conftest.$ac_ext |
---|
| 3430 | if $ac_preproc_ok; then : |
---|
| 3431 | break |
---|
| 3432 | fi |
---|
| 3433 | |
---|
| 3434 | done |
---|
| 3435 | ac_cv_prog_CPP=$CPP |
---|
| 3436 | |
---|
| 3437 | fi |
---|
| 3438 | CPP=$ac_cv_prog_CPP |
---|
| 3439 | else |
---|
| 3440 | ac_cv_prog_CPP=$CPP |
---|
| 3441 | fi |
---|
| 3442 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
---|
| 3443 | $as_echo "$CPP" >&6; } |
---|
| 3444 | ac_preproc_ok=false |
---|
| 3445 | for ac_c_preproc_warn_flag in '' yes |
---|
| 3446 | do |
---|
| 3447 | # Use a header file that comes with gcc, so configuring glibc |
---|
| 3448 | # with a fresh cross-compiler works. |
---|
| 3449 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
| 3450 | # <limits.h> exists even on freestanding compilers. |
---|
| 3451 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
| 3452 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
| 3453 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3454 | /* end confdefs.h. */ |
---|
| 3455 | #ifdef __STDC__ |
---|
| 3456 | # include <limits.h> |
---|
| 3457 | #else |
---|
| 3458 | # include <assert.h> |
---|
| 3459 | #endif |
---|
| 3460 | Syntax error |
---|
| 3461 | _ACEOF |
---|
| 3462 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
| 3463 | |
---|
| 3464 | else |
---|
| 3465 | # Broken: fails on valid input. |
---|
| 3466 | continue |
---|
| 3467 | fi |
---|
| 3468 | rm -f conftest.err conftest.$ac_ext |
---|
| 3469 | |
---|
| 3470 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
| 3471 | # can be detected and how. |
---|
| 3472 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3473 | /* end confdefs.h. */ |
---|
| 3474 | #include <ac_nonexistent.h> |
---|
| 3475 | _ACEOF |
---|
| 3476 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
| 3477 | # Broken: success on invalid input. |
---|
| 3478 | continue |
---|
| 3479 | else |
---|
| 3480 | # Passes both tests. |
---|
| 3481 | ac_preproc_ok=: |
---|
| 3482 | break |
---|
| 3483 | fi |
---|
| 3484 | rm -f conftest.err conftest.$ac_ext |
---|
| 3485 | |
---|
| 3486 | done |
---|
| 3487 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
| 3488 | rm -f conftest.err conftest.$ac_ext |
---|
| 3489 | if $ac_preproc_ok; then : |
---|
| 3490 | |
---|
| 3491 | else |
---|
| 3492 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 3493 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 3494 | as_fn_error "C preprocessor \"$CPP\" fails sanity check |
---|
| 3495 | See \`config.log' for more details." "$LINENO" 5; } |
---|
| 3496 | fi |
---|
| 3497 | |
---|
| 3498 | ac_ext=c |
---|
| 3499 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 3500 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 3501 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 3502 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 3503 | |
---|
| 3504 | |
---|
| 3505 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
---|
| 3506 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
---|
| 3507 | if test "${ac_cv_path_GREP+set}" = set; then : |
---|
| 3508 | $as_echo_n "(cached) " >&6 |
---|
| 3509 | else |
---|
| 3510 | if test -z "$GREP"; then |
---|
| 3511 | ac_path_GREP_found=false |
---|
| 3512 | # Loop through the user's path and test for each of PROGNAME-LIST |
---|
| 3513 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 3514 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
---|
| 3515 | do |
---|
| 3516 | IFS=$as_save_IFS |
---|
| 3517 | test -z "$as_dir" && as_dir=. |
---|
| 3518 | for ac_prog in grep ggrep; do |
---|
| 3519 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 3520 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
---|
| 3521 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
---|
| 3522 | # Check for GNU ac_path_GREP and select it if it is found. |
---|
| 3523 | # Check for GNU $ac_path_GREP |
---|
| 3524 | case `"$ac_path_GREP" --version 2>&1` in |
---|
| 3525 | *GNU*) |
---|
| 3526 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
---|
| 3527 | *) |
---|
| 3528 | ac_count=0 |
---|
| 3529 | $as_echo_n 0123456789 >"conftest.in" |
---|
| 3530 | while : |
---|
| 3531 | do |
---|
| 3532 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
---|
| 3533 | mv "conftest.tmp" "conftest.in" |
---|
| 3534 | cp "conftest.in" "conftest.nl" |
---|
| 3535 | $as_echo 'GREP' >> "conftest.nl" |
---|
| 3536 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
---|
| 3537 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
---|
| 3538 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
---|
| 3539 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
---|
| 3540 | # Best one so far, save it but keep looking for a better one |
---|
| 3541 | ac_cv_path_GREP="$ac_path_GREP" |
---|
| 3542 | ac_path_GREP_max=$ac_count |
---|
| 3543 | fi |
---|
| 3544 | # 10*(2^10) chars as input seems more than enough |
---|
| 3545 | test $ac_count -gt 10 && break |
---|
| 3546 | done |
---|
| 3547 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
---|
| 3548 | esac |
---|
| 3549 | |
---|
| 3550 | $ac_path_GREP_found && break 3 |
---|
| 3551 | done |
---|
| 3552 | done |
---|
| 3553 | done |
---|
| 3554 | IFS=$as_save_IFS |
---|
| 3555 | if test -z "$ac_cv_path_GREP"; then |
---|
| 3556 | as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
---|
| 3557 | fi |
---|
| 3558 | else |
---|
| 3559 | ac_cv_path_GREP=$GREP |
---|
| 3560 | fi |
---|
| 3561 | |
---|
| 3562 | fi |
---|
| 3563 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
---|
| 3564 | $as_echo "$ac_cv_path_GREP" >&6; } |
---|
| 3565 | GREP="$ac_cv_path_GREP" |
---|
| 3566 | |
---|
| 3567 | |
---|
| 3568 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
---|
| 3569 | $as_echo_n "checking for egrep... " >&6; } |
---|
| 3570 | if test "${ac_cv_path_EGREP+set}" = set; then : |
---|
| 3571 | $as_echo_n "(cached) " >&6 |
---|
| 3572 | else |
---|
| 3573 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
---|
| 3574 | then ac_cv_path_EGREP="$GREP -E" |
---|
| 3575 | else |
---|
| 3576 | if test -z "$EGREP"; then |
---|
| 3577 | ac_path_EGREP_found=false |
---|
| 3578 | # Loop through the user's path and test for each of PROGNAME-LIST |
---|
| 3579 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 3580 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
---|
| 3581 | do |
---|
| 3582 | IFS=$as_save_IFS |
---|
| 3583 | test -z "$as_dir" && as_dir=. |
---|
| 3584 | for ac_prog in egrep; do |
---|
| 3585 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 3586 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
---|
| 3587 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
---|
| 3588 | # Check for GNU ac_path_EGREP and select it if it is found. |
---|
| 3589 | # Check for GNU $ac_path_EGREP |
---|
| 3590 | case `"$ac_path_EGREP" --version 2>&1` in |
---|
| 3591 | *GNU*) |
---|
| 3592 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
---|
| 3593 | *) |
---|
| 3594 | ac_count=0 |
---|
| 3595 | $as_echo_n 0123456789 >"conftest.in" |
---|
| 3596 | while : |
---|
| 3597 | do |
---|
| 3598 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
---|
| 3599 | mv "conftest.tmp" "conftest.in" |
---|
| 3600 | cp "conftest.in" "conftest.nl" |
---|
| 3601 | $as_echo 'EGREP' >> "conftest.nl" |
---|
| 3602 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
---|
| 3603 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
---|
| 3604 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
---|
| 3605 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
---|
| 3606 | # Best one so far, save it but keep looking for a better one |
---|
| 3607 | ac_cv_path_EGREP="$ac_path_EGREP" |
---|
| 3608 | ac_path_EGREP_max=$ac_count |
---|
| 3609 | fi |
---|
| 3610 | # 10*(2^10) chars as input seems more than enough |
---|
| 3611 | test $ac_count -gt 10 && break |
---|
| 3612 | done |
---|
| 3613 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
---|
| 3614 | esac |
---|
| 3615 | |
---|
| 3616 | $ac_path_EGREP_found && break 3 |
---|
| 3617 | done |
---|
| 3618 | done |
---|
| 3619 | done |
---|
| 3620 | IFS=$as_save_IFS |
---|
| 3621 | if test -z "$ac_cv_path_EGREP"; then |
---|
| 3622 | as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
---|
| 3623 | fi |
---|
| 3624 | else |
---|
| 3625 | ac_cv_path_EGREP=$EGREP |
---|
| 3626 | fi |
---|
| 3627 | |
---|
| 3628 | fi |
---|
| 3629 | fi |
---|
| 3630 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
---|
| 3631 | $as_echo "$ac_cv_path_EGREP" >&6; } |
---|
| 3632 | EGREP="$ac_cv_path_EGREP" |
---|
| 3633 | |
---|
| 3634 | |
---|
| 3635 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
---|
| 3636 | $as_echo_n "checking for ANSI C header files... " >&6; } |
---|
| 3637 | if test "${ac_cv_header_stdc+set}" = set; then : |
---|
| 3638 | $as_echo_n "(cached) " >&6 |
---|
| 3639 | else |
---|
| 3640 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3641 | /* end confdefs.h. */ |
---|
| 3642 | #include <stdlib.h> |
---|
| 3643 | #include <stdarg.h> |
---|
| 3644 | #include <string.h> |
---|
| 3645 | #include <float.h> |
---|
| 3646 | |
---|
| 3647 | int |
---|
| 3648 | main () |
---|
| 3649 | { |
---|
| 3650 | |
---|
| 3651 | ; |
---|
| 3652 | return 0; |
---|
| 3653 | } |
---|
| 3654 | _ACEOF |
---|
| 3655 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 3656 | ac_cv_header_stdc=yes |
---|
| 3657 | else |
---|
| 3658 | ac_cv_header_stdc=no |
---|
| 3659 | fi |
---|
| 3660 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 3661 | |
---|
| 3662 | if test $ac_cv_header_stdc = yes; then |
---|
| 3663 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
---|
| 3664 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3665 | /* end confdefs.h. */ |
---|
| 3666 | #include <string.h> |
---|
| 3667 | |
---|
| 3668 | _ACEOF |
---|
| 3669 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
| 3670 | $EGREP "memchr" >/dev/null 2>&1; then : |
---|
| 3671 | |
---|
| 3672 | else |
---|
| 3673 | ac_cv_header_stdc=no |
---|
| 3674 | fi |
---|
| 3675 | rm -f conftest* |
---|
| 3676 | |
---|
| 3677 | fi |
---|
| 3678 | |
---|
| 3679 | if test $ac_cv_header_stdc = yes; then |
---|
| 3680 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
---|
| 3681 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3682 | /* end confdefs.h. */ |
---|
| 3683 | #include <stdlib.h> |
---|
| 3684 | |
---|
| 3685 | _ACEOF |
---|
| 3686 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
| 3687 | $EGREP "free" >/dev/null 2>&1; then : |
---|
| 3688 | |
---|
| 3689 | else |
---|
| 3690 | ac_cv_header_stdc=no |
---|
| 3691 | fi |
---|
| 3692 | rm -f conftest* |
---|
| 3693 | |
---|
| 3694 | fi |
---|
| 3695 | |
---|
| 3696 | if test $ac_cv_header_stdc = yes; then |
---|
| 3697 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
---|
| 3698 | if test "$cross_compiling" = yes; then : |
---|
| 3699 | : |
---|
| 3700 | else |
---|
| 3701 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3702 | /* end confdefs.h. */ |
---|
| 3703 | #include <ctype.h> |
---|
| 3704 | #include <stdlib.h> |
---|
| 3705 | #if ((' ' & 0x0FF) == 0x020) |
---|
| 3706 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
---|
| 3707 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
---|
| 3708 | #else |
---|
| 3709 | # define ISLOWER(c) \ |
---|
| 3710 | (('a' <= (c) && (c) <= 'i') \ |
---|
| 3711 | || ('j' <= (c) && (c) <= 'r') \ |
---|
| 3712 | || ('s' <= (c) && (c) <= 'z')) |
---|
| 3713 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
---|
| 3714 | #endif |
---|
| 3715 | |
---|
| 3716 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
---|
| 3717 | int |
---|
| 3718 | main () |
---|
| 3719 | { |
---|
| 3720 | int i; |
---|
| 3721 | for (i = 0; i < 256; i++) |
---|
| 3722 | if (XOR (islower (i), ISLOWER (i)) |
---|
| 3723 | || toupper (i) != TOUPPER (i)) |
---|
| 3724 | return 2; |
---|
| 3725 | return 0; |
---|
| 3726 | } |
---|
| 3727 | _ACEOF |
---|
| 3728 | if ac_fn_c_try_run "$LINENO"; then : |
---|
| 3729 | |
---|
| 3730 | else |
---|
| 3731 | ac_cv_header_stdc=no |
---|
| 3732 | fi |
---|
| 3733 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
---|
| 3734 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
---|
| 3735 | fi |
---|
| 3736 | |
---|
| 3737 | fi |
---|
| 3738 | fi |
---|
| 3739 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
---|
| 3740 | $as_echo "$ac_cv_header_stdc" >&6; } |
---|
| 3741 | if test $ac_cv_header_stdc = yes; then |
---|
| 3742 | |
---|
| 3743 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
---|
| 3744 | |
---|
| 3745 | fi |
---|
| 3746 | |
---|
| 3747 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
---|
| 3748 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
---|
| 3749 | inttypes.h stdint.h unistd.h |
---|
| 3750 | do : |
---|
| 3751 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
| 3752 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
---|
| 3753 | " |
---|
| 3754 | eval as_val=\$$as_ac_Header |
---|
| 3755 | if test "x$as_val" = x""yes; then : |
---|
| 3756 | cat >>confdefs.h <<_ACEOF |
---|
| 3757 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
| 3758 | _ACEOF |
---|
| 3759 | |
---|
| 3760 | fi |
---|
| 3761 | |
---|
| 3762 | done |
---|
| 3763 | |
---|
| 3764 | |
---|
| 3765 | for ac_header in limits.h |
---|
| 3766 | do : |
---|
| 3767 | ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" |
---|
| 3768 | if test "x$ac_cv_header_limits_h" = x""yes; then : |
---|
| 3769 | cat >>confdefs.h <<_ACEOF |
---|
| 3770 | #define HAVE_LIMITS_H 1 |
---|
| 3771 | _ACEOF |
---|
| 3772 | |
---|
| 3773 | fi |
---|
| 3774 | |
---|
| 3775 | done |
---|
| 3776 | |
---|
| 3777 | |
---|
| 3778 | # Checks for typedefs, structures, and compiler characteristics. |
---|
| 3779 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
---|
| 3780 | $as_echo_n "checking for inline... " >&6; } |
---|
| 3781 | if test "${ac_cv_c_inline+set}" = set; then : |
---|
| 3782 | $as_echo_n "(cached) " >&6 |
---|
| 3783 | else |
---|
| 3784 | ac_cv_c_inline=no |
---|
| 3785 | for ac_kw in inline __inline__ __inline; do |
---|
| 3786 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3787 | /* end confdefs.h. */ |
---|
| 3788 | #ifndef __cplusplus |
---|
| 3789 | typedef int foo_t; |
---|
| 3790 | static $ac_kw foo_t static_foo () {return 0; } |
---|
| 3791 | $ac_kw foo_t foo () {return 0; } |
---|
| 3792 | #endif |
---|
| 3793 | |
---|
| 3794 | _ACEOF |
---|
| 3795 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 3796 | ac_cv_c_inline=$ac_kw |
---|
| 3797 | fi |
---|
| 3798 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 3799 | test "$ac_cv_c_inline" != no && break |
---|
| 3800 | done |
---|
| 3801 | |
---|
| 3802 | fi |
---|
| 3803 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 |
---|
| 3804 | $as_echo "$ac_cv_c_inline" >&6; } |
---|
| 3805 | |
---|
| 3806 | case $ac_cv_c_inline in |
---|
| 3807 | inline | yes) ;; |
---|
| 3808 | *) |
---|
| 3809 | case $ac_cv_c_inline in |
---|
| 3810 | no) ac_val=;; |
---|
| 3811 | *) ac_val=$ac_cv_c_inline;; |
---|
| 3812 | esac |
---|
| 3813 | cat >>confdefs.h <<_ACEOF |
---|
| 3814 | #ifndef __cplusplus |
---|
| 3815 | #define inline $ac_val |
---|
| 3816 | #endif |
---|
| 3817 | _ACEOF |
---|
| 3818 | ;; |
---|
| 3819 | esac |
---|
| 3820 | |
---|
| 3821 | |
---|
| 3822 | # Checks for library functions. |
---|
| 3823 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking CPU for singular" >&5 |
---|
| 3824 | $as_echo_n "checking CPU for singular... " >&6; } |
---|
| 3825 | |
---|
| 3826 | # check for cpu properties: |
---|
| 3827 | # The cast to long int works around a bug in the HP C Compiler |
---|
| 3828 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
---|
| 3829 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
---|
| 3830 | # This bug is HP SR number 8606223364. |
---|
| 3831 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 |
---|
| 3832 | $as_echo_n "checking size of long... " >&6; } |
---|
| 3833 | if test "${ac_cv_sizeof_long+set}" = set; then : |
---|
| 3834 | $as_echo_n "(cached) " >&6 |
---|
| 3835 | else |
---|
| 3836 | if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : |
---|
| 3837 | |
---|
| 3838 | else |
---|
| 3839 | if test "$ac_cv_type_long" = yes; then |
---|
| 3840 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 3841 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 3842 | { as_fn_set_status 77 |
---|
| 3843 | as_fn_error "cannot compute sizeof (long) |
---|
| 3844 | See \`config.log' for more details." "$LINENO" 5; }; } |
---|
| 3845 | else |
---|
| 3846 | ac_cv_sizeof_long=0 |
---|
| 3847 | fi |
---|
| 3848 | fi |
---|
| 3849 | |
---|
| 3850 | fi |
---|
| 3851 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 |
---|
| 3852 | $as_echo "$ac_cv_sizeof_long" >&6; } |
---|
| 3853 | |
---|
| 3854 | |
---|
| 3855 | |
---|
| 3856 | cat >>confdefs.h <<_ACEOF |
---|
| 3857 | #define SIZEOF_LONG $ac_cv_sizeof_long |
---|
| 3858 | _ACEOF |
---|
| 3859 | |
---|
| 3860 | |
---|
| 3861 | |
---|
| 3862 | ac_cv_singcpuname=`uname -m` |
---|
| 3863 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_singcpuname" >&5 |
---|
| 3864 | $as_echo "$ac_cv_singcpuname" >&6; } |
---|
| 3865 | |
---|
| 3866 | if test "$ac_cv_singuname" = ix86-Win; then |
---|
| 3867 | EXEC_EXT=".exe" |
---|
| 3868 | $as_echo "#define SI_CPU_I386 1" >>confdefs.h |
---|
| 3869 | |
---|
| 3870 | |
---|
| 3871 | fi |
---|
| 3872 | |
---|
| 3873 | if test "$ac_cv_singuname" = x86_64-Linux; then |
---|
| 3874 | $as_echo "#define SI_CPU_X86_64 1" >>confdefs.h |
---|
| 3875 | |
---|
| 3876 | |
---|
| 3877 | fi |
---|
| 3878 | if test "$ac_cv_singuname" = ix86-Linux; then |
---|
| 3879 | $as_echo "#define SI_CPU_I386 1" >>confdefs.h |
---|
| 3880 | |
---|
| 3881 | |
---|
| 3882 | fi |
---|
| 3883 | if test "$ac_cv_singuname" = IA64-Linux; then |
---|
| 3884 | $as_echo "#define SI_CPU_IA64 1" >>confdefs.h |
---|
| 3885 | |
---|
| 3886 | |
---|
| 3887 | fi |
---|
| 3888 | if test "$ac_cv_singuname" = ppc-Linux; then |
---|
| 3889 | $as_echo "#define SI_CPU_PPC 1" >>confdefs.h |
---|
| 3890 | |
---|
| 3891 | |
---|
| 3892 | fi |
---|
| 3893 | if test "$ac_cv_singuname" = ppcMac-darwin; then |
---|
| 3894 | $as_echo "#define SI_CPU_PPC 1" >>confdefs.h |
---|
| 3895 | |
---|
| 3896 | |
---|
| 3897 | fi |
---|
| 3898 | # test again with CPU names |
---|
| 3899 | if test "$ac_cv_singcpuname" = i386; then |
---|
| 3900 | $as_echo "#define SI_CPU_I386 1" >>confdefs.h |
---|
| 3901 | |
---|
| 3902 | |
---|
| 3903 | fi |
---|
| 3904 | if test "$ac_cv_singcpuname" = i686; then |
---|
| 3905 | $as_echo "#define SI_CPU_I386 1" >>confdefs.h |
---|
| 3906 | |
---|
| 3907 | |
---|
| 3908 | fi |
---|
| 3909 | if test "$ac_cv_singcpuname" = x86_64; then |
---|
| 3910 | $as_echo "#define SI_CPU_X86_64 1" >>confdefs.h |
---|
| 3911 | |
---|
| 3912 | |
---|
| 3913 | fi |
---|
| 3914 | if test "$ac_cv_singcpuname" = ia64; then |
---|
| 3915 | $as_echo "#define SI_CPU_IA64 1" >>confdefs.h |
---|
| 3916 | |
---|
| 3917 | |
---|
| 3918 | fi |
---|
| 3919 | if test "$ac_cv_singcpuname" = sparc; then |
---|
| 3920 | $as_echo "#define SI_CPU_SPARC 1" >>confdefs.h |
---|
| 3921 | |
---|
| 3922 | |
---|
| 3923 | fi |
---|
| 3924 | if test "$ac_cv_singcpuname" = ppc; then |
---|
| 3925 | $as_echo "#define SI_CPU_PPC 1" >>confdefs.h |
---|
| 3926 | |
---|
| 3927 | |
---|
| 3928 | fi |
---|
| 3929 | |
---|
| 3930 | |
---|
| 3931 | ac_config_files="$ac_config_files Makefile" |
---|
| 3932 | |
---|
| 3933 | cat >confcache <<\_ACEOF |
---|
| 3934 | # This file is a shell script that caches the results of configure |
---|
| 3935 | # tests run on this system so they can be shared between configure |
---|
| 3936 | # scripts and configure runs, see configure's option --config-cache. |
---|
| 3937 | # It is not useful on other systems. If it contains results you don't |
---|
| 3938 | # want to keep, you may remove or edit it. |
---|
| 3939 | # |
---|
| 3940 | # config.status only pays attention to the cache file if you give it |
---|
| 3941 | # the --recheck option to rerun configure. |
---|
| 3942 | # |
---|
| 3943 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
---|
| 3944 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
---|
| 3945 | # following values. |
---|
| 3946 | |
---|
| 3947 | _ACEOF |
---|
| 3948 | |
---|
| 3949 | # The following way of writing the cache mishandles newlines in values, |
---|
| 3950 | # but we know of no workaround that is simple, portable, and efficient. |
---|
| 3951 | # So, we kill variables containing newlines. |
---|
| 3952 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
| 3953 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
| 3954 | ( |
---|
| 3955 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
---|
| 3956 | eval ac_val=\$$ac_var |
---|
| 3957 | case $ac_val in #( |
---|
| 3958 | *${as_nl}*) |
---|
| 3959 | case $ac_var in #( |
---|
| 3960 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
---|
| 3961 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
---|
| 3962 | esac |
---|
| 3963 | case $ac_var in #( |
---|
| 3964 | _ | IFS | as_nl) ;; #( |
---|
| 3965 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
---|
| 3966 | *) { eval $ac_var=; unset $ac_var;} ;; |
---|
| 3967 | esac ;; |
---|
| 3968 | esac |
---|
| 3969 | done |
---|
| 3970 | |
---|
| 3971 | (set) 2>&1 | |
---|
| 3972 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
---|
| 3973 | *${as_nl}ac_space=\ *) |
---|
| 3974 | # `set' does not quote correctly, so add quotes: double-quote |
---|
| 3975 | # substitution turns \\\\ into \\, and sed turns \\ into \. |
---|
| 3976 | sed -n \ |
---|
| 3977 | "s/'/'\\\\''/g; |
---|
| 3978 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
---|
| 3979 | ;; #( |
---|
| 3980 | *) |
---|
| 3981 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
| 3982 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
| 3983 | ;; |
---|
| 3984 | esac | |
---|
| 3985 | sort |
---|
| 3986 | ) | |
---|
| 3987 | sed ' |
---|
| 3988 | /^ac_cv_env_/b end |
---|
| 3989 | t clear |
---|
| 3990 | :clear |
---|
| 3991 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
---|
| 3992 | t end |
---|
| 3993 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
---|
| 3994 | :end' >>confcache |
---|
| 3995 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
---|
| 3996 | if test -w "$cache_file"; then |
---|
| 3997 | test "x$cache_file" != "x/dev/null" && |
---|
| 3998 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
---|
| 3999 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
---|
| 4000 | cat confcache >$cache_file |
---|
| 4001 | else |
---|
| 4002 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
---|
| 4003 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
---|
| 4004 | fi |
---|
| 4005 | fi |
---|
| 4006 | rm -f confcache |
---|
| 4007 | |
---|
| 4008 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
| 4009 | # Let make expand exec_prefix. |
---|
| 4010 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
| 4011 | |
---|
| 4012 | DEFS=-DHAVE_CONFIG_H |
---|
| 4013 | |
---|
| 4014 | ac_libobjs= |
---|
| 4015 | ac_ltlibobjs= |
---|
| 4016 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
---|
| 4017 | # 1. Remove the extension, and $U if already installed. |
---|
| 4018 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
---|
| 4019 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
---|
| 4020 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
---|
| 4021 | # will be set to the directory where LIBOBJS objects are built. |
---|
| 4022 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
---|
| 4023 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
---|
| 4024 | done |
---|
| 4025 | LIBOBJS=$ac_libobjs |
---|
| 4026 | |
---|
| 4027 | LTLIBOBJS=$ac_ltlibobjs |
---|
| 4028 | |
---|
| 4029 | |
---|
| 4030 | |
---|
| 4031 | : ${CONFIG_STATUS=./config.status} |
---|
| 4032 | ac_write_fail=0 |
---|
| 4033 | ac_clean_files_save=$ac_clean_files |
---|
| 4034 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
---|
| 4035 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
---|
| 4036 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
---|
| 4037 | as_write_fail=0 |
---|
| 4038 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
---|
| 4039 | #! $SHELL |
---|
| 4040 | # Generated by $as_me. |
---|
| 4041 | # Run this file to recreate the current configuration. |
---|
| 4042 | # Compiler output produced by configure, useful for debugging |
---|
| 4043 | # configure, is in config.log if it exists. |
---|
| 4044 | |
---|
| 4045 | debug=false |
---|
| 4046 | ac_cs_recheck=false |
---|
| 4047 | ac_cs_silent=false |
---|
| 4048 | |
---|
| 4049 | SHELL=\${CONFIG_SHELL-$SHELL} |
---|
| 4050 | export SHELL |
---|
| 4051 | _ASEOF |
---|
| 4052 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
---|
| 4053 | ## -------------------- ## |
---|
| 4054 | ## M4sh Initialization. ## |
---|
| 4055 | ## -------------------- ## |
---|
| 4056 | |
---|
| 4057 | # Be more Bourne compatible |
---|
| 4058 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
| 4059 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
---|
| 4060 | emulate sh |
---|
| 4061 | NULLCMD=: |
---|
| 4062 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
| 4063 | # is contrary to our usage. Disable this feature. |
---|
| 4064 | alias -g '${1+"$@"}'='"$@"' |
---|
| 4065 | setopt NO_GLOB_SUBST |
---|
| 4066 | else |
---|
| 4067 | case `(set -o) 2>/dev/null` in #( |
---|
| 4068 | *posix*) : |
---|
| 4069 | set -o posix ;; #( |
---|
| 4070 | *) : |
---|
| 4071 | ;; |
---|
| 4072 | esac |
---|
| 4073 | fi |
---|
| 4074 | |
---|
| 4075 | |
---|
| 4076 | as_nl=' |
---|
| 4077 | ' |
---|
| 4078 | export as_nl |
---|
| 4079 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
---|
| 4080 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
---|
| 4081 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
| 4082 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
| 4083 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
---|
| 4084 | # but without wasting forks for bash or zsh. |
---|
| 4085 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
---|
| 4086 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
| 4087 | as_echo='print -r --' |
---|
| 4088 | as_echo_n='print -rn --' |
---|
| 4089 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
| 4090 | as_echo='printf %s\n' |
---|
| 4091 | as_echo_n='printf %s' |
---|
| 4092 | else |
---|
| 4093 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
---|
| 4094 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
---|
| 4095 | as_echo_n='/usr/ucb/echo -n' |
---|
| 4096 | else |
---|
| 4097 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
---|
| 4098 | as_echo_n_body='eval |
---|
| 4099 | arg=$1; |
---|
| 4100 | case $arg in #( |
---|
| 4101 | *"$as_nl"*) |
---|
| 4102 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
---|
| 4103 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
---|
| 4104 | esac; |
---|
| 4105 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
---|
| 4106 | ' |
---|
| 4107 | export as_echo_n_body |
---|
| 4108 | as_echo_n='sh -c $as_echo_n_body as_echo' |
---|
| 4109 | fi |
---|
| 4110 | export as_echo_body |
---|
| 4111 | as_echo='sh -c $as_echo_body as_echo' |
---|
| 4112 | fi |
---|
| 4113 | |
---|
| 4114 | # The user is always right. |
---|
| 4115 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
| 4116 | PATH_SEPARATOR=: |
---|
| 4117 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
---|
| 4118 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
---|
| 4119 | PATH_SEPARATOR=';' |
---|
| 4120 | } |
---|
| 4121 | fi |
---|
| 4122 | |
---|
| 4123 | |
---|
| 4124 | # IFS |
---|
| 4125 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
| 4126 | # there to prevent editors from complaining about space-tab. |
---|
| 4127 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
| 4128 | # splitting by setting IFS to empty value.) |
---|
| 4129 | IFS=" "" $as_nl" |
---|
| 4130 | |
---|
| 4131 | # Find who we are. Look in the path if we contain no directory separator. |
---|
| 4132 | case $0 in #(( |
---|
| 4133 | *[\\/]* ) as_myself=$0 ;; |
---|
| 4134 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 4135 | for as_dir in $PATH |
---|
| 4136 | do |
---|
| 4137 | IFS=$as_save_IFS |
---|
| 4138 | test -z "$as_dir" && as_dir=. |
---|
| 4139 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
| 4140 | done |
---|
| 4141 | IFS=$as_save_IFS |
---|
| 4142 | |
---|
| 4143 | ;; |
---|
| 4144 | esac |
---|
| 4145 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
| 4146 | # in which case we are not to be found in the path. |
---|
| 4147 | if test "x$as_myself" = x; then |
---|
| 4148 | as_myself=$0 |
---|
| 4149 | fi |
---|
| 4150 | if test ! -f "$as_myself"; then |
---|
| 4151 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
| 4152 | exit 1 |
---|
| 4153 | fi |
---|
| 4154 | |
---|
| 4155 | # Unset variables that we do not need and which cause bugs (e.g. in |
---|
| 4156 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
---|
| 4157 | # suppresses any "Segmentation fault" message there. '((' could |
---|
| 4158 | # trigger a bug in pdksh 5.2.14. |
---|
| 4159 | for as_var in BASH_ENV ENV MAIL MAILPATH |
---|
| 4160 | do eval test x\${$as_var+set} = xset \ |
---|
| 4161 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
---|
| 4162 | done |
---|
| 4163 | PS1='$ ' |
---|
| 4164 | PS2='> ' |
---|
| 4165 | PS4='+ ' |
---|
| 4166 | |
---|
| 4167 | # NLS nuisances. |
---|
| 4168 | LC_ALL=C |
---|
| 4169 | export LC_ALL |
---|
| 4170 | LANGUAGE=C |
---|
| 4171 | export LANGUAGE |
---|
| 4172 | |
---|
| 4173 | # CDPATH. |
---|
| 4174 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
---|
| 4175 | |
---|
| 4176 | |
---|
| 4177 | # as_fn_error ERROR [LINENO LOG_FD] |
---|
| 4178 | # --------------------------------- |
---|
| 4179 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
---|
| 4180 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
---|
| 4181 | # script with status $?, using 1 if that was 0. |
---|
| 4182 | as_fn_error () |
---|
| 4183 | { |
---|
| 4184 | as_status=$?; test $as_status -eq 0 && as_status=1 |
---|
| 4185 | if test "$3"; then |
---|
| 4186 | as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 4187 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
---|
| 4188 | fi |
---|
| 4189 | $as_echo "$as_me: error: $1" >&2 |
---|
| 4190 | as_fn_exit $as_status |
---|
| 4191 | } # as_fn_error |
---|
| 4192 | |
---|
| 4193 | |
---|
| 4194 | # as_fn_set_status STATUS |
---|
| 4195 | # ----------------------- |
---|
| 4196 | # Set $? to STATUS, without forking. |
---|
| 4197 | as_fn_set_status () |
---|
| 4198 | { |
---|
| 4199 | return $1 |
---|
| 4200 | } # as_fn_set_status |
---|
| 4201 | |
---|
| 4202 | # as_fn_exit STATUS |
---|
| 4203 | # ----------------- |
---|
| 4204 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
---|
| 4205 | as_fn_exit () |
---|
| 4206 | { |
---|
| 4207 | set +e |
---|
| 4208 | as_fn_set_status $1 |
---|
| 4209 | exit $1 |
---|
| 4210 | } # as_fn_exit |
---|
| 4211 | |
---|
| 4212 | # as_fn_unset VAR |
---|
| 4213 | # --------------- |
---|
| 4214 | # Portably unset VAR. |
---|
| 4215 | as_fn_unset () |
---|
| 4216 | { |
---|
| 4217 | { eval $1=; unset $1;} |
---|
| 4218 | } |
---|
| 4219 | as_unset=as_fn_unset |
---|
| 4220 | # as_fn_append VAR VALUE |
---|
| 4221 | # ---------------------- |
---|
| 4222 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
---|
| 4223 | # advantage of any shell optimizations that allow amortized linear growth over |
---|
| 4224 | # repeated appends, instead of the typical quadratic growth present in naive |
---|
| 4225 | # implementations. |
---|
| 4226 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
---|
| 4227 | eval 'as_fn_append () |
---|
| 4228 | { |
---|
| 4229 | eval $1+=\$2 |
---|
| 4230 | }' |
---|
| 4231 | else |
---|
| 4232 | as_fn_append () |
---|
| 4233 | { |
---|
| 4234 | eval $1=\$$1\$2 |
---|
| 4235 | } |
---|
| 4236 | fi # as_fn_append |
---|
| 4237 | |
---|
| 4238 | # as_fn_arith ARG... |
---|
| 4239 | # ------------------ |
---|
| 4240 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
---|
| 4241 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
---|
| 4242 | # must be portable across $(()) and expr. |
---|
| 4243 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
---|
| 4244 | eval 'as_fn_arith () |
---|
| 4245 | { |
---|
| 4246 | as_val=$(( $* )) |
---|
| 4247 | }' |
---|
| 4248 | else |
---|
| 4249 | as_fn_arith () |
---|
| 4250 | { |
---|
| 4251 | as_val=`expr "$@" || test $? -eq 1` |
---|
| 4252 | } |
---|
| 4253 | fi # as_fn_arith |
---|
| 4254 | |
---|
| 4255 | |
---|
| 4256 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
| 4257 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
| 4258 | as_expr=expr |
---|
| 4259 | else |
---|
| 4260 | as_expr=false |
---|
| 4261 | fi |
---|
| 4262 | |
---|
| 4263 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
| 4264 | as_basename=basename |
---|
| 4265 | else |
---|
| 4266 | as_basename=false |
---|
| 4267 | fi |
---|
| 4268 | |
---|
| 4269 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
| 4270 | as_dirname=dirname |
---|
| 4271 | else |
---|
| 4272 | as_dirname=false |
---|
| 4273 | fi |
---|
| 4274 | |
---|
| 4275 | as_me=`$as_basename -- "$0" || |
---|
| 4276 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
| 4277 | X"$0" : 'X\(//\)$' \| \ |
---|
| 4278 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 4279 | $as_echo X/"$0" | |
---|
| 4280 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
| 4281 | s//\1/ |
---|
| 4282 | q |
---|
| 4283 | } |
---|
| 4284 | /^X\/\(\/\/\)$/{ |
---|
| 4285 | s//\1/ |
---|
| 4286 | q |
---|
| 4287 | } |
---|
| 4288 | /^X\/\(\/\).*/{ |
---|
| 4289 | s//\1/ |
---|
| 4290 | q |
---|
| 4291 | } |
---|
| 4292 | s/.*/./; q'` |
---|
| 4293 | |
---|
| 4294 | # Avoid depending upon Character Ranges. |
---|
| 4295 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
| 4296 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
| 4297 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
| 4298 | as_cr_digits='0123456789' |
---|
| 4299 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
| 4300 | |
---|
| 4301 | ECHO_C= ECHO_N= ECHO_T= |
---|
| 4302 | case `echo -n x` in #((((( |
---|
| 4303 | -n*) |
---|
| 4304 | case `echo 'xy\c'` in |
---|
| 4305 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
| 4306 | xy) ECHO_C='\c';; |
---|
| 4307 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
---|
| 4308 | ECHO_T=' ';; |
---|
| 4309 | esac;; |
---|
| 4310 | *) |
---|
| 4311 | ECHO_N='-n';; |
---|
| 4312 | esac |
---|
| 4313 | |
---|
| 4314 | rm -f conf$$ conf$$.exe conf$$.file |
---|
| 4315 | if test -d conf$$.dir; then |
---|
| 4316 | rm -f conf$$.dir/conf$$.file |
---|
| 4317 | else |
---|
| 4318 | rm -f conf$$.dir |
---|
| 4319 | mkdir conf$$.dir 2>/dev/null |
---|
| 4320 | fi |
---|
| 4321 | if (echo >conf$$.file) 2>/dev/null; then |
---|
| 4322 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
| 4323 | as_ln_s='ln -s' |
---|
| 4324 | # ... but there are two gotchas: |
---|
| 4325 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
| 4326 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
| 4327 | # In both cases, we have to default to `cp -p'. |
---|
| 4328 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
| 4329 | as_ln_s='cp -p' |
---|
| 4330 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
| 4331 | as_ln_s=ln |
---|
| 4332 | else |
---|
| 4333 | as_ln_s='cp -p' |
---|
| 4334 | fi |
---|
| 4335 | else |
---|
| 4336 | as_ln_s='cp -p' |
---|
| 4337 | fi |
---|
| 4338 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
| 4339 | rmdir conf$$.dir 2>/dev/null |
---|
| 4340 | |
---|
| 4341 | |
---|
| 4342 | # as_fn_mkdir_p |
---|
| 4343 | # ------------- |
---|
| 4344 | # Create "$as_dir" as a directory, including parents if necessary. |
---|
| 4345 | as_fn_mkdir_p () |
---|
| 4346 | { |
---|
| 4347 | |
---|
| 4348 | case $as_dir in #( |
---|
| 4349 | -*) as_dir=./$as_dir;; |
---|
| 4350 | esac |
---|
| 4351 | test -d "$as_dir" || eval $as_mkdir_p || { |
---|
| 4352 | as_dirs= |
---|
| 4353 | while :; do |
---|
| 4354 | case $as_dir in #( |
---|
| 4355 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
---|
| 4356 | *) as_qdir=$as_dir;; |
---|
| 4357 | esac |
---|
| 4358 | as_dirs="'$as_qdir' $as_dirs" |
---|
| 4359 | as_dir=`$as_dirname -- "$as_dir" || |
---|
| 4360 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 4361 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
| 4362 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
| 4363 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 4364 | $as_echo X"$as_dir" | |
---|
| 4365 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 4366 | s//\1/ |
---|
| 4367 | q |
---|
| 4368 | } |
---|
| 4369 | /^X\(\/\/\)[^/].*/{ |
---|
| 4370 | s//\1/ |
---|
| 4371 | q |
---|
| 4372 | } |
---|
| 4373 | /^X\(\/\/\)$/{ |
---|
| 4374 | s//\1/ |
---|
| 4375 | q |
---|
| 4376 | } |
---|
| 4377 | /^X\(\/\).*/{ |
---|
| 4378 | s//\1/ |
---|
| 4379 | q |
---|
| 4380 | } |
---|
| 4381 | s/.*/./; q'` |
---|
| 4382 | test -d "$as_dir" && break |
---|
| 4383 | done |
---|
| 4384 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
| 4385 | } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
---|
| 4386 | |
---|
| 4387 | |
---|
| 4388 | } # as_fn_mkdir_p |
---|
| 4389 | if mkdir -p . 2>/dev/null; then |
---|
| 4390 | as_mkdir_p='mkdir -p "$as_dir"' |
---|
| 4391 | else |
---|
| 4392 | test -d ./-p && rmdir ./-p |
---|
| 4393 | as_mkdir_p=false |
---|
| 4394 | fi |
---|
| 4395 | |
---|
| 4396 | if test -x / >/dev/null 2>&1; then |
---|
| 4397 | as_test_x='test -x' |
---|
| 4398 | else |
---|
| 4399 | if ls -dL / >/dev/null 2>&1; then |
---|
| 4400 | as_ls_L_option=L |
---|
| 4401 | else |
---|
| 4402 | as_ls_L_option= |
---|
| 4403 | fi |
---|
| 4404 | as_test_x=' |
---|
| 4405 | eval sh -c '\'' |
---|
| 4406 | if test -d "$1"; then |
---|
| 4407 | test -d "$1/."; |
---|
| 4408 | else |
---|
| 4409 | case $1 in #( |
---|
| 4410 | -*)set "./$1";; |
---|
| 4411 | esac; |
---|
| 4412 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
---|
| 4413 | ???[sx]*):;;*)false;;esac;fi |
---|
| 4414 | '\'' sh |
---|
| 4415 | ' |
---|
| 4416 | fi |
---|
| 4417 | as_executable_p=$as_test_x |
---|
| 4418 | |
---|
| 4419 | # Sed expression to map a string onto a valid CPP name. |
---|
| 4420 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 4421 | |
---|
| 4422 | # Sed expression to map a string onto a valid variable name. |
---|
| 4423 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 4424 | |
---|
| 4425 | |
---|
| 4426 | exec 6>&1 |
---|
| 4427 | ## ----------------------------------- ## |
---|
| 4428 | ## Main body of $CONFIG_STATUS script. ## |
---|
| 4429 | ## ----------------------------------- ## |
---|
| 4430 | _ASEOF |
---|
| 4431 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
---|
| 4432 | |
---|
| 4433 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 4434 | # Save the log message, to keep $0 and so on meaningful, and to |
---|
| 4435 | # report actual input values of CONFIG_FILES etc. instead of their |
---|
| 4436 | # values after options handling. |
---|
| 4437 | ac_log=" |
---|
| 4438 | This file was extended by FULL-PACKAGE-NAME $as_me VERSION, which was |
---|
| 4439 | generated by GNU Autoconf 2.65. Invocation command line was |
---|
| 4440 | |
---|
| 4441 | CONFIG_FILES = $CONFIG_FILES |
---|
| 4442 | CONFIG_HEADERS = $CONFIG_HEADERS |
---|
| 4443 | CONFIG_LINKS = $CONFIG_LINKS |
---|
| 4444 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
---|
| 4445 | $ $0 $@ |
---|
| 4446 | |
---|
| 4447 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 4448 | " |
---|
| 4449 | |
---|
| 4450 | _ACEOF |
---|
| 4451 | |
---|
| 4452 | case $ac_config_files in *" |
---|
| 4453 | "*) set x $ac_config_files; shift; ac_config_files=$*;; |
---|
| 4454 | esac |
---|
| 4455 | |
---|
| 4456 | case $ac_config_headers in *" |
---|
| 4457 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
---|
| 4458 | esac |
---|
| 4459 | |
---|
| 4460 | |
---|
| 4461 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 4462 | # Files that config.status was made for. |
---|
| 4463 | config_files="$ac_config_files" |
---|
| 4464 | config_headers="$ac_config_headers" |
---|
| 4465 | |
---|
| 4466 | _ACEOF |
---|
| 4467 | |
---|
| 4468 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 4469 | ac_cs_usage="\ |
---|
| 4470 | \`$as_me' instantiates files and other configuration actions |
---|
| 4471 | from templates according to the current configuration. Unless the files |
---|
| 4472 | and actions are specified as TAGs, all are instantiated by default. |
---|
| 4473 | |
---|
| 4474 | Usage: $0 [OPTION]... [TAG]... |
---|
| 4475 | |
---|
| 4476 | -h, --help print this help, then exit |
---|
| 4477 | -V, --version print version number and configuration settings, then exit |
---|
| 4478 | --config print configuration, then exit |
---|
| 4479 | -q, --quiet, --silent |
---|
| 4480 | do not print progress messages |
---|
| 4481 | -d, --debug don't remove temporary files |
---|
| 4482 | --recheck update $as_me by reconfiguring in the same conditions |
---|
| 4483 | --file=FILE[:TEMPLATE] |
---|
| 4484 | instantiate the configuration file FILE |
---|
| 4485 | --header=FILE[:TEMPLATE] |
---|
| 4486 | instantiate the configuration header FILE |
---|
| 4487 | |
---|
| 4488 | Configuration files: |
---|
| 4489 | $config_files |
---|
| 4490 | |
---|
| 4491 | Configuration headers: |
---|
| 4492 | $config_headers |
---|
| 4493 | |
---|
| 4494 | Report bugs to <BUG-REPORT-ADDRESS>." |
---|
| 4495 | |
---|
| 4496 | _ACEOF |
---|
| 4497 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 4498 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
---|
| 4499 | ac_cs_version="\\ |
---|
| 4500 | FULL-PACKAGE-NAME config.status VERSION |
---|
| 4501 | configured by $0, generated by GNU Autoconf 2.65, |
---|
| 4502 | with options \\"\$ac_cs_config\\" |
---|
| 4503 | |
---|
| 4504 | Copyright (C) 2009 Free Software Foundation, Inc. |
---|
| 4505 | This config.status script is free software; the Free Software Foundation |
---|
| 4506 | gives unlimited permission to copy, distribute and modify it." |
---|
| 4507 | |
---|
| 4508 | ac_pwd='$ac_pwd' |
---|
| 4509 | srcdir='$srcdir' |
---|
| 4510 | INSTALL='$INSTALL' |
---|
| 4511 | test -n "\$AWK" || AWK=awk |
---|
| 4512 | _ACEOF |
---|
| 4513 | |
---|
| 4514 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 4515 | # The default lists apply if the user does not specify any file. |
---|
| 4516 | ac_need_defaults=: |
---|
| 4517 | while test $# != 0 |
---|
| 4518 | do |
---|
| 4519 | case $1 in |
---|
| 4520 | --*=*) |
---|
| 4521 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
| 4522 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
---|
| 4523 | ac_shift=: |
---|
| 4524 | ;; |
---|
| 4525 | *) |
---|
| 4526 | ac_option=$1 |
---|
| 4527 | ac_optarg=$2 |
---|
| 4528 | ac_shift=shift |
---|
| 4529 | ;; |
---|
| 4530 | esac |
---|
| 4531 | |
---|
| 4532 | case $ac_option in |
---|
| 4533 | # Handling of the options. |
---|
| 4534 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
| 4535 | ac_cs_recheck=: ;; |
---|
| 4536 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
---|
| 4537 | $as_echo "$ac_cs_version"; exit ;; |
---|
| 4538 | --config | --confi | --conf | --con | --co | --c ) |
---|
| 4539 | $as_echo "$ac_cs_config"; exit ;; |
---|
| 4540 | --debug | --debu | --deb | --de | --d | -d ) |
---|
| 4541 | debug=: ;; |
---|
| 4542 | --file | --fil | --fi | --f ) |
---|
| 4543 | $ac_shift |
---|
| 4544 | case $ac_optarg in |
---|
| 4545 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 4546 | esac |
---|
| 4547 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
---|
| 4548 | ac_need_defaults=false;; |
---|
| 4549 | --header | --heade | --head | --hea ) |
---|
| 4550 | $ac_shift |
---|
| 4551 | case $ac_optarg in |
---|
| 4552 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 4553 | esac |
---|
| 4554 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
---|
| 4555 | ac_need_defaults=false;; |
---|
| 4556 | --he | --h) |
---|
| 4557 | # Conflict between --help and --header |
---|
| 4558 | as_fn_error "ambiguous option: \`$1' |
---|
| 4559 | Try \`$0 --help' for more information.";; |
---|
| 4560 | --help | --hel | -h ) |
---|
| 4561 | $as_echo "$ac_cs_usage"; exit ;; |
---|
| 4562 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 4563 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
---|
| 4564 | ac_cs_silent=: ;; |
---|
| 4565 | |
---|
| 4566 | # This is an error. |
---|
| 4567 | -*) as_fn_error "unrecognized option: \`$1' |
---|
| 4568 | Try \`$0 --help' for more information." ;; |
---|
| 4569 | |
---|
| 4570 | *) as_fn_append ac_config_targets " $1" |
---|
| 4571 | ac_need_defaults=false ;; |
---|
| 4572 | |
---|
| 4573 | esac |
---|
| 4574 | shift |
---|
| 4575 | done |
---|
| 4576 | |
---|
| 4577 | ac_configure_extra_args= |
---|
| 4578 | |
---|
| 4579 | if $ac_cs_silent; then |
---|
| 4580 | exec 6>/dev/null |
---|
| 4581 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
---|
| 4582 | fi |
---|
| 4583 | |
---|
| 4584 | _ACEOF |
---|
| 4585 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 4586 | if \$ac_cs_recheck; then |
---|
| 4587 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
---|
| 4588 | shift |
---|
| 4589 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
---|
| 4590 | CONFIG_SHELL='$SHELL' |
---|
| 4591 | export CONFIG_SHELL |
---|
| 4592 | exec "\$@" |
---|
| 4593 | fi |
---|
| 4594 | |
---|
| 4595 | _ACEOF |
---|
| 4596 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 4597 | exec 5>>config.log |
---|
| 4598 | { |
---|
| 4599 | echo |
---|
| 4600 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
---|
| 4601 | ## Running $as_me. ## |
---|
| 4602 | _ASBOX |
---|
| 4603 | $as_echo "$ac_log" |
---|
| 4604 | } >&5 |
---|
| 4605 | |
---|
| 4606 | _ACEOF |
---|
| 4607 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 4608 | _ACEOF |
---|
| 4609 | |
---|
| 4610 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 4611 | |
---|
| 4612 | # Handling of arguments. |
---|
| 4613 | for ac_config_target in $ac_config_targets |
---|
| 4614 | do |
---|
| 4615 | case $ac_config_target in |
---|
| 4616 | "auxiliary.h") CONFIG_HEADERS="$CONFIG_HEADERS auxiliary.h" ;; |
---|
| 4617 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
---|
| 4618 | |
---|
| 4619 | *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
---|
| 4620 | esac |
---|
| 4621 | done |
---|
| 4622 | |
---|
| 4623 | |
---|
| 4624 | # If the user did not use the arguments to specify the items to instantiate, |
---|
| 4625 | # then the envvar interface is used. Set only those that are not. |
---|
| 4626 | # We use the long form for the default assignment because of an extremely |
---|
| 4627 | # bizarre bug on SunOS 4.1.3. |
---|
| 4628 | if $ac_need_defaults; then |
---|
| 4629 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
---|
| 4630 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
---|
| 4631 | fi |
---|
| 4632 | |
---|
| 4633 | # Have a temporary directory for convenience. Make it in the build tree |
---|
| 4634 | # simply because there is no reason against having it here, and in addition, |
---|
| 4635 | # creating and moving files from /tmp can sometimes cause problems. |
---|
| 4636 | # Hook for its removal unless debugging. |
---|
| 4637 | # Note that there is a small window in which the directory will not be cleaned: |
---|
| 4638 | # after its creation but before its name has been assigned to `$tmp'. |
---|
| 4639 | $debug || |
---|
| 4640 | { |
---|
| 4641 | tmp= |
---|
| 4642 | trap 'exit_status=$? |
---|
| 4643 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
---|
| 4644 | ' 0 |
---|
| 4645 | trap 'as_fn_exit 1' 1 2 13 15 |
---|
| 4646 | } |
---|
| 4647 | # Create a (secure) tmp directory for tmp files. |
---|
| 4648 | |
---|
| 4649 | { |
---|
| 4650 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
---|
| 4651 | test -n "$tmp" && test -d "$tmp" |
---|
| 4652 | } || |
---|
| 4653 | { |
---|
| 4654 | tmp=./conf$$-$RANDOM |
---|
| 4655 | (umask 077 && mkdir "$tmp") |
---|
| 4656 | } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 |
---|
| 4657 | |
---|
| 4658 | # Set up the scripts for CONFIG_FILES section. |
---|
| 4659 | # No need to generate them if there are no CONFIG_FILES. |
---|
| 4660 | # This happens for instance with `./config.status config.h'. |
---|
| 4661 | if test -n "$CONFIG_FILES"; then |
---|
| 4662 | |
---|
| 4663 | |
---|
| 4664 | ac_cr=`echo X | tr X '\015'` |
---|
| 4665 | # On cygwin, bash can eat \r inside `` if the user requested igncr. |
---|
| 4666 | # But we know of no other shell where ac_cr would be empty at this |
---|
| 4667 | # point, so we can use a bashism as a fallback. |
---|
| 4668 | if test "x$ac_cr" = x; then |
---|
| 4669 | eval ac_cr=\$\'\\r\' |
---|
| 4670 | fi |
---|
| 4671 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
---|
| 4672 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
---|
| 4673 | ac_cs_awk_cr='\r' |
---|
| 4674 | else |
---|
| 4675 | ac_cs_awk_cr=$ac_cr |
---|
| 4676 | fi |
---|
| 4677 | |
---|
| 4678 | echo 'BEGIN {' >"$tmp/subs1.awk" && |
---|
| 4679 | _ACEOF |
---|
| 4680 | |
---|
| 4681 | |
---|
| 4682 | { |
---|
| 4683 | echo "cat >conf$$subs.awk <<_ACEOF" && |
---|
| 4684 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
---|
| 4685 | echo "_ACEOF" |
---|
| 4686 | } >conf$$subs.sh || |
---|
| 4687 | as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
| 4688 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
---|
| 4689 | ac_delim='%!_!# ' |
---|
| 4690 | for ac_last_try in false false false false false :; do |
---|
| 4691 | . ./conf$$subs.sh || |
---|
| 4692 | as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
| 4693 | |
---|
| 4694 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
---|
| 4695 | if test $ac_delim_n = $ac_delim_num; then |
---|
| 4696 | break |
---|
| 4697 | elif $ac_last_try; then |
---|
| 4698 | as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
| 4699 | else |
---|
| 4700 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
---|
| 4701 | fi |
---|
| 4702 | done |
---|
| 4703 | rm -f conf$$subs.sh |
---|
| 4704 | |
---|
| 4705 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 4706 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
---|
| 4707 | _ACEOF |
---|
| 4708 | sed -n ' |
---|
| 4709 | h |
---|
| 4710 | s/^/S["/; s/!.*/"]=/ |
---|
| 4711 | p |
---|
| 4712 | g |
---|
| 4713 | s/^[^!]*!// |
---|
| 4714 | :repl |
---|
| 4715 | t repl |
---|
| 4716 | s/'"$ac_delim"'$// |
---|
| 4717 | t delim |
---|
| 4718 | :nl |
---|
| 4719 | h |
---|
| 4720 | s/\(.\{148\}\)..*/\1/ |
---|
| 4721 | t more1 |
---|
| 4722 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
---|
| 4723 | p |
---|
| 4724 | n |
---|
| 4725 | b repl |
---|
| 4726 | :more1 |
---|
| 4727 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
---|
| 4728 | p |
---|
| 4729 | g |
---|
| 4730 | s/.\{148\}// |
---|
| 4731 | t nl |
---|
| 4732 | :delim |
---|
| 4733 | h |
---|
| 4734 | s/\(.\{148\}\)..*/\1/ |
---|
| 4735 | t more2 |
---|
| 4736 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
---|
| 4737 | p |
---|
| 4738 | b |
---|
| 4739 | :more2 |
---|
| 4740 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
---|
| 4741 | p |
---|
| 4742 | g |
---|
| 4743 | s/.\{148\}// |
---|
| 4744 | t delim |
---|
| 4745 | ' <conf$$subs.awk | sed ' |
---|
| 4746 | /^[^""]/{ |
---|
| 4747 | N |
---|
| 4748 | s/\n// |
---|
| 4749 | } |
---|
| 4750 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
---|
| 4751 | rm -f conf$$subs.awk |
---|
| 4752 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 4753 | _ACAWK |
---|
| 4754 | cat >>"\$tmp/subs1.awk" <<_ACAWK && |
---|
| 4755 | for (key in S) S_is_set[key] = 1 |
---|
| 4756 | FS = "" |
---|
| 4757 | |
---|
| 4758 | } |
---|
| 4759 | { |
---|
| 4760 | line = $ 0 |
---|
| 4761 | nfields = split(line, field, "@") |
---|
| 4762 | substed = 0 |
---|
| 4763 | len = length(field[1]) |
---|
| 4764 | for (i = 2; i < nfields; i++) { |
---|
| 4765 | key = field[i] |
---|
| 4766 | keylen = length(key) |
---|
| 4767 | if (S_is_set[key]) { |
---|
| 4768 | value = S[key] |
---|
| 4769 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
---|
| 4770 | len += length(value) + length(field[++i]) |
---|
| 4771 | substed = 1 |
---|
| 4772 | } else |
---|
| 4773 | len += 1 + keylen |
---|
| 4774 | } |
---|
| 4775 | |
---|
| 4776 | print line |
---|
| 4777 | } |
---|
| 4778 | |
---|
| 4779 | _ACAWK |
---|
| 4780 | _ACEOF |
---|
| 4781 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 4782 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
---|
| 4783 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
---|
| 4784 | else |
---|
| 4785 | cat |
---|
| 4786 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
---|
| 4787 | || as_fn_error "could not setup config files machinery" "$LINENO" 5 |
---|
| 4788 | _ACEOF |
---|
| 4789 | |
---|
| 4790 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
---|
| 4791 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
---|
| 4792 | # trailing colons and then remove the whole line if VPATH becomes empty |
---|
| 4793 | # (actually we leave an empty line to preserve line numbers). |
---|
| 4794 | if test "x$srcdir" = x.; then |
---|
| 4795 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
---|
| 4796 | s/:*\$(srcdir):*/:/ |
---|
| 4797 | s/:*\${srcdir}:*/:/ |
---|
| 4798 | s/:*@srcdir@:*/:/ |
---|
| 4799 | s/^\([^=]*=[ ]*\):*/\1/ |
---|
| 4800 | s/:*$// |
---|
| 4801 | s/^[^=]*=[ ]*$// |
---|
| 4802 | }' |
---|
| 4803 | fi |
---|
| 4804 | |
---|
| 4805 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 4806 | fi # test -n "$CONFIG_FILES" |
---|
| 4807 | |
---|
| 4808 | # Set up the scripts for CONFIG_HEADERS section. |
---|
| 4809 | # No need to generate them if there are no CONFIG_HEADERS. |
---|
| 4810 | # This happens for instance with `./config.status Makefile'. |
---|
| 4811 | if test -n "$CONFIG_HEADERS"; then |
---|
| 4812 | cat >"$tmp/defines.awk" <<\_ACAWK || |
---|
| 4813 | BEGIN { |
---|
| 4814 | _ACEOF |
---|
| 4815 | |
---|
| 4816 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
---|
| 4817 | # here-document in config.status, that substitutes the proper values into |
---|
| 4818 | # config.h.in to produce config.h. |
---|
| 4819 | |
---|
| 4820 | # Create a delimiter string that does not exist in confdefs.h, to ease |
---|
| 4821 | # handling of long lines. |
---|
| 4822 | ac_delim='%!_!# ' |
---|
| 4823 | for ac_last_try in false false :; do |
---|
| 4824 | ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
---|
| 4825 | if test -z "$ac_t"; then |
---|
| 4826 | break |
---|
| 4827 | elif $ac_last_try; then |
---|
| 4828 | as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 |
---|
| 4829 | else |
---|
| 4830 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
---|
| 4831 | fi |
---|
| 4832 | done |
---|
| 4833 | |
---|
| 4834 | # For the awk script, D is an array of macro values keyed by name, |
---|
| 4835 | # likewise P contains macro parameters if any. Preserve backslash |
---|
| 4836 | # newline sequences. |
---|
| 4837 | |
---|
| 4838 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
---|
| 4839 | sed -n ' |
---|
| 4840 | s/.\{148\}/&'"$ac_delim"'/g |
---|
| 4841 | t rset |
---|
| 4842 | :rset |
---|
| 4843 | s/^[ ]*#[ ]*define[ ][ ]*/ / |
---|
| 4844 | t def |
---|
| 4845 | d |
---|
| 4846 | :def |
---|
| 4847 | s/\\$// |
---|
| 4848 | t bsnl |
---|
| 4849 | s/["\\]/\\&/g |
---|
| 4850 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
---|
| 4851 | D["\1"]=" \3"/p |
---|
| 4852 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
---|
| 4853 | d |
---|
| 4854 | :bsnl |
---|
| 4855 | s/["\\]/\\&/g |
---|
| 4856 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
---|
| 4857 | D["\1"]=" \3\\\\\\n"\\/p |
---|
| 4858 | t cont |
---|
| 4859 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
---|
| 4860 | t cont |
---|
| 4861 | d |
---|
| 4862 | :cont |
---|
| 4863 | n |
---|
| 4864 | s/.\{148\}/&'"$ac_delim"'/g |
---|
| 4865 | t clear |
---|
| 4866 | :clear |
---|
| 4867 | s/\\$// |
---|
| 4868 | t bsnlc |
---|
| 4869 | s/["\\]/\\&/g; s/^/"/; s/$/"/p |
---|
| 4870 | d |
---|
| 4871 | :bsnlc |
---|
| 4872 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
---|
| 4873 | b cont |
---|
| 4874 | ' <confdefs.h | sed ' |
---|
| 4875 | s/'"$ac_delim"'/"\\\ |
---|
| 4876 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 |
---|
| 4877 | |
---|
| 4878 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 4879 | for (key in D) D_is_set[key] = 1 |
---|
| 4880 | FS = "" |
---|
| 4881 | } |
---|
| 4882 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
---|
| 4883 | line = \$ 0 |
---|
| 4884 | split(line, arg, " ") |
---|
| 4885 | if (arg[1] == "#") { |
---|
| 4886 | defundef = arg[2] |
---|
| 4887 | mac1 = arg[3] |
---|
| 4888 | } else { |
---|
| 4889 | defundef = substr(arg[1], 2) |
---|
| 4890 | mac1 = arg[2] |
---|
| 4891 | } |
---|
| 4892 | split(mac1, mac2, "(") #) |
---|
| 4893 | macro = mac2[1] |
---|
| 4894 | prefix = substr(line, 1, index(line, defundef) - 1) |
---|
| 4895 | if (D_is_set[macro]) { |
---|
| 4896 | # Preserve the white space surrounding the "#". |
---|
| 4897 | print prefix "define", macro P[macro] D[macro] |
---|
| 4898 | next |
---|
| 4899 | } else { |
---|
| 4900 | # Replace #undef with comments. This is necessary, for example, |
---|
| 4901 | # in the case of _POSIX_SOURCE, which is predefined and required |
---|
| 4902 | # on some systems where configure will not decide to define it. |
---|
| 4903 | if (defundef == "undef") { |
---|
| 4904 | print "/*", prefix defundef, macro, "*/" |
---|
| 4905 | next |
---|
| 4906 | } |
---|
| 4907 | } |
---|
| 4908 | } |
---|
| 4909 | { print } |
---|
| 4910 | _ACAWK |
---|
| 4911 | _ACEOF |
---|
| 4912 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 4913 | as_fn_error "could not setup config headers machinery" "$LINENO" 5 |
---|
| 4914 | fi # test -n "$CONFIG_HEADERS" |
---|
| 4915 | |
---|
| 4916 | |
---|
| 4917 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " |
---|
| 4918 | shift |
---|
| 4919 | for ac_tag |
---|
| 4920 | do |
---|
| 4921 | case $ac_tag in |
---|
| 4922 | :[FHLC]) ac_mode=$ac_tag; continue;; |
---|
| 4923 | esac |
---|
| 4924 | case $ac_mode$ac_tag in |
---|
| 4925 | :[FHL]*:*);; |
---|
| 4926 | :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; |
---|
| 4927 | :[FH]-) ac_tag=-:-;; |
---|
| 4928 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
---|
| 4929 | esac |
---|
| 4930 | ac_save_IFS=$IFS |
---|
| 4931 | IFS=: |
---|
| 4932 | set x $ac_tag |
---|
| 4933 | IFS=$ac_save_IFS |
---|
| 4934 | shift |
---|
| 4935 | ac_file=$1 |
---|
| 4936 | shift |
---|
| 4937 | |
---|
| 4938 | case $ac_mode in |
---|
| 4939 | :L) ac_source=$1;; |
---|
| 4940 | :[FH]) |
---|
| 4941 | ac_file_inputs= |
---|
| 4942 | for ac_f |
---|
| 4943 | do |
---|
| 4944 | case $ac_f in |
---|
| 4945 | -) ac_f="$tmp/stdin";; |
---|
| 4946 | *) # Look for the file first in the build tree, then in the source tree |
---|
| 4947 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
---|
| 4948 | # because $ac_f cannot contain `:'. |
---|
| 4949 | test -f "$ac_f" || |
---|
| 4950 | case $ac_f in |
---|
| 4951 | [\\/$]*) false;; |
---|
| 4952 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
---|
| 4953 | esac || |
---|
| 4954 | as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
---|
| 4955 | esac |
---|
| 4956 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
---|
| 4957 | as_fn_append ac_file_inputs " '$ac_f'" |
---|
| 4958 | done |
---|
| 4959 | |
---|
| 4960 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
| 4961 | # use $as_me), people would be surprised to read: |
---|
| 4962 | # /* config.h. Generated by config.status. */ |
---|
| 4963 | configure_input='Generated from '` |
---|
| 4964 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
---|
| 4965 | `' by configure.' |
---|
| 4966 | if test x"$ac_file" != x-; then |
---|
| 4967 | configure_input="$ac_file. $configure_input" |
---|
| 4968 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
---|
| 4969 | $as_echo "$as_me: creating $ac_file" >&6;} |
---|
| 4970 | fi |
---|
| 4971 | # Neutralize special characters interpreted by sed in replacement strings. |
---|
| 4972 | case $configure_input in #( |
---|
| 4973 | *\&* | *\|* | *\\* ) |
---|
| 4974 | ac_sed_conf_input=`$as_echo "$configure_input" | |
---|
| 4975 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
---|
| 4976 | *) ac_sed_conf_input=$configure_input;; |
---|
| 4977 | esac |
---|
| 4978 | |
---|
| 4979 | case $ac_tag in |
---|
| 4980 | *:-:* | *:-) cat >"$tmp/stdin" \ |
---|
| 4981 | || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; |
---|
| 4982 | esac |
---|
| 4983 | ;; |
---|
| 4984 | esac |
---|
| 4985 | |
---|
| 4986 | ac_dir=`$as_dirname -- "$ac_file" || |
---|
| 4987 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 4988 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
| 4989 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
| 4990 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 4991 | $as_echo X"$ac_file" | |
---|
| 4992 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 4993 | s//\1/ |
---|
| 4994 | q |
---|
| 4995 | } |
---|
| 4996 | /^X\(\/\/\)[^/].*/{ |
---|
| 4997 | s//\1/ |
---|
| 4998 | q |
---|
| 4999 | } |
---|
| 5000 | /^X\(\/\/\)$/{ |
---|
| 5001 | s//\1/ |
---|
| 5002 | q |
---|
| 5003 | } |
---|
| 5004 | /^X\(\/\).*/{ |
---|
| 5005 | s//\1/ |
---|
| 5006 | q |
---|
| 5007 | } |
---|
| 5008 | s/.*/./; q'` |
---|
| 5009 | as_dir="$ac_dir"; as_fn_mkdir_p |
---|
| 5010 | ac_builddir=. |
---|
| 5011 | |
---|
| 5012 | case "$ac_dir" in |
---|
| 5013 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 5014 | *) |
---|
| 5015 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
| 5016 | # A ".." for each directory in $ac_dir_suffix. |
---|
| 5017 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
| 5018 | case $ac_top_builddir_sub in |
---|
| 5019 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 5020 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
| 5021 | esac ;; |
---|
| 5022 | esac |
---|
| 5023 | ac_abs_top_builddir=$ac_pwd |
---|
| 5024 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
| 5025 | # for backward compatibility: |
---|
| 5026 | ac_top_builddir=$ac_top_build_prefix |
---|
| 5027 | |
---|
| 5028 | case $srcdir in |
---|
| 5029 | .) # We are building in place. |
---|
| 5030 | ac_srcdir=. |
---|
| 5031 | ac_top_srcdir=$ac_top_builddir_sub |
---|
| 5032 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
| 5033 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
| 5034 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
| 5035 | ac_top_srcdir=$srcdir |
---|
| 5036 | ac_abs_top_srcdir=$srcdir ;; |
---|
| 5037 | *) # Relative name. |
---|
| 5038 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
| 5039 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
| 5040 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
| 5041 | esac |
---|
| 5042 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
| 5043 | |
---|
| 5044 | |
---|
| 5045 | case $ac_mode in |
---|
| 5046 | :F) |
---|
| 5047 | # |
---|
| 5048 | # CONFIG_FILE |
---|
| 5049 | # |
---|
| 5050 | |
---|
| 5051 | case $INSTALL in |
---|
| 5052 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
---|
| 5053 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
---|
| 5054 | esac |
---|
| 5055 | _ACEOF |
---|
| 5056 | |
---|
| 5057 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 5058 | # If the template does not know about datarootdir, expand it. |
---|
| 5059 | # FIXME: This hack should be removed a few years after 2.60. |
---|
| 5060 | ac_datarootdir_hack=; ac_datarootdir_seen= |
---|
| 5061 | ac_sed_dataroot=' |
---|
| 5062 | /datarootdir/ { |
---|
| 5063 | p |
---|
| 5064 | q |
---|
| 5065 | } |
---|
| 5066 | /@datadir@/p |
---|
| 5067 | /@docdir@/p |
---|
| 5068 | /@infodir@/p |
---|
| 5069 | /@localedir@/p |
---|
| 5070 | /@mandir@/p' |
---|
| 5071 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
---|
| 5072 | *datarootdir*) ac_datarootdir_seen=yes;; |
---|
| 5073 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
---|
| 5074 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
---|
| 5075 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
---|
| 5076 | _ACEOF |
---|
| 5077 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 5078 | ac_datarootdir_hack=' |
---|
| 5079 | s&@datadir@&$datadir&g |
---|
| 5080 | s&@docdir@&$docdir&g |
---|
| 5081 | s&@infodir@&$infodir&g |
---|
| 5082 | s&@localedir@&$localedir&g |
---|
| 5083 | s&@mandir@&$mandir&g |
---|
| 5084 | s&\\\${datarootdir}&$datarootdir&g' ;; |
---|
| 5085 | esac |
---|
| 5086 | _ACEOF |
---|
| 5087 | |
---|
| 5088 | # Neutralize VPATH when `$srcdir' = `.'. |
---|
| 5089 | # Shell code in configure.ac might set extrasub. |
---|
| 5090 | # FIXME: do we really want to maintain this feature? |
---|
| 5091 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 5092 | ac_sed_extra="$ac_vpsub |
---|
| 5093 | $extrasub |
---|
| 5094 | _ACEOF |
---|
| 5095 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 5096 | :t |
---|
| 5097 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
---|
| 5098 | s|@configure_input@|$ac_sed_conf_input|;t t |
---|
| 5099 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
---|
| 5100 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
---|
| 5101 | s&@srcdir@&$ac_srcdir&;t t |
---|
| 5102 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
---|
| 5103 | s&@top_srcdir@&$ac_top_srcdir&;t t |
---|
| 5104 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
---|
| 5105 | s&@builddir@&$ac_builddir&;t t |
---|
| 5106 | s&@abs_builddir@&$ac_abs_builddir&;t t |
---|
| 5107 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
---|
| 5108 | s&@INSTALL@&$ac_INSTALL&;t t |
---|
| 5109 | $ac_datarootdir_hack |
---|
| 5110 | " |
---|
| 5111 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
---|
| 5112 | || as_fn_error "could not create $ac_file" "$LINENO" 5 |
---|
| 5113 | |
---|
| 5114 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
---|
| 5115 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
---|
| 5116 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
---|
| 5117 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
| 5118 | which seems to be undefined. Please make sure it is defined." >&5 |
---|
| 5119 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
| 5120 | which seems to be undefined. Please make sure it is defined." >&2;} |
---|
| 5121 | |
---|
| 5122 | rm -f "$tmp/stdin" |
---|
| 5123 | case $ac_file in |
---|
| 5124 | -) cat "$tmp/out" && rm -f "$tmp/out";; |
---|
| 5125 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
---|
| 5126 | esac \ |
---|
| 5127 | || as_fn_error "could not create $ac_file" "$LINENO" 5 |
---|
| 5128 | ;; |
---|
| 5129 | :H) |
---|
| 5130 | # |
---|
| 5131 | # CONFIG_HEADER |
---|
| 5132 | # |
---|
| 5133 | if test x"$ac_file" != x-; then |
---|
| 5134 | { |
---|
| 5135 | $as_echo "/* $configure_input */" \ |
---|
| 5136 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
---|
| 5137 | } >"$tmp/config.h" \ |
---|
| 5138 | || as_fn_error "could not create $ac_file" "$LINENO" 5 |
---|
| 5139 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
---|
| 5140 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
---|
| 5141 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
---|
| 5142 | else |
---|
| 5143 | rm -f "$ac_file" |
---|
| 5144 | mv "$tmp/config.h" "$ac_file" \ |
---|
| 5145 | || as_fn_error "could not create $ac_file" "$LINENO" 5 |
---|
| 5146 | fi |
---|
| 5147 | else |
---|
| 5148 | $as_echo "/* $configure_input */" \ |
---|
| 5149 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
---|
| 5150 | || as_fn_error "could not create -" "$LINENO" 5 |
---|
| 5151 | fi |
---|
| 5152 | ;; |
---|
| 5153 | |
---|
| 5154 | |
---|
| 5155 | esac |
---|
| 5156 | |
---|
| 5157 | done # for ac_tag |
---|
| 5158 | |
---|
| 5159 | |
---|
| 5160 | as_fn_exit 0 |
---|
| 5161 | _ACEOF |
---|
| 5162 | ac_clean_files=$ac_clean_files_save |
---|
| 5163 | |
---|
| 5164 | test $ac_write_fail = 0 || |
---|
| 5165 | as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
---|
| 5166 | |
---|
| 5167 | |
---|
| 5168 | # configure is writing to config.log, and then calls config.status. |
---|
| 5169 | # config.status does its own redirection, appending to config.log. |
---|
| 5170 | # Unfortunately, on DOS this fails, as config.log is still kept open |
---|
| 5171 | # by configure, so config.status won't be able to write to it; its |
---|
| 5172 | # output is simply discarded. So we exec the FD to /dev/null, |
---|
| 5173 | # effectively closing config.log, so it can be properly (re)opened and |
---|
| 5174 | # appended to by config.status. When coming back to configure, we |
---|
| 5175 | # need to make the FD available again. |
---|
| 5176 | if test "$no_create" != yes; then |
---|
| 5177 | ac_cs_success=: |
---|
| 5178 | ac_config_status_args= |
---|
| 5179 | test "$silent" = yes && |
---|
| 5180 | ac_config_status_args="$ac_config_status_args --quiet" |
---|
| 5181 | exec 5>/dev/null |
---|
| 5182 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
---|
| 5183 | exec 5>>config.log |
---|
| 5184 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
---|
| 5185 | # would make configure fail if this is the last instruction. |
---|
| 5186 | $ac_cs_success || as_fn_exit $? |
---|
| 5187 | fi |
---|
| 5188 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
---|
| 5189 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
---|
| 5190 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
---|
| 5191 | fi |
---|
| 5192 | |
---|