| 1 | #! /bin/sh | 
|---|
| 2 | # Guess values for system-dependent variables and create Makefiles. | 
|---|
| 3 | # Generated by GNU Autoconf 2.69 for cfa-cc 1.0.0.0. | 
|---|
| 4 | # | 
|---|
| 5 | # Report bugs to <cforall@plg.uwaterloo.ca>. | 
|---|
| 6 | # | 
|---|
| 7 | # | 
|---|
| 8 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. | 
|---|
| 9 | # | 
|---|
| 10 | # | 
|---|
| 11 | # This configure script is free software; the Free Software Foundation | 
|---|
| 12 | # gives unlimited permission to copy, distribute and modify it. | 
|---|
| 13 | ## -------------------- ## | 
|---|
| 14 | ## M4sh Initialization. ## | 
|---|
| 15 | ## -------------------- ## | 
|---|
| 16 |  | 
|---|
| 17 | # Be more Bourne compatible | 
|---|
| 18 | DUALCASE=1; export DUALCASE # for MKS sh | 
|---|
| 19 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | 
|---|
| 20 | emulate sh | 
|---|
| 21 | NULLCMD=: | 
|---|
| 22 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | 
|---|
| 23 | # is contrary to our usage.  Disable this feature. | 
|---|
| 24 | alias -g '${1+"$@"}'='"$@"' | 
|---|
| 25 | setopt NO_GLOB_SUBST | 
|---|
| 26 | else | 
|---|
| 27 | case `(set -o) 2>/dev/null` in #( | 
|---|
| 28 | *posix*) : | 
|---|
| 29 | set -o posix ;; #( | 
|---|
| 30 | *) : | 
|---|
| 31 | ;; | 
|---|
| 32 | esac | 
|---|
| 33 | fi | 
|---|
| 34 |  | 
|---|
| 35 |  | 
|---|
| 36 | as_nl=' | 
|---|
| 37 | ' | 
|---|
| 38 | export as_nl | 
|---|
| 39 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | 
|---|
| 40 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 
|---|
| 41 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | 
|---|
| 42 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | 
|---|
| 43 | # Prefer a ksh shell builtin over an external printf program on Solaris, | 
|---|
| 44 | # but without wasting forks for bash or zsh. | 
|---|
| 45 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | 
|---|
| 46 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | 
|---|
| 47 | as_echo='print -r --' | 
|---|
| 48 | as_echo_n='print -rn --' | 
|---|
| 49 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | 
|---|
| 50 | as_echo='printf %s\n' | 
|---|
| 51 | as_echo_n='printf %s' | 
|---|
| 52 | else | 
|---|
| 53 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | 
|---|
| 54 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | 
|---|
| 55 | as_echo_n='/usr/ucb/echo -n' | 
|---|
| 56 | else | 
|---|
| 57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | 
|---|
| 58 | as_echo_n_body='eval | 
|---|
| 59 | arg=$1; | 
|---|
| 60 | case $arg in #( | 
|---|
| 61 | *"$as_nl"*) | 
|---|
| 62 | expr "X$arg" : "X\\(.*\\)$as_nl"; | 
|---|
| 63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | 
|---|
| 64 | esac; | 
|---|
| 65 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | 
|---|
| 66 | ' | 
|---|
| 67 | export as_echo_n_body | 
|---|
| 68 | as_echo_n='sh -c $as_echo_n_body as_echo' | 
|---|
| 69 | fi | 
|---|
| 70 | export as_echo_body | 
|---|
| 71 | as_echo='sh -c $as_echo_body as_echo' | 
|---|
| 72 | fi | 
|---|
| 73 |  | 
|---|
| 74 | # The user is always right. | 
|---|
| 75 | if test "${PATH_SEPARATOR+set}" != set; then | 
|---|
| 76 | PATH_SEPARATOR=: | 
|---|
| 77 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | 
|---|
| 78 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | 
|---|
| 79 | PATH_SEPARATOR=';' | 
|---|
| 80 | } | 
|---|
| 81 | fi | 
|---|
| 82 |  | 
|---|
| 83 |  | 
|---|
| 84 | # IFS | 
|---|
| 85 | # We need space, tab and new line, in precisely that order.  Quoting is | 
|---|
| 86 | # there to prevent editors from complaining about space-tab. | 
|---|
| 87 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 
|---|
| 88 | # splitting by setting IFS to empty value.) | 
|---|
| 89 | IFS=" ""        $as_nl" | 
|---|
| 90 |  | 
|---|
| 91 | # Find who we are.  Look in the path if we contain no directory separator. | 
|---|
| 92 | as_myself= | 
|---|
| 93 | case $0 in #(( | 
|---|
| 94 | *[\\/]* ) as_myself=$0 ;; | 
|---|
| 95 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 96 | for as_dir in $PATH | 
|---|
| 97 | do | 
|---|
| 98 | IFS=$as_save_IFS | 
|---|
| 99 | test -z "$as_dir" && as_dir=. | 
|---|
| 100 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 
|---|
| 101 | done | 
|---|
| 102 | IFS=$as_save_IFS | 
|---|
| 103 |  | 
|---|
| 104 | ;; | 
|---|
| 105 | esac | 
|---|
| 106 | # We did not find ourselves, most probably we were run as `sh COMMAND' | 
|---|
| 107 | # in which case we are not to be found in the path. | 
|---|
| 108 | if test "x$as_myself" = x; then | 
|---|
| 109 | as_myself=$0 | 
|---|
| 110 | fi | 
|---|
| 111 | if test ! -f "$as_myself"; then | 
|---|
| 112 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 
|---|
| 113 | exit 1 | 
|---|
| 114 | fi | 
|---|
| 115 |  | 
|---|
| 116 | # Unset variables that we do not need and which cause bugs (e.g. in | 
|---|
| 117 | # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1" | 
|---|
| 118 | # suppresses any "Segmentation fault" message there.  '((' could | 
|---|
| 119 | # trigger a bug in pdksh 5.2.14. | 
|---|
| 120 | for as_var in BASH_ENV ENV MAIL MAILPATH | 
|---|
| 121 | do eval test x\${$as_var+set} = xset \ | 
|---|
| 122 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | 
|---|
| 123 | done | 
|---|
| 124 | PS1='$ ' | 
|---|
| 125 | PS2='> ' | 
|---|
| 126 | PS4='+ ' | 
|---|
| 127 |  | 
|---|
| 128 | # NLS nuisances. | 
|---|
| 129 | LC_ALL=C | 
|---|
| 130 | export LC_ALL | 
|---|
| 131 | LANGUAGE=C | 
|---|
| 132 | export LANGUAGE | 
|---|
| 133 |  | 
|---|
| 134 | # CDPATH. | 
|---|
| 135 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 
|---|
| 136 |  | 
|---|
| 137 | # Use a proper internal environment variable to ensure we don't fall | 
|---|
| 138 | # into an infinite loop, continuously re-executing ourselves. | 
|---|
| 139 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then | 
|---|
| 140 | _as_can_reexec=no; export _as_can_reexec; | 
|---|
| 141 | # We cannot yet assume a decent shell, so we have to provide a | 
|---|
| 142 | # neutralization value for shells without unset; and this also | 
|---|
| 143 | # works around shells that cannot unset nonexistent variables. | 
|---|
| 144 | # Preserve -v and -x to the replacement shell. | 
|---|
| 145 | BASH_ENV=/dev/null | 
|---|
| 146 | ENV=/dev/null | 
|---|
| 147 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | 
|---|
| 148 | case $- in # (((( | 
|---|
| 149 | *v*x* | *x*v* ) as_opts=-vx ;; | 
|---|
| 150 | *v* ) as_opts=-v ;; | 
|---|
| 151 | *x* ) as_opts=-x ;; | 
|---|
| 152 | * ) as_opts= ;; | 
|---|
| 153 | esac | 
|---|
| 154 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | 
|---|
| 155 | # Admittedly, this is quite paranoid, since all the known shells bail | 
|---|
| 156 | # out after a failed `exec'. | 
|---|
| 157 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | 
|---|
| 158 | as_fn_exit 255 | 
|---|
| 159 | fi | 
|---|
| 160 | # We don't want this to propagate to other subprocesses. | 
|---|
| 161 | { _as_can_reexec=; unset _as_can_reexec;} | 
|---|
| 162 | if test "x$CONFIG_SHELL" = x; then | 
|---|
| 163 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : | 
|---|
| 164 | emulate sh | 
|---|
| 165 | NULLCMD=: | 
|---|
| 166 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | 
|---|
| 167 | # is contrary to our usage.  Disable this feature. | 
|---|
| 168 | alias -g '\${1+\"\$@\"}'='\"\$@\"' | 
|---|
| 169 | setopt NO_GLOB_SUBST | 
|---|
| 170 | else | 
|---|
| 171 | case \`(set -o) 2>/dev/null\` in #( | 
|---|
| 172 | *posix*) : | 
|---|
| 173 | set -o posix ;; #( | 
|---|
| 174 | *) : | 
|---|
| 175 | ;; | 
|---|
| 176 | esac | 
|---|
| 177 | fi | 
|---|
| 178 | " | 
|---|
| 179 | as_required="as_fn_return () { (exit \$1); } | 
|---|
| 180 | as_fn_success () { as_fn_return 0; } | 
|---|
| 181 | as_fn_failure () { as_fn_return 1; } | 
|---|
| 182 | as_fn_ret_success () { return 0; } | 
|---|
| 183 | as_fn_ret_failure () { return 1; } | 
|---|
| 184 |  | 
|---|
| 185 | exitcode=0 | 
|---|
| 186 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } | 
|---|
| 187 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | 
|---|
| 188 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | 
|---|
| 189 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | 
|---|
| 190 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | 
|---|
| 191 |  | 
|---|
| 192 | else | 
|---|
| 193 | exitcode=1; echo positional parameters were not saved. | 
|---|
| 194 | fi | 
|---|
| 195 | test x\$exitcode = x0 || exit 1 | 
|---|
| 196 | test -x / || exit 1" | 
|---|
| 197 | as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO | 
|---|
| 198 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO | 
|---|
| 199 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | 
|---|
| 200 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 | 
|---|
| 201 | test \$(( 1 + 1 )) = 2 || exit 1" | 
|---|
| 202 | if (eval "$as_required") 2>/dev/null; then : | 
|---|
| 203 | as_have_required=yes | 
|---|
| 204 | else | 
|---|
| 205 | as_have_required=no | 
|---|
| 206 | fi | 
|---|
| 207 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | 
|---|
| 208 |  | 
|---|
| 209 | else | 
|---|
| 210 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 211 | as_found=false | 
|---|
| 212 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 
|---|
| 213 | do | 
|---|
| 214 | IFS=$as_save_IFS | 
|---|
| 215 | test -z "$as_dir" && as_dir=. | 
|---|
| 216 | as_found=: | 
|---|
| 217 | case $as_dir in #( | 
|---|
| 218 | /*) | 
|---|
| 219 | for as_base in sh bash ksh sh5; do | 
|---|
| 220 | # Try only shells that exist, to save several forks. | 
|---|
| 221 | as_shell=$as_dir/$as_base | 
|---|
| 222 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | 
|---|
| 223 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : | 
|---|
| 224 | CONFIG_SHELL=$as_shell as_have_required=yes | 
|---|
| 225 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : | 
|---|
| 226 | break 2 | 
|---|
| 227 | fi | 
|---|
| 228 | fi | 
|---|
| 229 | done;; | 
|---|
| 230 | esac | 
|---|
| 231 | as_found=false | 
|---|
| 232 | done | 
|---|
| 233 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | 
|---|
| 234 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | 
|---|
| 235 | CONFIG_SHELL=$SHELL as_have_required=yes | 
|---|
| 236 | fi; } | 
|---|
| 237 | IFS=$as_save_IFS | 
|---|
| 238 |  | 
|---|
| 239 |  | 
|---|
| 240 | if test "x$CONFIG_SHELL" != x; then : | 
|---|
| 241 | export CONFIG_SHELL | 
|---|
| 242 | # We cannot yet assume a decent shell, so we have to provide a | 
|---|
| 243 | # neutralization value for shells without unset; and this also | 
|---|
| 244 | # works around shells that cannot unset nonexistent variables. | 
|---|
| 245 | # Preserve -v and -x to the replacement shell. | 
|---|
| 246 | BASH_ENV=/dev/null | 
|---|
| 247 | ENV=/dev/null | 
|---|
| 248 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | 
|---|
| 249 | case $- in # (((( | 
|---|
| 250 | *v*x* | *x*v* ) as_opts=-vx ;; | 
|---|
| 251 | *v* ) as_opts=-v ;; | 
|---|
| 252 | *x* ) as_opts=-x ;; | 
|---|
| 253 | * ) as_opts= ;; | 
|---|
| 254 | esac | 
|---|
| 255 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | 
|---|
| 256 | # Admittedly, this is quite paranoid, since all the known shells bail | 
|---|
| 257 | # out after a failed `exec'. | 
|---|
| 258 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | 
|---|
| 259 | exit 255 | 
|---|
| 260 | fi | 
|---|
| 261 |  | 
|---|
| 262 | if test x$as_have_required = xno; then : | 
|---|
| 263 | $as_echo "$0: This script requires a shell more modern than all" | 
|---|
| 264 | $as_echo "$0: the shells that I found on your system." | 
|---|
| 265 | if test x${ZSH_VERSION+set} = xset ; then | 
|---|
| 266 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | 
|---|
| 267 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." | 
|---|
| 268 | else | 
|---|
| 269 | $as_echo "$0: Please tell bug-autoconf@gnu.org and | 
|---|
| 270 | $0: cforall@plg.uwaterloo.ca about your system, including | 
|---|
| 271 | $0: any error possibly output before this message. Then | 
|---|
| 272 | $0: install a modern shell, or manually run the script | 
|---|
| 273 | $0: under such a shell if you do have one." | 
|---|
| 274 | fi | 
|---|
| 275 | exit 1 | 
|---|
| 276 | fi | 
|---|
| 277 | fi | 
|---|
| 278 | fi | 
|---|
| 279 | SHELL=${CONFIG_SHELL-/bin/sh} | 
|---|
| 280 | export SHELL | 
|---|
| 281 | # Unset more variables known to interfere with behavior of common tools. | 
|---|
| 282 | CLICOLOR_FORCE= GREP_OPTIONS= | 
|---|
| 283 | unset CLICOLOR_FORCE GREP_OPTIONS | 
|---|
| 284 |  | 
|---|
| 285 | ## --------------------- ## | 
|---|
| 286 | ## M4sh Shell Functions. ## | 
|---|
| 287 | ## --------------------- ## | 
|---|
| 288 | # as_fn_unset VAR | 
|---|
| 289 | # --------------- | 
|---|
| 290 | # Portably unset VAR. | 
|---|
| 291 | as_fn_unset () | 
|---|
| 292 | { | 
|---|
| 293 | { eval $1=; unset $1;} | 
|---|
| 294 | } | 
|---|
| 295 | as_unset=as_fn_unset | 
|---|
| 296 |  | 
|---|
| 297 | # as_fn_set_status STATUS | 
|---|
| 298 | # ----------------------- | 
|---|
| 299 | # Set $? to STATUS, without forking. | 
|---|
| 300 | as_fn_set_status () | 
|---|
| 301 | { | 
|---|
| 302 | return $1 | 
|---|
| 303 | } # as_fn_set_status | 
|---|
| 304 |  | 
|---|
| 305 | # as_fn_exit STATUS | 
|---|
| 306 | # ----------------- | 
|---|
| 307 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | 
|---|
| 308 | as_fn_exit () | 
|---|
| 309 | { | 
|---|
| 310 | set +e | 
|---|
| 311 | as_fn_set_status $1 | 
|---|
| 312 | exit $1 | 
|---|
| 313 | } # as_fn_exit | 
|---|
| 314 |  | 
|---|
| 315 | # as_fn_mkdir_p | 
|---|
| 316 | # ------------- | 
|---|
| 317 | # Create "$as_dir" as a directory, including parents if necessary. | 
|---|
| 318 | as_fn_mkdir_p () | 
|---|
| 319 | { | 
|---|
| 320 |  | 
|---|
| 321 | case $as_dir in #( | 
|---|
| 322 | -*) as_dir=./$as_dir;; | 
|---|
| 323 | esac | 
|---|
| 324 | test -d "$as_dir" || eval $as_mkdir_p || { | 
|---|
| 325 | as_dirs= | 
|---|
| 326 | while :; do | 
|---|
| 327 | case $as_dir in #( | 
|---|
| 328 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | 
|---|
| 329 | *) as_qdir=$as_dir;; | 
|---|
| 330 | esac | 
|---|
| 331 | as_dirs="'$as_qdir' $as_dirs" | 
|---|
| 332 | as_dir=`$as_dirname -- "$as_dir" || | 
|---|
| 333 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 334 | X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
| 335 | X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
| 336 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | 
|---|
| 337 | $as_echo X"$as_dir" | | 
|---|
| 338 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 
|---|
| 339 | s//\1/ | 
|---|
| 340 | q | 
|---|
| 341 | } | 
|---|
| 342 | /^X\(\/\/\)[^/].*/{ | 
|---|
| 343 | s//\1/ | 
|---|
| 344 | q | 
|---|
| 345 | } | 
|---|
| 346 | /^X\(\/\/\)$/{ | 
|---|
| 347 | s//\1/ | 
|---|
| 348 | q | 
|---|
| 349 | } | 
|---|
| 350 | /^X\(\/\).*/{ | 
|---|
| 351 | s//\1/ | 
|---|
| 352 | q | 
|---|
| 353 | } | 
|---|
| 354 | s/.*/./; q'` | 
|---|
| 355 | test -d "$as_dir" && break | 
|---|
| 356 | done | 
|---|
| 357 | test -z "$as_dirs" || eval "mkdir $as_dirs" | 
|---|
| 358 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | 
|---|
| 359 |  | 
|---|
| 360 |  | 
|---|
| 361 | } # as_fn_mkdir_p | 
|---|
| 362 |  | 
|---|
| 363 | # as_fn_executable_p FILE | 
|---|
| 364 | # ----------------------- | 
|---|
| 365 | # Test if FILE is an executable regular file. | 
|---|
| 366 | as_fn_executable_p () | 
|---|
| 367 | { | 
|---|
| 368 | test -f "$1" && test -x "$1" | 
|---|
| 369 | } # as_fn_executable_p | 
|---|
| 370 | # as_fn_append VAR VALUE | 
|---|
| 371 | # ---------------------- | 
|---|
| 372 | # Append the text in VALUE to the end of the definition contained in VAR. Take | 
|---|
| 373 | # advantage of any shell optimizations that allow amortized linear growth over | 
|---|
| 374 | # repeated appends, instead of the typical quadratic growth present in naive | 
|---|
| 375 | # implementations. | 
|---|
| 376 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | 
|---|
| 377 | eval 'as_fn_append () | 
|---|
| 378 | { | 
|---|
| 379 | eval $1+=\$2 | 
|---|
| 380 | }' | 
|---|
| 381 | else | 
|---|
| 382 | as_fn_append () | 
|---|
| 383 | { | 
|---|
| 384 | eval $1=\$$1\$2 | 
|---|
| 385 | } | 
|---|
| 386 | fi # as_fn_append | 
|---|
| 387 |  | 
|---|
| 388 | # as_fn_arith ARG... | 
|---|
| 389 | # ------------------ | 
|---|
| 390 | # Perform arithmetic evaluation on the ARGs, and store the result in the | 
|---|
| 391 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | 
|---|
| 392 | # must be portable across $(()) and expr. | 
|---|
| 393 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | 
|---|
| 394 | eval 'as_fn_arith () | 
|---|
| 395 | { | 
|---|
| 396 | as_val=$(( $* )) | 
|---|
| 397 | }' | 
|---|
| 398 | else | 
|---|
| 399 | as_fn_arith () | 
|---|
| 400 | { | 
|---|
| 401 | as_val=`expr "$@" || test $? -eq 1` | 
|---|
| 402 | } | 
|---|
| 403 | fi # as_fn_arith | 
|---|
| 404 |  | 
|---|
| 405 |  | 
|---|
| 406 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | 
|---|
| 407 | # ---------------------------------------- | 
|---|
| 408 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 
|---|
| 409 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | 
|---|
| 410 | # script with STATUS, using 1 if that was 0. | 
|---|
| 411 | as_fn_error () | 
|---|
| 412 | { | 
|---|
| 413 | as_status=$1; test $as_status -eq 0 && as_status=1 | 
|---|
| 414 | if test "$4"; then | 
|---|
| 415 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
|---|
| 416 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | 
|---|
| 417 | fi | 
|---|
| 418 | $as_echo "$as_me: error: $2" >&2 | 
|---|
| 419 | as_fn_exit $as_status | 
|---|
| 420 | } # as_fn_error | 
|---|
| 421 |  | 
|---|
| 422 | if expr a : '\(a\)' >/dev/null 2>&1 && | 
|---|
| 423 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | 
|---|
| 424 | as_expr=expr | 
|---|
| 425 | else | 
|---|
| 426 | as_expr=false | 
|---|
| 427 | fi | 
|---|
| 428 |  | 
|---|
| 429 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | 
|---|
| 430 | as_basename=basename | 
|---|
| 431 | else | 
|---|
| 432 | as_basename=false | 
|---|
| 433 | fi | 
|---|
| 434 |  | 
|---|
| 435 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | 
|---|
| 436 | as_dirname=dirname | 
|---|
| 437 | else | 
|---|
| 438 | as_dirname=false | 
|---|
| 439 | fi | 
|---|
| 440 |  | 
|---|
| 441 | as_me=`$as_basename -- "$0" || | 
|---|
| 442 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 
|---|
| 443 | X"$0" : 'X\(//\)$' \| \ | 
|---|
| 444 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | 
|---|
| 445 | $as_echo X/"$0" | | 
|---|
| 446 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | 
|---|
| 447 | s//\1/ | 
|---|
| 448 | q | 
|---|
| 449 | } | 
|---|
| 450 | /^X\/\(\/\/\)$/{ | 
|---|
| 451 | s//\1/ | 
|---|
| 452 | q | 
|---|
| 453 | } | 
|---|
| 454 | /^X\/\(\/\).*/{ | 
|---|
| 455 | s//\1/ | 
|---|
| 456 | q | 
|---|
| 457 | } | 
|---|
| 458 | s/.*/./; q'` | 
|---|
| 459 |  | 
|---|
| 460 | # Avoid depending upon Character Ranges. | 
|---|
| 461 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 
|---|
| 462 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 
|---|
| 463 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 
|---|
| 464 | as_cr_digits='0123456789' | 
|---|
| 465 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 
|---|
| 466 |  | 
|---|
| 467 |  | 
|---|
| 468 | as_lineno_1=$LINENO as_lineno_1a=$LINENO | 
|---|
| 469 | as_lineno_2=$LINENO as_lineno_2a=$LINENO | 
|---|
| 470 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && | 
|---|
| 471 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { | 
|---|
| 472 | # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-) | 
|---|
| 473 | sed -n ' | 
|---|
| 474 | p | 
|---|
| 475 | /[$]LINENO/= | 
|---|
| 476 | ' <$as_myself | | 
|---|
| 477 | sed ' | 
|---|
| 478 | s/[$]LINENO.*/&-/ | 
|---|
| 479 | t lineno | 
|---|
| 480 | b | 
|---|
| 481 | :lineno | 
|---|
| 482 | N | 
|---|
| 483 | :loop | 
|---|
| 484 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | 
|---|
| 485 | t loop | 
|---|
| 486 | s/-\n.*// | 
|---|
| 487 | ' >$as_me.lineno && | 
|---|
| 488 | chmod +x "$as_me.lineno" || | 
|---|
| 489 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } | 
|---|
| 490 |  | 
|---|
| 491 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have | 
|---|
| 492 | # already done that, so ensure we don't try to do so again and fall | 
|---|
| 493 | # in an infinite loop.  This has already happened in practice. | 
|---|
| 494 | _as_can_reexec=no; export _as_can_reexec | 
|---|
| 495 | # Don't try to exec as it changes $[0], causing all sort of problems | 
|---|
| 496 | # (the dirname of $[0] is not the place where we might find the | 
|---|
| 497 | # original and so on.  Autoconf is especially sensitive to this). | 
|---|
| 498 | . "./$as_me.lineno" | 
|---|
| 499 | # Exit status is that of the last command. | 
|---|
| 500 | exit | 
|---|
| 501 | } | 
|---|
| 502 |  | 
|---|
| 503 | ECHO_C= ECHO_N= ECHO_T= | 
|---|
| 504 | case `echo -n x` in #((((( | 
|---|
| 505 | -n*) | 
|---|
| 506 | case `echo 'xy\c'` in | 
|---|
| 507 | *c*) ECHO_T=' ';;     # ECHO_T is single tab character. | 
|---|
| 508 | xy)  ECHO_C='\c';; | 
|---|
| 509 | *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null | 
|---|
| 510 | ECHO_T=' ';; | 
|---|
| 511 | esac;; | 
|---|
| 512 | *) | 
|---|
| 513 | ECHO_N='-n';; | 
|---|
| 514 | esac | 
|---|
| 515 |  | 
|---|
| 516 | rm -f conf$$ conf$$.exe conf$$.file | 
|---|
| 517 | if test -d conf$$.dir; then | 
|---|
| 518 | rm -f conf$$.dir/conf$$.file | 
|---|
| 519 | else | 
|---|
| 520 | rm -f conf$$.dir | 
|---|
| 521 | mkdir conf$$.dir 2>/dev/null | 
|---|
| 522 | fi | 
|---|
| 523 | if (echo >conf$$.file) 2>/dev/null; then | 
|---|
| 524 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 
|---|
| 525 | as_ln_s='ln -s' | 
|---|
| 526 | # ... but there are two gotchas: | 
|---|
| 527 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | 
|---|
| 528 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | 
|---|
| 529 | # In both cases, we have to default to `cp -pR'. | 
|---|
| 530 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | 
|---|
| 531 | as_ln_s='cp -pR' | 
|---|
| 532 | elif ln conf$$.file conf$$ 2>/dev/null; then | 
|---|
| 533 | as_ln_s=ln | 
|---|
| 534 | else | 
|---|
| 535 | as_ln_s='cp -pR' | 
|---|
| 536 | fi | 
|---|
| 537 | else | 
|---|
| 538 | as_ln_s='cp -pR' | 
|---|
| 539 | fi | 
|---|
| 540 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 
|---|
| 541 | rmdir conf$$.dir 2>/dev/null | 
|---|
| 542 |  | 
|---|
| 543 | if mkdir -p . 2>/dev/null; then | 
|---|
| 544 | as_mkdir_p='mkdir -p "$as_dir"' | 
|---|
| 545 | else | 
|---|
| 546 | test -d ./-p && rmdir ./-p | 
|---|
| 547 | as_mkdir_p=false | 
|---|
| 548 | fi | 
|---|
| 549 |  | 
|---|
| 550 | as_test_x='test -x' | 
|---|
| 551 | as_executable_p=as_fn_executable_p | 
|---|
| 552 |  | 
|---|
| 553 | # Sed expression to map a string onto a valid CPP name. | 
|---|
| 554 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 
|---|
| 555 |  | 
|---|
| 556 | # Sed expression to map a string onto a valid variable name. | 
|---|
| 557 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 
|---|
| 558 |  | 
|---|
| 559 |  | 
|---|
| 560 | test -n "$DJDIR" || exec 7<&0 </dev/null | 
|---|
| 561 | exec 6>&1 | 
|---|
| 562 |  | 
|---|
| 563 | # Name of the host. | 
|---|
| 564 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, | 
|---|
| 565 | # so uname gets run too. | 
|---|
| 566 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 
|---|
| 567 |  | 
|---|
| 568 | # | 
|---|
| 569 | # Initializations. | 
|---|
| 570 | # | 
|---|
| 571 | ac_default_prefix=/usr/local | 
|---|
| 572 | ac_clean_files= | 
|---|
| 573 | ac_config_libobj_dir=. | 
|---|
| 574 | LIBOBJS= | 
|---|
| 575 | cross_compiling=no | 
|---|
| 576 | subdirs= | 
|---|
| 577 | MFLAGS= | 
|---|
| 578 | MAKEFLAGS= | 
|---|
| 579 |  | 
|---|
| 580 | # Identity of this package. | 
|---|
| 581 | PACKAGE_NAME='cfa-cc' | 
|---|
| 582 | PACKAGE_TARNAME='cfa-cc' | 
|---|
| 583 | PACKAGE_VERSION='1.0.0.0' | 
|---|
| 584 | PACKAGE_STRING='cfa-cc 1.0.0.0' | 
|---|
| 585 | PACKAGE_BUGREPORT='cforall@plg.uwaterloo.ca' | 
|---|
| 586 | PACKAGE_URL='' | 
|---|
| 587 |  | 
|---|
| 588 | # Factoring default headers for most tests. | 
|---|
| 589 | ac_includes_default="\ | 
|---|
| 590 | #include <stdio.h> | 
|---|
| 591 | #ifdef HAVE_SYS_TYPES_H | 
|---|
| 592 | # include <sys/types.h> | 
|---|
| 593 | #endif | 
|---|
| 594 | #ifdef HAVE_SYS_STAT_H | 
|---|
| 595 | # include <sys/stat.h> | 
|---|
| 596 | #endif | 
|---|
| 597 | #ifdef STDC_HEADERS | 
|---|
| 598 | # include <stdlib.h> | 
|---|
| 599 | # include <stddef.h> | 
|---|
| 600 | #else | 
|---|
| 601 | # ifdef HAVE_STDLIB_H | 
|---|
| 602 | #  include <stdlib.h> | 
|---|
| 603 | # endif | 
|---|
| 604 | #endif | 
|---|
| 605 | #ifdef HAVE_STRING_H | 
|---|
| 606 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | 
|---|
| 607 | #  include <memory.h> | 
|---|
| 608 | # endif | 
|---|
| 609 | # include <string.h> | 
|---|
| 610 | #endif | 
|---|
| 611 | #ifdef HAVE_STRINGS_H | 
|---|
| 612 | # include <strings.h> | 
|---|
| 613 | #endif | 
|---|
| 614 | #ifdef HAVE_INTTYPES_H | 
|---|
| 615 | # include <inttypes.h> | 
|---|
| 616 | #endif | 
|---|
| 617 | #ifdef HAVE_STDINT_H | 
|---|
| 618 | # include <stdint.h> | 
|---|
| 619 | #endif | 
|---|
| 620 | #ifdef HAVE_UNISTD_H | 
|---|
| 621 | # include <unistd.h> | 
|---|
| 622 | #endif" | 
|---|
| 623 |  | 
|---|
| 624 | ac_subst_vars='am__EXEEXT_FALSE | 
|---|
| 625 | am__EXEEXT_TRUE | 
|---|
| 626 | LTLIBOBJS | 
|---|
| 627 | LIBOBJS | 
|---|
| 628 | ALLOCA | 
|---|
| 629 | EGREP | 
|---|
| 630 | GREP | 
|---|
| 631 | CPP | 
|---|
| 632 | WITH_LIBFIBRE_FALSE | 
|---|
| 633 | WITH_LIBFIBRE_TRUE | 
|---|
| 634 | RANLIB | 
|---|
| 635 | LEXLIB | 
|---|
| 636 | LEX_OUTPUT_ROOT | 
|---|
| 637 | LEX | 
|---|
| 638 | YFLAGS | 
|---|
| 639 | YACC | 
|---|
| 640 | am__fastdepCCAS_FALSE | 
|---|
| 641 | am__fastdepCCAS_TRUE | 
|---|
| 642 | CCASDEPMODE | 
|---|
| 643 | CCASFLAGS | 
|---|
| 644 | CCAS | 
|---|
| 645 | am__fastdepCC_FALSE | 
|---|
| 646 | am__fastdepCC_TRUE | 
|---|
| 647 | CCDEPMODE | 
|---|
| 648 | ac_ct_CC | 
|---|
| 649 | CFLAGS | 
|---|
| 650 | CC | 
|---|
| 651 | am__fastdepCXX_FALSE | 
|---|
| 652 | am__fastdepCXX_TRUE | 
|---|
| 653 | CXXDEPMODE | 
|---|
| 654 | am__nodep | 
|---|
| 655 | AMDEPBACKSLASH | 
|---|
| 656 | AMDEP_FALSE | 
|---|
| 657 | AMDEP_TRUE | 
|---|
| 658 | am__quote | 
|---|
| 659 | am__include | 
|---|
| 660 | DEPDIR | 
|---|
| 661 | OBJEXT | 
|---|
| 662 | EXEEXT | 
|---|
| 663 | ac_ct_CXX | 
|---|
| 664 | CPPFLAGS | 
|---|
| 665 | LDFLAGS | 
|---|
| 666 | CXXFLAGS | 
|---|
| 667 | CXX | 
|---|
| 668 | CFA_FLAGS | 
|---|
| 669 | LIBCFA_TARGET_MAKEFILES | 
|---|
| 670 | LIBCFA_TARGET_DIRS | 
|---|
| 671 | TARGET_HOSTS | 
|---|
| 672 | HOST_FLAGS | 
|---|
| 673 | host_os | 
|---|
| 674 | host_vendor | 
|---|
| 675 | host_cpu | 
|---|
| 676 | host | 
|---|
| 677 | build_os | 
|---|
| 678 | build_vendor | 
|---|
| 679 | build_cpu | 
|---|
| 680 | build | 
|---|
| 681 | BUILD_IN_TREE_FLAGS | 
|---|
| 682 | CFACPP | 
|---|
| 683 | CFACC | 
|---|
| 684 | DRIVER_DIR | 
|---|
| 685 | CFA_LIBDIR | 
|---|
| 686 | CFA_BINDIR | 
|---|
| 687 | CFA_INCDIR | 
|---|
| 688 | CFA_PREFIX | 
|---|
| 689 | CFA_BACKEND_CC | 
|---|
| 690 | BACKEND_CC | 
|---|
| 691 | DOendif | 
|---|
| 692 | DOifskipcompile | 
|---|
| 693 | CFA_NAME | 
|---|
| 694 | am__untar | 
|---|
| 695 | am__tar | 
|---|
| 696 | AMTAR | 
|---|
| 697 | am__leading_dot | 
|---|
| 698 | SET_MAKE | 
|---|
| 699 | AWK | 
|---|
| 700 | mkdir_p | 
|---|
| 701 | MKDIR_P | 
|---|
| 702 | INSTALL_STRIP_PROGRAM | 
|---|
| 703 | STRIP | 
|---|
| 704 | install_sh | 
|---|
| 705 | MAKEINFO | 
|---|
| 706 | AUTOHEADER | 
|---|
| 707 | AUTOMAKE | 
|---|
| 708 | AUTOCONF | 
|---|
| 709 | ACLOCAL | 
|---|
| 710 | VERSION | 
|---|
| 711 | PACKAGE | 
|---|
| 712 | CYGPATH_W | 
|---|
| 713 | am__isrc | 
|---|
| 714 | INSTALL_DATA | 
|---|
| 715 | INSTALL_SCRIPT | 
|---|
| 716 | INSTALL_PROGRAM | 
|---|
| 717 | AM_BACKSLASH | 
|---|
| 718 | AM_DEFAULT_VERBOSITY | 
|---|
| 719 | AM_DEFAULT_V | 
|---|
| 720 | AM_V | 
|---|
| 721 | target_alias | 
|---|
| 722 | host_alias | 
|---|
| 723 | build_alias | 
|---|
| 724 | LIBS | 
|---|
| 725 | ECHO_T | 
|---|
| 726 | ECHO_N | 
|---|
| 727 | ECHO_C | 
|---|
| 728 | DEFS | 
|---|
| 729 | mandir | 
|---|
| 730 | localedir | 
|---|
| 731 | libdir | 
|---|
| 732 | psdir | 
|---|
| 733 | pdfdir | 
|---|
| 734 | dvidir | 
|---|
| 735 | htmldir | 
|---|
| 736 | infodir | 
|---|
| 737 | docdir | 
|---|
| 738 | oldincludedir | 
|---|
| 739 | includedir | 
|---|
| 740 | runstatedir | 
|---|
| 741 | localstatedir | 
|---|
| 742 | sharedstatedir | 
|---|
| 743 | sysconfdir | 
|---|
| 744 | datadir | 
|---|
| 745 | datarootdir | 
|---|
| 746 | libexecdir | 
|---|
| 747 | sbindir | 
|---|
| 748 | bindir | 
|---|
| 749 | program_transform_name | 
|---|
| 750 | prefix | 
|---|
| 751 | exec_prefix | 
|---|
| 752 | PACKAGE_URL | 
|---|
| 753 | PACKAGE_BUGREPORT | 
|---|
| 754 | PACKAGE_STRING | 
|---|
| 755 | PACKAGE_VERSION | 
|---|
| 756 | PACKAGE_TARNAME | 
|---|
| 757 | PACKAGE_NAME | 
|---|
| 758 | PATH_SEPARATOR | 
|---|
| 759 | SHELL' | 
|---|
| 760 | ac_subst_files='' | 
|---|
| 761 | ac_user_opts=' | 
|---|
| 762 | enable_option_checking | 
|---|
| 763 | enable_silent_rules | 
|---|
| 764 | with_cfa_name | 
|---|
| 765 | with_backend_compiler | 
|---|
| 766 | with_target_hosts | 
|---|
| 767 | enable_dependency_tracking | 
|---|
| 768 | ' | 
|---|
| 769 | ac_precious_vars='build_alias | 
|---|
| 770 | host_alias | 
|---|
| 771 | target_alias | 
|---|
| 772 | CXX | 
|---|
| 773 | CXXFLAGS | 
|---|
| 774 | LDFLAGS | 
|---|
| 775 | LIBS | 
|---|
| 776 | CPPFLAGS | 
|---|
| 777 | CCC | 
|---|
| 778 | CC | 
|---|
| 779 | CFLAGS | 
|---|
| 780 | CCAS | 
|---|
| 781 | CCASFLAGS | 
|---|
| 782 | YACC | 
|---|
| 783 | YFLAGS | 
|---|
| 784 | CPP' | 
|---|
| 785 |  | 
|---|
| 786 |  | 
|---|
| 787 | # Initialize some variables set by options. | 
|---|
| 788 | ac_init_help= | 
|---|
| 789 | ac_init_version=false | 
|---|
| 790 | ac_unrecognized_opts= | 
|---|
| 791 | ac_unrecognized_sep= | 
|---|
| 792 | # The variables have the same names as the options, with | 
|---|
| 793 | # dashes changed to underlines. | 
|---|
| 794 | cache_file=/dev/null | 
|---|
| 795 | exec_prefix=NONE | 
|---|
| 796 | no_create= | 
|---|
| 797 | no_recursion= | 
|---|
| 798 | prefix=NONE | 
|---|
| 799 | program_prefix=NONE | 
|---|
| 800 | program_suffix=NONE | 
|---|
| 801 | program_transform_name=s,x,x, | 
|---|
| 802 | silent= | 
|---|
| 803 | site= | 
|---|
| 804 | srcdir= | 
|---|
| 805 | verbose= | 
|---|
| 806 | x_includes=NONE | 
|---|
| 807 | x_libraries=NONE | 
|---|
| 808 |  | 
|---|
| 809 | # Installation directory options. | 
|---|
| 810 | # These are left unexpanded so users can "make install exec_prefix=/foo" | 
|---|
| 811 | # and all the variables that are supposed to be based on exec_prefix | 
|---|
| 812 | # by default will actually change. | 
|---|
| 813 | # Use braces instead of parens because sh, perl, etc. also accept them. | 
|---|
| 814 | # (The list follows the same order as the GNU Coding Standards.) | 
|---|
| 815 | bindir='${exec_prefix}/bin' | 
|---|
| 816 | sbindir='${exec_prefix}/sbin' | 
|---|
| 817 | libexecdir='${exec_prefix}/libexec' | 
|---|
| 818 | datarootdir='${prefix}/share' | 
|---|
| 819 | datadir='${datarootdir}' | 
|---|
| 820 | sysconfdir='${prefix}/etc' | 
|---|
| 821 | sharedstatedir='${prefix}/com' | 
|---|
| 822 | localstatedir='${prefix}/var' | 
|---|
| 823 | runstatedir='${localstatedir}/run' | 
|---|
| 824 | includedir='${prefix}/include' | 
|---|
| 825 | oldincludedir='/usr/include' | 
|---|
| 826 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' | 
|---|
| 827 | infodir='${datarootdir}/info' | 
|---|
| 828 | htmldir='${docdir}' | 
|---|
| 829 | dvidir='${docdir}' | 
|---|
| 830 | pdfdir='${docdir}' | 
|---|
| 831 | psdir='${docdir}' | 
|---|
| 832 | libdir='${exec_prefix}/lib' | 
|---|
| 833 | localedir='${datarootdir}/locale' | 
|---|
| 834 | mandir='${datarootdir}/man' | 
|---|
| 835 |  | 
|---|
| 836 | ac_prev= | 
|---|
| 837 | ac_dashdash= | 
|---|
| 838 | for ac_option | 
|---|
| 839 | do | 
|---|
| 840 | # If the previous option needs an argument, assign it. | 
|---|
| 841 | if test -n "$ac_prev"; then | 
|---|
| 842 | eval $ac_prev=\$ac_option | 
|---|
| 843 | ac_prev= | 
|---|
| 844 | continue | 
|---|
| 845 | fi | 
|---|
| 846 |  | 
|---|
| 847 | case $ac_option in | 
|---|
| 848 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | 
|---|
| 849 | *=)   ac_optarg= ;; | 
|---|
| 850 | *)    ac_optarg=yes ;; | 
|---|
| 851 | esac | 
|---|
| 852 |  | 
|---|
| 853 | # Accept the important Cygnus configure options, so we can diagnose typos. | 
|---|
| 854 |  | 
|---|
| 855 | case $ac_dashdash$ac_option in | 
|---|
| 856 | --) | 
|---|
| 857 | ac_dashdash=yes ;; | 
|---|
| 858 |  | 
|---|
| 859 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | 
|---|
| 860 | ac_prev=bindir ;; | 
|---|
| 861 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | 
|---|
| 862 | bindir=$ac_optarg ;; | 
|---|
| 863 |  | 
|---|
| 864 | -build | --build | --buil | --bui | --bu) | 
|---|
| 865 | ac_prev=build_alias ;; | 
|---|
| 866 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) | 
|---|
| 867 | build_alias=$ac_optarg ;; | 
|---|
| 868 |  | 
|---|
| 869 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | 
|---|
| 870 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | 
|---|
| 871 | ac_prev=cache_file ;; | 
|---|
| 872 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | 
|---|
| 873 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | 
|---|
| 874 | cache_file=$ac_optarg ;; | 
|---|
| 875 |  | 
|---|
| 876 | --config-cache | -C) | 
|---|
| 877 | cache_file=config.cache ;; | 
|---|
| 878 |  | 
|---|
| 879 | -datadir | --datadir | --datadi | --datad) | 
|---|
| 880 | ac_prev=datadir ;; | 
|---|
| 881 | -datadir=* | --datadir=* | --datadi=* | --datad=*) | 
|---|
| 882 | datadir=$ac_optarg ;; | 
|---|
| 883 |  | 
|---|
| 884 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | 
|---|
| 885 | | --dataroo | --dataro | --datar) | 
|---|
| 886 | ac_prev=datarootdir ;; | 
|---|
| 887 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | 
|---|
| 888 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | 
|---|
| 889 | datarootdir=$ac_optarg ;; | 
|---|
| 890 |  | 
|---|
| 891 | -disable-* | --disable-*) | 
|---|
| 892 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 
|---|
| 893 | # Reject names that are not valid shell variable names. | 
|---|
| 894 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 
|---|
| 895 | as_fn_error $? "invalid feature name: $ac_useropt" | 
|---|
| 896 | ac_useropt_orig=$ac_useropt | 
|---|
| 897 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 
|---|
| 898 | case $ac_user_opts in | 
|---|
| 899 | *" | 
|---|
| 900 | "enable_$ac_useropt" | 
|---|
| 901 | "*) ;; | 
|---|
| 902 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | 
|---|
| 903 | ac_unrecognized_sep=', ';; | 
|---|
| 904 | esac | 
|---|
| 905 | eval enable_$ac_useropt=no ;; | 
|---|
| 906 |  | 
|---|
| 907 | -docdir | --docdir | --docdi | --doc | --do) | 
|---|
| 908 | ac_prev=docdir ;; | 
|---|
| 909 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | 
|---|
| 910 | docdir=$ac_optarg ;; | 
|---|
| 911 |  | 
|---|
| 912 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | 
|---|
| 913 | ac_prev=dvidir ;; | 
|---|
| 914 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | 
|---|
| 915 | dvidir=$ac_optarg ;; | 
|---|
| 916 |  | 
|---|
| 917 | -enable-* | --enable-*) | 
|---|
| 918 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 
|---|
| 919 | # Reject names that are not valid shell variable names. | 
|---|
| 920 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 
|---|
| 921 | as_fn_error $? "invalid feature name: $ac_useropt" | 
|---|
| 922 | ac_useropt_orig=$ac_useropt | 
|---|
| 923 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 
|---|
| 924 | case $ac_user_opts in | 
|---|
| 925 | *" | 
|---|
| 926 | "enable_$ac_useropt" | 
|---|
| 927 | "*) ;; | 
|---|
| 928 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | 
|---|
| 929 | ac_unrecognized_sep=', ';; | 
|---|
| 930 | esac | 
|---|
| 931 | eval enable_$ac_useropt=\$ac_optarg ;; | 
|---|
| 932 |  | 
|---|
| 933 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 
|---|
| 934 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 
|---|
| 935 | | --exec | --exe | --ex) | 
|---|
| 936 | ac_prev=exec_prefix ;; | 
|---|
| 937 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | 
|---|
| 938 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | 
|---|
| 939 | | --exec=* | --exe=* | --ex=*) | 
|---|
| 940 | exec_prefix=$ac_optarg ;; | 
|---|
| 941 |  | 
|---|
| 942 | -gas | --gas | --ga | --g) | 
|---|
| 943 | # Obsolete; use --with-gas. | 
|---|
| 944 | with_gas=yes ;; | 
|---|
| 945 |  | 
|---|
| 946 | -help | --help | --hel | --he | -h) | 
|---|
| 947 | ac_init_help=long ;; | 
|---|
| 948 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | 
|---|
| 949 | ac_init_help=recursive ;; | 
|---|
| 950 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | 
|---|
| 951 | ac_init_help=short ;; | 
|---|
| 952 |  | 
|---|
| 953 | -host | --host | --hos | --ho) | 
|---|
| 954 | ac_prev=host_alias ;; | 
|---|
| 955 | -host=* | --host=* | --hos=* | --ho=*) | 
|---|
| 956 | host_alias=$ac_optarg ;; | 
|---|
| 957 |  | 
|---|
| 958 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | 
|---|
| 959 | ac_prev=htmldir ;; | 
|---|
| 960 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | 
|---|
| 961 | | --ht=*) | 
|---|
| 962 | htmldir=$ac_optarg ;; | 
|---|
| 963 |  | 
|---|
| 964 | -includedir | --includedir | --includedi | --included | --include \ | 
|---|
| 965 | | --includ | --inclu | --incl | --inc) | 
|---|
| 966 | ac_prev=includedir ;; | 
|---|
| 967 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | 
|---|
| 968 | | --includ=* | --inclu=* | --incl=* | --inc=*) | 
|---|
| 969 | includedir=$ac_optarg ;; | 
|---|
| 970 |  | 
|---|
| 971 | -infodir | --infodir | --infodi | --infod | --info | --inf) | 
|---|
| 972 | ac_prev=infodir ;; | 
|---|
| 973 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | 
|---|
| 974 | infodir=$ac_optarg ;; | 
|---|
| 975 |  | 
|---|
| 976 | -libdir | --libdir | --libdi | --libd) | 
|---|
| 977 | ac_prev=libdir ;; | 
|---|
| 978 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | 
|---|
| 979 | libdir=$ac_optarg ;; | 
|---|
| 980 |  | 
|---|
| 981 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | 
|---|
| 982 | | --libexe | --libex | --libe) | 
|---|
| 983 | ac_prev=libexecdir ;; | 
|---|
| 984 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | 
|---|
| 985 | | --libexe=* | --libex=* | --libe=*) | 
|---|
| 986 | libexecdir=$ac_optarg ;; | 
|---|
| 987 |  | 
|---|
| 988 | -localedir | --localedir | --localedi | --localed | --locale) | 
|---|
| 989 | ac_prev=localedir ;; | 
|---|
| 990 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | 
|---|
| 991 | localedir=$ac_optarg ;; | 
|---|
| 992 |  | 
|---|
| 993 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | 
|---|
| 994 | | --localstate | --localstat | --localsta | --localst | --locals) | 
|---|
| 995 | ac_prev=localstatedir ;; | 
|---|
| 996 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | 
|---|
| 997 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) | 
|---|
| 998 | localstatedir=$ac_optarg ;; | 
|---|
| 999 |  | 
|---|
| 1000 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | 
|---|
| 1001 | ac_prev=mandir ;; | 
|---|
| 1002 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | 
|---|
| 1003 | mandir=$ac_optarg ;; | 
|---|
| 1004 |  | 
|---|
| 1005 | -nfp | --nfp | --nf) | 
|---|
| 1006 | # Obsolete; use --without-fp. | 
|---|
| 1007 | with_fp=no ;; | 
|---|
| 1008 |  | 
|---|
| 1009 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | 
|---|
| 1010 | | --no-cr | --no-c | -n) | 
|---|
| 1011 | no_create=yes ;; | 
|---|
| 1012 |  | 
|---|
| 1013 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | 
|---|
| 1014 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | 
|---|
| 1015 | no_recursion=yes ;; | 
|---|
| 1016 |  | 
|---|
| 1017 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | 
|---|
| 1018 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | 
|---|
| 1019 | | --oldin | --oldi | --old | --ol | --o) | 
|---|
| 1020 | ac_prev=oldincludedir ;; | 
|---|
| 1021 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | 
|---|
| 1022 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | 
|---|
| 1023 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | 
|---|
| 1024 | oldincludedir=$ac_optarg ;; | 
|---|
| 1025 |  | 
|---|
| 1026 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | 
|---|
| 1027 | ac_prev=prefix ;; | 
|---|
| 1028 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | 
|---|
| 1029 | prefix=$ac_optarg ;; | 
|---|
| 1030 |  | 
|---|
| 1031 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | 
|---|
| 1032 | | --program-pre | --program-pr | --program-p) | 
|---|
| 1033 | ac_prev=program_prefix ;; | 
|---|
| 1034 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | 
|---|
| 1035 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | 
|---|
| 1036 | program_prefix=$ac_optarg ;; | 
|---|
| 1037 |  | 
|---|
| 1038 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | 
|---|
| 1039 | | --program-suf | --program-su | --program-s) | 
|---|
| 1040 | ac_prev=program_suffix ;; | 
|---|
| 1041 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | 
|---|
| 1042 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | 
|---|
| 1043 | program_suffix=$ac_optarg ;; | 
|---|
| 1044 |  | 
|---|
| 1045 | -program-transform-name | --program-transform-name \ | 
|---|
| 1046 | | --program-transform-nam | --program-transform-na \ | 
|---|
| 1047 | | --program-transform-n | --program-transform- \ | 
|---|
| 1048 | | --program-transform | --program-transfor \ | 
|---|
| 1049 | | --program-transfo | --program-transf \ | 
|---|
| 1050 | | --program-trans | --program-tran \ | 
|---|
| 1051 | | --progr-tra | --program-tr | --program-t) | 
|---|
| 1052 | ac_prev=program_transform_name ;; | 
|---|
| 1053 | -program-transform-name=* | --program-transform-name=* \ | 
|---|
| 1054 | | --program-transform-nam=* | --program-transform-na=* \ | 
|---|
| 1055 | | --program-transform-n=* | --program-transform-=* \ | 
|---|
| 1056 | | --program-transform=* | --program-transfor=* \ | 
|---|
| 1057 | | --program-transfo=* | --program-transf=* \ | 
|---|
| 1058 | | --program-trans=* | --program-tran=* \ | 
|---|
| 1059 | | --progr-tra=* | --program-tr=* | --program-t=*) | 
|---|
| 1060 | program_transform_name=$ac_optarg ;; | 
|---|
| 1061 |  | 
|---|
| 1062 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | 
|---|
| 1063 | ac_prev=pdfdir ;; | 
|---|
| 1064 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | 
|---|
| 1065 | pdfdir=$ac_optarg ;; | 
|---|
| 1066 |  | 
|---|
| 1067 | -psdir | --psdir | --psdi | --psd | --ps) | 
|---|
| 1068 | ac_prev=psdir ;; | 
|---|
| 1069 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | 
|---|
| 1070 | psdir=$ac_optarg ;; | 
|---|
| 1071 |  | 
|---|
| 1072 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
|---|
| 1073 | | -silent | --silent | --silen | --sile | --sil) | 
|---|
| 1074 | silent=yes ;; | 
|---|
| 1075 |  | 
|---|
| 1076 | -runstatedir | --runstatedir | --runstatedi | --runstated \ | 
|---|
| 1077 | | --runstate | --runstat | --runsta | --runst | --runs \ | 
|---|
| 1078 | | --run | --ru | --r) | 
|---|
| 1079 | ac_prev=runstatedir ;; | 
|---|
| 1080 | -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ | 
|---|
| 1081 | | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ | 
|---|
| 1082 | | --run=* | --ru=* | --r=*) | 
|---|
| 1083 | runstatedir=$ac_optarg ;; | 
|---|
| 1084 |  | 
|---|
| 1085 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | 
|---|
| 1086 | ac_prev=sbindir ;; | 
|---|
| 1087 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | 
|---|
| 1088 | | --sbi=* | --sb=*) | 
|---|
| 1089 | sbindir=$ac_optarg ;; | 
|---|
| 1090 |  | 
|---|
| 1091 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | 
|---|
| 1092 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | 
|---|
| 1093 | | --sharedst | --shareds | --shared | --share | --shar \ | 
|---|
| 1094 | | --sha | --sh) | 
|---|
| 1095 | ac_prev=sharedstatedir ;; | 
|---|
| 1096 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | 
|---|
| 1097 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | 
|---|
| 1098 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | 
|---|
| 1099 | | --sha=* | --sh=*) | 
|---|
| 1100 | sharedstatedir=$ac_optarg ;; | 
|---|
| 1101 |  | 
|---|
| 1102 | -site | --site | --sit) | 
|---|
| 1103 | ac_prev=site ;; | 
|---|
| 1104 | -site=* | --site=* | --sit=*) | 
|---|
| 1105 | site=$ac_optarg ;; | 
|---|
| 1106 |  | 
|---|
| 1107 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | 
|---|
| 1108 | ac_prev=srcdir ;; | 
|---|
| 1109 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | 
|---|
| 1110 | srcdir=$ac_optarg ;; | 
|---|
| 1111 |  | 
|---|
| 1112 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | 
|---|
| 1113 | | --syscon | --sysco | --sysc | --sys | --sy) | 
|---|
| 1114 | ac_prev=sysconfdir ;; | 
|---|
| 1115 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | 
|---|
| 1116 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | 
|---|
| 1117 | sysconfdir=$ac_optarg ;; | 
|---|
| 1118 |  | 
|---|
| 1119 | -target | --target | --targe | --targ | --tar | --ta | --t) | 
|---|
| 1120 | ac_prev=target_alias ;; | 
|---|
| 1121 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | 
|---|
| 1122 | target_alias=$ac_optarg ;; | 
|---|
| 1123 |  | 
|---|
| 1124 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | 
|---|
| 1125 | verbose=yes ;; | 
|---|
| 1126 |  | 
|---|
| 1127 | -version | --version | --versio | --versi | --vers | -V) | 
|---|
| 1128 | ac_init_version=: ;; | 
|---|
| 1129 |  | 
|---|
| 1130 | -with-* | --with-*) | 
|---|
| 1131 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 
|---|
| 1132 | # Reject names that are not valid shell variable names. | 
|---|
| 1133 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 
|---|
| 1134 | as_fn_error $? "invalid package name: $ac_useropt" | 
|---|
| 1135 | ac_useropt_orig=$ac_useropt | 
|---|
| 1136 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 
|---|
| 1137 | case $ac_user_opts in | 
|---|
| 1138 | *" | 
|---|
| 1139 | "with_$ac_useropt" | 
|---|
| 1140 | "*) ;; | 
|---|
| 1141 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | 
|---|
| 1142 | ac_unrecognized_sep=', ';; | 
|---|
| 1143 | esac | 
|---|
| 1144 | eval with_$ac_useropt=\$ac_optarg ;; | 
|---|
| 1145 |  | 
|---|
| 1146 | -without-* | --without-*) | 
|---|
| 1147 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 
|---|
| 1148 | # Reject names that are not valid shell variable names. | 
|---|
| 1149 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 
|---|
| 1150 | as_fn_error $? "invalid package name: $ac_useropt" | 
|---|
| 1151 | ac_useropt_orig=$ac_useropt | 
|---|
| 1152 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 
|---|
| 1153 | case $ac_user_opts in | 
|---|
| 1154 | *" | 
|---|
| 1155 | "with_$ac_useropt" | 
|---|
| 1156 | "*) ;; | 
|---|
| 1157 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | 
|---|
| 1158 | ac_unrecognized_sep=', ';; | 
|---|
| 1159 | esac | 
|---|
| 1160 | eval with_$ac_useropt=no ;; | 
|---|
| 1161 |  | 
|---|
| 1162 | --x) | 
|---|
| 1163 | # Obsolete; use --with-x. | 
|---|
| 1164 | with_x=yes ;; | 
|---|
| 1165 |  | 
|---|
| 1166 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | 
|---|
| 1167 | | --x-incl | --x-inc | --x-in | --x-i) | 
|---|
| 1168 | ac_prev=x_includes ;; | 
|---|
| 1169 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | 
|---|
| 1170 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | 
|---|
| 1171 | x_includes=$ac_optarg ;; | 
|---|
| 1172 |  | 
|---|
| 1173 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | 
|---|
| 1174 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | 
|---|
| 1175 | ac_prev=x_libraries ;; | 
|---|
| 1176 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 
|---|
| 1177 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 
|---|
| 1178 | x_libraries=$ac_optarg ;; | 
|---|
| 1179 |  | 
|---|
| 1180 | -*) as_fn_error $? "unrecognized option: \`$ac_option' | 
|---|
| 1181 | Try \`$0 --help' for more information" | 
|---|
| 1182 | ;; | 
|---|
| 1183 |  | 
|---|
| 1184 | *=*) | 
|---|
| 1185 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 
|---|
| 1186 | # Reject names that are not valid shell variable names. | 
|---|
| 1187 | case $ac_envvar in #( | 
|---|
| 1188 | '' | [0-9]* | *[!_$as_cr_alnum]* ) | 
|---|
| 1189 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | 
|---|
| 1190 | esac | 
|---|
| 1191 | eval $ac_envvar=\$ac_optarg | 
|---|
| 1192 | export $ac_envvar ;; | 
|---|
| 1193 |  | 
|---|
| 1194 | *) | 
|---|
| 1195 | # FIXME: should be removed in autoconf 3.0. | 
|---|
| 1196 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 
|---|
| 1197 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | 
|---|
| 1198 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | 
|---|
| 1199 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" | 
|---|
| 1200 | ;; | 
|---|
| 1201 |  | 
|---|
| 1202 | esac | 
|---|
| 1203 | done | 
|---|
| 1204 |  | 
|---|
| 1205 | if test -n "$ac_prev"; then | 
|---|
| 1206 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 
|---|
| 1207 | as_fn_error $? "missing argument to $ac_option" | 
|---|
| 1208 | fi | 
|---|
| 1209 |  | 
|---|
| 1210 | if test -n "$ac_unrecognized_opts"; then | 
|---|
| 1211 | case $enable_option_checking in | 
|---|
| 1212 | no) ;; | 
|---|
| 1213 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | 
|---|
| 1214 | *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | 
|---|
| 1215 | esac | 
|---|
| 1216 | fi | 
|---|
| 1217 |  | 
|---|
| 1218 | # Check all directory arguments for consistency. | 
|---|
| 1219 | for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \ | 
|---|
| 1220 | datadir sysconfdir sharedstatedir localstatedir includedir \ | 
|---|
| 1221 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | 
|---|
| 1222 | libdir localedir mandir runstatedir | 
|---|
| 1223 | do | 
|---|
| 1224 | eval ac_val=\$$ac_var | 
|---|
| 1225 | # Remove trailing slashes. | 
|---|
| 1226 | case $ac_val in | 
|---|
| 1227 | */ ) | 
|---|
| 1228 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | 
|---|
| 1229 | eval $ac_var=\$ac_val;; | 
|---|
| 1230 | esac | 
|---|
| 1231 | # Be sure to have absolute directory names. | 
|---|
| 1232 | case $ac_val in | 
|---|
| 1233 | [\\/$]* | ?:[\\/]* )  continue;; | 
|---|
| 1234 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 
|---|
| 1235 | esac | 
|---|
| 1236 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | 
|---|
| 1237 | done | 
|---|
| 1238 |  | 
|---|
| 1239 | # There might be people who depend on the old broken behavior: `$host' | 
|---|
| 1240 | # used to hold the argument of --host etc. | 
|---|
| 1241 | # FIXME: To remove some day. | 
|---|
| 1242 | build=$build_alias | 
|---|
| 1243 | host=$host_alias | 
|---|
| 1244 | target=$target_alias | 
|---|
| 1245 |  | 
|---|
| 1246 | # FIXME: To remove some day. | 
|---|
| 1247 | if test "x$host_alias" != x; then | 
|---|
| 1248 | if test "x$build_alias" = x; then | 
|---|
| 1249 | cross_compiling=maybe | 
|---|
| 1250 | elif test "x$build_alias" != "x$host_alias"; then | 
|---|
| 1251 | cross_compiling=yes | 
|---|
| 1252 | fi | 
|---|
| 1253 | fi | 
|---|
| 1254 |  | 
|---|
| 1255 | ac_tool_prefix= | 
|---|
| 1256 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | 
|---|
| 1257 |  | 
|---|
| 1258 | test "$silent" = yes && exec 6>/dev/null | 
|---|
| 1259 |  | 
|---|
| 1260 |  | 
|---|
| 1261 | ac_pwd=`pwd` && test -n "$ac_pwd" && | 
|---|
| 1262 | ac_ls_di=`ls -di .` && | 
|---|
| 1263 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 
|---|
| 1264 | as_fn_error $? "working directory cannot be determined" | 
|---|
| 1265 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 
|---|
| 1266 | as_fn_error $? "pwd does not report name of working directory" | 
|---|
| 1267 |  | 
|---|
| 1268 |  | 
|---|
| 1269 | # Find the source files, if location was not specified. | 
|---|
| 1270 | if test -z "$srcdir"; then | 
|---|
| 1271 | ac_srcdir_defaulted=yes | 
|---|
| 1272 | # Try the directory containing this script, then the parent directory. | 
|---|
| 1273 | ac_confdir=`$as_dirname -- "$as_myself" || | 
|---|
| 1274 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 1275 | X"$as_myself" : 'X\(//\)[^/]' \| \ | 
|---|
| 1276 | X"$as_myself" : 'X\(//\)$' \| \ | 
|---|
| 1277 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | 
|---|
| 1278 | $as_echo X"$as_myself" | | 
|---|
| 1279 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 
|---|
| 1280 | s//\1/ | 
|---|
| 1281 | q | 
|---|
| 1282 | } | 
|---|
| 1283 | /^X\(\/\/\)[^/].*/{ | 
|---|
| 1284 | s//\1/ | 
|---|
| 1285 | q | 
|---|
| 1286 | } | 
|---|
| 1287 | /^X\(\/\/\)$/{ | 
|---|
| 1288 | s//\1/ | 
|---|
| 1289 | q | 
|---|
| 1290 | } | 
|---|
| 1291 | /^X\(\/\).*/{ | 
|---|
| 1292 | s//\1/ | 
|---|
| 1293 | q | 
|---|
| 1294 | } | 
|---|
| 1295 | s/.*/./; q'` | 
|---|
| 1296 | srcdir=$ac_confdir | 
|---|
| 1297 | if test ! -r "$srcdir/$ac_unique_file"; then | 
|---|
| 1298 | srcdir=.. | 
|---|
| 1299 | fi | 
|---|
| 1300 | else | 
|---|
| 1301 | ac_srcdir_defaulted=no | 
|---|
| 1302 | fi | 
|---|
| 1303 | if test ! -r "$srcdir/$ac_unique_file"; then | 
|---|
| 1304 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 
|---|
| 1305 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" | 
|---|
| 1306 | fi | 
|---|
| 1307 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 
|---|
| 1308 | ac_abs_confdir=`( | 
|---|
| 1309 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" | 
|---|
| 1310 | pwd)` | 
|---|
| 1311 | # When building in place, set srcdir=. | 
|---|
| 1312 | if test "$ac_abs_confdir" = "$ac_pwd"; then | 
|---|
| 1313 | srcdir=. | 
|---|
| 1314 | fi | 
|---|
| 1315 | # Remove unnecessary trailing slashes from srcdir. | 
|---|
| 1316 | # Double slashes in file names in object file debugging info | 
|---|
| 1317 | # mess up M-x gdb in Emacs. | 
|---|
| 1318 | case $srcdir in | 
|---|
| 1319 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | 
|---|
| 1320 | esac | 
|---|
| 1321 | for ac_var in $ac_precious_vars; do | 
|---|
| 1322 | eval ac_env_${ac_var}_set=\${${ac_var}+set} | 
|---|
| 1323 | eval ac_env_${ac_var}_value=\$${ac_var} | 
|---|
| 1324 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | 
|---|
| 1325 | eval ac_cv_env_${ac_var}_value=\$${ac_var} | 
|---|
| 1326 | done | 
|---|
| 1327 |  | 
|---|
| 1328 | # | 
|---|
| 1329 | # Report the --help message. | 
|---|
| 1330 | # | 
|---|
| 1331 | if test "$ac_init_help" = "long"; then | 
|---|
| 1332 | # Omit some internal or obsolete options to make the list less imposing. | 
|---|
| 1333 | # This message is too long to be a string in the A/UX 3.1 sh. | 
|---|
| 1334 | cat <<_ACEOF | 
|---|
| 1335 | \`configure' configures cfa-cc 1.0.0.0 to adapt to many kinds of systems. | 
|---|
| 1336 |  | 
|---|
| 1337 | Usage: $0 [OPTION]... [VAR=VALUE]... | 
|---|
| 1338 |  | 
|---|
| 1339 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | 
|---|
| 1340 | VAR=VALUE.  See below for descriptions of some of the useful variables. | 
|---|
| 1341 |  | 
|---|
| 1342 | Defaults for the options are specified in brackets. | 
|---|
| 1343 |  | 
|---|
| 1344 | Configuration: | 
|---|
| 1345 | -h, --help              display this help and exit | 
|---|
| 1346 | --help=short        display options specific to this package | 
|---|
| 1347 | --help=recursive    display the short help of all the included packages | 
|---|
| 1348 | -V, --version           display version information and exit | 
|---|
| 1349 | -q, --quiet, --silent   do not print \`checking ...' messages | 
|---|
| 1350 | --cache-file=FILE   cache test results in FILE [disabled] | 
|---|
| 1351 | -C, --config-cache      alias for \`--cache-file=config.cache' | 
|---|
| 1352 | -n, --no-create         do not create output files | 
|---|
| 1353 | --srcdir=DIR        find the sources in DIR [configure dir or \`..'] | 
|---|
| 1354 |  | 
|---|
| 1355 | Installation directories: | 
|---|
| 1356 | --prefix=PREFIX         install architecture-independent files in PREFIX | 
|---|
| 1357 | [$ac_default_prefix] | 
|---|
| 1358 | --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX | 
|---|
| 1359 | [PREFIX] | 
|---|
| 1360 |  | 
|---|
| 1361 | By default, \`make install' will install all the files in | 
|---|
| 1362 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify | 
|---|
| 1363 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | 
|---|
| 1364 | for instance \`--prefix=\$HOME'. | 
|---|
| 1365 |  | 
|---|
| 1366 | For better control, use the options below. | 
|---|
| 1367 |  | 
|---|
| 1368 | Fine tuning of the installation directories: | 
|---|
| 1369 | --bindir=DIR            user executables [EPREFIX/bin] | 
|---|
| 1370 | --sbindir=DIR           system admin executables [EPREFIX/sbin] | 
|---|
| 1371 | --libexecdir=DIR        program executables [EPREFIX/libexec] | 
|---|
| 1372 | --sysconfdir=DIR        read-only single-machine data [PREFIX/etc] | 
|---|
| 1373 | --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com] | 
|---|
| 1374 | --localstatedir=DIR     modifiable single-machine data [PREFIX/var] | 
|---|
| 1375 | --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run] | 
|---|
| 1376 | --libdir=DIR            object code libraries [EPREFIX/lib] | 
|---|
| 1377 | --includedir=DIR        C header files [PREFIX/include] | 
|---|
| 1378 | --oldincludedir=DIR     C header files for non-gcc [/usr/include] | 
|---|
| 1379 | --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share] | 
|---|
| 1380 | --datadir=DIR           read-only architecture-independent data [DATAROOTDIR] | 
|---|
| 1381 | --infodir=DIR           info documentation [DATAROOTDIR/info] | 
|---|
| 1382 | --localedir=DIR         locale-dependent data [DATAROOTDIR/locale] | 
|---|
| 1383 | --mandir=DIR            man documentation [DATAROOTDIR/man] | 
|---|
| 1384 | --docdir=DIR            documentation root [DATAROOTDIR/doc/cfa-cc] | 
|---|
| 1385 | --htmldir=DIR           html documentation [DOCDIR] | 
|---|
| 1386 | --dvidir=DIR            dvi documentation [DOCDIR] | 
|---|
| 1387 | --pdfdir=DIR            pdf documentation [DOCDIR] | 
|---|
| 1388 | --psdir=DIR             ps documentation [DOCDIR] | 
|---|
| 1389 | _ACEOF | 
|---|
| 1390 |  | 
|---|
| 1391 | cat <<\_ACEOF | 
|---|
| 1392 |  | 
|---|
| 1393 | Program names: | 
|---|
| 1394 | --program-prefix=PREFIX            prepend PREFIX to installed program names | 
|---|
| 1395 | --program-suffix=SUFFIX            append SUFFIX to installed program names | 
|---|
| 1396 | --program-transform-name=PROGRAM   run sed PROGRAM on installed program names | 
|---|
| 1397 |  | 
|---|
| 1398 | System types: | 
|---|
| 1399 | --build=BUILD     configure for building on BUILD [guessed] | 
|---|
| 1400 | --host=HOST       cross-compile to build programs to run on HOST [BUILD] | 
|---|
| 1401 | _ACEOF | 
|---|
| 1402 | fi | 
|---|
| 1403 |  | 
|---|
| 1404 | if test -n "$ac_init_help"; then | 
|---|
| 1405 | case $ac_init_help in | 
|---|
| 1406 | short | recursive ) echo "Configuration of cfa-cc 1.0.0.0:";; | 
|---|
| 1407 | esac | 
|---|
| 1408 | cat <<\_ACEOF | 
|---|
| 1409 |  | 
|---|
| 1410 | Optional Features: | 
|---|
| 1411 | --disable-option-checking  ignore unrecognized --enable/--with options | 
|---|
| 1412 | --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) | 
|---|
| 1413 | --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] | 
|---|
| 1414 | --enable-silent-rules   less verbose build output (undo: "make V=1") | 
|---|
| 1415 | --disable-silent-rules  verbose build output (undo: "make V=0") | 
|---|
| 1416 | --enable-dependency-tracking | 
|---|
| 1417 | do not reject slow dependency extractors | 
|---|
| 1418 | --disable-dependency-tracking | 
|---|
| 1419 | speeds up one-time build | 
|---|
| 1420 |  | 
|---|
| 1421 | Optional Packages: | 
|---|
| 1422 | --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes] | 
|---|
| 1423 | --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no) | 
|---|
| 1424 | --with-cfa-name=NAME     NAME too which cfa will be installed | 
|---|
| 1425 | --with-backend-compiler=PROGRAM     PROGRAM that performs the final code compilation (must be gcc-compatible) | 
|---|
| 1426 | --with-target-hosts=HOSTS     HOSTS comma seperated list of hosts to build for, format ARCH:debug|nodebug|nolib | 
|---|
| 1427 |  | 
|---|
| 1428 | Some influential environment variables: | 
|---|
| 1429 | CXX         C++ compiler command | 
|---|
| 1430 | CXXFLAGS    C++ compiler flags | 
|---|
| 1431 | LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a | 
|---|
| 1432 | nonstandard directory <lib dir> | 
|---|
| 1433 | LIBS        libraries to pass to the linker, e.g. -l<library> | 
|---|
| 1434 | CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | 
|---|
| 1435 | you have headers in a nonstandard directory <include dir> | 
|---|
| 1436 | CC          C compiler command | 
|---|
| 1437 | CFLAGS      C compiler flags | 
|---|
| 1438 | CCAS        assembler compiler command (defaults to CC) | 
|---|
| 1439 | CCASFLAGS   assembler compiler flags (defaults to CFLAGS) | 
|---|
| 1440 | YACC        The `Yet Another Compiler Compiler' implementation to use. | 
|---|
| 1441 | Defaults to the first program found out of: `bison -y', `byacc', | 
|---|
| 1442 | `yacc'. | 
|---|
| 1443 | YFLAGS      The list of arguments that will be passed by default to $YACC. | 
|---|
| 1444 | This script will default YFLAGS to the empty string to avoid a | 
|---|
| 1445 | default value of `-d' given by some make applications. | 
|---|
| 1446 | CPP         C preprocessor | 
|---|
| 1447 |  | 
|---|
| 1448 | Use these variables to override the choices made by `configure' or to help | 
|---|
| 1449 | it to find libraries and programs with nonstandard names/locations. | 
|---|
| 1450 |  | 
|---|
| 1451 | Report bugs to <cforall@plg.uwaterloo.ca>. | 
|---|
| 1452 | _ACEOF | 
|---|
| 1453 | ac_status=$? | 
|---|
| 1454 | fi | 
|---|
| 1455 |  | 
|---|
| 1456 | if test "$ac_init_help" = "recursive"; then | 
|---|
| 1457 | # If there are subdirs, report their specific --help. | 
|---|
| 1458 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 
|---|
| 1459 | test -d "$ac_dir" || | 
|---|
| 1460 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | 
|---|
| 1461 | continue | 
|---|
| 1462 | ac_builddir=. | 
|---|
| 1463 |  | 
|---|
| 1464 | case "$ac_dir" in | 
|---|
| 1465 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 
|---|
| 1466 | *) | 
|---|
| 1467 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | 
|---|
| 1468 | # A ".." for each directory in $ac_dir_suffix. | 
|---|
| 1469 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | 
|---|
| 1470 | case $ac_top_builddir_sub in | 
|---|
| 1471 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | 
|---|
| 1472 | *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;; | 
|---|
| 1473 | esac ;; | 
|---|
| 1474 | esac | 
|---|
| 1475 | ac_abs_top_builddir=$ac_pwd | 
|---|
| 1476 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | 
|---|
| 1477 | # for backward compatibility: | 
|---|
| 1478 | ac_top_builddir=$ac_top_build_prefix | 
|---|
| 1479 |  | 
|---|
| 1480 | case $srcdir in | 
|---|
| 1481 | .)  # We are building in place. | 
|---|
| 1482 | ac_srcdir=. | 
|---|
| 1483 | ac_top_srcdir=$ac_top_builddir_sub | 
|---|
| 1484 | ac_abs_top_srcdir=$ac_pwd ;; | 
|---|
| 1485 | [\\/]* | ?:[\\/]* )  # Absolute name. | 
|---|
| 1486 | ac_srcdir=$srcdir$ac_dir_suffix; | 
|---|
| 1487 | ac_top_srcdir=$srcdir | 
|---|
| 1488 | ac_abs_top_srcdir=$srcdir ;; | 
|---|
| 1489 | *) # Relative name. | 
|---|
| 1490 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | 
|---|
| 1491 | ac_top_srcdir=$ac_top_build_prefix$srcdir | 
|---|
| 1492 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | 
|---|
| 1493 | esac | 
|---|
| 1494 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | 
|---|
| 1495 |  | 
|---|
| 1496 | cd "$ac_dir" || { ac_status=$?; continue; } | 
|---|
| 1497 | # Check for guested configure. | 
|---|
| 1498 | if test -f "$ac_srcdir/configure.gnu"; then | 
|---|
| 1499 | echo && | 
|---|
| 1500 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive | 
|---|
| 1501 | elif test -f "$ac_srcdir/configure"; then | 
|---|
| 1502 | echo && | 
|---|
| 1503 | $SHELL "$ac_srcdir/configure" --help=recursive | 
|---|
| 1504 | else | 
|---|
| 1505 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 
|---|
| 1506 | fi || ac_status=$? | 
|---|
| 1507 | cd "$ac_pwd" || { ac_status=$?; break; } | 
|---|
| 1508 | done | 
|---|
| 1509 | fi | 
|---|
| 1510 |  | 
|---|
| 1511 | test -n "$ac_init_help" && exit $ac_status | 
|---|
| 1512 | if $ac_init_version; then | 
|---|
| 1513 | cat <<\_ACEOF | 
|---|
| 1514 | cfa-cc configure 1.0.0.0 | 
|---|
| 1515 | generated by GNU Autoconf 2.69 | 
|---|
| 1516 |  | 
|---|
| 1517 | Copyright (C) 2012 Free Software Foundation, Inc. | 
|---|
| 1518 | This configure script is free software; the Free Software Foundation | 
|---|
| 1519 | gives unlimited permission to copy, distribute and modify it. | 
|---|
| 1520 | _ACEOF | 
|---|
| 1521 | exit | 
|---|
| 1522 | fi | 
|---|
| 1523 |  | 
|---|
| 1524 | ## ------------------------ ## | 
|---|
| 1525 | ## Autoconf initialization. ## | 
|---|
| 1526 | ## ------------------------ ## | 
|---|
| 1527 |  | 
|---|
| 1528 | # ac_fn_cxx_try_compile LINENO | 
|---|
| 1529 | # ---------------------------- | 
|---|
| 1530 | # Try to compile conftest.$ac_ext, and return whether this succeeded. | 
|---|
| 1531 | ac_fn_cxx_try_compile () | 
|---|
| 1532 | { | 
|---|
| 1533 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
|---|
| 1534 | rm -f conftest.$ac_objext | 
|---|
| 1535 | if { { ac_try="$ac_compile" | 
|---|
| 1536 | case "(($ac_try" in | 
|---|
| 1537 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
| 1538 | *) ac_try_echo=$ac_try;; | 
|---|
| 1539 | esac | 
|---|
| 1540 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
| 1541 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
| 1542 | (eval "$ac_compile") 2>conftest.err | 
|---|
| 1543 | ac_status=$? | 
|---|
| 1544 | if test -s conftest.err; then | 
|---|
| 1545 | grep -v '^ *+' conftest.err >conftest.er1 | 
|---|
| 1546 | cat conftest.er1 >&5 | 
|---|
| 1547 | mv -f conftest.er1 conftest.err | 
|---|
| 1548 | fi | 
|---|
| 1549 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
| 1550 | test $ac_status = 0; } && { | 
|---|
| 1551 | test -z "$ac_cxx_werror_flag" || | 
|---|
| 1552 | test ! -s conftest.err | 
|---|
| 1553 | } && test -s conftest.$ac_objext; then : | 
|---|
| 1554 | ac_retval=0 | 
|---|
| 1555 | else | 
|---|
| 1556 | $as_echo "$as_me: failed program was:" >&5 | 
|---|
| 1557 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 1558 |  | 
|---|
| 1559 | ac_retval=1 | 
|---|
| 1560 | fi | 
|---|
| 1561 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
|---|
| 1562 | as_fn_set_status $ac_retval | 
|---|
| 1563 |  | 
|---|
| 1564 | } # ac_fn_cxx_try_compile | 
|---|
| 1565 |  | 
|---|
| 1566 | # ac_fn_c_try_compile LINENO | 
|---|
| 1567 | # -------------------------- | 
|---|
| 1568 | # Try to compile conftest.$ac_ext, and return whether this succeeded. | 
|---|
| 1569 | ac_fn_c_try_compile () | 
|---|
| 1570 | { | 
|---|
| 1571 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
|---|
| 1572 | rm -f conftest.$ac_objext | 
|---|
| 1573 | if { { ac_try="$ac_compile" | 
|---|
| 1574 | case "(($ac_try" in | 
|---|
| 1575 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
| 1576 | *) ac_try_echo=$ac_try;; | 
|---|
| 1577 | esac | 
|---|
| 1578 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
| 1579 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
| 1580 | (eval "$ac_compile") 2>conftest.err | 
|---|
| 1581 | ac_status=$? | 
|---|
| 1582 | if test -s conftest.err; then | 
|---|
| 1583 | grep -v '^ *+' conftest.err >conftest.er1 | 
|---|
| 1584 | cat conftest.er1 >&5 | 
|---|
| 1585 | mv -f conftest.er1 conftest.err | 
|---|
| 1586 | fi | 
|---|
| 1587 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
| 1588 | test $ac_status = 0; } && { | 
|---|
| 1589 | test -z "$ac_c_werror_flag" || | 
|---|
| 1590 | test ! -s conftest.err | 
|---|
| 1591 | } && test -s conftest.$ac_objext; then : | 
|---|
| 1592 | ac_retval=0 | 
|---|
| 1593 | else | 
|---|
| 1594 | $as_echo "$as_me: failed program was:" >&5 | 
|---|
| 1595 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 1596 |  | 
|---|
| 1597 | ac_retval=1 | 
|---|
| 1598 | fi | 
|---|
| 1599 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
|---|
| 1600 | as_fn_set_status $ac_retval | 
|---|
| 1601 |  | 
|---|
| 1602 | } # ac_fn_c_try_compile | 
|---|
| 1603 |  | 
|---|
| 1604 | # ac_fn_c_try_link LINENO | 
|---|
| 1605 | # ----------------------- | 
|---|
| 1606 | # Try to link conftest.$ac_ext, and return whether this succeeded. | 
|---|
| 1607 | ac_fn_c_try_link () | 
|---|
| 1608 | { | 
|---|
| 1609 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
|---|
| 1610 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 1611 | if { { ac_try="$ac_link" | 
|---|
| 1612 | case "(($ac_try" in | 
|---|
| 1613 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
| 1614 | *) ac_try_echo=$ac_try;; | 
|---|
| 1615 | esac | 
|---|
| 1616 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
| 1617 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
| 1618 | (eval "$ac_link") 2>conftest.err | 
|---|
| 1619 | ac_status=$? | 
|---|
| 1620 | if test -s conftest.err; then | 
|---|
| 1621 | grep -v '^ *+' conftest.err >conftest.er1 | 
|---|
| 1622 | cat conftest.er1 >&5 | 
|---|
| 1623 | mv -f conftest.er1 conftest.err | 
|---|
| 1624 | fi | 
|---|
| 1625 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
| 1626 | test $ac_status = 0; } && { | 
|---|
| 1627 | test -z "$ac_c_werror_flag" || | 
|---|
| 1628 | test ! -s conftest.err | 
|---|
| 1629 | } && test -s conftest$ac_exeext && { | 
|---|
| 1630 | test "$cross_compiling" = yes || | 
|---|
| 1631 | test -x conftest$ac_exeext | 
|---|
| 1632 | }; then : | 
|---|
| 1633 | ac_retval=0 | 
|---|
| 1634 | else | 
|---|
| 1635 | $as_echo "$as_me: failed program was:" >&5 | 
|---|
| 1636 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 1637 |  | 
|---|
| 1638 | ac_retval=1 | 
|---|
| 1639 | fi | 
|---|
| 1640 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | 
|---|
| 1641 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | 
|---|
| 1642 | # interfere with the next link command; also delete a directory that is | 
|---|
| 1643 | # left behind by Apple's compiler.  We do this before executing the actions. | 
|---|
| 1644 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | 
|---|
| 1645 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
|---|
| 1646 | as_fn_set_status $ac_retval | 
|---|
| 1647 |  | 
|---|
| 1648 | } # ac_fn_c_try_link | 
|---|
| 1649 |  | 
|---|
| 1650 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES | 
|---|
| 1651 | # ------------------------------------------- | 
|---|
| 1652 | # Tests whether TYPE exists after having included INCLUDES, setting cache | 
|---|
| 1653 | # variable VAR accordingly. | 
|---|
| 1654 | ac_fn_c_check_type () | 
|---|
| 1655 | { | 
|---|
| 1656 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
|---|
| 1657 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 
|---|
| 1658 | $as_echo_n "checking for $2... " >&6; } | 
|---|
| 1659 | if eval \${$3+:} false; then : | 
|---|
| 1660 | $as_echo_n "(cached) " >&6 | 
|---|
| 1661 | else | 
|---|
| 1662 | eval "$3=no" | 
|---|
| 1663 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 1664 | /* end confdefs.h.  */ | 
|---|
| 1665 | $4 | 
|---|
| 1666 | int | 
|---|
| 1667 | main () | 
|---|
| 1668 | { | 
|---|
| 1669 | if (sizeof ($2)) | 
|---|
| 1670 | return 0; | 
|---|
| 1671 | ; | 
|---|
| 1672 | return 0; | 
|---|
| 1673 | } | 
|---|
| 1674 | _ACEOF | 
|---|
| 1675 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
| 1676 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 1677 | /* end confdefs.h.  */ | 
|---|
| 1678 | $4 | 
|---|
| 1679 | int | 
|---|
| 1680 | main () | 
|---|
| 1681 | { | 
|---|
| 1682 | if (sizeof (($2))) | 
|---|
| 1683 | return 0; | 
|---|
| 1684 | ; | 
|---|
| 1685 | return 0; | 
|---|
| 1686 | } | 
|---|
| 1687 | _ACEOF | 
|---|
| 1688 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
| 1689 |  | 
|---|
| 1690 | else | 
|---|
| 1691 | eval "$3=yes" | 
|---|
| 1692 | fi | 
|---|
| 1693 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 1694 | fi | 
|---|
| 1695 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 1696 | fi | 
|---|
| 1697 | eval ac_res=\$$3 | 
|---|
| 1698 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 
|---|
| 1699 | $as_echo "$ac_res" >&6; } | 
|---|
| 1700 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
|---|
| 1701 |  | 
|---|
| 1702 | } # ac_fn_c_check_type | 
|---|
| 1703 |  | 
|---|
| 1704 | # ac_fn_c_try_cpp LINENO | 
|---|
| 1705 | # ---------------------- | 
|---|
| 1706 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | 
|---|
| 1707 | ac_fn_c_try_cpp () | 
|---|
| 1708 | { | 
|---|
| 1709 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
|---|
| 1710 | if { { ac_try="$ac_cpp conftest.$ac_ext" | 
|---|
| 1711 | case "(($ac_try" in | 
|---|
| 1712 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
| 1713 | *) ac_try_echo=$ac_try;; | 
|---|
| 1714 | esac | 
|---|
| 1715 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
| 1716 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
| 1717 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | 
|---|
| 1718 | ac_status=$? | 
|---|
| 1719 | if test -s conftest.err; then | 
|---|
| 1720 | grep -v '^ *+' conftest.err >conftest.er1 | 
|---|
| 1721 | cat conftest.er1 >&5 | 
|---|
| 1722 | mv -f conftest.er1 conftest.err | 
|---|
| 1723 | fi | 
|---|
| 1724 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
| 1725 | test $ac_status = 0; } > conftest.i && { | 
|---|
| 1726 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | 
|---|
| 1727 | test ! -s conftest.err | 
|---|
| 1728 | }; then : | 
|---|
| 1729 | ac_retval=0 | 
|---|
| 1730 | else | 
|---|
| 1731 | $as_echo "$as_me: failed program was:" >&5 | 
|---|
| 1732 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 1733 |  | 
|---|
| 1734 | ac_retval=1 | 
|---|
| 1735 | fi | 
|---|
| 1736 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
|---|
| 1737 | as_fn_set_status $ac_retval | 
|---|
| 1738 |  | 
|---|
| 1739 | } # ac_fn_c_try_cpp | 
|---|
| 1740 |  | 
|---|
| 1741 | # ac_fn_c_try_run LINENO | 
|---|
| 1742 | # ---------------------- | 
|---|
| 1743 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | 
|---|
| 1744 | # that executables *can* be run. | 
|---|
| 1745 | ac_fn_c_try_run () | 
|---|
| 1746 | { | 
|---|
| 1747 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
|---|
| 1748 | if { { ac_try="$ac_link" | 
|---|
| 1749 | case "(($ac_try" in | 
|---|
| 1750 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
| 1751 | *) ac_try_echo=$ac_try;; | 
|---|
| 1752 | esac | 
|---|
| 1753 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
| 1754 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
| 1755 | (eval "$ac_link") 2>&5 | 
|---|
| 1756 | ac_status=$? | 
|---|
| 1757 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
| 1758 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | 
|---|
| 1759 | { { case "(($ac_try" in | 
|---|
| 1760 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
| 1761 | *) ac_try_echo=$ac_try;; | 
|---|
| 1762 | esac | 
|---|
| 1763 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
| 1764 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
| 1765 | (eval "$ac_try") 2>&5 | 
|---|
| 1766 | ac_status=$? | 
|---|
| 1767 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
| 1768 | test $ac_status = 0; }; }; then : | 
|---|
| 1769 | ac_retval=0 | 
|---|
| 1770 | else | 
|---|
| 1771 | $as_echo "$as_me: program exited with status $ac_status" >&5 | 
|---|
| 1772 | $as_echo "$as_me: failed program was:" >&5 | 
|---|
| 1773 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 1774 |  | 
|---|
| 1775 | ac_retval=$ac_status | 
|---|
| 1776 | fi | 
|---|
| 1777 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | 
|---|
| 1778 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
|---|
| 1779 | as_fn_set_status $ac_retval | 
|---|
| 1780 |  | 
|---|
| 1781 | } # ac_fn_c_try_run | 
|---|
| 1782 |  | 
|---|
| 1783 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | 
|---|
| 1784 | # ------------------------------------------------------- | 
|---|
| 1785 | # Tests whether HEADER exists and can be compiled using the include files in | 
|---|
| 1786 | # INCLUDES, setting the cache variable VAR accordingly. | 
|---|
| 1787 | ac_fn_c_check_header_compile () | 
|---|
| 1788 | { | 
|---|
| 1789 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
|---|
| 1790 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 
|---|
| 1791 | $as_echo_n "checking for $2... " >&6; } | 
|---|
| 1792 | if eval \${$3+:} false; then : | 
|---|
| 1793 | $as_echo_n "(cached) " >&6 | 
|---|
| 1794 | else | 
|---|
| 1795 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 1796 | /* end confdefs.h.  */ | 
|---|
| 1797 | $4 | 
|---|
| 1798 | #include <$2> | 
|---|
| 1799 | _ACEOF | 
|---|
| 1800 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
| 1801 | eval "$3=yes" | 
|---|
| 1802 | else | 
|---|
| 1803 | eval "$3=no" | 
|---|
| 1804 | fi | 
|---|
| 1805 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 1806 | fi | 
|---|
| 1807 | eval ac_res=\$$3 | 
|---|
| 1808 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 
|---|
| 1809 | $as_echo "$ac_res" >&6; } | 
|---|
| 1810 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
|---|
| 1811 |  | 
|---|
| 1812 | } # ac_fn_c_check_header_compile | 
|---|
| 1813 |  | 
|---|
| 1814 | # ac_fn_c_check_func LINENO FUNC VAR | 
|---|
| 1815 | # ---------------------------------- | 
|---|
| 1816 | # Tests whether FUNC exists, setting the cache variable VAR accordingly | 
|---|
| 1817 | ac_fn_c_check_func () | 
|---|
| 1818 | { | 
|---|
| 1819 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
|---|
| 1820 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 
|---|
| 1821 | $as_echo_n "checking for $2... " >&6; } | 
|---|
| 1822 | if eval \${$3+:} false; then : | 
|---|
| 1823 | $as_echo_n "(cached) " >&6 | 
|---|
| 1824 | else | 
|---|
| 1825 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 1826 | /* end confdefs.h.  */ | 
|---|
| 1827 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | 
|---|
| 1828 | For example, HP-UX 11i <limits.h> declares gettimeofday.  */ | 
|---|
| 1829 | #define $2 innocuous_$2 | 
|---|
| 1830 |  | 
|---|
| 1831 | /* System header to define __stub macros and hopefully few prototypes, | 
|---|
| 1832 | which can conflict with char $2 (); below. | 
|---|
| 1833 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
| 1834 | <limits.h> exists even on freestanding compilers.  */ | 
|---|
| 1835 |  | 
|---|
| 1836 | #ifdef __STDC__ | 
|---|
| 1837 | # include <limits.h> | 
|---|
| 1838 | #else | 
|---|
| 1839 | # include <assert.h> | 
|---|
| 1840 | #endif | 
|---|
| 1841 |  | 
|---|
| 1842 | #undef $2 | 
|---|
| 1843 |  | 
|---|
| 1844 | /* Override any GCC internal prototype to avoid an error. | 
|---|
| 1845 | Use char because int might match the return type of a GCC | 
|---|
| 1846 | builtin and then its argument prototype would still apply.  */ | 
|---|
| 1847 | #ifdef __cplusplus | 
|---|
| 1848 | extern "C" | 
|---|
| 1849 | #endif | 
|---|
| 1850 | char $2 (); | 
|---|
| 1851 | /* The GNU C library defines this for functions which it implements | 
|---|
| 1852 | to always fail with ENOSYS.  Some functions are actually named | 
|---|
| 1853 | something starting with __ and the normal name is an alias.  */ | 
|---|
| 1854 | #if defined __stub_$2 || defined __stub___$2 | 
|---|
| 1855 | choke me | 
|---|
| 1856 | #endif | 
|---|
| 1857 |  | 
|---|
| 1858 | int | 
|---|
| 1859 | main () | 
|---|
| 1860 | { | 
|---|
| 1861 | return $2 (); | 
|---|
| 1862 | ; | 
|---|
| 1863 | return 0; | 
|---|
| 1864 | } | 
|---|
| 1865 | _ACEOF | 
|---|
| 1866 | if ac_fn_c_try_link "$LINENO"; then : | 
|---|
| 1867 | eval "$3=yes" | 
|---|
| 1868 | else | 
|---|
| 1869 | eval "$3=no" | 
|---|
| 1870 | fi | 
|---|
| 1871 | rm -f core conftest.err conftest.$ac_objext \ | 
|---|
| 1872 | conftest$ac_exeext conftest.$ac_ext | 
|---|
| 1873 | fi | 
|---|
| 1874 | eval ac_res=\$$3 | 
|---|
| 1875 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 
|---|
| 1876 | $as_echo "$ac_res" >&6; } | 
|---|
| 1877 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
|---|
| 1878 |  | 
|---|
| 1879 | } # ac_fn_c_check_func | 
|---|
| 1880 |  | 
|---|
| 1881 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | 
|---|
| 1882 | # ------------------------------------------------------- | 
|---|
| 1883 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using | 
|---|
| 1884 | # the include files in INCLUDES and setting the cache variable VAR | 
|---|
| 1885 | # accordingly. | 
|---|
| 1886 | ac_fn_c_check_header_mongrel () | 
|---|
| 1887 | { | 
|---|
| 1888 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
|---|
| 1889 | if eval \${$3+:} false; then : | 
|---|
| 1890 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 
|---|
| 1891 | $as_echo_n "checking for $2... " >&6; } | 
|---|
| 1892 | if eval \${$3+:} false; then : | 
|---|
| 1893 | $as_echo_n "(cached) " >&6 | 
|---|
| 1894 | fi | 
|---|
| 1895 | eval ac_res=\$$3 | 
|---|
| 1896 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 
|---|
| 1897 | $as_echo "$ac_res" >&6; } | 
|---|
| 1898 | else | 
|---|
| 1899 | # Is the header compilable? | 
|---|
| 1900 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | 
|---|
| 1901 | $as_echo_n "checking $2 usability... " >&6; } | 
|---|
| 1902 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 1903 | /* end confdefs.h.  */ | 
|---|
| 1904 | $4 | 
|---|
| 1905 | #include <$2> | 
|---|
| 1906 | _ACEOF | 
|---|
| 1907 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
| 1908 | ac_header_compiler=yes | 
|---|
| 1909 | else | 
|---|
| 1910 | ac_header_compiler=no | 
|---|
| 1911 | fi | 
|---|
| 1912 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 1913 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | 
|---|
| 1914 | $as_echo "$ac_header_compiler" >&6; } | 
|---|
| 1915 |  | 
|---|
| 1916 | # Is the header present? | 
|---|
| 1917 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | 
|---|
| 1918 | $as_echo_n "checking $2 presence... " >&6; } | 
|---|
| 1919 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 1920 | /* end confdefs.h.  */ | 
|---|
| 1921 | #include <$2> | 
|---|
| 1922 | _ACEOF | 
|---|
| 1923 | if ac_fn_c_try_cpp "$LINENO"; then : | 
|---|
| 1924 | ac_header_preproc=yes | 
|---|
| 1925 | else | 
|---|
| 1926 | ac_header_preproc=no | 
|---|
| 1927 | fi | 
|---|
| 1928 | rm -f conftest.err conftest.i conftest.$ac_ext | 
|---|
| 1929 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | 
|---|
| 1930 | $as_echo "$ac_header_preproc" >&6; } | 
|---|
| 1931 |  | 
|---|
| 1932 | # So?  What about this header? | 
|---|
| 1933 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | 
|---|
| 1934 | yes:no: ) | 
|---|
| 1935 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 1936 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 1937 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | 
|---|
| 1938 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | 
|---|
| 1939 | ;; | 
|---|
| 1940 | no:yes:* ) | 
|---|
| 1941 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | 
|---|
| 1942 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | 
|---|
| 1943 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5 | 
|---|
| 1944 | $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;} | 
|---|
| 1945 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | 
|---|
| 1946 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | 
|---|
| 1947 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 1948 | $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 1949 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | 
|---|
| 1950 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | 
|---|
| 1951 | ( $as_echo "## --------------------------------------- ## | 
|---|
| 1952 | ## Report this to cforall@plg.uwaterloo.ca ## | 
|---|
| 1953 | ## --------------------------------------- ##" | 
|---|
| 1954 | ) | sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 1955 | ;; | 
|---|
| 1956 | esac | 
|---|
| 1957 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 
|---|
| 1958 | $as_echo_n "checking for $2... " >&6; } | 
|---|
| 1959 | if eval \${$3+:} false; then : | 
|---|
| 1960 | $as_echo_n "(cached) " >&6 | 
|---|
| 1961 | else | 
|---|
| 1962 | eval "$3=\$ac_header_compiler" | 
|---|
| 1963 | fi | 
|---|
| 1964 | eval ac_res=\$$3 | 
|---|
| 1965 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 
|---|
| 1966 | $as_echo "$ac_res" >&6; } | 
|---|
| 1967 | fi | 
|---|
| 1968 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
|---|
| 1969 |  | 
|---|
| 1970 | } # ac_fn_c_check_header_mongrel | 
|---|
| 1971 |  | 
|---|
| 1972 | # ac_fn_c_find_intX_t LINENO BITS VAR | 
|---|
| 1973 | # ----------------------------------- | 
|---|
| 1974 | # Finds a signed integer type with width BITS, setting cache variable VAR | 
|---|
| 1975 | # accordingly. | 
|---|
| 1976 | ac_fn_c_find_intX_t () | 
|---|
| 1977 | { | 
|---|
| 1978 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
|---|
| 1979 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 | 
|---|
| 1980 | $as_echo_n "checking for int$2_t... " >&6; } | 
|---|
| 1981 | if eval \${$3+:} false; then : | 
|---|
| 1982 | $as_echo_n "(cached) " >&6 | 
|---|
| 1983 | else | 
|---|
| 1984 | eval "$3=no" | 
|---|
| 1985 | # Order is important - never check a type that is potentially smaller | 
|---|
| 1986 | # than half of the expected target width. | 
|---|
| 1987 | for ac_type in int$2_t 'int' 'long int' \ | 
|---|
| 1988 | 'long long int' 'short int' 'signed char'; do | 
|---|
| 1989 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 1990 | /* end confdefs.h.  */ | 
|---|
| 1991 | $ac_includes_default | 
|---|
| 1992 | enum { N = $2 / 2 - 1 }; | 
|---|
| 1993 | int | 
|---|
| 1994 | main () | 
|---|
| 1995 | { | 
|---|
| 1996 | static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; | 
|---|
| 1997 | test_array [0] = 0; | 
|---|
| 1998 | return test_array [0]; | 
|---|
| 1999 |  | 
|---|
| 2000 | ; | 
|---|
| 2001 | return 0; | 
|---|
| 2002 | } | 
|---|
| 2003 | _ACEOF | 
|---|
| 2004 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
| 2005 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 2006 | /* end confdefs.h.  */ | 
|---|
| 2007 | $ac_includes_default | 
|---|
| 2008 | enum { N = $2 / 2 - 1 }; | 
|---|
| 2009 | int | 
|---|
| 2010 | main () | 
|---|
| 2011 | { | 
|---|
| 2012 | static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) | 
|---|
| 2013 | < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; | 
|---|
| 2014 | test_array [0] = 0; | 
|---|
| 2015 | return test_array [0]; | 
|---|
| 2016 |  | 
|---|
| 2017 | ; | 
|---|
| 2018 | return 0; | 
|---|
| 2019 | } | 
|---|
| 2020 | _ACEOF | 
|---|
| 2021 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
| 2022 |  | 
|---|
| 2023 | else | 
|---|
| 2024 | case $ac_type in #( | 
|---|
| 2025 | int$2_t) : | 
|---|
| 2026 | eval "$3=yes" ;; #( | 
|---|
| 2027 | *) : | 
|---|
| 2028 | eval "$3=\$ac_type" ;; | 
|---|
| 2029 | esac | 
|---|
| 2030 | fi | 
|---|
| 2031 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 2032 | fi | 
|---|
| 2033 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 2034 | if eval test \"x\$"$3"\" = x"no"; then : | 
|---|
| 2035 |  | 
|---|
| 2036 | else | 
|---|
| 2037 | break | 
|---|
| 2038 | fi | 
|---|
| 2039 | done | 
|---|
| 2040 | fi | 
|---|
| 2041 | eval ac_res=\$$3 | 
|---|
| 2042 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 
|---|
| 2043 | $as_echo "$ac_res" >&6; } | 
|---|
| 2044 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
|---|
| 2045 |  | 
|---|
| 2046 | } # ac_fn_c_find_intX_t | 
|---|
| 2047 |  | 
|---|
| 2048 | # ac_fn_c_find_uintX_t LINENO BITS VAR | 
|---|
| 2049 | # ------------------------------------ | 
|---|
| 2050 | # Finds an unsigned integer type with width BITS, setting cache variable VAR | 
|---|
| 2051 | # accordingly. | 
|---|
| 2052 | ac_fn_c_find_uintX_t () | 
|---|
| 2053 | { | 
|---|
| 2054 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
|---|
| 2055 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 | 
|---|
| 2056 | $as_echo_n "checking for uint$2_t... " >&6; } | 
|---|
| 2057 | if eval \${$3+:} false; then : | 
|---|
| 2058 | $as_echo_n "(cached) " >&6 | 
|---|
| 2059 | else | 
|---|
| 2060 | eval "$3=no" | 
|---|
| 2061 | # Order is important - never check a type that is potentially smaller | 
|---|
| 2062 | # than half of the expected target width. | 
|---|
| 2063 | for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ | 
|---|
| 2064 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do | 
|---|
| 2065 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 2066 | /* end confdefs.h.  */ | 
|---|
| 2067 | $ac_includes_default | 
|---|
| 2068 | int | 
|---|
| 2069 | main () | 
|---|
| 2070 | { | 
|---|
| 2071 | static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; | 
|---|
| 2072 | test_array [0] = 0; | 
|---|
| 2073 | return test_array [0]; | 
|---|
| 2074 |  | 
|---|
| 2075 | ; | 
|---|
| 2076 | return 0; | 
|---|
| 2077 | } | 
|---|
| 2078 | _ACEOF | 
|---|
| 2079 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
| 2080 | case $ac_type in #( | 
|---|
| 2081 | uint$2_t) : | 
|---|
| 2082 | eval "$3=yes" ;; #( | 
|---|
| 2083 | *) : | 
|---|
| 2084 | eval "$3=\$ac_type" ;; | 
|---|
| 2085 | esac | 
|---|
| 2086 | fi | 
|---|
| 2087 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 2088 | if eval test \"x\$"$3"\" = x"no"; then : | 
|---|
| 2089 |  | 
|---|
| 2090 | else | 
|---|
| 2091 | break | 
|---|
| 2092 | fi | 
|---|
| 2093 | done | 
|---|
| 2094 | fi | 
|---|
| 2095 | eval ac_res=\$$3 | 
|---|
| 2096 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 
|---|
| 2097 | $as_echo "$ac_res" >&6; } | 
|---|
| 2098 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
|---|
| 2099 |  | 
|---|
| 2100 | } # ac_fn_c_find_uintX_t | 
|---|
| 2101 | cat >config.log <<_ACEOF | 
|---|
| 2102 | This file contains any messages produced by compilers while | 
|---|
| 2103 | running configure, to aid debugging if configure makes a mistake. | 
|---|
| 2104 |  | 
|---|
| 2105 | It was created by cfa-cc $as_me 1.0.0.0, which was | 
|---|
| 2106 | generated by GNU Autoconf 2.69.  Invocation command line was | 
|---|
| 2107 |  | 
|---|
| 2108 | $ $0 $@ | 
|---|
| 2109 |  | 
|---|
| 2110 | _ACEOF | 
|---|
| 2111 | exec 5>>config.log | 
|---|
| 2112 | { | 
|---|
| 2113 | cat <<_ASUNAME | 
|---|
| 2114 | ## --------- ## | 
|---|
| 2115 | ## Platform. ## | 
|---|
| 2116 | ## --------- ## | 
|---|
| 2117 |  | 
|---|
| 2118 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | 
|---|
| 2119 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | 
|---|
| 2120 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | 
|---|
| 2121 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | 
|---|
| 2122 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | 
|---|
| 2123 |  | 
|---|
| 2124 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | 
|---|
| 2125 | /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown` | 
|---|
| 2126 |  | 
|---|
| 2127 | /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown` | 
|---|
| 2128 | /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown` | 
|---|
| 2129 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | 
|---|
| 2130 | /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown` | 
|---|
| 2131 | /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown` | 
|---|
| 2132 | /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown` | 
|---|
| 2133 | /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown` | 
|---|
| 2134 |  | 
|---|
| 2135 | _ASUNAME | 
|---|
| 2136 |  | 
|---|
| 2137 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2138 | for as_dir in $PATH | 
|---|
| 2139 | do | 
|---|
| 2140 | IFS=$as_save_IFS | 
|---|
| 2141 | test -z "$as_dir" && as_dir=. | 
|---|
| 2142 | $as_echo "PATH: $as_dir" | 
|---|
| 2143 | done | 
|---|
| 2144 | IFS=$as_save_IFS | 
|---|
| 2145 |  | 
|---|
| 2146 | } >&5 | 
|---|
| 2147 |  | 
|---|
| 2148 | cat >&5 <<_ACEOF | 
|---|
| 2149 |  | 
|---|
| 2150 |  | 
|---|
| 2151 | ## ----------- ## | 
|---|
| 2152 | ## Core tests. ## | 
|---|
| 2153 | ## ----------- ## | 
|---|
| 2154 |  | 
|---|
| 2155 | _ACEOF | 
|---|
| 2156 |  | 
|---|
| 2157 |  | 
|---|
| 2158 | # Keep a trace of the command line. | 
|---|
| 2159 | # Strip out --no-create and --no-recursion so they do not pile up. | 
|---|
| 2160 | # Strip out --silent because we don't want to record it for future runs. | 
|---|
| 2161 | # Also quote any args containing shell meta-characters. | 
|---|
| 2162 | # Make two passes to allow for proper duplicate-argument suppression. | 
|---|
| 2163 | ac_configure_args= | 
|---|
| 2164 | ac_configure_args0= | 
|---|
| 2165 | ac_configure_args1= | 
|---|
| 2166 | ac_must_keep_next=false | 
|---|
| 2167 | for ac_pass in 1 2 | 
|---|
| 2168 | do | 
|---|
| 2169 | for ac_arg | 
|---|
| 2170 | do | 
|---|
| 2171 | case $ac_arg in | 
|---|
| 2172 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | 
|---|
| 2173 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
|---|
| 2174 | | -silent | --silent | --silen | --sile | --sil) | 
|---|
| 2175 | continue ;; | 
|---|
| 2176 | *\'*) | 
|---|
| 2177 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 
|---|
| 2178 | esac | 
|---|
| 2179 | case $ac_pass in | 
|---|
| 2180 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; | 
|---|
| 2181 | 2) | 
|---|
| 2182 | as_fn_append ac_configure_args1 " '$ac_arg'" | 
|---|
| 2183 | if test $ac_must_keep_next = true; then | 
|---|
| 2184 | ac_must_keep_next=false # Got value, back to normal. | 
|---|
| 2185 | else | 
|---|
| 2186 | case $ac_arg in | 
|---|
| 2187 | *=* | --config-cache | -C | -disable-* | --disable-* \ | 
|---|
| 2188 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | 
|---|
| 2189 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | 
|---|
| 2190 | | -with-* | --with-* | -without-* | --without-* | --x) | 
|---|
| 2191 | case "$ac_configure_args0 " in | 
|---|
| 2192 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | 
|---|
| 2193 | esac | 
|---|
| 2194 | ;; | 
|---|
| 2195 | -* ) ac_must_keep_next=true ;; | 
|---|
| 2196 | esac | 
|---|
| 2197 | fi | 
|---|
| 2198 | as_fn_append ac_configure_args " '$ac_arg'" | 
|---|
| 2199 | ;; | 
|---|
| 2200 | esac | 
|---|
| 2201 | done | 
|---|
| 2202 | done | 
|---|
| 2203 | { ac_configure_args0=; unset ac_configure_args0;} | 
|---|
| 2204 | { ac_configure_args1=; unset ac_configure_args1;} | 
|---|
| 2205 |  | 
|---|
| 2206 | # When interrupted or exit'd, cleanup temporary files, and complete | 
|---|
| 2207 | # config.log.  We remove comments because anyway the quotes in there | 
|---|
| 2208 | # would cause problems or look ugly. | 
|---|
| 2209 | # WARNING: Use '\'' to represent an apostrophe within the trap. | 
|---|
| 2210 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | 
|---|
| 2211 | trap 'exit_status=$? | 
|---|
| 2212 | # Save into config.log some information that might help in debugging. | 
|---|
| 2213 | { | 
|---|
| 2214 | echo | 
|---|
| 2215 |  | 
|---|
| 2216 | $as_echo "## ---------------- ## | 
|---|
| 2217 | ## Cache variables. ## | 
|---|
| 2218 | ## ---------------- ##" | 
|---|
| 2219 | echo | 
|---|
| 2220 | # The following way of writing the cache mishandles newlines in values, | 
|---|
| 2221 | ( | 
|---|
| 2222 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | 
|---|
| 2223 | eval ac_val=\$$ac_var | 
|---|
| 2224 | case $ac_val in #( | 
|---|
| 2225 | *${as_nl}*) | 
|---|
| 2226 | case $ac_var in #( | 
|---|
| 2227 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | 
|---|
| 2228 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | 
|---|
| 2229 | esac | 
|---|
| 2230 | case $ac_var in #( | 
|---|
| 2231 | _ | IFS | as_nl) ;; #( | 
|---|
| 2232 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 
|---|
| 2233 | *) { eval $ac_var=; unset $ac_var;} ;; | 
|---|
| 2234 | esac ;; | 
|---|
| 2235 | esac | 
|---|
| 2236 | done | 
|---|
| 2237 | (set) 2>&1 | | 
|---|
| 2238 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | 
|---|
| 2239 | *${as_nl}ac_space=\ *) | 
|---|
| 2240 | sed -n \ | 
|---|
| 2241 | "s/'\''/'\''\\\\'\'''\''/g; | 
|---|
| 2242 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" | 
|---|
| 2243 | ;; #( | 
|---|
| 2244 | *) | 
|---|
| 2245 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | 
|---|
| 2246 | ;; | 
|---|
| 2247 | esac | | 
|---|
| 2248 | sort | 
|---|
| 2249 | ) | 
|---|
| 2250 | echo | 
|---|
| 2251 |  | 
|---|
| 2252 | $as_echo "## ----------------- ## | 
|---|
| 2253 | ## Output variables. ## | 
|---|
| 2254 | ## ----------------- ##" | 
|---|
| 2255 | echo | 
|---|
| 2256 | for ac_var in $ac_subst_vars | 
|---|
| 2257 | do | 
|---|
| 2258 | eval ac_val=\$$ac_var | 
|---|
| 2259 | case $ac_val in | 
|---|
| 2260 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | 
|---|
| 2261 | esac | 
|---|
| 2262 | $as_echo "$ac_var='\''$ac_val'\''" | 
|---|
| 2263 | done | sort | 
|---|
| 2264 | echo | 
|---|
| 2265 |  | 
|---|
| 2266 | if test -n "$ac_subst_files"; then | 
|---|
| 2267 | $as_echo "## ------------------- ## | 
|---|
| 2268 | ## File substitutions. ## | 
|---|
| 2269 | ## ------------------- ##" | 
|---|
| 2270 | echo | 
|---|
| 2271 | for ac_var in $ac_subst_files | 
|---|
| 2272 | do | 
|---|
| 2273 | eval ac_val=\$$ac_var | 
|---|
| 2274 | case $ac_val in | 
|---|
| 2275 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | 
|---|
| 2276 | esac | 
|---|
| 2277 | $as_echo "$ac_var='\''$ac_val'\''" | 
|---|
| 2278 | done | sort | 
|---|
| 2279 | echo | 
|---|
| 2280 | fi | 
|---|
| 2281 |  | 
|---|
| 2282 | if test -s confdefs.h; then | 
|---|
| 2283 | $as_echo "## ----------- ## | 
|---|
| 2284 | ## confdefs.h. ## | 
|---|
| 2285 | ## ----------- ##" | 
|---|
| 2286 | echo | 
|---|
| 2287 | cat confdefs.h | 
|---|
| 2288 | echo | 
|---|
| 2289 | fi | 
|---|
| 2290 | test "$ac_signal" != 0 && | 
|---|
| 2291 | $as_echo "$as_me: caught signal $ac_signal" | 
|---|
| 2292 | $as_echo "$as_me: exit $exit_status" | 
|---|
| 2293 | } >&5 | 
|---|
| 2294 | rm -f core *.core core.conftest.* && | 
|---|
| 2295 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | 
|---|
| 2296 | exit $exit_status | 
|---|
| 2297 | ' 0 | 
|---|
| 2298 | for ac_signal in 1 2 13 15; do | 
|---|
| 2299 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal | 
|---|
| 2300 | done | 
|---|
| 2301 | ac_signal=0 | 
|---|
| 2302 |  | 
|---|
| 2303 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | 
|---|
| 2304 | rm -f -r conftest* confdefs.h | 
|---|
| 2305 |  | 
|---|
| 2306 | $as_echo "/* confdefs.h */" > confdefs.h | 
|---|
| 2307 |  | 
|---|
| 2308 | # Predefined preprocessor variables. | 
|---|
| 2309 |  | 
|---|
| 2310 | cat >>confdefs.h <<_ACEOF | 
|---|
| 2311 | #define PACKAGE_NAME "$PACKAGE_NAME" | 
|---|
| 2312 | _ACEOF | 
|---|
| 2313 |  | 
|---|
| 2314 | cat >>confdefs.h <<_ACEOF | 
|---|
| 2315 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 
|---|
| 2316 | _ACEOF | 
|---|
| 2317 |  | 
|---|
| 2318 | cat >>confdefs.h <<_ACEOF | 
|---|
| 2319 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | 
|---|
| 2320 | _ACEOF | 
|---|
| 2321 |  | 
|---|
| 2322 | cat >>confdefs.h <<_ACEOF | 
|---|
| 2323 | #define PACKAGE_STRING "$PACKAGE_STRING" | 
|---|
| 2324 | _ACEOF | 
|---|
| 2325 |  | 
|---|
| 2326 | cat >>confdefs.h <<_ACEOF | 
|---|
| 2327 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 
|---|
| 2328 | _ACEOF | 
|---|
| 2329 |  | 
|---|
| 2330 | cat >>confdefs.h <<_ACEOF | 
|---|
| 2331 | #define PACKAGE_URL "$PACKAGE_URL" | 
|---|
| 2332 | _ACEOF | 
|---|
| 2333 |  | 
|---|
| 2334 |  | 
|---|
| 2335 | # Let the site file select an alternate cache file if it wants to. | 
|---|
| 2336 | # Prefer an explicitly selected file to automatically selected ones. | 
|---|
| 2337 | ac_site_file1=NONE | 
|---|
| 2338 | ac_site_file2=NONE | 
|---|
| 2339 | if test -n "$CONFIG_SITE"; then | 
|---|
| 2340 | # We do not want a PATH search for config.site. | 
|---|
| 2341 | case $CONFIG_SITE in #(( | 
|---|
| 2342 | -*)  ac_site_file1=./$CONFIG_SITE;; | 
|---|
| 2343 | */*) ac_site_file1=$CONFIG_SITE;; | 
|---|
| 2344 | *)   ac_site_file1=./$CONFIG_SITE;; | 
|---|
| 2345 | esac | 
|---|
| 2346 | elif test "x$prefix" != xNONE; then | 
|---|
| 2347 | ac_site_file1=$prefix/share/config.site | 
|---|
| 2348 | ac_site_file2=$prefix/etc/config.site | 
|---|
| 2349 | else | 
|---|
| 2350 | ac_site_file1=$ac_default_prefix/share/config.site | 
|---|
| 2351 | ac_site_file2=$ac_default_prefix/etc/config.site | 
|---|
| 2352 | fi | 
|---|
| 2353 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" | 
|---|
| 2354 | do | 
|---|
| 2355 | test "x$ac_site_file" = xNONE && continue | 
|---|
| 2356 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | 
|---|
| 2357 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | 
|---|
| 2358 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} | 
|---|
| 2359 | sed 's/^/| /' "$ac_site_file" >&5 | 
|---|
| 2360 | . "$ac_site_file" \ | 
|---|
| 2361 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
|---|
| 2362 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
|---|
| 2363 | as_fn_error $? "failed to load site script $ac_site_file | 
|---|
| 2364 | See \`config.log' for more details" "$LINENO" 5; } | 
|---|
| 2365 | fi | 
|---|
| 2366 | done | 
|---|
| 2367 |  | 
|---|
| 2368 | if test -r "$cache_file"; then | 
|---|
| 2369 | # Some versions of bash will fail to source /dev/null (special files | 
|---|
| 2370 | # actually), so we avoid doing that.  DJGPP emulates it as a regular file. | 
|---|
| 2371 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then | 
|---|
| 2372 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | 
|---|
| 2373 | $as_echo "$as_me: loading cache $cache_file" >&6;} | 
|---|
| 2374 | case $cache_file in | 
|---|
| 2375 | [\\/]* | ?:[\\/]* ) . "$cache_file";; | 
|---|
| 2376 | *)                      . "./$cache_file";; | 
|---|
| 2377 | esac | 
|---|
| 2378 | fi | 
|---|
| 2379 | else | 
|---|
| 2380 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 | 
|---|
| 2381 | $as_echo "$as_me: creating cache $cache_file" >&6;} | 
|---|
| 2382 | >$cache_file | 
|---|
| 2383 | fi | 
|---|
| 2384 |  | 
|---|
| 2385 | # Check that the precious variables saved in the cache have kept the same | 
|---|
| 2386 | # value. | 
|---|
| 2387 | ac_cache_corrupted=false | 
|---|
| 2388 | for ac_var in $ac_precious_vars; do | 
|---|
| 2389 | eval ac_old_set=\$ac_cv_env_${ac_var}_set | 
|---|
| 2390 | eval ac_new_set=\$ac_env_${ac_var}_set | 
|---|
| 2391 | eval ac_old_val=\$ac_cv_env_${ac_var}_value | 
|---|
| 2392 | eval ac_new_val=\$ac_env_${ac_var}_value | 
|---|
| 2393 | case $ac_old_set,$ac_new_set in | 
|---|
| 2394 | set,) | 
|---|
| 2395 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 
|---|
| 2396 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 
|---|
| 2397 | ac_cache_corrupted=: ;; | 
|---|
| 2398 | ,set) | 
|---|
| 2399 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 | 
|---|
| 2400 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 
|---|
| 2401 | ac_cache_corrupted=: ;; | 
|---|
| 2402 | ,);; | 
|---|
| 2403 | *) | 
|---|
| 2404 | if test "x$ac_old_val" != "x$ac_new_val"; then | 
|---|
| 2405 | # differences in whitespace do not lead to failure. | 
|---|
| 2406 | ac_old_val_w=`echo x $ac_old_val` | 
|---|
| 2407 | ac_new_val_w=`echo x $ac_new_val` | 
|---|
| 2408 | if test "$ac_old_val_w" != "$ac_new_val_w"; then | 
|---|
| 2409 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 | 
|---|
| 2410 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 
|---|
| 2411 | ac_cache_corrupted=: | 
|---|
| 2412 | else | 
|---|
| 2413 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | 
|---|
| 2414 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | 
|---|
| 2415 | eval $ac_var=\$ac_old_val | 
|---|
| 2416 | fi | 
|---|
| 2417 | { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5 | 
|---|
| 2418 | $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;} | 
|---|
| 2419 | { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5 | 
|---|
| 2420 | $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;} | 
|---|
| 2421 | fi;; | 
|---|
| 2422 | esac | 
|---|
| 2423 | # Pass precious variables to config.status. | 
|---|
| 2424 | if test "$ac_new_set" = set; then | 
|---|
| 2425 | case $ac_new_val in | 
|---|
| 2426 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 
|---|
| 2427 | *) ac_arg=$ac_var=$ac_new_val ;; | 
|---|
| 2428 | esac | 
|---|
| 2429 | case " $ac_configure_args " in | 
|---|
| 2430 | *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. | 
|---|
| 2431 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; | 
|---|
| 2432 | esac | 
|---|
| 2433 | fi | 
|---|
| 2434 | done | 
|---|
| 2435 | if $ac_cache_corrupted; then | 
|---|
| 2436 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
|---|
| 2437 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
|---|
| 2438 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | 
|---|
| 2439 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 
|---|
| 2440 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | 
|---|
| 2441 | fi | 
|---|
| 2442 | ## -------------------- ## | 
|---|
| 2443 | ## Main body of script. ## | 
|---|
| 2444 | ## -------------------- ## | 
|---|
| 2445 |  | 
|---|
| 2446 | ac_ext=c | 
|---|
| 2447 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 2448 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 2449 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 2450 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 2451 |  | 
|---|
| 2452 |  | 
|---|
| 2453 | ac_aux_dir= | 
|---|
| 2454 | for ac_dir in automake "$srcdir"/automake; do | 
|---|
| 2455 | if test -f "$ac_dir/install-sh"; then | 
|---|
| 2456 | ac_aux_dir=$ac_dir | 
|---|
| 2457 | ac_install_sh="$ac_aux_dir/install-sh -c" | 
|---|
| 2458 | break | 
|---|
| 2459 | elif test -f "$ac_dir/install.sh"; then | 
|---|
| 2460 | ac_aux_dir=$ac_dir | 
|---|
| 2461 | ac_install_sh="$ac_aux_dir/install.sh -c" | 
|---|
| 2462 | break | 
|---|
| 2463 | elif test -f "$ac_dir/shtool"; then | 
|---|
| 2464 | ac_aux_dir=$ac_dir | 
|---|
| 2465 | ac_install_sh="$ac_aux_dir/shtool install -c" | 
|---|
| 2466 | break | 
|---|
| 2467 | fi | 
|---|
| 2468 | done | 
|---|
| 2469 | if test -z "$ac_aux_dir"; then | 
|---|
| 2470 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in automake \"$srcdir\"/automake" "$LINENO" 5 | 
|---|
| 2471 | fi | 
|---|
| 2472 |  | 
|---|
| 2473 | # These three variables are undocumented and unsupported, | 
|---|
| 2474 | # and are intended to be withdrawn in a future Autoconf release. | 
|---|
| 2475 | # They can cause serious problems if a builder's source tree is in a directory | 
|---|
| 2476 | # whose full name contains unusual characters. | 
|---|
| 2477 | ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var. | 
|---|
| 2478 | ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var. | 
|---|
| 2479 | ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var. | 
|---|
| 2480 |  | 
|---|
| 2481 |  | 
|---|
| 2482 | #AC_CONFIG_SRCDIR([src/main.cc]) | 
|---|
| 2483 | ac_config_headers="$ac_config_headers config.h:src/config.h.in" | 
|---|
| 2484 |  | 
|---|
| 2485 | # Check whether --enable-silent-rules was given. | 
|---|
| 2486 | if test "${enable_silent_rules+set}" = set; then : | 
|---|
| 2487 | enableval=$enable_silent_rules; | 
|---|
| 2488 | fi | 
|---|
| 2489 |  | 
|---|
| 2490 | case $enable_silent_rules in # ((( | 
|---|
| 2491 | yes) AM_DEFAULT_VERBOSITY=0;; | 
|---|
| 2492 | no) AM_DEFAULT_VERBOSITY=1;; | 
|---|
| 2493 | *) AM_DEFAULT_VERBOSITY=0;; | 
|---|
| 2494 | esac | 
|---|
| 2495 | am_make=${MAKE-make} | 
|---|
| 2496 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 | 
|---|
| 2497 | $as_echo_n "checking whether $am_make supports nested variables... " >&6; } | 
|---|
| 2498 | if ${am_cv_make_support_nested_variables+:} false; then : | 
|---|
| 2499 | $as_echo_n "(cached) " >&6 | 
|---|
| 2500 | else | 
|---|
| 2501 | if $as_echo 'TRUE=$(BAR$(V)) | 
|---|
| 2502 | BAR0=false | 
|---|
| 2503 | BAR1=true | 
|---|
| 2504 | V=1 | 
|---|
| 2505 | am__doit: | 
|---|
| 2506 | @$(TRUE) | 
|---|
| 2507 | .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then | 
|---|
| 2508 | am_cv_make_support_nested_variables=yes | 
|---|
| 2509 | else | 
|---|
| 2510 | am_cv_make_support_nested_variables=no | 
|---|
| 2511 | fi | 
|---|
| 2512 | fi | 
|---|
| 2513 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 | 
|---|
| 2514 | $as_echo "$am_cv_make_support_nested_variables" >&6; } | 
|---|
| 2515 | if test $am_cv_make_support_nested_variables = yes; then | 
|---|
| 2516 | AM_V='$(V)' | 
|---|
| 2517 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' | 
|---|
| 2518 | else | 
|---|
| 2519 | AM_V=$AM_DEFAULT_VERBOSITY | 
|---|
| 2520 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY | 
|---|
| 2521 | fi | 
|---|
| 2522 | AM_BACKSLASH='\' | 
|---|
| 2523 |  | 
|---|
| 2524 |  | 
|---|
| 2525 |  | 
|---|
| 2526 |  | 
|---|
| 2527 |  | 
|---|
| 2528 |  | 
|---|
| 2529 |  | 
|---|
| 2530 |  | 
|---|
| 2531 |  | 
|---|
| 2532 |  | 
|---|
| 2533 | # don't use the default CFLAGS as they unconditonnaly add -O2 | 
|---|
| 2534 | : ${CFLAGS=""} | 
|---|
| 2535 |  | 
|---|
| 2536 | am__api_version='1.15' | 
|---|
| 2537 |  | 
|---|
| 2538 | # Find a good install program.  We prefer a C program (faster), | 
|---|
| 2539 | # so one script is as good as another.  But avoid the broken or | 
|---|
| 2540 | # incompatible versions: | 
|---|
| 2541 | # SysV /etc/install, /usr/sbin/install | 
|---|
| 2542 | # SunOS /usr/etc/install | 
|---|
| 2543 | # IRIX /sbin/install | 
|---|
| 2544 | # AIX /bin/install | 
|---|
| 2545 | # AmigaOS /C/install, which installs bootblocks on floppy discs | 
|---|
| 2546 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 
|---|
| 2547 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 
|---|
| 2548 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 
|---|
| 2549 | # OS/2's system install, which has a completely different semantic | 
|---|
| 2550 | # ./install, which can be erroneously created by make from ./install.sh. | 
|---|
| 2551 | # Reject install programs that cannot install multiple files. | 
|---|
| 2552 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 | 
|---|
| 2553 | $as_echo_n "checking for a BSD-compatible install... " >&6; } | 
|---|
| 2554 | if test -z "$INSTALL"; then | 
|---|
| 2555 | if ${ac_cv_path_install+:} false; then : | 
|---|
| 2556 | $as_echo_n "(cached) " >&6 | 
|---|
| 2557 | else | 
|---|
| 2558 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2559 | for as_dir in $PATH | 
|---|
| 2560 | do | 
|---|
| 2561 | IFS=$as_save_IFS | 
|---|
| 2562 | test -z "$as_dir" && as_dir=. | 
|---|
| 2563 | # Account for people who put trailing slashes in PATH elements. | 
|---|
| 2564 | case $as_dir/ in #(( | 
|---|
| 2565 | ./ | .// | /[cC]/* | \ | 
|---|
| 2566 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 
|---|
| 2567 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | 
|---|
| 2568 | /usr/ucb/* ) ;; | 
|---|
| 2569 | *) | 
|---|
| 2570 | # OSF1 and SCO ODT 3.0 have their own names for install. | 
|---|
| 2571 | # Don't use installbsd from OSF since it installs stuff as root | 
|---|
| 2572 | # by default. | 
|---|
| 2573 | for ac_prog in ginstall scoinst install; do | 
|---|
| 2574 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2575 | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | 
|---|
| 2576 | if test $ac_prog = install && | 
|---|
| 2577 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
|---|
| 2578 | # AIX install.  It has an incompatible calling convention. | 
|---|
| 2579 | : | 
|---|
| 2580 | elif test $ac_prog = install && | 
|---|
| 2581 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
|---|
| 2582 | # program-specific install script used by HP pwplus--don't use. | 
|---|
| 2583 | : | 
|---|
| 2584 | else | 
|---|
| 2585 | rm -rf conftest.one conftest.two conftest.dir | 
|---|
| 2586 | echo one > conftest.one | 
|---|
| 2587 | echo two > conftest.two | 
|---|
| 2588 | mkdir conftest.dir | 
|---|
| 2589 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | 
|---|
| 2590 | test -s conftest.one && test -s conftest.two && | 
|---|
| 2591 | test -s conftest.dir/conftest.one && | 
|---|
| 2592 | test -s conftest.dir/conftest.two | 
|---|
| 2593 | then | 
|---|
| 2594 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 
|---|
| 2595 | break 3 | 
|---|
| 2596 | fi | 
|---|
| 2597 | fi | 
|---|
| 2598 | fi | 
|---|
| 2599 | done | 
|---|
| 2600 | done | 
|---|
| 2601 | ;; | 
|---|
| 2602 | esac | 
|---|
| 2603 |  | 
|---|
| 2604 | done | 
|---|
| 2605 | IFS=$as_save_IFS | 
|---|
| 2606 |  | 
|---|
| 2607 | rm -rf conftest.one conftest.two conftest.dir | 
|---|
| 2608 |  | 
|---|
| 2609 | fi | 
|---|
| 2610 | if test "${ac_cv_path_install+set}" = set; then | 
|---|
| 2611 | INSTALL=$ac_cv_path_install | 
|---|
| 2612 | else | 
|---|
| 2613 | # As a last resort, use the slow shell script.  Don't cache a | 
|---|
| 2614 | # value for INSTALL within a source directory, because that will | 
|---|
| 2615 | # break other packages using the cache if that directory is | 
|---|
| 2616 | # removed, or if the value is a relative name. | 
|---|
| 2617 | INSTALL=$ac_install_sh | 
|---|
| 2618 | fi | 
|---|
| 2619 | fi | 
|---|
| 2620 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 | 
|---|
| 2621 | $as_echo "$INSTALL" >&6; } | 
|---|
| 2622 |  | 
|---|
| 2623 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 
|---|
| 2624 | # It thinks the first close brace ends the variable substitution. | 
|---|
| 2625 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 
|---|
| 2626 |  | 
|---|
| 2627 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | 
|---|
| 2628 |  | 
|---|
| 2629 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 
|---|
| 2630 |  | 
|---|
| 2631 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 | 
|---|
| 2632 | $as_echo_n "checking whether build environment is sane... " >&6; } | 
|---|
| 2633 | # Reject unsafe characters in $srcdir or the absolute working directory | 
|---|
| 2634 | # name.  Accept space and tab only in the latter. | 
|---|
| 2635 | am_lf=' | 
|---|
| 2636 | ' | 
|---|
| 2637 | case `pwd` in | 
|---|
| 2638 | *[\\\"\#\$\&\'\`$am_lf]*) | 
|---|
| 2639 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; | 
|---|
| 2640 | esac | 
|---|
| 2641 | case $srcdir in | 
|---|
| 2642 | *[\\\"\#\$\&\'\`$am_lf\ \     ]*) | 
|---|
| 2643 | as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; | 
|---|
| 2644 | esac | 
|---|
| 2645 |  | 
|---|
| 2646 | # Do 'set' in a subshell so we don't clobber the current shell's | 
|---|
| 2647 | # arguments.  Must try -L first in case configure is actually a | 
|---|
| 2648 | # symlink; some systems play weird games with the mod time of symlinks | 
|---|
| 2649 | # (eg FreeBSD returns the mod time of the symlink's containing | 
|---|
| 2650 | # directory). | 
|---|
| 2651 | if ( | 
|---|
| 2652 | am_has_slept=no | 
|---|
| 2653 | for am_try in 1 2; do | 
|---|
| 2654 | echo "timestamp, slept: $am_has_slept" > conftest.file | 
|---|
| 2655 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | 
|---|
| 2656 | if test "$*" = "X"; then | 
|---|
| 2657 | # -L didn't work. | 
|---|
| 2658 | set X `ls -t "$srcdir/configure" conftest.file` | 
|---|
| 2659 | fi | 
|---|
| 2660 | if test "$*" != "X $srcdir/configure conftest.file" \ | 
|---|
| 2661 | && test "$*" != "X conftest.file $srcdir/configure"; then | 
|---|
| 2662 |  | 
|---|
| 2663 | # If neither matched, then we have a broken ls.  This can happen | 
|---|
| 2664 | # if, for instance, CONFIG_SHELL is bash and it inherits a | 
|---|
| 2665 | # broken ls alias from the environment.  This has actually | 
|---|
| 2666 | # happened.  Such a system could not be considered "sane". | 
|---|
| 2667 | as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken | 
|---|
| 2668 | alias in your environment" "$LINENO" 5 | 
|---|
| 2669 | fi | 
|---|
| 2670 | if test "$2" = conftest.file || test $am_try -eq 2; then | 
|---|
| 2671 | break | 
|---|
| 2672 | fi | 
|---|
| 2673 | # Just in case. | 
|---|
| 2674 | sleep 1 | 
|---|
| 2675 | am_has_slept=yes | 
|---|
| 2676 | done | 
|---|
| 2677 | test "$2" = conftest.file | 
|---|
| 2678 | ) | 
|---|
| 2679 | then | 
|---|
| 2680 | # Ok. | 
|---|
| 2681 | : | 
|---|
| 2682 | else | 
|---|
| 2683 | as_fn_error $? "newly created file is older than distributed files! | 
|---|
| 2684 | Check your system clock" "$LINENO" 5 | 
|---|
| 2685 | fi | 
|---|
| 2686 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 
|---|
| 2687 | $as_echo "yes" >&6; } | 
|---|
| 2688 | # If we didn't sleep, we still need to ensure time stamps of config.status and | 
|---|
| 2689 | # generated files are strictly newer. | 
|---|
| 2690 | am_sleep_pid= | 
|---|
| 2691 | if grep 'slept: no' conftest.file >/dev/null 2>&1; then | 
|---|
| 2692 | ( sleep 1 ) & | 
|---|
| 2693 | am_sleep_pid=$! | 
|---|
| 2694 | fi | 
|---|
| 2695 |  | 
|---|
| 2696 | rm -f conftest.file | 
|---|
| 2697 |  | 
|---|
| 2698 | test "$program_prefix" != NONE && | 
|---|
| 2699 | program_transform_name="s&^&$program_prefix&;$program_transform_name" | 
|---|
| 2700 | # Use a double $ so make ignores it. | 
|---|
| 2701 | test "$program_suffix" != NONE && | 
|---|
| 2702 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" | 
|---|
| 2703 | # Double any \ or $. | 
|---|
| 2704 | # By default was `s,x,x', remove it if useless. | 
|---|
| 2705 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' | 
|---|
| 2706 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` | 
|---|
| 2707 |  | 
|---|
| 2708 | # Expand $ac_aux_dir to an absolute path. | 
|---|
| 2709 | am_aux_dir=`cd "$ac_aux_dir" && pwd` | 
|---|
| 2710 |  | 
|---|
| 2711 | if test x"${MISSING+set}" != xset; then | 
|---|
| 2712 | case $am_aux_dir in | 
|---|
| 2713 | *\ * | *\     *) | 
|---|
| 2714 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | 
|---|
| 2715 | *) | 
|---|
| 2716 | MISSING="\${SHELL} $am_aux_dir/missing" ;; | 
|---|
| 2717 | esac | 
|---|
| 2718 | fi | 
|---|
| 2719 | # Use eval to expand $SHELL | 
|---|
| 2720 | if eval "$MISSING --is-lightweight"; then | 
|---|
| 2721 | am_missing_run="$MISSING " | 
|---|
| 2722 | else | 
|---|
| 2723 | am_missing_run= | 
|---|
| 2724 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 | 
|---|
| 2725 | $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} | 
|---|
| 2726 | fi | 
|---|
| 2727 |  | 
|---|
| 2728 | if test x"${install_sh+set}" != xset; then | 
|---|
| 2729 | case $am_aux_dir in | 
|---|
| 2730 | *\ * | *\     *) | 
|---|
| 2731 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | 
|---|
| 2732 | *) | 
|---|
| 2733 | install_sh="\${SHELL} $am_aux_dir/install-sh" | 
|---|
| 2734 | esac | 
|---|
| 2735 | fi | 
|---|
| 2736 |  | 
|---|
| 2737 | # Installed binaries are usually stripped using 'strip' when the user | 
|---|
| 2738 | # run "make install-strip".  However 'strip' might not be the right | 
|---|
| 2739 | # tool to use in cross-compilation environments, therefore Automake | 
|---|
| 2740 | # will honor the 'STRIP' environment variable to overrule this program. | 
|---|
| 2741 | if test "$cross_compiling" != no; then | 
|---|
| 2742 | if test -n "$ac_tool_prefix"; then | 
|---|
| 2743 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | 
|---|
| 2744 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | 
|---|
| 2745 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
| 2746 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
| 2747 | if ${ac_cv_prog_STRIP+:} false; then : | 
|---|
| 2748 | $as_echo_n "(cached) " >&6 | 
|---|
| 2749 | else | 
|---|
| 2750 | if test -n "$STRIP"; then | 
|---|
| 2751 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | 
|---|
| 2752 | else | 
|---|
| 2753 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2754 | for as_dir in $PATH | 
|---|
| 2755 | do | 
|---|
| 2756 | IFS=$as_save_IFS | 
|---|
| 2757 | test -z "$as_dir" && as_dir=. | 
|---|
| 2758 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2759 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2760 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" | 
|---|
| 2761 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2762 | break 2 | 
|---|
| 2763 | fi | 
|---|
| 2764 | done | 
|---|
| 2765 | done | 
|---|
| 2766 | IFS=$as_save_IFS | 
|---|
| 2767 |  | 
|---|
| 2768 | fi | 
|---|
| 2769 | fi | 
|---|
| 2770 | STRIP=$ac_cv_prog_STRIP | 
|---|
| 2771 | if test -n "$STRIP"; then | 
|---|
| 2772 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 | 
|---|
| 2773 | $as_echo "$STRIP" >&6; } | 
|---|
| 2774 | else | 
|---|
| 2775 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 2776 | $as_echo "no" >&6; } | 
|---|
| 2777 | fi | 
|---|
| 2778 |  | 
|---|
| 2779 |  | 
|---|
| 2780 | fi | 
|---|
| 2781 | if test -z "$ac_cv_prog_STRIP"; then | 
|---|
| 2782 | ac_ct_STRIP=$STRIP | 
|---|
| 2783 | # Extract the first word of "strip", so it can be a program name with args. | 
|---|
| 2784 | set dummy strip; ac_word=$2 | 
|---|
| 2785 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
| 2786 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
| 2787 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : | 
|---|
| 2788 | $as_echo_n "(cached) " >&6 | 
|---|
| 2789 | else | 
|---|
| 2790 | if test -n "$ac_ct_STRIP"; then | 
|---|
| 2791 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | 
|---|
| 2792 | else | 
|---|
| 2793 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2794 | for as_dir in $PATH | 
|---|
| 2795 | do | 
|---|
| 2796 | IFS=$as_save_IFS | 
|---|
| 2797 | test -z "$as_dir" && as_dir=. | 
|---|
| 2798 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2799 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2800 | ac_cv_prog_ac_ct_STRIP="strip" | 
|---|
| 2801 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2802 | break 2 | 
|---|
| 2803 | fi | 
|---|
| 2804 | done | 
|---|
| 2805 | done | 
|---|
| 2806 | IFS=$as_save_IFS | 
|---|
| 2807 |  | 
|---|
| 2808 | fi | 
|---|
| 2809 | fi | 
|---|
| 2810 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | 
|---|
| 2811 | if test -n "$ac_ct_STRIP"; then | 
|---|
| 2812 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 | 
|---|
| 2813 | $as_echo "$ac_ct_STRIP" >&6; } | 
|---|
| 2814 | else | 
|---|
| 2815 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 2816 | $as_echo "no" >&6; } | 
|---|
| 2817 | fi | 
|---|
| 2818 |  | 
|---|
| 2819 | if test "x$ac_ct_STRIP" = x; then | 
|---|
| 2820 | STRIP=":" | 
|---|
| 2821 | else | 
|---|
| 2822 | case $cross_compiling:$ac_tool_warned in | 
|---|
| 2823 | yes:) | 
|---|
| 2824 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 
|---|
| 2825 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 
|---|
| 2826 | ac_tool_warned=yes ;; | 
|---|
| 2827 | esac | 
|---|
| 2828 | STRIP=$ac_ct_STRIP | 
|---|
| 2829 | fi | 
|---|
| 2830 | else | 
|---|
| 2831 | STRIP="$ac_cv_prog_STRIP" | 
|---|
| 2832 | fi | 
|---|
| 2833 |  | 
|---|
| 2834 | fi | 
|---|
| 2835 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | 
|---|
| 2836 |  | 
|---|
| 2837 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 | 
|---|
| 2838 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } | 
|---|
| 2839 | if test -z "$MKDIR_P"; then | 
|---|
| 2840 | if ${ac_cv_path_mkdir+:} false; then : | 
|---|
| 2841 | $as_echo_n "(cached) " >&6 | 
|---|
| 2842 | else | 
|---|
| 2843 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2844 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | 
|---|
| 2845 | do | 
|---|
| 2846 | IFS=$as_save_IFS | 
|---|
| 2847 | test -z "$as_dir" && as_dir=. | 
|---|
| 2848 | for ac_prog in mkdir gmkdir; do | 
|---|
| 2849 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2850 | as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue | 
|---|
| 2851 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( | 
|---|
| 2852 | 'mkdir (GNU coreutils) '* | \ | 
|---|
| 2853 | 'mkdir (coreutils) '* | \ | 
|---|
| 2854 | 'mkdir (fileutils) '4.1*) | 
|---|
| 2855 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext | 
|---|
| 2856 | break 3;; | 
|---|
| 2857 | esac | 
|---|
| 2858 | done | 
|---|
| 2859 | done | 
|---|
| 2860 | done | 
|---|
| 2861 | IFS=$as_save_IFS | 
|---|
| 2862 |  | 
|---|
| 2863 | fi | 
|---|
| 2864 |  | 
|---|
| 2865 | test -d ./--version && rmdir ./--version | 
|---|
| 2866 | if test "${ac_cv_path_mkdir+set}" = set; then | 
|---|
| 2867 | MKDIR_P="$ac_cv_path_mkdir -p" | 
|---|
| 2868 | else | 
|---|
| 2869 | # As a last resort, use the slow shell script.  Don't cache a | 
|---|
| 2870 | # value for MKDIR_P within a source directory, because that will | 
|---|
| 2871 | # break other packages using the cache if that directory is | 
|---|
| 2872 | # removed, or if the value is a relative name. | 
|---|
| 2873 | MKDIR_P="$ac_install_sh -d" | 
|---|
| 2874 | fi | 
|---|
| 2875 | fi | 
|---|
| 2876 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 | 
|---|
| 2877 | $as_echo "$MKDIR_P" >&6; } | 
|---|
| 2878 |  | 
|---|
| 2879 | for ac_prog in gawk mawk nawk awk | 
|---|
| 2880 | do | 
|---|
| 2881 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
| 2882 | set dummy $ac_prog; ac_word=$2 | 
|---|
| 2883 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
| 2884 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
| 2885 | if ${ac_cv_prog_AWK+:} false; then : | 
|---|
| 2886 | $as_echo_n "(cached) " >&6 | 
|---|
| 2887 | else | 
|---|
| 2888 | if test -n "$AWK"; then | 
|---|
| 2889 | ac_cv_prog_AWK="$AWK" # Let the user override the test. | 
|---|
| 2890 | else | 
|---|
| 2891 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2892 | for as_dir in $PATH | 
|---|
| 2893 | do | 
|---|
| 2894 | IFS=$as_save_IFS | 
|---|
| 2895 | test -z "$as_dir" && as_dir=. | 
|---|
| 2896 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2897 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2898 | ac_cv_prog_AWK="$ac_prog" | 
|---|
| 2899 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2900 | break 2 | 
|---|
| 2901 | fi | 
|---|
| 2902 | done | 
|---|
| 2903 | done | 
|---|
| 2904 | IFS=$as_save_IFS | 
|---|
| 2905 |  | 
|---|
| 2906 | fi | 
|---|
| 2907 | fi | 
|---|
| 2908 | AWK=$ac_cv_prog_AWK | 
|---|
| 2909 | if test -n "$AWK"; then | 
|---|
| 2910 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 | 
|---|
| 2911 | $as_echo "$AWK" >&6; } | 
|---|
| 2912 | else | 
|---|
| 2913 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 2914 | $as_echo "no" >&6; } | 
|---|
| 2915 | fi | 
|---|
| 2916 |  | 
|---|
| 2917 |  | 
|---|
| 2918 | test -n "$AWK" && break | 
|---|
| 2919 | done | 
|---|
| 2920 |  | 
|---|
| 2921 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 
|---|
| 2922 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | 
|---|
| 2923 | set x ${MAKE-make} | 
|---|
| 2924 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | 
|---|
| 2925 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : | 
|---|
| 2926 | $as_echo_n "(cached) " >&6 | 
|---|
| 2927 | else | 
|---|
| 2928 | cat >conftest.make <<\_ACEOF | 
|---|
| 2929 | SHELL = /bin/sh | 
|---|
| 2930 | all: | 
|---|
| 2931 | @echo '@@@%%%=$(MAKE)=@@@%%%' | 
|---|
| 2932 | _ACEOF | 
|---|
| 2933 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. | 
|---|
| 2934 | case `${MAKE-make} -f conftest.make 2>/dev/null` in | 
|---|
| 2935 | *@@@%%%=?*=@@@%%%*) | 
|---|
| 2936 | eval ac_cv_prog_make_${ac_make}_set=yes;; | 
|---|
| 2937 | *) | 
|---|
| 2938 | eval ac_cv_prog_make_${ac_make}_set=no;; | 
|---|
| 2939 | esac | 
|---|
| 2940 | rm -f conftest.make | 
|---|
| 2941 | fi | 
|---|
| 2942 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | 
|---|
| 2943 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 
|---|
| 2944 | $as_echo "yes" >&6; } | 
|---|
| 2945 | SET_MAKE= | 
|---|
| 2946 | else | 
|---|
| 2947 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 2948 | $as_echo "no" >&6; } | 
|---|
| 2949 | SET_MAKE="MAKE=${MAKE-make}" | 
|---|
| 2950 | fi | 
|---|
| 2951 |  | 
|---|
| 2952 | rm -rf .tst 2>/dev/null | 
|---|
| 2953 | mkdir .tst 2>/dev/null | 
|---|
| 2954 | if test -d .tst; then | 
|---|
| 2955 | am__leading_dot=. | 
|---|
| 2956 | else | 
|---|
| 2957 | am__leading_dot=_ | 
|---|
| 2958 | fi | 
|---|
| 2959 | rmdir .tst 2>/dev/null | 
|---|
| 2960 |  | 
|---|
| 2961 | if test "`cd $srcdir && pwd`" != "`pwd`"; then | 
|---|
| 2962 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | 
|---|
| 2963 | # is not polluted with repeated "-I." | 
|---|
| 2964 | am__isrc=' -I$(srcdir)' | 
|---|
| 2965 | # test to see if srcdir already configured | 
|---|
| 2966 | if test -f $srcdir/config.status; then | 
|---|
| 2967 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 | 
|---|
| 2968 | fi | 
|---|
| 2969 | fi | 
|---|
| 2970 |  | 
|---|
| 2971 | # test whether we have cygpath | 
|---|
| 2972 | if test -z "$CYGPATH_W"; then | 
|---|
| 2973 | if (cygpath --version) >/dev/null 2>/dev/null; then | 
|---|
| 2974 | CYGPATH_W='cygpath -w' | 
|---|
| 2975 | else | 
|---|
| 2976 | CYGPATH_W=echo | 
|---|
| 2977 | fi | 
|---|
| 2978 | fi | 
|---|
| 2979 |  | 
|---|
| 2980 |  | 
|---|
| 2981 | # Define the identity of the package. | 
|---|
| 2982 | PACKAGE='cfa-cc' | 
|---|
| 2983 | VERSION='1.0.0.0' | 
|---|
| 2984 |  | 
|---|
| 2985 |  | 
|---|
| 2986 | cat >>confdefs.h <<_ACEOF | 
|---|
| 2987 | #define PACKAGE "$PACKAGE" | 
|---|
| 2988 | _ACEOF | 
|---|
| 2989 |  | 
|---|
| 2990 |  | 
|---|
| 2991 | cat >>confdefs.h <<_ACEOF | 
|---|
| 2992 | #define VERSION "$VERSION" | 
|---|
| 2993 | _ACEOF | 
|---|
| 2994 |  | 
|---|
| 2995 | # Some tools Automake needs. | 
|---|
| 2996 |  | 
|---|
| 2997 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | 
|---|
| 2998 |  | 
|---|
| 2999 |  | 
|---|
| 3000 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | 
|---|
| 3001 |  | 
|---|
| 3002 |  | 
|---|
| 3003 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | 
|---|
| 3004 |  | 
|---|
| 3005 |  | 
|---|
| 3006 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | 
|---|
| 3007 |  | 
|---|
| 3008 |  | 
|---|
| 3009 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | 
|---|
| 3010 |  | 
|---|
| 3011 | # For better backward compatibility.  To be removed once Automake 1.9.x | 
|---|
| 3012 | # dies out for good.  For more background, see: | 
|---|
| 3013 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | 
|---|
| 3014 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | 
|---|
| 3015 | mkdir_p='$(MKDIR_P)' | 
|---|
| 3016 |  | 
|---|
| 3017 | # We need awk for the "check" target (and possibly the TAP driver).  The | 
|---|
| 3018 | # system "awk" is bad on some platforms. | 
|---|
| 3019 | # Always define AMTAR for backward compatibility.  Yes, it's still used | 
|---|
| 3020 | # in the wild :-(  We should find a proper way to deprecate it ... | 
|---|
| 3021 | AMTAR='$${TAR-tar}' | 
|---|
| 3022 |  | 
|---|
| 3023 |  | 
|---|
| 3024 | # We'll loop over all known methods to create a tar archive until one works. | 
|---|
| 3025 | _am_tools='gnutar  pax cpio none' | 
|---|
| 3026 |  | 
|---|
| 3027 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' | 
|---|
| 3028 |  | 
|---|
| 3029 |  | 
|---|
| 3030 |  | 
|---|
| 3031 |  | 
|---|
| 3032 |  | 
|---|
| 3033 |  | 
|---|
| 3034 | # POSIX will say in a future version that running "rm -f" with no argument | 
|---|
| 3035 | # is OK; and we want to be able to make that assumption in our Makefile | 
|---|
| 3036 | # recipes.  So use an aggressive probe to check that the usage we want is | 
|---|
| 3037 | # actually supported "in the wild" to an acceptable degree. | 
|---|
| 3038 | # See automake bug#10828. | 
|---|
| 3039 | # To make any issue more visible, cause the running configure to be aborted | 
|---|
| 3040 | # by default if the 'rm' program in use doesn't match our expectations; the | 
|---|
| 3041 | # user can still override this though. | 
|---|
| 3042 | if rm -f && rm -fr && rm -rf; then : OK; else | 
|---|
| 3043 | cat >&2 <<'END' | 
|---|
| 3044 | Oops! | 
|---|
| 3045 |  | 
|---|
| 3046 | Your 'rm' program seems unable to run without file operands specified | 
|---|
| 3047 | on the command line, even when the '-f' option is present.  This is contrary | 
|---|
| 3048 | to the behaviour of most rm programs out there, and not conforming with | 
|---|
| 3049 | the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> | 
|---|
| 3050 |  | 
|---|
| 3051 | Please tell bug-automake@gnu.org about your system, including the value | 
|---|
| 3052 | of your $PATH and any error possibly output before this message.  This | 
|---|
| 3053 | can help us improve future automake versions. | 
|---|
| 3054 |  | 
|---|
| 3055 | END | 
|---|
| 3056 | if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then | 
|---|
| 3057 | echo 'Configuration will proceed anyway, since you have set the' >&2 | 
|---|
| 3058 | echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 | 
|---|
| 3059 | echo >&2 | 
|---|
| 3060 | else | 
|---|
| 3061 | cat >&2 <<'END' | 
|---|
| 3062 | Aborting the configuration process, to ensure you take notice of the issue. | 
|---|
| 3063 |  | 
|---|
| 3064 | You can download and install GNU coreutils to get an 'rm' implementation | 
|---|
| 3065 | that behaves properly: <http://www.gnu.org/software/coreutils/>. | 
|---|
| 3066 |  | 
|---|
| 3067 | If you want to complete the configuration process using your problematic | 
|---|
| 3068 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM | 
|---|
| 3069 | to "yes", and re-run configure. | 
|---|
| 3070 |  | 
|---|
| 3071 | END | 
|---|
| 3072 | as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 | 
|---|
| 3073 | fi | 
|---|
| 3074 | fi | 
|---|
| 3075 |  | 
|---|
| 3076 |  | 
|---|
| 3077 | # Allow program name tansformation | 
|---|
| 3078 | # will fill program_transform_name with appropriate sed regex | 
|---|
| 3079 |  | 
|---|
| 3080 |  | 
|---|
| 3081 | #============================================================================== | 
|---|
| 3082 | #Trasforming cc1 will break compilation | 
|---|
| 3083 |  | 
|---|
| 3084 | if test "${program_transform_name}" = ""; then | 
|---|
| 3085 | as_fn_error $? "Program transform not supported. | 
|---|
| 3086 | Use --with-cfa-name='[Desired name here]' instead" "$LINENO" 5 | 
|---|
| 3087 | fi | 
|---|
| 3088 |  | 
|---|
| 3089 | #Define the new name of the installed command | 
|---|
| 3090 |  | 
|---|
| 3091 | # Check whether --with-cfa-name was given. | 
|---|
| 3092 | if test "${with_cfa_name+set}" = set; then : | 
|---|
| 3093 | withval=$with_cfa_name; cfa_name=$withval | 
|---|
| 3094 | else | 
|---|
| 3095 | cfa_name="cfa" | 
|---|
| 3096 | fi | 
|---|
| 3097 |  | 
|---|
| 3098 |  | 
|---|
| 3099 | CFA_NAME=${cfa_name} | 
|---|
| 3100 |  | 
|---|
| 3101 |  | 
|---|
| 3102 |  | 
|---|
| 3103 | #============================================================================== | 
|---|
| 3104 | # version information | 
|---|
| 3105 |  | 
|---|
| 3106 | rm -f version | 
|---|
| 3107 | echo ${PACKAGE_VERSION} > version               # file containing version number for other tools | 
|---|
| 3108 | chmod ugo-w version | 
|---|
| 3109 | ver_major=`cut -d '.' -f1 version`              # subdivide version number into components at periods | 
|---|
| 3110 | ver_minor=`cut -d '.' -f2 version` | 
|---|
| 3111 | ver_patch=`cut -d '.' -f3 version` | 
|---|
| 3112 | ver_build=`cut -d '.' -f4 version` | 
|---|
| 3113 |  | 
|---|
| 3114 | # AC_SUBST([CONFIG_STATUS_DEPENDENCIES], ['$(top_srcdir)/version']) | 
|---|
| 3115 |  | 
|---|
| 3116 | cat >>confdefs.h <<_ACEOF | 
|---|
| 3117 | #define CFA_VERSION_MAJOR ${ver_major} | 
|---|
| 3118 | _ACEOF | 
|---|
| 3119 |  | 
|---|
| 3120 |  | 
|---|
| 3121 | cat >>confdefs.h <<_ACEOF | 
|---|
| 3122 | #define CFA_VERSION_MINOR ${ver_minor} | 
|---|
| 3123 | _ACEOF | 
|---|
| 3124 |  | 
|---|
| 3125 |  | 
|---|
| 3126 | cat >>confdefs.h <<_ACEOF | 
|---|
| 3127 | #define CFA_VERSION_PATCH ${ver_patch} | 
|---|
| 3128 | _ACEOF | 
|---|
| 3129 |  | 
|---|
| 3130 |  | 
|---|
| 3131 | cat >>confdefs.h <<_ACEOF | 
|---|
| 3132 | #define CFA_VERSION_BUILD ${ver_build} | 
|---|
| 3133 | _ACEOF | 
|---|
| 3134 |  | 
|---|
| 3135 |  | 
|---|
| 3136 | cat >>confdefs.h <<_ACEOF | 
|---|
| 3137 | #define CFA_VERSION_SHORT "${ver_major}" | 
|---|
| 3138 | _ACEOF | 
|---|
| 3139 |  | 
|---|
| 3140 |  | 
|---|
| 3141 | cat >>confdefs.h <<_ACEOF | 
|---|
| 3142 | #define CFA_VERSION "${ver_major}.${ver_minor}" | 
|---|
| 3143 | _ACEOF | 
|---|
| 3144 |  | 
|---|
| 3145 |  | 
|---|
| 3146 | cat >>confdefs.h <<_ACEOF | 
|---|
| 3147 | #define CFA_VERSION_LONG "${ver_major}.${ver_minor}.${ver_patch}" | 
|---|
| 3148 | _ACEOF | 
|---|
| 3149 |  | 
|---|
| 3150 |  | 
|---|
| 3151 | cat >>confdefs.h <<_ACEOF | 
|---|
| 3152 | #define CFA_VERSION_FULL "${ver_major}.${ver_minor}.${ver_patch}.${ver_build}" | 
|---|
| 3153 | _ACEOF | 
|---|
| 3154 |  | 
|---|
| 3155 |  | 
|---|
| 3156 | #============================================================================== | 
|---|
| 3157 | # HACK to be able to use conditionnals inside makefiles | 
|---|
| 3158 | DOifskipcompile='ifeq ($(skipcompile),yes) | 
|---|
| 3159 | else' | 
|---|
| 3160 |  | 
|---|
| 3161 |  | 
|---|
| 3162 |  | 
|---|
| 3163 | DOendif='endif' | 
|---|
| 3164 |  | 
|---|
| 3165 |  | 
|---|
| 3166 |  | 
|---|
| 3167 | #============================================================================== | 
|---|
| 3168 | # backend compiler implementation | 
|---|
| 3169 |  | 
|---|
| 3170 | # Check whether --with-backend-compiler was given. | 
|---|
| 3171 | if test "${with_backend_compiler+set}" = set; then : | 
|---|
| 3172 | withval=$with_backend_compiler; backendcompiler=$withval | 
|---|
| 3173 | else | 
|---|
| 3174 | backendcompiler="" | 
|---|
| 3175 | fi | 
|---|
| 3176 |  | 
|---|
| 3177 | if test "x$backendcompiler" != "x"; then | 
|---|
| 3178 | BACKEND_CC=${backendcompiler} | 
|---|
| 3179 | else | 
|---|
| 3180 | # Extract the first word of "gcc", so it can be a program name with args. | 
|---|
| 3181 | set dummy gcc; ac_word=$2 | 
|---|
| 3182 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
| 3183 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
| 3184 | if ${ac_cv_path_BACKEND_CC+:} false; then : | 
|---|
| 3185 | $as_echo_n "(cached) " >&6 | 
|---|
| 3186 | else | 
|---|
| 3187 | case $BACKEND_CC in | 
|---|
| 3188 | [\\/]* | ?:[\\/]*) | 
|---|
| 3189 | ac_cv_path_BACKEND_CC="$BACKEND_CC" # Let the user override the test with a path. | 
|---|
| 3190 | ;; | 
|---|
| 3191 | *) | 
|---|
| 3192 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 3193 | for as_dir in $PATH | 
|---|
| 3194 | do | 
|---|
| 3195 | IFS=$as_save_IFS | 
|---|
| 3196 | test -z "$as_dir" && as_dir=. | 
|---|
| 3197 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 3198 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 3199 | ac_cv_path_BACKEND_CC="$as_dir/$ac_word$ac_exec_ext" | 
|---|
| 3200 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 3201 | break 2 | 
|---|
| 3202 | fi | 
|---|
| 3203 | done | 
|---|
| 3204 | done | 
|---|
| 3205 | IFS=$as_save_IFS | 
|---|
| 3206 |  | 
|---|
| 3207 | ;; | 
|---|
| 3208 | esac | 
|---|
| 3209 | fi | 
|---|
| 3210 | BACKEND_CC=$ac_cv_path_BACKEND_CC | 
|---|
| 3211 | if test -n "$BACKEND_CC"; then | 
|---|
| 3212 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKEND_CC" >&5 | 
|---|
| 3213 | $as_echo "$BACKEND_CC" >&6; } | 
|---|
| 3214 | else | 
|---|
| 3215 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 3216 | $as_echo "no" >&6; } | 
|---|
| 3217 | fi | 
|---|
| 3218 |  | 
|---|
| 3219 | # check gcc installed | 
|---|
| 3220 | if test "x$BACKEND_CC" = "x"; then | 
|---|
| 3221 | as_fn_error $? "some version of gcc is needed. Get it at ftp://ftp.gnu.org" "$LINENO" 5 | 
|---|
| 3222 | exit 1 | 
|---|
| 3223 | fi | 
|---|
| 3224 | fi | 
|---|
| 3225 |  | 
|---|
| 3226 | cat >>confdefs.h <<_ACEOF | 
|---|
| 3227 | #define CFA_BACKEND_CC "${BACKEND_CC}" | 
|---|
| 3228 | _ACEOF | 
|---|
| 3229 |  | 
|---|
| 3230 |  | 
|---|
| 3231 |  | 
|---|
| 3232 | #============================================================================== | 
|---|
| 3233 | # Installation paths | 
|---|
| 3234 |  | 
|---|
| 3235 | if test "x$prefix" = "xNONE"; then | 
|---|
| 3236 | cfa_prefix=${ac_default_prefix} | 
|---|
| 3237 | else | 
|---|
| 3238 | cfa_prefix=${prefix} | 
|---|
| 3239 | fi | 
|---|
| 3240 | cfa_prefix="$(readlink -m ${cfa_prefix})/" | 
|---|
| 3241 |  | 
|---|
| 3242 | cat >>confdefs.h <<_ACEOF | 
|---|
| 3243 | #define CFA_PREFIX "${cfa_prefix}" | 
|---|
| 3244 | _ACEOF | 
|---|
| 3245 |  | 
|---|
| 3246 | CFA_PREFIX=${cfa_prefix} | 
|---|
| 3247 |  | 
|---|
| 3248 |  | 
|---|
| 3249 | if test "$includedir" = '${prefix}/include'; then | 
|---|
| 3250 | cfa_incdir="${cfa_prefix}include/${cfa_name}" | 
|---|
| 3251 | else | 
|---|
| 3252 | cfa_incdir=${includedir} | 
|---|
| 3253 | fi | 
|---|
| 3254 | cfa_incdir="$(readlink -m ${cfa_incdir})/" | 
|---|
| 3255 |  | 
|---|
| 3256 | cat >>confdefs.h <<_ACEOF | 
|---|
| 3257 | #define CFA_INCDIR "${cfa_incdir}" | 
|---|
| 3258 | _ACEOF | 
|---|
| 3259 |  | 
|---|
| 3260 | CFA_INCDIR=${cfa_incdir} | 
|---|
| 3261 |  | 
|---|
| 3262 |  | 
|---|
| 3263 | if test "$bindir" = '${exec_prefix}/bin'; then | 
|---|
| 3264 | cfa_bindir="${cfa_prefix}bin" | 
|---|
| 3265 | else | 
|---|
| 3266 | cfa_bindir=${bindir} | 
|---|
| 3267 | fi | 
|---|
| 3268 | cfa_bindir="$(readlink -m ${cfa_bindir})/" | 
|---|
| 3269 |  | 
|---|
| 3270 | cat >>confdefs.h <<_ACEOF | 
|---|
| 3271 | #define CFA_BINDIR "${cfa_bindir}" | 
|---|
| 3272 | _ACEOF | 
|---|
| 3273 |  | 
|---|
| 3274 | CFA_BINDIR=${cfa_bindir} | 
|---|
| 3275 |  | 
|---|
| 3276 |  | 
|---|
| 3277 | if test "$libdir" = '${exec_prefix}/lib'; then | 
|---|
| 3278 | if test "${ARCHITECTURE}" != ""; then | 
|---|
| 3279 | cfa_libdir="${cfa_prefix}lib/${cfa_name}/${ARCHITECTURE}-${CONFIGURATION}/" | 
|---|
| 3280 | else | 
|---|
| 3281 | cfa_libdir="${cfa_prefix}lib/${cfa_name}/" | 
|---|
| 3282 | fi | 
|---|
| 3283 | else | 
|---|
| 3284 | cfa_libdir="${libdir}/${ARCHITECTURE}${CONFIGURATION}" | 
|---|
| 3285 | fi | 
|---|
| 3286 | cfa_libdir="$(readlink -m ${cfa_libdir})/" | 
|---|
| 3287 |  | 
|---|
| 3288 | cat >>confdefs.h <<_ACEOF | 
|---|
| 3289 | #define CFA_LIBDIR "${cfa_libdir}" | 
|---|
| 3290 | _ACEOF | 
|---|
| 3291 |  | 
|---|
| 3292 | CFA_LIBDIR=${cfa_libdir} | 
|---|
| 3293 |  | 
|---|
| 3294 |  | 
|---|
| 3295 |  | 
|---|
| 3296 | #============================================================================== | 
|---|
| 3297 | # Create variables for commonly used targets | 
|---|
| 3298 |  | 
|---|
| 3299 | TOP_SRCDIR="$(readlink -m $ac_confdir/)/" | 
|---|
| 3300 | TOP_BUILDDIR="$(readlink -m $ac_pwd/)/" | 
|---|
| 3301 |  | 
|---|
| 3302 |  | 
|---|
| 3303 | cat >>confdefs.h <<_ACEOF | 
|---|
| 3304 | #define TOP_SRCDIR "$TOP_SRCDIR" | 
|---|
| 3305 | _ACEOF | 
|---|
| 3306 |  | 
|---|
| 3307 |  | 
|---|
| 3308 | cat >>confdefs.h <<_ACEOF | 
|---|
| 3309 | #define TOP_BUILDDIR "$TOP_BUILDDIR" | 
|---|
| 3310 | _ACEOF | 
|---|
| 3311 |  | 
|---|
| 3312 |  | 
|---|
| 3313 | DRIVER_DIR=${TOP_BUILDDIR}driver/ | 
|---|
| 3314 | CFACC=${DRIVER_DIR}cfa | 
|---|
| 3315 | CFACPP=${DRIVER_DIR}cfa-cpp | 
|---|
| 3316 |  | 
|---|
| 3317 |  | 
|---|
| 3318 |  | 
|---|
| 3319 |  | 
|---|
| 3320 | #============================================================================== | 
|---|
| 3321 | # Flag variables needed to build in tree | 
|---|
| 3322 | LIBCFA_SRC='${TOP_SRCDIR}/libcfa/src' | 
|---|
| 3323 | BUILD_IN_TREE_FLAGS="-XCFA -t -B${DRIVER_DIR}" | 
|---|
| 3324 |  | 
|---|
| 3325 |  | 
|---|
| 3326 | #============================================================================== | 
|---|
| 3327 | # handle the list of hosts to build for | 
|---|
| 3328 | for var in $ac_configure_args | 
|---|
| 3329 | do | 
|---|
| 3330 | #strip quotes surrouding values | 
|---|
| 3331 | case $var in | 
|---|
| 3332 | # skip cross compilation related arguments | 
|---|
| 3333 | \'--host=*) ;; \'host_alias=*) ;; \'--build=*) ;; \'build_alias=*) ;; \'--target=*) ;; \'target_alias=*) ;; | 
|---|
| 3334 |  | 
|---|
| 3335 | # skip the target hosts | 
|---|
| 3336 | \'--with-target-hosts=*) ;; | 
|---|
| 3337 |  | 
|---|
| 3338 | # append all other arguments to the sub configure arguments | 
|---|
| 3339 | *) LIBCFA_GENERAL_ARGS="${LIBCFA_GENERAL_ARGS} $var";; | 
|---|
| 3340 | esac | 
|---|
| 3341 | done | 
|---|
| 3342 |  | 
|---|
| 3343 | #============================================================================== | 
|---|
| 3344 | # handle the list of hosts to build for | 
|---|
| 3345 | # Make sure we can run config.sub. | 
|---|
| 3346 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | 
|---|
| 3347 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | 
|---|
| 3348 |  | 
|---|
| 3349 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | 
|---|
| 3350 | $as_echo_n "checking build system type... " >&6; } | 
|---|
| 3351 | if ${ac_cv_build+:} false; then : | 
|---|
| 3352 | $as_echo_n "(cached) " >&6 | 
|---|
| 3353 | else | 
|---|
| 3354 | ac_build_alias=$build_alias | 
|---|
| 3355 | test "x$ac_build_alias" = x && | 
|---|
| 3356 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | 
|---|
| 3357 | test "x$ac_build_alias" = x && | 
|---|
| 3358 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 | 
|---|
| 3359 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | 
|---|
| 3360 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 | 
|---|
| 3361 |  | 
|---|
| 3362 | fi | 
|---|
| 3363 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | 
|---|
| 3364 | $as_echo "$ac_cv_build" >&6; } | 
|---|
| 3365 | case $ac_cv_build in | 
|---|
| 3366 | *-*-*) ;; | 
|---|
| 3367 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; | 
|---|
| 3368 | esac | 
|---|
| 3369 | build=$ac_cv_build | 
|---|
| 3370 | ac_save_IFS=$IFS; IFS='-' | 
|---|
| 3371 | set x $ac_cv_build | 
|---|
| 3372 | shift | 
|---|
| 3373 | build_cpu=$1 | 
|---|
| 3374 | build_vendor=$2 | 
|---|
| 3375 | shift; shift | 
|---|
| 3376 | # Remember, the first character of IFS is used to create $*, | 
|---|
| 3377 | # except with old shells: | 
|---|
| 3378 | build_os=$* | 
|---|
| 3379 | IFS=$ac_save_IFS | 
|---|
| 3380 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | 
|---|
| 3381 |  | 
|---|
| 3382 |  | 
|---|
| 3383 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 | 
|---|
| 3384 | $as_echo_n "checking host system type... " >&6; } | 
|---|
| 3385 | if ${ac_cv_host+:} false; then : | 
|---|
| 3386 | $as_echo_n "(cached) " >&6 | 
|---|
| 3387 | else | 
|---|
| 3388 | if test "x$host_alias" = x; then | 
|---|
| 3389 | ac_cv_host=$ac_cv_build | 
|---|
| 3390 | else | 
|---|
| 3391 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | 
|---|
| 3392 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | 
|---|
| 3393 | fi | 
|---|
| 3394 |  | 
|---|
| 3395 | fi | 
|---|
| 3396 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | 
|---|
| 3397 | $as_echo "$ac_cv_host" >&6; } | 
|---|
| 3398 | case $ac_cv_host in | 
|---|
| 3399 | *-*-*) ;; | 
|---|
| 3400 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; | 
|---|
| 3401 | esac | 
|---|
| 3402 | host=$ac_cv_host | 
|---|
| 3403 | ac_save_IFS=$IFS; IFS='-' | 
|---|
| 3404 | set x $ac_cv_host | 
|---|
| 3405 | shift | 
|---|
| 3406 | host_cpu=$1 | 
|---|
| 3407 | host_vendor=$2 | 
|---|
| 3408 | shift; shift | 
|---|
| 3409 | # Remember, the first character of IFS is used to create $*, | 
|---|
| 3410 | # except with old shells: | 
|---|
| 3411 | host_os=$* | 
|---|
| 3412 | IFS=$ac_save_IFS | 
|---|
| 3413 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | 
|---|
| 3414 |  | 
|---|
| 3415 |  | 
|---|
| 3416 |  | 
|---|
| 3417 | if ! test "$host_cpu" = "$build_cpu"; then | 
|---|
| 3418 | case $host_cpu in | 
|---|
| 3419 | i386) | 
|---|
| 3420 | HOST_FLAGS="-m32" | 
|---|
| 3421 | ;; | 
|---|
| 3422 | i686) | 
|---|
| 3423 | HOST_FLAGS="-m32" | 
|---|
| 3424 | ;; | 
|---|
| 3425 | x86_64) | 
|---|
| 3426 | HOST_FLAGS="-m64" | 
|---|
| 3427 | ;; | 
|---|
| 3428 | esac | 
|---|
| 3429 | fi | 
|---|
| 3430 |  | 
|---|
| 3431 |  | 
|---|
| 3432 | default_target="${host_cpu}:debug, ${host_cpu}:nodebug" | 
|---|
| 3433 |  | 
|---|
| 3434 | # Check whether --with-target-hosts was given. | 
|---|
| 3435 | if test "${with_target_hosts+set}" = set; then : | 
|---|
| 3436 | withval=$with_target_hosts; target_hosts=$withval | 
|---|
| 3437 | else | 
|---|
| 3438 | target_hosts=${default_target} | 
|---|
| 3439 | fi | 
|---|
| 3440 |  | 
|---|
| 3441 |  | 
|---|
| 3442 | TARGET_HOSTS=${target_hosts} | 
|---|
| 3443 |  | 
|---|
| 3444 |  | 
|---|
| 3445 | LIBCFA_PATHS="DRIVER_DIR=${DRIVER_DIR}" | 
|---|
| 3446 |  | 
|---|
| 3447 | for i in $(echo $target_hosts | sed "s/,/ /g") | 
|---|
| 3448 | do | 
|---|
| 3449 | # call your procedure/other scripts here below | 
|---|
| 3450 | arch_name=$(echo $i | sed -r "s/:(.*)//g") | 
|---|
| 3451 | lib_config=$(echo $i | sed -r "s/(.*)://g") | 
|---|
| 3452 |  | 
|---|
| 3453 | case $lib_config in | 
|---|
| 3454 | "nodebug") ;; | 
|---|
| 3455 | "debug") ;; | 
|---|
| 3456 | "nolib") ;; | 
|---|
| 3457 | *) | 
|---|
| 3458 | >&2 echo "Configuration must be 'debug', 'nodebug' or 'nolib'" | 
|---|
| 3459 | exit 1 | 
|---|
| 3460 | ;; | 
|---|
| 3461 | esac | 
|---|
| 3462 |  | 
|---|
| 3463 |  | 
|---|
| 3464 | case ${arch_name} in | 
|---|
| 3465 | "host") arch_name=${host_cpu};; | 
|---|
| 3466 | *) arch_name=${arch_name};; | 
|---|
| 3467 | esac | 
|---|
| 3468 |  | 
|---|
| 3469 | case $arch_name in | 
|---|
| 3470 | "x64"        ) cannon_arch_name="x64";; | 
|---|
| 3471 | "x86-64"     ) cannon_arch_name="x64";; | 
|---|
| 3472 | "x86_64"     ) cannon_arch_name="x64";; | 
|---|
| 3473 | "x86"        ) cannon_arch_name="x86";; | 
|---|
| 3474 | "i386"       ) cannon_arch_name="x86";; | 
|---|
| 3475 | "i486"       ) cannon_arch_name="x86";; | 
|---|
| 3476 | "i686"       ) cannon_arch_name="x86";; | 
|---|
| 3477 | "Intel 80386") cannon_arch_name="x86";; | 
|---|
| 3478 | "arm"        ) cannon_arch_name="arm";; | 
|---|
| 3479 | "ARM"        ) cannon_arch_name="arm";; | 
|---|
| 3480 | *) | 
|---|
| 3481 | >&2 echo "Unkown architecture " $arch_name; | 
|---|
| 3482 | exit 1 | 
|---|
| 3483 | ;; | 
|---|
| 3484 | esac | 
|---|
| 3485 |  | 
|---|
| 3486 | lib_arch=${cannon_arch_name} | 
|---|
| 3487 | lib_dir="libcfa/${lib_arch}-${lib_config}" | 
|---|
| 3488 |  | 
|---|
| 3489 | LIBCFA_TARGET_DIRS="${LIBCFA_TARGET_DIRS} ${lib_dir}" | 
|---|
| 3490 | LIBCFA_TARGET_MAKEFILES="${LIBCFA_TARGET_MAKEFILES} ${lib_dir}/Makefile" | 
|---|
| 3491 |  | 
|---|
| 3492 | mkdir -p ${lib_dir} | 
|---|
| 3493 | echo -n "${LIBCFA_GENERAL_ARGS} " > ${lib_dir}/config.data | 
|---|
| 3494 | echo -n "${LIBCFA_PATHS} " >> ${lib_dir}/config.data | 
|---|
| 3495 | echo -n "ARCHITECTURE=${lib_arch} " >> ${lib_dir}/config.data | 
|---|
| 3496 | echo -n "CONFIGURATION=${lib_config}" >> ${lib_dir}/config.data | 
|---|
| 3497 | done | 
|---|
| 3498 |  | 
|---|
| 3499 |  | 
|---|
| 3500 |  | 
|---|
| 3501 |  | 
|---|
| 3502 |  | 
|---|
| 3503 | case ${host_cpu} in | 
|---|
| 3504 | "host") arch_name=${host_cpu};; | 
|---|
| 3505 | *) arch_name=${host_cpu};; | 
|---|
| 3506 | esac | 
|---|
| 3507 |  | 
|---|
| 3508 | case $arch_name in | 
|---|
| 3509 | "x64"        ) cannon_arch_name="x64";; | 
|---|
| 3510 | "x86-64"     ) cannon_arch_name="x64";; | 
|---|
| 3511 | "x86_64"     ) cannon_arch_name="x64";; | 
|---|
| 3512 | "x86"        ) cannon_arch_name="x86";; | 
|---|
| 3513 | "i386"       ) cannon_arch_name="x86";; | 
|---|
| 3514 | "i486"       ) cannon_arch_name="x86";; | 
|---|
| 3515 | "i686"       ) cannon_arch_name="x86";; | 
|---|
| 3516 | "Intel 80386") cannon_arch_name="x86";; | 
|---|
| 3517 | "arm"        ) cannon_arch_name="arm";; | 
|---|
| 3518 | "ARM"        ) cannon_arch_name="arm";; | 
|---|
| 3519 | *) | 
|---|
| 3520 | >&2 echo "Unkown architecture " $arch_name; | 
|---|
| 3521 | exit 1 | 
|---|
| 3522 | ;; | 
|---|
| 3523 | esac | 
|---|
| 3524 |  | 
|---|
| 3525 |  | 
|---|
| 3526 | cat >>confdefs.h <<_ACEOF | 
|---|
| 3527 | #define CFA_DEFAULT_CPU "$cannon_arch_name" | 
|---|
| 3528 | _ACEOF | 
|---|
| 3529 |  | 
|---|
| 3530 |  | 
|---|
| 3531 | cat >>confdefs.h <<_ACEOF | 
|---|
| 3532 | #define CFA_64_CPU "x64" | 
|---|
| 3533 | _ACEOF | 
|---|
| 3534 |  | 
|---|
| 3535 |  | 
|---|
| 3536 | cat >>confdefs.h <<_ACEOF | 
|---|
| 3537 | #define CFA_32_CPU "x86" | 
|---|
| 3538 | _ACEOF | 
|---|
| 3539 |  | 
|---|
| 3540 |  | 
|---|
| 3541 | #============================================================================== | 
|---|
| 3542 | # CAFLAGS | 
|---|
| 3543 |  | 
|---|
| 3544 | cat >>confdefs.h <<_ACEOF | 
|---|
| 3545 | #define CFA_FLAGS "${CFAFLAGS}" | 
|---|
| 3546 | _ACEOF | 
|---|
| 3547 |  | 
|---|
| 3548 | CFA_FLAGS=${CFAFLAGS} | 
|---|
| 3549 |  | 
|---|
| 3550 |  | 
|---|
| 3551 | #============================================================================== | 
|---|
| 3552 | # Checks for programs. | 
|---|
| 3553 | ac_ext=cpp | 
|---|
| 3554 | ac_cpp='$CXXCPP $CPPFLAGS' | 
|---|
| 3555 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 3556 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 3557 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
|---|
| 3558 | if test -z "$CXX"; then | 
|---|
| 3559 | if test -n "$CCC"; then | 
|---|
| 3560 | CXX=$CCC | 
|---|
| 3561 | else | 
|---|
| 3562 | if test -n "$ac_tool_prefix"; then | 
|---|
| 3563 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | 
|---|
| 3564 | do | 
|---|
| 3565 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
|---|
| 3566 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
|---|
| 3567 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
| 3568 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
| 3569 | if ${ac_cv_prog_CXX+:} false; then : | 
|---|
| 3570 | $as_echo_n "(cached) " >&6 | 
|---|
| 3571 | else | 
|---|
| 3572 | if test -n "$CXX"; then | 
|---|
| 3573 | ac_cv_prog_CXX="$CXX" # Let the user override the test. | 
|---|
| 3574 | else | 
|---|
| 3575 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 3576 | for as_dir in $PATH | 
|---|
| 3577 | do | 
|---|
| 3578 | IFS=$as_save_IFS | 
|---|
| 3579 | test -z "$as_dir" && as_dir=. | 
|---|
| 3580 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 3581 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 3582 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | 
|---|
| 3583 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 3584 | break 2 | 
|---|
| 3585 | fi | 
|---|
| 3586 | done | 
|---|
| 3587 | done | 
|---|
| 3588 | IFS=$as_save_IFS | 
|---|
| 3589 |  | 
|---|
| 3590 | fi | 
|---|
| 3591 | fi | 
|---|
| 3592 | CXX=$ac_cv_prog_CXX | 
|---|
| 3593 | if test -n "$CXX"; then | 
|---|
| 3594 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 | 
|---|
| 3595 | $as_echo "$CXX" >&6; } | 
|---|
| 3596 | else | 
|---|
| 3597 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 3598 | $as_echo "no" >&6; } | 
|---|
| 3599 | fi | 
|---|
| 3600 |  | 
|---|
| 3601 |  | 
|---|
| 3602 | test -n "$CXX" && break | 
|---|
| 3603 | done | 
|---|
| 3604 | fi | 
|---|
| 3605 | if test -z "$CXX"; then | 
|---|
| 3606 | ac_ct_CXX=$CXX | 
|---|
| 3607 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | 
|---|
| 3608 | do | 
|---|
| 3609 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
| 3610 | set dummy $ac_prog; ac_word=$2 | 
|---|
| 3611 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
| 3612 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
| 3613 | if ${ac_cv_prog_ac_ct_CXX+:} false; then : | 
|---|
| 3614 | $as_echo_n "(cached) " >&6 | 
|---|
| 3615 | else | 
|---|
| 3616 | if test -n "$ac_ct_CXX"; then | 
|---|
| 3617 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | 
|---|
| 3618 | else | 
|---|
| 3619 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 3620 | for as_dir in $PATH | 
|---|
| 3621 | do | 
|---|
| 3622 | IFS=$as_save_IFS | 
|---|
| 3623 | test -z "$as_dir" && as_dir=. | 
|---|
| 3624 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 3625 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 3626 | ac_cv_prog_ac_ct_CXX="$ac_prog" | 
|---|
| 3627 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 3628 | break 2 | 
|---|
| 3629 | fi | 
|---|
| 3630 | done | 
|---|
| 3631 | done | 
|---|
| 3632 | IFS=$as_save_IFS | 
|---|
| 3633 |  | 
|---|
| 3634 | fi | 
|---|
| 3635 | fi | 
|---|
| 3636 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | 
|---|
| 3637 | if test -n "$ac_ct_CXX"; then | 
|---|
| 3638 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 | 
|---|
| 3639 | $as_echo "$ac_ct_CXX" >&6; } | 
|---|
| 3640 | else | 
|---|
| 3641 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 3642 | $as_echo "no" >&6; } | 
|---|
| 3643 | fi | 
|---|
| 3644 |  | 
|---|
| 3645 |  | 
|---|
| 3646 | test -n "$ac_ct_CXX" && break | 
|---|
| 3647 | done | 
|---|
| 3648 |  | 
|---|
| 3649 | if test "x$ac_ct_CXX" = x; then | 
|---|
| 3650 | CXX="g++" | 
|---|
| 3651 | else | 
|---|
| 3652 | case $cross_compiling:$ac_tool_warned in | 
|---|
| 3653 | yes:) | 
|---|
| 3654 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 
|---|
| 3655 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 
|---|
| 3656 | ac_tool_warned=yes ;; | 
|---|
| 3657 | esac | 
|---|
| 3658 | CXX=$ac_ct_CXX | 
|---|
| 3659 | fi | 
|---|
| 3660 | fi | 
|---|
| 3661 |  | 
|---|
| 3662 | fi | 
|---|
| 3663 | fi | 
|---|
| 3664 | # Provide some information about the compiler. | 
|---|
| 3665 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 | 
|---|
| 3666 | set X $ac_compile | 
|---|
| 3667 | ac_compiler=$2 | 
|---|
| 3668 | for ac_option in --version -v -V -qversion; do | 
|---|
| 3669 | { { ac_try="$ac_compiler $ac_option >&5" | 
|---|
| 3670 | case "(($ac_try" in | 
|---|
| 3671 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
| 3672 | *) ac_try_echo=$ac_try;; | 
|---|
| 3673 | esac | 
|---|
| 3674 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
| 3675 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
| 3676 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err | 
|---|
| 3677 | ac_status=$? | 
|---|
| 3678 | if test -s conftest.err; then | 
|---|
| 3679 | sed '10a\ | 
|---|
| 3680 | ... rest of stderr output deleted ... | 
|---|
| 3681 | 10q' conftest.err >conftest.er1 | 
|---|
| 3682 | cat conftest.er1 >&5 | 
|---|
| 3683 | fi | 
|---|
| 3684 | rm -f conftest.er1 conftest.err | 
|---|
| 3685 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
| 3686 | test $ac_status = 0; } | 
|---|
| 3687 | done | 
|---|
| 3688 |  | 
|---|
| 3689 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 3690 | /* end confdefs.h.  */ | 
|---|
| 3691 |  | 
|---|
| 3692 | int | 
|---|
| 3693 | main () | 
|---|
| 3694 | { | 
|---|
| 3695 |  | 
|---|
| 3696 | ; | 
|---|
| 3697 | return 0; | 
|---|
| 3698 | } | 
|---|
| 3699 | _ACEOF | 
|---|
| 3700 | ac_clean_files_save=$ac_clean_files | 
|---|
| 3701 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | 
|---|
| 3702 | # Try to create an executable without -o first, disregard a.out. | 
|---|
| 3703 | # It will help us diagnose broken compilers, and finding out an intuition | 
|---|
| 3704 | # of exeext. | 
|---|
| 3705 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 | 
|---|
| 3706 | $as_echo_n "checking whether the C++ compiler works... " >&6; } | 
|---|
| 3707 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 
|---|
| 3708 |  | 
|---|
| 3709 | # The possible output files: | 
|---|
| 3710 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | 
|---|
| 3711 |  | 
|---|
| 3712 | ac_rmfiles= | 
|---|
| 3713 | for ac_file in $ac_files | 
|---|
| 3714 | do | 
|---|
| 3715 | case $ac_file in | 
|---|
| 3716 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | 
|---|
| 3717 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; | 
|---|
| 3718 | esac | 
|---|
| 3719 | done | 
|---|
| 3720 | rm -f $ac_rmfiles | 
|---|
| 3721 |  | 
|---|
| 3722 | if { { ac_try="$ac_link_default" | 
|---|
| 3723 | case "(($ac_try" in | 
|---|
| 3724 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
| 3725 | *) ac_try_echo=$ac_try;; | 
|---|
| 3726 | esac | 
|---|
| 3727 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
| 3728 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
| 3729 | (eval "$ac_link_default") 2>&5 | 
|---|
| 3730 | ac_status=$? | 
|---|
| 3731 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
| 3732 | test $ac_status = 0; }; then : | 
|---|
| 3733 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | 
|---|
| 3734 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | 
|---|
| 3735 | # in a Makefile.  We should not override ac_cv_exeext if it was cached, | 
|---|
| 3736 | # so that the user can short-circuit this test for compilers unknown to | 
|---|
| 3737 | # Autoconf. | 
|---|
| 3738 | for ac_file in $ac_files '' | 
|---|
| 3739 | do | 
|---|
| 3740 | test -f "$ac_file" || continue | 
|---|
| 3741 | case $ac_file in | 
|---|
| 3742 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) | 
|---|
| 3743 | ;; | 
|---|
| 3744 | [ab].out ) | 
|---|
| 3745 | # We found the default executable, but exeext='' is most | 
|---|
| 3746 | # certainly right. | 
|---|
| 3747 | break;; | 
|---|
| 3748 | *.* ) | 
|---|
| 3749 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | 
|---|
| 3750 | then :; else | 
|---|
| 3751 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
|---|
| 3752 | fi | 
|---|
| 3753 | # We set ac_cv_exeext here because the later test for it is not | 
|---|
| 3754 | # safe: cross compilers may not add the suffix if given an `-o' | 
|---|
| 3755 | # argument, so we may need to know it at that point already. | 
|---|
| 3756 | # Even if this section looks crufty: it has the advantage of | 
|---|
| 3757 | # actually working. | 
|---|
| 3758 | break;; | 
|---|
| 3759 | * ) | 
|---|
| 3760 | break;; | 
|---|
| 3761 | esac | 
|---|
| 3762 | done | 
|---|
| 3763 | test "$ac_cv_exeext" = no && ac_cv_exeext= | 
|---|
| 3764 |  | 
|---|
| 3765 | else | 
|---|
| 3766 | ac_file='' | 
|---|
| 3767 | fi | 
|---|
| 3768 | if test -z "$ac_file"; then : | 
|---|
| 3769 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 3770 | $as_echo "no" >&6; } | 
|---|
| 3771 | $as_echo "$as_me: failed program was:" >&5 | 
|---|
| 3772 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3773 |  | 
|---|
| 3774 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
|---|
| 3775 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
|---|
| 3776 | as_fn_error 77 "C++ compiler cannot create executables | 
|---|
| 3777 | See \`config.log' for more details" "$LINENO" 5; } | 
|---|
| 3778 | else | 
|---|
| 3779 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 
|---|
| 3780 | $as_echo "yes" >&6; } | 
|---|
| 3781 | fi | 
|---|
| 3782 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 | 
|---|
| 3783 | $as_echo_n "checking for C++ compiler default output file name... " >&6; } | 
|---|
| 3784 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | 
|---|
| 3785 | $as_echo "$ac_file" >&6; } | 
|---|
| 3786 | ac_exeext=$ac_cv_exeext | 
|---|
| 3787 |  | 
|---|
| 3788 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | 
|---|
| 3789 | ac_clean_files=$ac_clean_files_save | 
|---|
| 3790 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | 
|---|
| 3791 | $as_echo_n "checking for suffix of executables... " >&6; } | 
|---|
| 3792 | if { { ac_try="$ac_link" | 
|---|
| 3793 | case "(($ac_try" in | 
|---|
| 3794 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
| 3795 | *) ac_try_echo=$ac_try;; | 
|---|
| 3796 | esac | 
|---|
| 3797 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
| 3798 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
| 3799 | (eval "$ac_link") 2>&5 | 
|---|
| 3800 | ac_status=$? | 
|---|
| 3801 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
| 3802 | test $ac_status = 0; }; then : | 
|---|
| 3803 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | 
|---|
| 3804 | # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will | 
|---|
| 3805 | # work properly (i.e., refer to `conftest.exe'), while it won't with | 
|---|
| 3806 | # `rm'. | 
|---|
| 3807 | for ac_file in conftest.exe conftest conftest.*; do | 
|---|
| 3808 | test -f "$ac_file" || continue | 
|---|
| 3809 | case $ac_file in | 
|---|
| 3810 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | 
|---|
| 3811 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
|---|
| 3812 | break;; | 
|---|
| 3813 | * ) break;; | 
|---|
| 3814 | esac | 
|---|
| 3815 | done | 
|---|
| 3816 | else | 
|---|
| 3817 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
|---|
| 3818 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
|---|
| 3819 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link | 
|---|
| 3820 | See \`config.log' for more details" "$LINENO" 5; } | 
|---|
| 3821 | fi | 
|---|
| 3822 | rm -f conftest conftest$ac_cv_exeext | 
|---|
| 3823 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | 
|---|
| 3824 | $as_echo "$ac_cv_exeext" >&6; } | 
|---|
| 3825 |  | 
|---|
| 3826 | rm -f conftest.$ac_ext | 
|---|
| 3827 | EXEEXT=$ac_cv_exeext | 
|---|
| 3828 | ac_exeext=$EXEEXT | 
|---|
| 3829 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 3830 | /* end confdefs.h.  */ | 
|---|
| 3831 | #include <stdio.h> | 
|---|
| 3832 | int | 
|---|
| 3833 | main () | 
|---|
| 3834 | { | 
|---|
| 3835 | FILE *f = fopen ("conftest.out", "w"); | 
|---|
| 3836 | return ferror (f) || fclose (f) != 0; | 
|---|
| 3837 |  | 
|---|
| 3838 | ; | 
|---|
| 3839 | return 0; | 
|---|
| 3840 | } | 
|---|
| 3841 | _ACEOF | 
|---|
| 3842 | ac_clean_files="$ac_clean_files conftest.out" | 
|---|
| 3843 | # Check that the compiler produces executables we can run.  If not, either | 
|---|
| 3844 | # the compiler is broken, or we cross compile. | 
|---|
| 3845 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | 
|---|
| 3846 | $as_echo_n "checking whether we are cross compiling... " >&6; } | 
|---|
| 3847 | if test "$cross_compiling" != yes; then | 
|---|
| 3848 | { { ac_try="$ac_link" | 
|---|
| 3849 | case "(($ac_try" in | 
|---|
| 3850 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
| 3851 | *) ac_try_echo=$ac_try;; | 
|---|
| 3852 | esac | 
|---|
| 3853 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
| 3854 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
| 3855 | (eval "$ac_link") 2>&5 | 
|---|
| 3856 | ac_status=$? | 
|---|
| 3857 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
| 3858 | test $ac_status = 0; } | 
|---|
| 3859 | if { ac_try='./conftest$ac_cv_exeext' | 
|---|
| 3860 | { { case "(($ac_try" in | 
|---|
| 3861 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
| 3862 | *) ac_try_echo=$ac_try;; | 
|---|
| 3863 | esac | 
|---|
| 3864 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
| 3865 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
| 3866 | (eval "$ac_try") 2>&5 | 
|---|
| 3867 | ac_status=$? | 
|---|
| 3868 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
| 3869 | test $ac_status = 0; }; }; then | 
|---|
| 3870 | cross_compiling=no | 
|---|
| 3871 | else | 
|---|
| 3872 | if test "$cross_compiling" = maybe; then | 
|---|
| 3873 | cross_compiling=yes | 
|---|
| 3874 | else | 
|---|
| 3875 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
|---|
| 3876 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
|---|
| 3877 | as_fn_error $? "cannot run C++ compiled programs. | 
|---|
| 3878 | If you meant to cross compile, use \`--host'. | 
|---|
| 3879 | See \`config.log' for more details" "$LINENO" 5; } | 
|---|
| 3880 | fi | 
|---|
| 3881 | fi | 
|---|
| 3882 | fi | 
|---|
| 3883 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | 
|---|
| 3884 | $as_echo "$cross_compiling" >&6; } | 
|---|
| 3885 |  | 
|---|
| 3886 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | 
|---|
| 3887 | ac_clean_files=$ac_clean_files_save | 
|---|
| 3888 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | 
|---|
| 3889 | $as_echo_n "checking for suffix of object files... " >&6; } | 
|---|
| 3890 | if ${ac_cv_objext+:} false; then : | 
|---|
| 3891 | $as_echo_n "(cached) " >&6 | 
|---|
| 3892 | else | 
|---|
| 3893 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 3894 | /* end confdefs.h.  */ | 
|---|
| 3895 |  | 
|---|
| 3896 | int | 
|---|
| 3897 | main () | 
|---|
| 3898 | { | 
|---|
| 3899 |  | 
|---|
| 3900 | ; | 
|---|
| 3901 | return 0; | 
|---|
| 3902 | } | 
|---|
| 3903 | _ACEOF | 
|---|
| 3904 | rm -f conftest.o conftest.obj | 
|---|
| 3905 | if { { ac_try="$ac_compile" | 
|---|
| 3906 | case "(($ac_try" in | 
|---|
| 3907 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
| 3908 | *) ac_try_echo=$ac_try;; | 
|---|
| 3909 | esac | 
|---|
| 3910 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
| 3911 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
| 3912 | (eval "$ac_compile") 2>&5 | 
|---|
| 3913 | ac_status=$? | 
|---|
| 3914 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
| 3915 | test $ac_status = 0; }; then : | 
|---|
| 3916 | for ac_file in conftest.o conftest.obj conftest.*; do | 
|---|
| 3917 | test -f "$ac_file" || continue; | 
|---|
| 3918 | case $ac_file in | 
|---|
| 3919 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; | 
|---|
| 3920 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 
|---|
| 3921 | break;; | 
|---|
| 3922 | esac | 
|---|
| 3923 | done | 
|---|
| 3924 | else | 
|---|
| 3925 | $as_echo "$as_me: failed program was:" >&5 | 
|---|
| 3926 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3927 |  | 
|---|
| 3928 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
|---|
| 3929 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
|---|
| 3930 | as_fn_error $? "cannot compute suffix of object files: cannot compile | 
|---|
| 3931 | See \`config.log' for more details" "$LINENO" 5; } | 
|---|
| 3932 | fi | 
|---|
| 3933 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 
|---|
| 3934 | fi | 
|---|
| 3935 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | 
|---|
| 3936 | $as_echo "$ac_cv_objext" >&6; } | 
|---|
| 3937 | OBJEXT=$ac_cv_objext | 
|---|
| 3938 | ac_objext=$OBJEXT | 
|---|
| 3939 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 | 
|---|
| 3940 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } | 
|---|
| 3941 | if ${ac_cv_cxx_compiler_gnu+:} false; then : | 
|---|
| 3942 | $as_echo_n "(cached) " >&6 | 
|---|
| 3943 | else | 
|---|
| 3944 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 3945 | /* end confdefs.h.  */ | 
|---|
| 3946 |  | 
|---|
| 3947 | int | 
|---|
| 3948 | main () | 
|---|
| 3949 | { | 
|---|
| 3950 | #ifndef __GNUC__ | 
|---|
| 3951 | choke me | 
|---|
| 3952 | #endif | 
|---|
| 3953 |  | 
|---|
| 3954 | ; | 
|---|
| 3955 | return 0; | 
|---|
| 3956 | } | 
|---|
| 3957 | _ACEOF | 
|---|
| 3958 | if ac_fn_cxx_try_compile "$LINENO"; then : | 
|---|
| 3959 | ac_compiler_gnu=yes | 
|---|
| 3960 | else | 
|---|
| 3961 | ac_compiler_gnu=no | 
|---|
| 3962 | fi | 
|---|
| 3963 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3964 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | 
|---|
| 3965 |  | 
|---|
| 3966 | fi | 
|---|
| 3967 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 | 
|---|
| 3968 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } | 
|---|
| 3969 | if test $ac_compiler_gnu = yes; then | 
|---|
| 3970 | GXX=yes | 
|---|
| 3971 | else | 
|---|
| 3972 | GXX= | 
|---|
| 3973 | fi | 
|---|
| 3974 | ac_test_CXXFLAGS=${CXXFLAGS+set} | 
|---|
| 3975 | ac_save_CXXFLAGS=$CXXFLAGS | 
|---|
| 3976 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 | 
|---|
| 3977 | $as_echo_n "checking whether $CXX accepts -g... " >&6; } | 
|---|
| 3978 | if ${ac_cv_prog_cxx_g+:} false; then : | 
|---|
| 3979 | $as_echo_n "(cached) " >&6 | 
|---|
| 3980 | else | 
|---|
| 3981 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag | 
|---|
| 3982 | ac_cxx_werror_flag=yes | 
|---|
| 3983 | ac_cv_prog_cxx_g=no | 
|---|
| 3984 | CXXFLAGS="-g" | 
|---|
| 3985 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 3986 | /* end confdefs.h.  */ | 
|---|
| 3987 |  | 
|---|
| 3988 | int | 
|---|
| 3989 | main () | 
|---|
| 3990 | { | 
|---|
| 3991 |  | 
|---|
| 3992 | ; | 
|---|
| 3993 | return 0; | 
|---|
| 3994 | } | 
|---|
| 3995 | _ACEOF | 
|---|
| 3996 | if ac_fn_cxx_try_compile "$LINENO"; then : | 
|---|
| 3997 | ac_cv_prog_cxx_g=yes | 
|---|
| 3998 | else | 
|---|
| 3999 | CXXFLAGS="" | 
|---|
| 4000 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 4001 | /* end confdefs.h.  */ | 
|---|
| 4002 |  | 
|---|
| 4003 | int | 
|---|
| 4004 | main () | 
|---|
| 4005 | { | 
|---|
| 4006 |  | 
|---|
| 4007 | ; | 
|---|
| 4008 | return 0; | 
|---|
| 4009 | } | 
|---|
| 4010 | _ACEOF | 
|---|
| 4011 | if ac_fn_cxx_try_compile "$LINENO"; then : | 
|---|
| 4012 |  | 
|---|
| 4013 | else | 
|---|
| 4014 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag | 
|---|
| 4015 | CXXFLAGS="-g" | 
|---|
| 4016 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 4017 | /* end confdefs.h.  */ | 
|---|
| 4018 |  | 
|---|
| 4019 | int | 
|---|
| 4020 | main () | 
|---|
| 4021 | { | 
|---|
| 4022 |  | 
|---|
| 4023 | ; | 
|---|
| 4024 | return 0; | 
|---|
| 4025 | } | 
|---|
| 4026 | _ACEOF | 
|---|
| 4027 | if ac_fn_cxx_try_compile "$LINENO"; then : | 
|---|
| 4028 | ac_cv_prog_cxx_g=yes | 
|---|
| 4029 | fi | 
|---|
| 4030 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 4031 | fi | 
|---|
| 4032 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 4033 | fi | 
|---|
| 4034 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 4035 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag | 
|---|
| 4036 | fi | 
|---|
| 4037 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 | 
|---|
| 4038 | $as_echo "$ac_cv_prog_cxx_g" >&6; } | 
|---|
| 4039 | if test "$ac_test_CXXFLAGS" = set; then | 
|---|
| 4040 | CXXFLAGS=$ac_save_CXXFLAGS | 
|---|
| 4041 | elif test $ac_cv_prog_cxx_g = yes; then | 
|---|
| 4042 | if test "$GXX" = yes; then | 
|---|
| 4043 | CXXFLAGS="-g -O2" | 
|---|
| 4044 | else | 
|---|
| 4045 | CXXFLAGS="-g" | 
|---|
| 4046 | fi | 
|---|
| 4047 | else | 
|---|
| 4048 | if test "$GXX" = yes; then | 
|---|
| 4049 | CXXFLAGS="-O2" | 
|---|
| 4050 | else | 
|---|
| 4051 | CXXFLAGS= | 
|---|
| 4052 | fi | 
|---|
| 4053 | fi | 
|---|
| 4054 | ac_ext=c | 
|---|
| 4055 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 4056 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 4057 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 4058 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 4059 | DEPDIR="${am__leading_dot}deps" | 
|---|
| 4060 |  | 
|---|
| 4061 | ac_config_commands="$ac_config_commands depfiles" | 
|---|
| 4062 |  | 
|---|
| 4063 |  | 
|---|
| 4064 | am_make=${MAKE-make} | 
|---|
| 4065 | cat > confinc << 'END' | 
|---|
| 4066 | am__doit: | 
|---|
| 4067 | @echo this is the am__doit target | 
|---|
| 4068 | .PHONY: am__doit | 
|---|
| 4069 | END | 
|---|
| 4070 | # If we don't find an include directive, just comment out the code. | 
|---|
| 4071 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 | 
|---|
| 4072 | $as_echo_n "checking for style of include used by $am_make... " >&6; } | 
|---|
| 4073 | am__include="#" | 
|---|
| 4074 | am__quote= | 
|---|
| 4075 | _am_result=none | 
|---|
| 4076 | # First try GNU make style include. | 
|---|
| 4077 | echo "include confinc" > confmf | 
|---|
| 4078 | # Ignore all kinds of additional output from 'make'. | 
|---|
| 4079 | case `$am_make -s -f confmf 2> /dev/null` in #( | 
|---|
| 4080 | *the\ am__doit\ target*) | 
|---|
| 4081 | am__include=include | 
|---|
| 4082 | am__quote= | 
|---|
| 4083 | _am_result=GNU | 
|---|
| 4084 | ;; | 
|---|
| 4085 | esac | 
|---|
| 4086 | # Now try BSD make style include. | 
|---|
| 4087 | if test "$am__include" = "#"; then | 
|---|
| 4088 | echo '.include "confinc"' > confmf | 
|---|
| 4089 | case `$am_make -s -f confmf 2> /dev/null` in #( | 
|---|
| 4090 | *the\ am__doit\ target*) | 
|---|
| 4091 | am__include=.include | 
|---|
| 4092 | am__quote="\"" | 
|---|
| 4093 | _am_result=BSD | 
|---|
| 4094 | ;; | 
|---|
| 4095 | esac | 
|---|
| 4096 | fi | 
|---|
| 4097 |  | 
|---|
| 4098 |  | 
|---|
| 4099 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 | 
|---|
| 4100 | $as_echo "$_am_result" >&6; } | 
|---|
| 4101 | rm -f confinc confmf | 
|---|
| 4102 |  | 
|---|
| 4103 | # Check whether --enable-dependency-tracking was given. | 
|---|
| 4104 | if test "${enable_dependency_tracking+set}" = set; then : | 
|---|
| 4105 | enableval=$enable_dependency_tracking; | 
|---|
| 4106 | fi | 
|---|
| 4107 |  | 
|---|
| 4108 | if test "x$enable_dependency_tracking" != xno; then | 
|---|
| 4109 | am_depcomp="$ac_aux_dir/depcomp" | 
|---|
| 4110 | AMDEPBACKSLASH='\' | 
|---|
| 4111 | am__nodep='_no' | 
|---|
| 4112 | fi | 
|---|
| 4113 | if test "x$enable_dependency_tracking" != xno; then | 
|---|
| 4114 | AMDEP_TRUE= | 
|---|
| 4115 | AMDEP_FALSE='#' | 
|---|
| 4116 | else | 
|---|
| 4117 | AMDEP_TRUE='#' | 
|---|
| 4118 | AMDEP_FALSE= | 
|---|
| 4119 | fi | 
|---|
| 4120 |  | 
|---|
| 4121 |  | 
|---|
| 4122 |  | 
|---|
| 4123 | depcc="$CXX"  am_compiler_list= | 
|---|
| 4124 |  | 
|---|
| 4125 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 | 
|---|
| 4126 | $as_echo_n "checking dependency style of $depcc... " >&6; } | 
|---|
| 4127 | if ${am_cv_CXX_dependencies_compiler_type+:} false; then : | 
|---|
| 4128 | $as_echo_n "(cached) " >&6 | 
|---|
| 4129 | else | 
|---|
| 4130 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | 
|---|
| 4131 | # We make a subdir and do the tests there.  Otherwise we can end up | 
|---|
| 4132 | # making bogus files that we don't know about and never remove.  For | 
|---|
| 4133 | # instance it was reported that on HP-UX the gcc test will end up | 
|---|
| 4134 | # making a dummy file named 'D' -- because '-MD' means "put the output | 
|---|
| 4135 | # in D". | 
|---|
| 4136 | rm -rf conftest.dir | 
|---|
| 4137 | mkdir conftest.dir | 
|---|
| 4138 | # Copy depcomp to subdir because otherwise we won't find it if we're | 
|---|
| 4139 | # using a relative directory. | 
|---|
| 4140 | cp "$am_depcomp" conftest.dir | 
|---|
| 4141 | cd conftest.dir | 
|---|
| 4142 | # We will build objects and dependencies in a subdirectory because | 
|---|
| 4143 | # it helps to detect inapplicable dependency modes.  For instance | 
|---|
| 4144 | # both Tru64's cc and ICC support -MD to output dependencies as a | 
|---|
| 4145 | # side effect of compilation, but ICC will put the dependencies in | 
|---|
| 4146 | # the current directory while Tru64 will put them in the object | 
|---|
| 4147 | # directory. | 
|---|
| 4148 | mkdir sub | 
|---|
| 4149 |  | 
|---|
| 4150 | am_cv_CXX_dependencies_compiler_type=none | 
|---|
| 4151 | if test "$am_compiler_list" = ""; then | 
|---|
| 4152 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | 
|---|
| 4153 | fi | 
|---|
| 4154 | am__universal=false | 
|---|
| 4155 | case " $depcc " in #( | 
|---|
| 4156 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | 
|---|
| 4157 | esac | 
|---|
| 4158 |  | 
|---|
| 4159 | for depmode in $am_compiler_list; do | 
|---|
| 4160 | # Setup a source with many dependencies, because some compilers | 
|---|
| 4161 | # like to wrap large dependency lists on column 80 (with \), and | 
|---|
| 4162 | # we should not choose a depcomp mode which is confused by this. | 
|---|
| 4163 | # | 
|---|
| 4164 | # We need to recreate these files for each test, as the compiler may | 
|---|
| 4165 | # overwrite some of them when testing with obscure command lines. | 
|---|
| 4166 | # This happens at least with the AIX C compiler. | 
|---|
| 4167 | : > sub/conftest.c | 
|---|
| 4168 | for i in 1 2 3 4 5 6; do | 
|---|
| 4169 | echo '#include "conftst'$i'.h"' >> sub/conftest.c | 
|---|
| 4170 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | 
|---|
| 4171 | # Solaris 10 /bin/sh. | 
|---|
| 4172 | echo '/* dummy */' > sub/conftst$i.h | 
|---|
| 4173 | done | 
|---|
| 4174 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | 
|---|
| 4175 |  | 
|---|
| 4176 | # We check with '-c' and '-o' for the sake of the "dashmstdout" | 
|---|
| 4177 | # mode.  It turns out that the SunPro C++ compiler does not properly | 
|---|
| 4178 | # handle '-M -o', and we need to detect this.  Also, some Intel | 
|---|
| 4179 | # versions had trouble with output in subdirs. | 
|---|
| 4180 | am__obj=sub/conftest.${OBJEXT-o} | 
|---|
| 4181 | am__minus_obj="-o $am__obj" | 
|---|
| 4182 | case $depmode in | 
|---|
| 4183 | gcc) | 
|---|
| 4184 | # This depmode causes a compiler race in universal mode. | 
|---|
| 4185 | test "$am__universal" = false || continue | 
|---|
| 4186 | ;; | 
|---|
| 4187 | nosideeffect) | 
|---|
| 4188 | # After this tag, mechanisms are not by side-effect, so they'll | 
|---|
| 4189 | # only be used when explicitly requested. | 
|---|
| 4190 | if test "x$enable_dependency_tracking" = xyes; then | 
|---|
| 4191 | continue | 
|---|
| 4192 | else | 
|---|
| 4193 | break | 
|---|
| 4194 | fi | 
|---|
| 4195 | ;; | 
|---|
| 4196 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) | 
|---|
| 4197 | # This compiler won't grok '-c -o', but also, the minuso test has | 
|---|
| 4198 | # not run yet.  These depmodes are late enough in the game, and | 
|---|
| 4199 | # so weak that their functioning should not be impacted. | 
|---|
| 4200 | am__obj=conftest.${OBJEXT-o} | 
|---|
| 4201 | am__minus_obj= | 
|---|
| 4202 | ;; | 
|---|
| 4203 | none) break ;; | 
|---|
| 4204 | esac | 
|---|
| 4205 | if depmode=$depmode \ | 
|---|
| 4206 | source=sub/conftest.c object=$am__obj \ | 
|---|
| 4207 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | 
|---|
| 4208 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | 
|---|
| 4209 | >/dev/null 2>conftest.err && | 
|---|
| 4210 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | 
|---|
| 4211 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | 
|---|
| 4212 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | 
|---|
| 4213 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | 
|---|
| 4214 | # icc doesn't choke on unknown options, it will just issue warnings | 
|---|
| 4215 | # or remarks (even with -Werror).  So we grep stderr for any message | 
|---|
| 4216 | # that says an option was ignored or not supported. | 
|---|
| 4217 | # When given -MP, icc 7.0 and 7.1 complain thusly: | 
|---|
| 4218 | #   icc: Command line warning: ignoring option '-M'; no argument required | 
|---|
| 4219 | # The diagnosis changed in icc 8.0: | 
|---|
| 4220 | #   icc: Command line remark: option '-MP' not supported | 
|---|
| 4221 | if (grep 'ignoring option' conftest.err || | 
|---|
| 4222 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | 
|---|
| 4223 | am_cv_CXX_dependencies_compiler_type=$depmode | 
|---|
| 4224 | break | 
|---|
| 4225 | fi | 
|---|
| 4226 | fi | 
|---|
| 4227 | done | 
|---|
| 4228 |  | 
|---|
| 4229 | cd .. | 
|---|
| 4230 | rm -rf conftest.dir | 
|---|
| 4231 | else | 
|---|
| 4232 | am_cv_CXX_dependencies_compiler_type=none | 
|---|
| 4233 | fi | 
|---|
| 4234 |  | 
|---|
| 4235 | fi | 
|---|
| 4236 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 | 
|---|
| 4237 | $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } | 
|---|
| 4238 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type | 
|---|
| 4239 |  | 
|---|
| 4240 | if | 
|---|
| 4241 | test "x$enable_dependency_tracking" != xno \ | 
|---|
| 4242 | && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then | 
|---|
| 4243 | am__fastdepCXX_TRUE= | 
|---|
| 4244 | am__fastdepCXX_FALSE='#' | 
|---|
| 4245 | else | 
|---|
| 4246 | am__fastdepCXX_TRUE='#' | 
|---|
| 4247 | am__fastdepCXX_FALSE= | 
|---|
| 4248 | fi | 
|---|
| 4249 |  | 
|---|
| 4250 |  | 
|---|
| 4251 | ac_ext=c | 
|---|
| 4252 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 4253 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 4254 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 4255 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 4256 | if test -n "$ac_tool_prefix"; then | 
|---|
| 4257 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 
|---|
| 4258 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 
|---|
| 4259 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
| 4260 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
| 4261 | if ${ac_cv_prog_CC+:} false; then : | 
|---|
| 4262 | $as_echo_n "(cached) " >&6 | 
|---|
| 4263 | else | 
|---|
| 4264 | if test -n "$CC"; then | 
|---|
| 4265 | ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
| 4266 | else | 
|---|
| 4267 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 4268 | for as_dir in $PATH | 
|---|
| 4269 | do | 
|---|
| 4270 | IFS=$as_save_IFS | 
|---|
| 4271 | test -z "$as_dir" && as_dir=. | 
|---|
| 4272 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 4273 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 4274 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | 
|---|
| 4275 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 4276 | break 2 | 
|---|
| 4277 | fi | 
|---|
| 4278 | done | 
|---|
| 4279 | done | 
|---|
| 4280 | IFS=$as_save_IFS | 
|---|
| 4281 |  | 
|---|
| 4282 | fi | 
|---|
| 4283 | fi | 
|---|
| 4284 | CC=$ac_cv_prog_CC | 
|---|
| 4285 | if test -n "$CC"; then | 
|---|
| 4286 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 
|---|
| 4287 | $as_echo "$CC" >&6; } | 
|---|
| 4288 | else | 
|---|
| 4289 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 4290 | $as_echo "no" >&6; } | 
|---|
| 4291 | fi | 
|---|
| 4292 |  | 
|---|
| 4293 |  | 
|---|
| 4294 | fi | 
|---|
| 4295 | if test -z "$ac_cv_prog_CC"; then | 
|---|
| 4296 | ac_ct_CC=$CC | 
|---|
| 4297 | # Extract the first word of "gcc", so it can be a program name with args. | 
|---|
| 4298 | set dummy gcc; ac_word=$2 | 
|---|
| 4299 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
| 4300 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
| 4301 | if ${ac_cv_prog_ac_ct_CC+:} false; then : | 
|---|
| 4302 | $as_echo_n "(cached) " >&6 | 
|---|
| 4303 | else | 
|---|
| 4304 | if test -n "$ac_ct_CC"; then | 
|---|
| 4305 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|---|
| 4306 | else | 
|---|
| 4307 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 4308 | for as_dir in $PATH | 
|---|
| 4309 | do | 
|---|
| 4310 | IFS=$as_save_IFS | 
|---|
| 4311 | test -z "$as_dir" && as_dir=. | 
|---|
| 4312 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 4313 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 4314 | ac_cv_prog_ac_ct_CC="gcc" | 
|---|
| 4315 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 4316 | break 2 | 
|---|
| 4317 | fi | 
|---|
| 4318 | done | 
|---|
| 4319 | done | 
|---|
| 4320 | IFS=$as_save_IFS | 
|---|
| 4321 |  | 
|---|
| 4322 | fi | 
|---|
| 4323 | fi | 
|---|
| 4324 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|---|
| 4325 | if test -n "$ac_ct_CC"; then | 
|---|
| 4326 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | 
|---|
| 4327 | $as_echo "$ac_ct_CC" >&6; } | 
|---|
| 4328 | else | 
|---|
| 4329 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 4330 | $as_echo "no" >&6; } | 
|---|
| 4331 | fi | 
|---|
| 4332 |  | 
|---|
| 4333 | if test "x$ac_ct_CC" = x; then | 
|---|
| 4334 | CC="" | 
|---|
| 4335 | else | 
|---|
| 4336 | case $cross_compiling:$ac_tool_warned in | 
|---|
| 4337 | yes:) | 
|---|
| 4338 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 
|---|
| 4339 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 
|---|
| 4340 | ac_tool_warned=yes ;; | 
|---|
| 4341 | esac | 
|---|
| 4342 | CC=$ac_ct_CC | 
|---|
| 4343 | fi | 
|---|
| 4344 | else | 
|---|
| 4345 | CC="$ac_cv_prog_CC" | 
|---|
| 4346 | fi | 
|---|
| 4347 |  | 
|---|
| 4348 | if test -z "$CC"; then | 
|---|
| 4349 | if test -n "$ac_tool_prefix"; then | 
|---|
| 4350 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 
|---|
| 4351 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | 
|---|
| 4352 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
| 4353 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
| 4354 | if ${ac_cv_prog_CC+:} false; then : | 
|---|
| 4355 | $as_echo_n "(cached) " >&6 | 
|---|
| 4356 | else | 
|---|
| 4357 | if test -n "$CC"; then | 
|---|
| 4358 | ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
| 4359 | else | 
|---|
| 4360 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 4361 | for as_dir in $PATH | 
|---|
| 4362 | do | 
|---|
| 4363 | IFS=$as_save_IFS | 
|---|
| 4364 | test -z "$as_dir" && as_dir=. | 
|---|
| 4365 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 4366 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 4367 | ac_cv_prog_CC="${ac_tool_prefix}cc" | 
|---|
| 4368 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 4369 | break 2 | 
|---|
| 4370 | fi | 
|---|
| 4371 | done | 
|---|
| 4372 | done | 
|---|
| 4373 | IFS=$as_save_IFS | 
|---|
| 4374 |  | 
|---|
| 4375 | fi | 
|---|
| 4376 | fi | 
|---|
| 4377 | CC=$ac_cv_prog_CC | 
|---|
| 4378 | if test -n "$CC"; then | 
|---|
| 4379 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 
|---|
| 4380 | $as_echo "$CC" >&6; } | 
|---|
| 4381 | else | 
|---|
| 4382 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 4383 | $as_echo "no" >&6; } | 
|---|
| 4384 | fi | 
|---|
| 4385 |  | 
|---|
| 4386 |  | 
|---|
| 4387 | fi | 
|---|
| 4388 | fi | 
|---|
| 4389 | if test -z "$CC"; then | 
|---|
| 4390 | # Extract the first word of "cc", so it can be a program name with args. | 
|---|
| 4391 | set dummy cc; ac_word=$2 | 
|---|
| 4392 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
| 4393 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
| 4394 | if ${ac_cv_prog_CC+:} false; then : | 
|---|
| 4395 | $as_echo_n "(cached) " >&6 | 
|---|
| 4396 | else | 
|---|
| 4397 | if test -n "$CC"; then | 
|---|
| 4398 | ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
| 4399 | else | 
|---|
| 4400 | ac_prog_rejected=no | 
|---|
| 4401 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 4402 | for as_dir in $PATH | 
|---|
| 4403 | do | 
|---|
| 4404 | IFS=$as_save_IFS | 
|---|
| 4405 | test -z "$as_dir" && as_dir=. | 
|---|
| 4406 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 4407 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 4408 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 
|---|
| 4409 | ac_prog_rejected=yes | 
|---|
| 4410 | continue | 
|---|
| 4411 | fi | 
|---|
| 4412 | ac_cv_prog_CC="cc" | 
|---|
| 4413 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 4414 | break 2 | 
|---|
| 4415 | fi | 
|---|
| 4416 | done | 
|---|
| 4417 | done | 
|---|
| 4418 | IFS=$as_save_IFS | 
|---|
| 4419 |  | 
|---|
| 4420 | if test $ac_prog_rejected = yes; then | 
|---|
| 4421 | # We found a bogon in the path, so make sure we never use it. | 
|---|
| 4422 | set dummy $ac_cv_prog_CC | 
|---|
| 4423 | shift | 
|---|
| 4424 | if test $# != 0; then | 
|---|
| 4425 | # We chose a different compiler from the bogus one. | 
|---|
| 4426 | # However, it has the same basename, so the bogon will be chosen | 
|---|
| 4427 | # first if we set CC to just the basename; use the full file name. | 
|---|
| 4428 | shift | 
|---|
| 4429 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | 
|---|
| 4430 | fi | 
|---|
| 4431 | fi | 
|---|
| 4432 | fi | 
|---|
| 4433 | fi | 
|---|
| 4434 | CC=$ac_cv_prog_CC | 
|---|
| 4435 | if test -n "$CC"; then | 
|---|
| 4436 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 
|---|
| 4437 | $as_echo "$CC" >&6; } | 
|---|
| 4438 | else | 
|---|
| 4439 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 4440 | $as_echo "no" >&6; } | 
|---|
| 4441 | fi | 
|---|
| 4442 |  | 
|---|
| 4443 |  | 
|---|
| 4444 | fi | 
|---|
| 4445 | if test -z "$CC"; then | 
|---|
| 4446 | if test -n "$ac_tool_prefix"; then | 
|---|
| 4447 | for ac_prog in cl.exe | 
|---|
| 4448 | do | 
|---|
| 4449 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
|---|
| 4450 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
|---|
| 4451 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
| 4452 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
| 4453 | if ${ac_cv_prog_CC+:} false; then : | 
|---|
| 4454 | $as_echo_n "(cached) " >&6 | 
|---|
| 4455 | else | 
|---|
| 4456 | if test -n "$CC"; then | 
|---|
| 4457 | ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
| 4458 | else | 
|---|
| 4459 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 4460 | for as_dir in $PATH | 
|---|
| 4461 | do | 
|---|
| 4462 | IFS=$as_save_IFS | 
|---|
| 4463 | test -z "$as_dir" && as_dir=. | 
|---|
| 4464 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 4465 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 4466 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 
|---|
| 4467 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 4468 | break 2 | 
|---|
| 4469 | fi | 
|---|
| 4470 | done | 
|---|
| 4471 | done | 
|---|
| 4472 | IFS=$as_save_IFS | 
|---|
| 4473 |  | 
|---|
| 4474 | fi | 
|---|
| 4475 | fi | 
|---|
| 4476 | CC=$ac_cv_prog_CC | 
|---|
| 4477 | if test -n "$CC"; then | 
|---|
| 4478 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 
|---|
| 4479 | $as_echo "$CC" >&6; } | 
|---|
| 4480 | else | 
|---|
| 4481 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 4482 | $as_echo "no" >&6; } | 
|---|
| 4483 | fi | 
|---|
| 4484 |  | 
|---|
| 4485 |  | 
|---|
| 4486 | test -n "$CC" && break | 
|---|
| 4487 | done | 
|---|
| 4488 | fi | 
|---|
| 4489 | if test -z "$CC"; then | 
|---|
| 4490 | ac_ct_CC=$CC | 
|---|
| 4491 | for ac_prog in cl.exe | 
|---|
| 4492 | do | 
|---|
| 4493 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
| 4494 | set dummy $ac_prog; ac_word=$2 | 
|---|
| 4495 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
| 4496 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
| 4497 | if ${ac_cv_prog_ac_ct_CC+:} false; then : | 
|---|
| 4498 | $as_echo_n "(cached) " >&6 | 
|---|
| 4499 | else | 
|---|
| 4500 | if test -n "$ac_ct_CC"; then | 
|---|
| 4501 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|---|
| 4502 | else | 
|---|
| 4503 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 4504 | for as_dir in $PATH | 
|---|
| 4505 | do | 
|---|
| 4506 | IFS=$as_save_IFS | 
|---|
| 4507 | test -z "$as_dir" && as_dir=. | 
|---|
| 4508 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 4509 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 4510 | ac_cv_prog_ac_ct_CC="$ac_prog" | 
|---|
| 4511 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 4512 | break 2 | 
|---|
| 4513 | fi | 
|---|
| 4514 | done | 
|---|
| 4515 | done | 
|---|
| 4516 | IFS=$as_save_IFS | 
|---|
| 4517 |  | 
|---|
| 4518 | fi | 
|---|
| 4519 | fi | 
|---|
| 4520 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|---|
| 4521 | if test -n "$ac_ct_CC"; then | 
|---|
| 4522 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | 
|---|
| 4523 | $as_echo "$ac_ct_CC" >&6; } | 
|---|
| 4524 | else | 
|---|
| 4525 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 4526 | $as_echo "no" >&6; } | 
|---|
| 4527 | fi | 
|---|
| 4528 |  | 
|---|
| 4529 |  | 
|---|
| 4530 | test -n "$ac_ct_CC" && break | 
|---|
| 4531 | done | 
|---|
| 4532 |  | 
|---|
| 4533 | if test "x$ac_ct_CC" = x; then | 
|---|
| 4534 | CC="" | 
|---|
| 4535 | else | 
|---|
| 4536 | case $cross_compiling:$ac_tool_warned in | 
|---|
| 4537 | yes:) | 
|---|
| 4538 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 
|---|
| 4539 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 
|---|
| 4540 | ac_tool_warned=yes ;; | 
|---|
| 4541 | esac | 
|---|
| 4542 | CC=$ac_ct_CC | 
|---|
| 4543 | fi | 
|---|
| 4544 | fi | 
|---|
| 4545 |  | 
|---|
| 4546 | fi | 
|---|
| 4547 |  | 
|---|
| 4548 |  | 
|---|
| 4549 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
|---|
| 4550 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
|---|
| 4551 | as_fn_error $? "no acceptable C compiler found in \$PATH | 
|---|
| 4552 | See \`config.log' for more details" "$LINENO" 5; } | 
|---|
| 4553 |  | 
|---|
| 4554 | # Provide some information about the compiler. | 
|---|
| 4555 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | 
|---|
| 4556 | set X $ac_compile | 
|---|
| 4557 | ac_compiler=$2 | 
|---|
| 4558 | for ac_option in --version -v -V -qversion; do | 
|---|
| 4559 | { { ac_try="$ac_compiler $ac_option >&5" | 
|---|
| 4560 | case "(($ac_try" in | 
|---|
| 4561 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
| 4562 | *) ac_try_echo=$ac_try;; | 
|---|
| 4563 | esac | 
|---|
| 4564 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
| 4565 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
| 4566 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err | 
|---|
| 4567 | ac_status=$? | 
|---|
| 4568 | if test -s conftest.err; then | 
|---|
| 4569 | sed '10a\ | 
|---|
| 4570 | ... rest of stderr output deleted ... | 
|---|
| 4571 | 10q' conftest.err >conftest.er1 | 
|---|
| 4572 | cat conftest.er1 >&5 | 
|---|
| 4573 | fi | 
|---|
| 4574 | rm -f conftest.er1 conftest.err | 
|---|
| 4575 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
| 4576 | test $ac_status = 0; } | 
|---|
| 4577 | done | 
|---|
| 4578 |  | 
|---|
| 4579 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | 
|---|
| 4580 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | 
|---|
| 4581 | if ${ac_cv_c_compiler_gnu+:} false; then : | 
|---|
| 4582 | $as_echo_n "(cached) " >&6 | 
|---|
| 4583 | else | 
|---|
| 4584 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 4585 | /* end confdefs.h.  */ | 
|---|
| 4586 |  | 
|---|
| 4587 | int | 
|---|
| 4588 | main () | 
|---|
| 4589 | { | 
|---|
| 4590 | #ifndef __GNUC__ | 
|---|
| 4591 | choke me | 
|---|
| 4592 | #endif | 
|---|
| 4593 |  | 
|---|
| 4594 | ; | 
|---|
| 4595 | return 0; | 
|---|
| 4596 | } | 
|---|
| 4597 | _ACEOF | 
|---|
| 4598 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
| 4599 | ac_compiler_gnu=yes | 
|---|
| 4600 | else | 
|---|
| 4601 | ac_compiler_gnu=no | 
|---|
| 4602 | fi | 
|---|
| 4603 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 4604 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 
|---|
| 4605 |  | 
|---|
| 4606 | fi | 
|---|
| 4607 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | 
|---|
| 4608 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } | 
|---|
| 4609 | if test $ac_compiler_gnu = yes; then | 
|---|
| 4610 | GCC=yes | 
|---|
| 4611 | else | 
|---|
| 4612 | GCC= | 
|---|
| 4613 | fi | 
|---|
| 4614 | ac_test_CFLAGS=${CFLAGS+set} | 
|---|
| 4615 | ac_save_CFLAGS=$CFLAGS | 
|---|
| 4616 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | 
|---|
| 4617 | $as_echo_n "checking whether $CC accepts -g... " >&6; } | 
|---|
| 4618 | if ${ac_cv_prog_cc_g+:} false; then : | 
|---|
| 4619 | $as_echo_n "(cached) " >&6 | 
|---|
| 4620 | else | 
|---|
| 4621 | ac_save_c_werror_flag=$ac_c_werror_flag | 
|---|
| 4622 | ac_c_werror_flag=yes | 
|---|
| 4623 | ac_cv_prog_cc_g=no | 
|---|
| 4624 | CFLAGS="-g" | 
|---|
| 4625 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 4626 | /* end confdefs.h.  */ | 
|---|
| 4627 |  | 
|---|
| 4628 | int | 
|---|
| 4629 | main () | 
|---|
| 4630 | { | 
|---|
| 4631 |  | 
|---|
| 4632 | ; | 
|---|
| 4633 | return 0; | 
|---|
| 4634 | } | 
|---|
| 4635 | _ACEOF | 
|---|
| 4636 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
| 4637 | ac_cv_prog_cc_g=yes | 
|---|
| 4638 | else | 
|---|
| 4639 | CFLAGS="" | 
|---|
| 4640 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 4641 | /* end confdefs.h.  */ | 
|---|
| 4642 |  | 
|---|
| 4643 | int | 
|---|
| 4644 | main () | 
|---|
| 4645 | { | 
|---|
| 4646 |  | 
|---|
| 4647 | ; | 
|---|
| 4648 | return 0; | 
|---|
| 4649 | } | 
|---|
| 4650 | _ACEOF | 
|---|
| 4651 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
| 4652 |  | 
|---|
| 4653 | else | 
|---|
| 4654 | ac_c_werror_flag=$ac_save_c_werror_flag | 
|---|
| 4655 | CFLAGS="-g" | 
|---|
| 4656 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 4657 | /* end confdefs.h.  */ | 
|---|
| 4658 |  | 
|---|
| 4659 | int | 
|---|
| 4660 | main () | 
|---|
| 4661 | { | 
|---|
| 4662 |  | 
|---|
| 4663 | ; | 
|---|
| 4664 | return 0; | 
|---|
| 4665 | } | 
|---|
| 4666 | _ACEOF | 
|---|
| 4667 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
| 4668 | ac_cv_prog_cc_g=yes | 
|---|
| 4669 | fi | 
|---|
| 4670 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 4671 | fi | 
|---|
| 4672 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 4673 | fi | 
|---|
| 4674 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 4675 | ac_c_werror_flag=$ac_save_c_werror_flag | 
|---|
| 4676 | fi | 
|---|
| 4677 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | 
|---|
| 4678 | $as_echo "$ac_cv_prog_cc_g" >&6; } | 
|---|
| 4679 | if test "$ac_test_CFLAGS" = set; then | 
|---|
| 4680 | CFLAGS=$ac_save_CFLAGS | 
|---|
| 4681 | elif test $ac_cv_prog_cc_g = yes; then | 
|---|
| 4682 | if test "$GCC" = yes; then | 
|---|
| 4683 | CFLAGS="-g -O2" | 
|---|
| 4684 | else | 
|---|
| 4685 | CFLAGS="-g" | 
|---|
| 4686 | fi | 
|---|
| 4687 | else | 
|---|
| 4688 | if test "$GCC" = yes; then | 
|---|
| 4689 | CFLAGS="-O2" | 
|---|
| 4690 | else | 
|---|
| 4691 | CFLAGS= | 
|---|
| 4692 | fi | 
|---|
| 4693 | fi | 
|---|
| 4694 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | 
|---|
| 4695 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | 
|---|
| 4696 | if ${ac_cv_prog_cc_c89+:} false; then : | 
|---|
| 4697 | $as_echo_n "(cached) " >&6 | 
|---|
| 4698 | else | 
|---|
| 4699 | ac_cv_prog_cc_c89=no | 
|---|
| 4700 | ac_save_CC=$CC | 
|---|
| 4701 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 4702 | /* end confdefs.h.  */ | 
|---|
| 4703 | #include <stdarg.h> | 
|---|
| 4704 | #include <stdio.h> | 
|---|
| 4705 | struct stat; | 
|---|
| 4706 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ | 
|---|
| 4707 | struct buf { int x; }; | 
|---|
| 4708 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | 
|---|
| 4709 | static char *e (p, i) | 
|---|
| 4710 | char **p; | 
|---|
| 4711 | int i; | 
|---|
| 4712 | { | 
|---|
| 4713 | return p[i]; | 
|---|
| 4714 | } | 
|---|
| 4715 | static char *f (char * (*g) (char **, int), char **p, ...) | 
|---|
| 4716 | { | 
|---|
| 4717 | char *s; | 
|---|
| 4718 | va_list v; | 
|---|
| 4719 | va_start (v,p); | 
|---|
| 4720 | s = g (p, va_arg (v,int)); | 
|---|
| 4721 | va_end (v); | 
|---|
| 4722 | return s; | 
|---|
| 4723 | } | 
|---|
| 4724 |  | 
|---|
| 4725 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has | 
|---|
| 4726 | function prototypes and stuff, but not '\xHH' hex character constants. | 
|---|
| 4727 | These don't provoke an error unfortunately, instead are silently treated | 
|---|
| 4728 | as 'x'.  The following induces an error, until -std is added to get | 
|---|
| 4729 | proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an | 
|---|
| 4730 | array size at least.  It's necessary to write '\x00'==0 to get something | 
|---|
| 4731 | that's true only with -std.  */ | 
|---|
| 4732 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | 
|---|
| 4733 |  | 
|---|
| 4734 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | 
|---|
| 4735 | inside strings and character constants.  */ | 
|---|
| 4736 | #define FOO(x) 'x' | 
|---|
| 4737 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | 
|---|
| 4738 |  | 
|---|
| 4739 | int test (int i, double x); | 
|---|
| 4740 | struct s1 {int (*f) (int a);}; | 
|---|
| 4741 | struct s2 {int (*f) (double a);}; | 
|---|
| 4742 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 
|---|
| 4743 | int argc; | 
|---|
| 4744 | char **argv; | 
|---|
| 4745 | int | 
|---|
| 4746 | main () | 
|---|
| 4747 | { | 
|---|
| 4748 | return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; | 
|---|
| 4749 | ; | 
|---|
| 4750 | return 0; | 
|---|
| 4751 | } | 
|---|
| 4752 | _ACEOF | 
|---|
| 4753 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | 
|---|
| 4754 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 
|---|
| 4755 | do | 
|---|
| 4756 | CC="$ac_save_CC $ac_arg" | 
|---|
| 4757 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
| 4758 | ac_cv_prog_cc_c89=$ac_arg | 
|---|
| 4759 | fi | 
|---|
| 4760 | rm -f core conftest.err conftest.$ac_objext | 
|---|
| 4761 | test "x$ac_cv_prog_cc_c89" != "xno" && break | 
|---|
| 4762 | done | 
|---|
| 4763 | rm -f conftest.$ac_ext | 
|---|
| 4764 | CC=$ac_save_CC | 
|---|
| 4765 |  | 
|---|
| 4766 | fi | 
|---|
| 4767 | # AC_CACHE_VAL | 
|---|
| 4768 | case "x$ac_cv_prog_cc_c89" in | 
|---|
| 4769 | x) | 
|---|
| 4770 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | 
|---|
| 4771 | $as_echo "none needed" >&6; } ;; | 
|---|
| 4772 | xno) | 
|---|
| 4773 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | 
|---|
| 4774 | $as_echo "unsupported" >&6; } ;; | 
|---|
| 4775 | *) | 
|---|
| 4776 | CC="$CC $ac_cv_prog_cc_c89" | 
|---|
| 4777 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | 
|---|
| 4778 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | 
|---|
| 4779 | esac | 
|---|
| 4780 | if test "x$ac_cv_prog_cc_c89" != xno; then : | 
|---|
| 4781 |  | 
|---|
| 4782 | fi | 
|---|
| 4783 |  | 
|---|
| 4784 | ac_ext=c | 
|---|
| 4785 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 4786 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 4787 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 4788 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 4789 |  | 
|---|
| 4790 | ac_ext=c | 
|---|
| 4791 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 4792 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 4793 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 4794 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 4795 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 | 
|---|
| 4796 | $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } | 
|---|
| 4797 | if ${am_cv_prog_cc_c_o+:} false; then : | 
|---|
| 4798 | $as_echo_n "(cached) " >&6 | 
|---|
| 4799 | else | 
|---|
| 4800 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 4801 | /* end confdefs.h.  */ | 
|---|
| 4802 |  | 
|---|
| 4803 | int | 
|---|
| 4804 | main () | 
|---|
| 4805 | { | 
|---|
| 4806 |  | 
|---|
| 4807 | ; | 
|---|
| 4808 | return 0; | 
|---|
| 4809 | } | 
|---|
| 4810 | _ACEOF | 
|---|
| 4811 | # Make sure it works both with $CC and with simple cc. | 
|---|
| 4812 | # Following AC_PROG_CC_C_O, we do the test twice because some | 
|---|
| 4813 | # compilers refuse to overwrite an existing .o file with -o, | 
|---|
| 4814 | # though they will create one. | 
|---|
| 4815 | am_cv_prog_cc_c_o=yes | 
|---|
| 4816 | for am_i in 1 2; do | 
|---|
| 4817 | if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 | 
|---|
| 4818 | ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 | 
|---|
| 4819 | ac_status=$? | 
|---|
| 4820 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4821 | (exit $ac_status); } \ | 
|---|
| 4822 | && test -f conftest2.$ac_objext; then | 
|---|
| 4823 | : OK | 
|---|
| 4824 | else | 
|---|
| 4825 | am_cv_prog_cc_c_o=no | 
|---|
| 4826 | break | 
|---|
| 4827 | fi | 
|---|
| 4828 | done | 
|---|
| 4829 | rm -f core conftest* | 
|---|
| 4830 | unset am_i | 
|---|
| 4831 | fi | 
|---|
| 4832 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 | 
|---|
| 4833 | $as_echo "$am_cv_prog_cc_c_o" >&6; } | 
|---|
| 4834 | if test "$am_cv_prog_cc_c_o" != yes; then | 
|---|
| 4835 | # Losing compiler, so override with the script. | 
|---|
| 4836 | # FIXME: It is wrong to rewrite CC. | 
|---|
| 4837 | # But if we don't then we get into trouble of one sort or another. | 
|---|
| 4838 | # A longer-term fix would be to have automake use am__CC in this case, | 
|---|
| 4839 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | 
|---|
| 4840 | CC="$am_aux_dir/compile $CC" | 
|---|
| 4841 | fi | 
|---|
| 4842 | ac_ext=c | 
|---|
| 4843 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 4844 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 4845 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 4846 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 4847 |  | 
|---|
| 4848 |  | 
|---|
| 4849 | depcc="$CC"   am_compiler_list= | 
|---|
| 4850 |  | 
|---|
| 4851 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 | 
|---|
| 4852 | $as_echo_n "checking dependency style of $depcc... " >&6; } | 
|---|
| 4853 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : | 
|---|
| 4854 | $as_echo_n "(cached) " >&6 | 
|---|
| 4855 | else | 
|---|
| 4856 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | 
|---|
| 4857 | # We make a subdir and do the tests there.  Otherwise we can end up | 
|---|
| 4858 | # making bogus files that we don't know about and never remove.  For | 
|---|
| 4859 | # instance it was reported that on HP-UX the gcc test will end up | 
|---|
| 4860 | # making a dummy file named 'D' -- because '-MD' means "put the output | 
|---|
| 4861 | # in D". | 
|---|
| 4862 | rm -rf conftest.dir | 
|---|
| 4863 | mkdir conftest.dir | 
|---|
| 4864 | # Copy depcomp to subdir because otherwise we won't find it if we're | 
|---|
| 4865 | # using a relative directory. | 
|---|
| 4866 | cp "$am_depcomp" conftest.dir | 
|---|
| 4867 | cd conftest.dir | 
|---|
| 4868 | # We will build objects and dependencies in a subdirectory because | 
|---|
| 4869 | # it helps to detect inapplicable dependency modes.  For instance | 
|---|
| 4870 | # both Tru64's cc and ICC support -MD to output dependencies as a | 
|---|
| 4871 | # side effect of compilation, but ICC will put the dependencies in | 
|---|
| 4872 | # the current directory while Tru64 will put them in the object | 
|---|
| 4873 | # directory. | 
|---|
| 4874 | mkdir sub | 
|---|
| 4875 |  | 
|---|
| 4876 | am_cv_CC_dependencies_compiler_type=none | 
|---|
| 4877 | if test "$am_compiler_list" = ""; then | 
|---|
| 4878 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | 
|---|
| 4879 | fi | 
|---|
| 4880 | am__universal=false | 
|---|
| 4881 | case " $depcc " in #( | 
|---|
| 4882 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | 
|---|
| 4883 | esac | 
|---|
| 4884 |  | 
|---|
| 4885 | for depmode in $am_compiler_list; do | 
|---|
| 4886 | # Setup a source with many dependencies, because some compilers | 
|---|
| 4887 | # like to wrap large dependency lists on column 80 (with \), and | 
|---|
| 4888 | # we should not choose a depcomp mode which is confused by this. | 
|---|
| 4889 | # | 
|---|
| 4890 | # We need to recreate these files for each test, as the compiler may | 
|---|
| 4891 | # overwrite some of them when testing with obscure command lines. | 
|---|
| 4892 | # This happens at least with the AIX C compiler. | 
|---|
| 4893 | : > sub/conftest.c | 
|---|
| 4894 | for i in 1 2 3 4 5 6; do | 
|---|
| 4895 | echo '#include "conftst'$i'.h"' >> sub/conftest.c | 
|---|
| 4896 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | 
|---|
| 4897 | # Solaris 10 /bin/sh. | 
|---|
| 4898 | echo '/* dummy */' > sub/conftst$i.h | 
|---|
| 4899 | done | 
|---|
| 4900 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | 
|---|
| 4901 |  | 
|---|
| 4902 | # We check with '-c' and '-o' for the sake of the "dashmstdout" | 
|---|
| 4903 | # mode.  It turns out that the SunPro C++ compiler does not properly | 
|---|
| 4904 | # handle '-M -o', and we need to detect this.  Also, some Intel | 
|---|
| 4905 | # versions had trouble with output in subdirs. | 
|---|
| 4906 | am__obj=sub/conftest.${OBJEXT-o} | 
|---|
| 4907 | am__minus_obj="-o $am__obj" | 
|---|
| 4908 | case $depmode in | 
|---|
| 4909 | gcc) | 
|---|
| 4910 | # This depmode causes a compiler race in universal mode. | 
|---|
| 4911 | test "$am__universal" = false || continue | 
|---|
| 4912 | ;; | 
|---|
| 4913 | nosideeffect) | 
|---|
| 4914 | # After this tag, mechanisms are not by side-effect, so they'll | 
|---|
| 4915 | # only be used when explicitly requested. | 
|---|
| 4916 | if test "x$enable_dependency_tracking" = xyes; then | 
|---|
| 4917 | continue | 
|---|
| 4918 | else | 
|---|
| 4919 | break | 
|---|
| 4920 | fi | 
|---|
| 4921 | ;; | 
|---|
| 4922 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) | 
|---|
| 4923 | # This compiler won't grok '-c -o', but also, the minuso test has | 
|---|
| 4924 | # not run yet.  These depmodes are late enough in the game, and | 
|---|
| 4925 | # so weak that their functioning should not be impacted. | 
|---|
| 4926 | am__obj=conftest.${OBJEXT-o} | 
|---|
| 4927 | am__minus_obj= | 
|---|
| 4928 | ;; | 
|---|
| 4929 | none) break ;; | 
|---|
| 4930 | esac | 
|---|
| 4931 | if depmode=$depmode \ | 
|---|
| 4932 | source=sub/conftest.c object=$am__obj \ | 
|---|
| 4933 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | 
|---|
| 4934 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | 
|---|
| 4935 | >/dev/null 2>conftest.err && | 
|---|
| 4936 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | 
|---|
| 4937 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | 
|---|
| 4938 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | 
|---|
| 4939 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | 
|---|
| 4940 | # icc doesn't choke on unknown options, it will just issue warnings | 
|---|
| 4941 | # or remarks (even with -Werror).  So we grep stderr for any message | 
|---|
| 4942 | # that says an option was ignored or not supported. | 
|---|
| 4943 | # When given -MP, icc 7.0 and 7.1 complain thusly: | 
|---|
| 4944 | #   icc: Command line warning: ignoring option '-M'; no argument required | 
|---|
| 4945 | # The diagnosis changed in icc 8.0: | 
|---|
| 4946 | #   icc: Command line remark: option '-MP' not supported | 
|---|
| 4947 | if (grep 'ignoring option' conftest.err || | 
|---|
| 4948 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | 
|---|
| 4949 | am_cv_CC_dependencies_compiler_type=$depmode | 
|---|
| 4950 | break | 
|---|
| 4951 | fi | 
|---|
| 4952 | fi | 
|---|
| 4953 | done | 
|---|
| 4954 |  | 
|---|
| 4955 | cd .. | 
|---|
| 4956 | rm -rf conftest.dir | 
|---|
| 4957 | else | 
|---|
| 4958 | am_cv_CC_dependencies_compiler_type=none | 
|---|
| 4959 | fi | 
|---|
| 4960 |  | 
|---|
| 4961 | fi | 
|---|
| 4962 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 | 
|---|
| 4963 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } | 
|---|
| 4964 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | 
|---|
| 4965 |  | 
|---|
| 4966 | if | 
|---|
| 4967 | test "x$enable_dependency_tracking" != xno \ | 
|---|
| 4968 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | 
|---|
| 4969 | am__fastdepCC_TRUE= | 
|---|
| 4970 | am__fastdepCC_FALSE='#' | 
|---|
| 4971 | else | 
|---|
| 4972 | am__fastdepCC_TRUE='#' | 
|---|
| 4973 | am__fastdepCC_FALSE= | 
|---|
| 4974 | fi | 
|---|
| 4975 |  | 
|---|
| 4976 |  | 
|---|
| 4977 | # By default we simply use the C compiler to build assembly code. | 
|---|
| 4978 |  | 
|---|
| 4979 | test "${CCAS+set}" = set || CCAS=$CC | 
|---|
| 4980 | test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS | 
|---|
| 4981 |  | 
|---|
| 4982 |  | 
|---|
| 4983 |  | 
|---|
| 4984 | depcc="$CCAS"   am_compiler_list= | 
|---|
| 4985 |  | 
|---|
| 4986 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 | 
|---|
| 4987 | $as_echo_n "checking dependency style of $depcc... " >&6; } | 
|---|
| 4988 | if ${am_cv_CCAS_dependencies_compiler_type+:} false; then : | 
|---|
| 4989 | $as_echo_n "(cached) " >&6 | 
|---|
| 4990 | else | 
|---|
| 4991 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | 
|---|
| 4992 | # We make a subdir and do the tests there.  Otherwise we can end up | 
|---|
| 4993 | # making bogus files that we don't know about and never remove.  For | 
|---|
| 4994 | # instance it was reported that on HP-UX the gcc test will end up | 
|---|
| 4995 | # making a dummy file named 'D' -- because '-MD' means "put the output | 
|---|
| 4996 | # in D". | 
|---|
| 4997 | rm -rf conftest.dir | 
|---|
| 4998 | mkdir conftest.dir | 
|---|
| 4999 | # Copy depcomp to subdir because otherwise we won't find it if we're | 
|---|
| 5000 | # using a relative directory. | 
|---|
| 5001 | cp "$am_depcomp" conftest.dir | 
|---|
| 5002 | cd conftest.dir | 
|---|
| 5003 | # We will build objects and dependencies in a subdirectory because | 
|---|
| 5004 | # it helps to detect inapplicable dependency modes.  For instance | 
|---|
| 5005 | # both Tru64's cc and ICC support -MD to output dependencies as a | 
|---|
| 5006 | # side effect of compilation, but ICC will put the dependencies in | 
|---|
| 5007 | # the current directory while Tru64 will put them in the object | 
|---|
| 5008 | # directory. | 
|---|
| 5009 | mkdir sub | 
|---|
| 5010 |  | 
|---|
| 5011 | am_cv_CCAS_dependencies_compiler_type=none | 
|---|
| 5012 | if test "$am_compiler_list" = ""; then | 
|---|
| 5013 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | 
|---|
| 5014 | fi | 
|---|
| 5015 | am__universal=false | 
|---|
| 5016 |  | 
|---|
| 5017 |  | 
|---|
| 5018 | for depmode in $am_compiler_list; do | 
|---|
| 5019 | # Setup a source with many dependencies, because some compilers | 
|---|
| 5020 | # like to wrap large dependency lists on column 80 (with \), and | 
|---|
| 5021 | # we should not choose a depcomp mode which is confused by this. | 
|---|
| 5022 | # | 
|---|
| 5023 | # We need to recreate these files for each test, as the compiler may | 
|---|
| 5024 | # overwrite some of them when testing with obscure command lines. | 
|---|
| 5025 | # This happens at least with the AIX C compiler. | 
|---|
| 5026 | : > sub/conftest.c | 
|---|
| 5027 | for i in 1 2 3 4 5 6; do | 
|---|
| 5028 | echo '#include "conftst'$i'.h"' >> sub/conftest.c | 
|---|
| 5029 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | 
|---|
| 5030 | # Solaris 10 /bin/sh. | 
|---|
| 5031 | echo '/* dummy */' > sub/conftst$i.h | 
|---|
| 5032 | done | 
|---|
| 5033 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | 
|---|
| 5034 |  | 
|---|
| 5035 | # We check with '-c' and '-o' for the sake of the "dashmstdout" | 
|---|
| 5036 | # mode.  It turns out that the SunPro C++ compiler does not properly | 
|---|
| 5037 | # handle '-M -o', and we need to detect this.  Also, some Intel | 
|---|
| 5038 | # versions had trouble with output in subdirs. | 
|---|
| 5039 | am__obj=sub/conftest.${OBJEXT-o} | 
|---|
| 5040 | am__minus_obj="-o $am__obj" | 
|---|
| 5041 | case $depmode in | 
|---|
| 5042 | gcc) | 
|---|
| 5043 | # This depmode causes a compiler race in universal mode. | 
|---|
| 5044 | test "$am__universal" = false || continue | 
|---|
| 5045 | ;; | 
|---|
| 5046 | nosideeffect) | 
|---|
| 5047 | # After this tag, mechanisms are not by side-effect, so they'll | 
|---|
| 5048 | # only be used when explicitly requested. | 
|---|
| 5049 | if test "x$enable_dependency_tracking" = xyes; then | 
|---|
| 5050 | continue | 
|---|
| 5051 | else | 
|---|
| 5052 | break | 
|---|
| 5053 | fi | 
|---|
| 5054 | ;; | 
|---|
| 5055 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) | 
|---|
| 5056 | # This compiler won't grok '-c -o', but also, the minuso test has | 
|---|
| 5057 | # not run yet.  These depmodes are late enough in the game, and | 
|---|
| 5058 | # so weak that their functioning should not be impacted. | 
|---|
| 5059 | am__obj=conftest.${OBJEXT-o} | 
|---|
| 5060 | am__minus_obj= | 
|---|
| 5061 | ;; | 
|---|
| 5062 | none) break ;; | 
|---|
| 5063 | esac | 
|---|
| 5064 | if depmode=$depmode \ | 
|---|
| 5065 | source=sub/conftest.c object=$am__obj \ | 
|---|
| 5066 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | 
|---|
| 5067 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | 
|---|
| 5068 | >/dev/null 2>conftest.err && | 
|---|
| 5069 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | 
|---|
| 5070 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | 
|---|
| 5071 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | 
|---|
| 5072 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | 
|---|
| 5073 | # icc doesn't choke on unknown options, it will just issue warnings | 
|---|
| 5074 | # or remarks (even with -Werror).  So we grep stderr for any message | 
|---|
| 5075 | # that says an option was ignored or not supported. | 
|---|
| 5076 | # When given -MP, icc 7.0 and 7.1 complain thusly: | 
|---|
| 5077 | #   icc: Command line warning: ignoring option '-M'; no argument required | 
|---|
| 5078 | # The diagnosis changed in icc 8.0: | 
|---|
| 5079 | #   icc: Command line remark: option '-MP' not supported | 
|---|
| 5080 | if (grep 'ignoring option' conftest.err || | 
|---|
| 5081 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | 
|---|
| 5082 | am_cv_CCAS_dependencies_compiler_type=$depmode | 
|---|
| 5083 | break | 
|---|
| 5084 | fi | 
|---|
| 5085 | fi | 
|---|
| 5086 | done | 
|---|
| 5087 |  | 
|---|
| 5088 | cd .. | 
|---|
| 5089 | rm -rf conftest.dir | 
|---|
| 5090 | else | 
|---|
| 5091 | am_cv_CCAS_dependencies_compiler_type=none | 
|---|
| 5092 | fi | 
|---|
| 5093 |  | 
|---|
| 5094 | fi | 
|---|
| 5095 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5 | 
|---|
| 5096 | $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; } | 
|---|
| 5097 | CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type | 
|---|
| 5098 |  | 
|---|
| 5099 | if | 
|---|
| 5100 | test "x$enable_dependency_tracking" != xno \ | 
|---|
| 5101 | && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then | 
|---|
| 5102 | am__fastdepCCAS_TRUE= | 
|---|
| 5103 | am__fastdepCCAS_FALSE='#' | 
|---|
| 5104 | else | 
|---|
| 5105 | am__fastdepCCAS_TRUE='#' | 
|---|
| 5106 | am__fastdepCCAS_FALSE= | 
|---|
| 5107 | fi | 
|---|
| 5108 |  | 
|---|
| 5109 |  | 
|---|
| 5110 | # deprecated | 
|---|
| 5111 | # These are often not installed and people miss seeing the "no", so stop the configure. | 
|---|
| 5112 | for ac_prog in 'bison -y' byacc | 
|---|
| 5113 | do | 
|---|
| 5114 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
| 5115 | set dummy $ac_prog; ac_word=$2 | 
|---|
| 5116 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
| 5117 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
| 5118 | if ${ac_cv_prog_YACC+:} false; then : | 
|---|
| 5119 | $as_echo_n "(cached) " >&6 | 
|---|
| 5120 | else | 
|---|
| 5121 | if test -n "$YACC"; then | 
|---|
| 5122 | ac_cv_prog_YACC="$YACC" # Let the user override the test. | 
|---|
| 5123 | else | 
|---|
| 5124 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 5125 | for as_dir in $PATH | 
|---|
| 5126 | do | 
|---|
| 5127 | IFS=$as_save_IFS | 
|---|
| 5128 | test -z "$as_dir" && as_dir=. | 
|---|
| 5129 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 5130 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 5131 | ac_cv_prog_YACC="$ac_prog" | 
|---|
| 5132 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 5133 | break 2 | 
|---|
| 5134 | fi | 
|---|
| 5135 | done | 
|---|
| 5136 | done | 
|---|
| 5137 | IFS=$as_save_IFS | 
|---|
| 5138 |  | 
|---|
| 5139 | fi | 
|---|
| 5140 | fi | 
|---|
| 5141 | YACC=$ac_cv_prog_YACC | 
|---|
| 5142 | if test -n "$YACC"; then | 
|---|
| 5143 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 | 
|---|
| 5144 | $as_echo "$YACC" >&6; } | 
|---|
| 5145 | else | 
|---|
| 5146 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 5147 | $as_echo "no" >&6; } | 
|---|
| 5148 | fi | 
|---|
| 5149 |  | 
|---|
| 5150 |  | 
|---|
| 5151 | test -n "$YACC" && break | 
|---|
| 5152 | done | 
|---|
| 5153 | test -n "$YACC" || YACC="yacc" | 
|---|
| 5154 |  | 
|---|
| 5155 | if test "${YACC}" = "yacc" ; then echo "Error: bison required." ; exit 1 ; fi | 
|---|
| 5156 |  | 
|---|
| 5157 | for ac_prog in flex lex | 
|---|
| 5158 | do | 
|---|
| 5159 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
| 5160 | set dummy $ac_prog; ac_word=$2 | 
|---|
| 5161 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
| 5162 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
| 5163 | if ${ac_cv_prog_LEX+:} false; then : | 
|---|
| 5164 | $as_echo_n "(cached) " >&6 | 
|---|
| 5165 | else | 
|---|
| 5166 | if test -n "$LEX"; then | 
|---|
| 5167 | ac_cv_prog_LEX="$LEX" # Let the user override the test. | 
|---|
| 5168 | else | 
|---|
| 5169 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 5170 | for as_dir in $PATH | 
|---|
| 5171 | do | 
|---|
| 5172 | IFS=$as_save_IFS | 
|---|
| 5173 | test -z "$as_dir" && as_dir=. | 
|---|
| 5174 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 5175 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 5176 | ac_cv_prog_LEX="$ac_prog" | 
|---|
| 5177 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 5178 | break 2 | 
|---|
| 5179 | fi | 
|---|
| 5180 | done | 
|---|
| 5181 | done | 
|---|
| 5182 | IFS=$as_save_IFS | 
|---|
| 5183 |  | 
|---|
| 5184 | fi | 
|---|
| 5185 | fi | 
|---|
| 5186 | LEX=$ac_cv_prog_LEX | 
|---|
| 5187 | if test -n "$LEX"; then | 
|---|
| 5188 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 | 
|---|
| 5189 | $as_echo "$LEX" >&6; } | 
|---|
| 5190 | else | 
|---|
| 5191 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 5192 | $as_echo "no" >&6; } | 
|---|
| 5193 | fi | 
|---|
| 5194 |  | 
|---|
| 5195 |  | 
|---|
| 5196 | test -n "$LEX" && break | 
|---|
| 5197 | done | 
|---|
| 5198 | test -n "$LEX" || LEX=":" | 
|---|
| 5199 |  | 
|---|
| 5200 | if test "x$LEX" != "x:"; then | 
|---|
| 5201 | cat >conftest.l <<_ACEOF | 
|---|
| 5202 | %% | 
|---|
| 5203 | a { ECHO; } | 
|---|
| 5204 | b { REJECT; } | 
|---|
| 5205 | c { yymore (); } | 
|---|
| 5206 | d { yyless (1); } | 
|---|
| 5207 | e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */ | 
|---|
| 5208 | yyless ((input () != 0)); } | 
|---|
| 5209 | f { unput (yytext[0]); } | 
|---|
| 5210 | . { BEGIN INITIAL; } | 
|---|
| 5211 | %% | 
|---|
| 5212 | #ifdef YYTEXT_POINTER | 
|---|
| 5213 | extern char *yytext; | 
|---|
| 5214 | #endif | 
|---|
| 5215 | int | 
|---|
| 5216 | main (void) | 
|---|
| 5217 | { | 
|---|
| 5218 | return ! yylex () + ! yywrap (); | 
|---|
| 5219 | } | 
|---|
| 5220 | _ACEOF | 
|---|
| 5221 | { { ac_try="$LEX conftest.l" | 
|---|
| 5222 | case "(($ac_try" in | 
|---|
| 5223 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
| 5224 | *) ac_try_echo=$ac_try;; | 
|---|
| 5225 | esac | 
|---|
| 5226 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
| 5227 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
| 5228 | (eval "$LEX conftest.l") 2>&5 | 
|---|
| 5229 | ac_status=$? | 
|---|
| 5230 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
| 5231 | test $ac_status = 0; } | 
|---|
| 5232 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 | 
|---|
| 5233 | $as_echo_n "checking lex output file root... " >&6; } | 
|---|
| 5234 | if ${ac_cv_prog_lex_root+:} false; then : | 
|---|
| 5235 | $as_echo_n "(cached) " >&6 | 
|---|
| 5236 | else | 
|---|
| 5237 |  | 
|---|
| 5238 | if test -f lex.yy.c; then | 
|---|
| 5239 | ac_cv_prog_lex_root=lex.yy | 
|---|
| 5240 | elif test -f lexyy.c; then | 
|---|
| 5241 | ac_cv_prog_lex_root=lexyy | 
|---|
| 5242 | else | 
|---|
| 5243 | as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 | 
|---|
| 5244 | fi | 
|---|
| 5245 | fi | 
|---|
| 5246 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 | 
|---|
| 5247 | $as_echo "$ac_cv_prog_lex_root" >&6; } | 
|---|
| 5248 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root | 
|---|
| 5249 |  | 
|---|
| 5250 | if test -z "${LEXLIB+set}"; then | 
|---|
| 5251 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 | 
|---|
| 5252 | $as_echo_n "checking lex library... " >&6; } | 
|---|
| 5253 | if ${ac_cv_lib_lex+:} false; then : | 
|---|
| 5254 | $as_echo_n "(cached) " >&6 | 
|---|
| 5255 | else | 
|---|
| 5256 |  | 
|---|
| 5257 | ac_save_LIBS=$LIBS | 
|---|
| 5258 | ac_cv_lib_lex='none needed' | 
|---|
| 5259 | for ac_lib in '' -lfl -ll; do | 
|---|
| 5260 | LIBS="$ac_lib $ac_save_LIBS" | 
|---|
| 5261 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 5262 | /* end confdefs.h.  */ | 
|---|
| 5263 | `cat $LEX_OUTPUT_ROOT.c` | 
|---|
| 5264 | _ACEOF | 
|---|
| 5265 | if ac_fn_c_try_link "$LINENO"; then : | 
|---|
| 5266 | ac_cv_lib_lex=$ac_lib | 
|---|
| 5267 | fi | 
|---|
| 5268 | rm -f core conftest.err conftest.$ac_objext \ | 
|---|
| 5269 | conftest$ac_exeext conftest.$ac_ext | 
|---|
| 5270 | test "$ac_cv_lib_lex" != 'none needed' && break | 
|---|
| 5271 | done | 
|---|
| 5272 | LIBS=$ac_save_LIBS | 
|---|
| 5273 |  | 
|---|
| 5274 | fi | 
|---|
| 5275 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 | 
|---|
| 5276 | $as_echo "$ac_cv_lib_lex" >&6; } | 
|---|
| 5277 | test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex | 
|---|
| 5278 | fi | 
|---|
| 5279 |  | 
|---|
| 5280 |  | 
|---|
| 5281 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 | 
|---|
| 5282 | $as_echo_n "checking whether yytext is a pointer... " >&6; } | 
|---|
| 5283 | if ${ac_cv_prog_lex_yytext_pointer+:} false; then : | 
|---|
| 5284 | $as_echo_n "(cached) " >&6 | 
|---|
| 5285 | else | 
|---|
| 5286 | # POSIX says lex can declare yytext either as a pointer or an array; the | 
|---|
| 5287 | # default is implementation-dependent.  Figure out which it is, since | 
|---|
| 5288 | # not all implementations provide the %pointer and %array declarations. | 
|---|
| 5289 | ac_cv_prog_lex_yytext_pointer=no | 
|---|
| 5290 | ac_save_LIBS=$LIBS | 
|---|
| 5291 | LIBS="$LEXLIB $ac_save_LIBS" | 
|---|
| 5292 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 5293 | /* end confdefs.h.  */ | 
|---|
| 5294 |  | 
|---|
| 5295 | #define YYTEXT_POINTER 1 | 
|---|
| 5296 | `cat $LEX_OUTPUT_ROOT.c` | 
|---|
| 5297 | _ACEOF | 
|---|
| 5298 | if ac_fn_c_try_link "$LINENO"; then : | 
|---|
| 5299 | ac_cv_prog_lex_yytext_pointer=yes | 
|---|
| 5300 | fi | 
|---|
| 5301 | rm -f core conftest.err conftest.$ac_objext \ | 
|---|
| 5302 | conftest$ac_exeext conftest.$ac_ext | 
|---|
| 5303 | LIBS=$ac_save_LIBS | 
|---|
| 5304 |  | 
|---|
| 5305 | fi | 
|---|
| 5306 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 | 
|---|
| 5307 | $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } | 
|---|
| 5308 | if test $ac_cv_prog_lex_yytext_pointer = yes; then | 
|---|
| 5309 |  | 
|---|
| 5310 | $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h | 
|---|
| 5311 |  | 
|---|
| 5312 | fi | 
|---|
| 5313 | rm -f conftest.l $LEX_OUTPUT_ROOT.c | 
|---|
| 5314 |  | 
|---|
| 5315 | fi | 
|---|
| 5316 | if test "${LEX}" = "lex" ; then echo "Error: flex required." ; exit 1 ; fi | 
|---|
| 5317 |  | 
|---|
| 5318 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 
|---|
| 5319 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | 
|---|
| 5320 | set x ${MAKE-make} | 
|---|
| 5321 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | 
|---|
| 5322 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : | 
|---|
| 5323 | $as_echo_n "(cached) " >&6 | 
|---|
| 5324 | else | 
|---|
| 5325 | cat >conftest.make <<\_ACEOF | 
|---|
| 5326 | SHELL = /bin/sh | 
|---|
| 5327 | all: | 
|---|
| 5328 | @echo '@@@%%%=$(MAKE)=@@@%%%' | 
|---|
| 5329 | _ACEOF | 
|---|
| 5330 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. | 
|---|
| 5331 | case `${MAKE-make} -f conftest.make 2>/dev/null` in | 
|---|
| 5332 | *@@@%%%=?*=@@@%%%*) | 
|---|
| 5333 | eval ac_cv_prog_make_${ac_make}_set=yes;; | 
|---|
| 5334 | *) | 
|---|
| 5335 | eval ac_cv_prog_make_${ac_make}_set=no;; | 
|---|
| 5336 | esac | 
|---|
| 5337 | rm -f conftest.make | 
|---|
| 5338 | fi | 
|---|
| 5339 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | 
|---|
| 5340 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 
|---|
| 5341 | $as_echo "yes" >&6; } | 
|---|
| 5342 | SET_MAKE= | 
|---|
| 5343 | else | 
|---|
| 5344 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 5345 | $as_echo "no" >&6; } | 
|---|
| 5346 | SET_MAKE="MAKE=${MAKE-make}" | 
|---|
| 5347 | fi | 
|---|
| 5348 |  | 
|---|
| 5349 | if test -n "$ac_tool_prefix"; then | 
|---|
| 5350 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 
|---|
| 5351 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 
|---|
| 5352 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
| 5353 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
| 5354 | if ${ac_cv_prog_RANLIB+:} false; then : | 
|---|
| 5355 | $as_echo_n "(cached) " >&6 | 
|---|
| 5356 | else | 
|---|
| 5357 | if test -n "$RANLIB"; then | 
|---|
| 5358 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 
|---|
| 5359 | else | 
|---|
| 5360 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 5361 | for as_dir in $PATH | 
|---|
| 5362 | do | 
|---|
| 5363 | IFS=$as_save_IFS | 
|---|
| 5364 | test -z "$as_dir" && as_dir=. | 
|---|
| 5365 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 5366 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 5367 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 
|---|
| 5368 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 5369 | break 2 | 
|---|
| 5370 | fi | 
|---|
| 5371 | done | 
|---|
| 5372 | done | 
|---|
| 5373 | IFS=$as_save_IFS | 
|---|
| 5374 |  | 
|---|
| 5375 | fi | 
|---|
| 5376 | fi | 
|---|
| 5377 | RANLIB=$ac_cv_prog_RANLIB | 
|---|
| 5378 | if test -n "$RANLIB"; then | 
|---|
| 5379 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 | 
|---|
| 5380 | $as_echo "$RANLIB" >&6; } | 
|---|
| 5381 | else | 
|---|
| 5382 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 5383 | $as_echo "no" >&6; } | 
|---|
| 5384 | fi | 
|---|
| 5385 |  | 
|---|
| 5386 |  | 
|---|
| 5387 | fi | 
|---|
| 5388 | if test -z "$ac_cv_prog_RANLIB"; then | 
|---|
| 5389 | ac_ct_RANLIB=$RANLIB | 
|---|
| 5390 | # Extract the first word of "ranlib", so it can be a program name with args. | 
|---|
| 5391 | set dummy ranlib; ac_word=$2 | 
|---|
| 5392 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
| 5393 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
| 5394 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : | 
|---|
| 5395 | $as_echo_n "(cached) " >&6 | 
|---|
| 5396 | else | 
|---|
| 5397 | if test -n "$ac_ct_RANLIB"; then | 
|---|
| 5398 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | 
|---|
| 5399 | else | 
|---|
| 5400 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 5401 | for as_dir in $PATH | 
|---|
| 5402 | do | 
|---|
| 5403 | IFS=$as_save_IFS | 
|---|
| 5404 | test -z "$as_dir" && as_dir=. | 
|---|
| 5405 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 5406 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 5407 | ac_cv_prog_ac_ct_RANLIB="ranlib" | 
|---|
| 5408 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 5409 | break 2 | 
|---|
| 5410 | fi | 
|---|
| 5411 | done | 
|---|
| 5412 | done | 
|---|
| 5413 | IFS=$as_save_IFS | 
|---|
| 5414 |  | 
|---|
| 5415 | fi | 
|---|
| 5416 | fi | 
|---|
| 5417 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 
|---|
| 5418 | if test -n "$ac_ct_RANLIB"; then | 
|---|
| 5419 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 | 
|---|
| 5420 | $as_echo "$ac_ct_RANLIB" >&6; } | 
|---|
| 5421 | else | 
|---|
| 5422 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 5423 | $as_echo "no" >&6; } | 
|---|
| 5424 | fi | 
|---|
| 5425 |  | 
|---|
| 5426 | if test "x$ac_ct_RANLIB" = x; then | 
|---|
| 5427 | RANLIB=":" | 
|---|
| 5428 | else | 
|---|
| 5429 | case $cross_compiling:$ac_tool_warned in | 
|---|
| 5430 | yes:) | 
|---|
| 5431 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 
|---|
| 5432 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 
|---|
| 5433 | ac_tool_warned=yes ;; | 
|---|
| 5434 | esac | 
|---|
| 5435 | RANLIB=$ac_ct_RANLIB | 
|---|
| 5436 | fi | 
|---|
| 5437 | else | 
|---|
| 5438 | RANLIB="$ac_cv_prog_RANLIB" | 
|---|
| 5439 | fi | 
|---|
| 5440 |  | 
|---|
| 5441 |  | 
|---|
| 5442 | # Checks for libraries. | 
|---|
| 5443 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fibre::yield in -lfibre" >&5 | 
|---|
| 5444 | $as_echo_n "checking for Fibre::yield in -lfibre... " >&6; } | 
|---|
| 5445 | if ${ac_cv_lib_fibre_Fibre__yield+:} false; then : | 
|---|
| 5446 | $as_echo_n "(cached) " >&6 | 
|---|
| 5447 | else | 
|---|
| 5448 | ac_check_lib_save_LIBS=$LIBS | 
|---|
| 5449 | LIBS="-lfibre  $LIBS" | 
|---|
| 5450 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 5451 | /* end confdefs.h.  */ | 
|---|
| 5452 |  | 
|---|
| 5453 | /* Override any GCC internal prototype to avoid an error. | 
|---|
| 5454 | Use char because int might match the return type of a GCC | 
|---|
| 5455 | builtin and then its argument prototype would still apply.  */ | 
|---|
| 5456 | #ifdef __cplusplus | 
|---|
| 5457 | extern "C" | 
|---|
| 5458 | #endif | 
|---|
| 5459 | char Fibre::yield (); | 
|---|
| 5460 | int | 
|---|
| 5461 | main () | 
|---|
| 5462 | { | 
|---|
| 5463 | return Fibre::yield (); | 
|---|
| 5464 | ; | 
|---|
| 5465 | return 0; | 
|---|
| 5466 | } | 
|---|
| 5467 | _ACEOF | 
|---|
| 5468 | if ac_fn_c_try_link "$LINENO"; then : | 
|---|
| 5469 | ac_cv_lib_fibre_Fibre__yield=yes | 
|---|
| 5470 | else | 
|---|
| 5471 | ac_cv_lib_fibre_Fibre__yield=no | 
|---|
| 5472 | fi | 
|---|
| 5473 | rm -f core conftest.err conftest.$ac_objext \ | 
|---|
| 5474 | conftest$ac_exeext conftest.$ac_ext | 
|---|
| 5475 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 5476 | fi | 
|---|
| 5477 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fibre_Fibre__yield" >&5 | 
|---|
| 5478 | $as_echo "$ac_cv_lib_fibre_Fibre__yield" >&6; } | 
|---|
| 5479 | if test "x$ac_cv_lib_fibre_Fibre__yield" = xyes; then : | 
|---|
| 5480 | HAVE_LIBFIBRE=1 | 
|---|
| 5481 | else | 
|---|
| 5482 | HAVE_LIBFIBRE=0 | 
|---|
| 5483 | fi | 
|---|
| 5484 |  | 
|---|
| 5485 | if test "$HAVE_LIBFIBRE" -eq 1; then | 
|---|
| 5486 | WITH_LIBFIBRE_TRUE= | 
|---|
| 5487 | WITH_LIBFIBRE_FALSE='#' | 
|---|
| 5488 | else | 
|---|
| 5489 | WITH_LIBFIBRE_TRUE='#' | 
|---|
| 5490 | WITH_LIBFIBRE_FALSE= | 
|---|
| 5491 | fi | 
|---|
| 5492 |  | 
|---|
| 5493 |  | 
|---|
| 5494 | # Checks for header files. | 
|---|
| 5495 | ac_ext=c | 
|---|
| 5496 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 5497 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 5498 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 5499 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 5500 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 | 
|---|
| 5501 | $as_echo_n "checking how to run the C preprocessor... " >&6; } | 
|---|
| 5502 | # On Suns, sometimes $CPP names a directory. | 
|---|
| 5503 | if test -n "$CPP" && test -d "$CPP"; then | 
|---|
| 5504 | CPP= | 
|---|
| 5505 | fi | 
|---|
| 5506 | if test -z "$CPP"; then | 
|---|
| 5507 | if ${ac_cv_prog_CPP+:} false; then : | 
|---|
| 5508 | $as_echo_n "(cached) " >&6 | 
|---|
| 5509 | else | 
|---|
| 5510 | # Double quotes because CPP needs to be expanded | 
|---|
| 5511 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 
|---|
| 5512 | do | 
|---|
| 5513 | ac_preproc_ok=false | 
|---|
| 5514 | for ac_c_preproc_warn_flag in '' yes | 
|---|
| 5515 | do | 
|---|
| 5516 | # Use a header file that comes with gcc, so configuring glibc | 
|---|
| 5517 | # with a fresh cross-compiler works. | 
|---|
| 5518 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
| 5519 | # <limits.h> exists even on freestanding compilers. | 
|---|
| 5520 | # On the NeXT, cc -E runs the code through the compiler's parser, | 
|---|
| 5521 | # not just through cpp. "Syntax error" is here to catch this case. | 
|---|
| 5522 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 5523 | /* end confdefs.h.  */ | 
|---|
| 5524 | #ifdef __STDC__ | 
|---|
| 5525 | # include <limits.h> | 
|---|
| 5526 | #else | 
|---|
| 5527 | # include <assert.h> | 
|---|
| 5528 | #endif | 
|---|
| 5529 | Syntax error | 
|---|
| 5530 | _ACEOF | 
|---|
| 5531 | if ac_fn_c_try_cpp "$LINENO"; then : | 
|---|
| 5532 |  | 
|---|
| 5533 | else | 
|---|
| 5534 | # Broken: fails on valid input. | 
|---|
| 5535 | continue | 
|---|
| 5536 | fi | 
|---|
| 5537 | rm -f conftest.err conftest.i conftest.$ac_ext | 
|---|
| 5538 |  | 
|---|
| 5539 | # OK, works on sane cases.  Now check whether nonexistent headers | 
|---|
| 5540 | # can be detected and how. | 
|---|
| 5541 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 5542 | /* end confdefs.h.  */ | 
|---|
| 5543 | #include <ac_nonexistent.h> | 
|---|
| 5544 | _ACEOF | 
|---|
| 5545 | if ac_fn_c_try_cpp "$LINENO"; then : | 
|---|
| 5546 | # Broken: success on invalid input. | 
|---|
| 5547 | continue | 
|---|
| 5548 | else | 
|---|
| 5549 | # Passes both tests. | 
|---|
| 5550 | ac_preproc_ok=: | 
|---|
| 5551 | break | 
|---|
| 5552 | fi | 
|---|
| 5553 | rm -f conftest.err conftest.i conftest.$ac_ext | 
|---|
| 5554 |  | 
|---|
| 5555 | done | 
|---|
| 5556 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
|---|
| 5557 | rm -f conftest.i conftest.err conftest.$ac_ext | 
|---|
| 5558 | if $ac_preproc_ok; then : | 
|---|
| 5559 | break | 
|---|
| 5560 | fi | 
|---|
| 5561 |  | 
|---|
| 5562 | done | 
|---|
| 5563 | ac_cv_prog_CPP=$CPP | 
|---|
| 5564 |  | 
|---|
| 5565 | fi | 
|---|
| 5566 | CPP=$ac_cv_prog_CPP | 
|---|
| 5567 | else | 
|---|
| 5568 | ac_cv_prog_CPP=$CPP | 
|---|
| 5569 | fi | 
|---|
| 5570 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | 
|---|
| 5571 | $as_echo "$CPP" >&6; } | 
|---|
| 5572 | ac_preproc_ok=false | 
|---|
| 5573 | for ac_c_preproc_warn_flag in '' yes | 
|---|
| 5574 | do | 
|---|
| 5575 | # Use a header file that comes with gcc, so configuring glibc | 
|---|
| 5576 | # with a fresh cross-compiler works. | 
|---|
| 5577 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
| 5578 | # <limits.h> exists even on freestanding compilers. | 
|---|
| 5579 | # On the NeXT, cc -E runs the code through the compiler's parser, | 
|---|
| 5580 | # not just through cpp. "Syntax error" is here to catch this case. | 
|---|
| 5581 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 5582 | /* end confdefs.h.  */ | 
|---|
| 5583 | #ifdef __STDC__ | 
|---|
| 5584 | # include <limits.h> | 
|---|
| 5585 | #else | 
|---|
| 5586 | # include <assert.h> | 
|---|
| 5587 | #endif | 
|---|
| 5588 | Syntax error | 
|---|
| 5589 | _ACEOF | 
|---|
| 5590 | if ac_fn_c_try_cpp "$LINENO"; then : | 
|---|
| 5591 |  | 
|---|
| 5592 | else | 
|---|
| 5593 | # Broken: fails on valid input. | 
|---|
| 5594 | continue | 
|---|
| 5595 | fi | 
|---|
| 5596 | rm -f conftest.err conftest.i conftest.$ac_ext | 
|---|
| 5597 |  | 
|---|
| 5598 | # OK, works on sane cases.  Now check whether nonexistent headers | 
|---|
| 5599 | # can be detected and how. | 
|---|
| 5600 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 5601 | /* end confdefs.h.  */ | 
|---|
| 5602 | #include <ac_nonexistent.h> | 
|---|
| 5603 | _ACEOF | 
|---|
| 5604 | if ac_fn_c_try_cpp "$LINENO"; then : | 
|---|
| 5605 | # Broken: success on invalid input. | 
|---|
| 5606 | continue | 
|---|
| 5607 | else | 
|---|
| 5608 | # Passes both tests. | 
|---|
| 5609 | ac_preproc_ok=: | 
|---|
| 5610 | break | 
|---|
| 5611 | fi | 
|---|
| 5612 | rm -f conftest.err conftest.i conftest.$ac_ext | 
|---|
| 5613 |  | 
|---|
| 5614 | done | 
|---|
| 5615 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
|---|
| 5616 | rm -f conftest.i conftest.err conftest.$ac_ext | 
|---|
| 5617 | if $ac_preproc_ok; then : | 
|---|
| 5618 |  | 
|---|
| 5619 | else | 
|---|
| 5620 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
|---|
| 5621 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
|---|
| 5622 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | 
|---|
| 5623 | See \`config.log' for more details" "$LINENO" 5; } | 
|---|
| 5624 | fi | 
|---|
| 5625 |  | 
|---|
| 5626 | ac_ext=c | 
|---|
| 5627 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 5628 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 5629 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 5630 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 5631 |  | 
|---|
| 5632 |  | 
|---|
| 5633 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 | 
|---|
| 5634 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | 
|---|
| 5635 | if ${ac_cv_path_GREP+:} false; then : | 
|---|
| 5636 | $as_echo_n "(cached) " >&6 | 
|---|
| 5637 | else | 
|---|
| 5638 | if test -z "$GREP"; then | 
|---|
| 5639 | ac_path_GREP_found=false | 
|---|
| 5640 | # Loop through the user's path and test for each of PROGNAME-LIST | 
|---|
| 5641 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 5642 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 
|---|
| 5643 | do | 
|---|
| 5644 | IFS=$as_save_IFS | 
|---|
| 5645 | test -z "$as_dir" && as_dir=. | 
|---|
| 5646 | for ac_prog in grep ggrep; do | 
|---|
| 5647 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 5648 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | 
|---|
| 5649 | as_fn_executable_p "$ac_path_GREP" || continue | 
|---|
| 5650 | # Check for GNU ac_path_GREP and select it if it is found. | 
|---|
| 5651 | # Check for GNU $ac_path_GREP | 
|---|
| 5652 | case `"$ac_path_GREP" --version 2>&1` in | 
|---|
| 5653 | *GNU*) | 
|---|
| 5654 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | 
|---|
| 5655 | *) | 
|---|
| 5656 | ac_count=0 | 
|---|
| 5657 | $as_echo_n 0123456789 >"conftest.in" | 
|---|
| 5658 | while : | 
|---|
| 5659 | do | 
|---|
| 5660 | cat "conftest.in" "conftest.in" >"conftest.tmp" | 
|---|
| 5661 | mv "conftest.tmp" "conftest.in" | 
|---|
| 5662 | cp "conftest.in" "conftest.nl" | 
|---|
| 5663 | $as_echo 'GREP' >> "conftest.nl" | 
|---|
| 5664 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 
|---|
| 5665 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 
|---|
| 5666 | as_fn_arith $ac_count + 1 && ac_count=$as_val | 
|---|
| 5667 | if test $ac_count -gt ${ac_path_GREP_max-0}; then | 
|---|
| 5668 | # Best one so far, save it but keep looking for a better one | 
|---|
| 5669 | ac_cv_path_GREP="$ac_path_GREP" | 
|---|
| 5670 | ac_path_GREP_max=$ac_count | 
|---|
| 5671 | fi | 
|---|
| 5672 | # 10*(2^10) chars as input seems more than enough | 
|---|
| 5673 | test $ac_count -gt 10 && break | 
|---|
| 5674 | done | 
|---|
| 5675 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 
|---|
| 5676 | esac | 
|---|
| 5677 |  | 
|---|
| 5678 | $ac_path_GREP_found && break 3 | 
|---|
| 5679 | done | 
|---|
| 5680 | done | 
|---|
| 5681 | done | 
|---|
| 5682 | IFS=$as_save_IFS | 
|---|
| 5683 | if test -z "$ac_cv_path_GREP"; then | 
|---|
| 5684 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 
|---|
| 5685 | fi | 
|---|
| 5686 | else | 
|---|
| 5687 | ac_cv_path_GREP=$GREP | 
|---|
| 5688 | fi | 
|---|
| 5689 |  | 
|---|
| 5690 | fi | 
|---|
| 5691 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | 
|---|
| 5692 | $as_echo "$ac_cv_path_GREP" >&6; } | 
|---|
| 5693 | GREP="$ac_cv_path_GREP" | 
|---|
| 5694 |  | 
|---|
| 5695 |  | 
|---|
| 5696 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | 
|---|
| 5697 | $as_echo_n "checking for egrep... " >&6; } | 
|---|
| 5698 | if ${ac_cv_path_EGREP+:} false; then : | 
|---|
| 5699 | $as_echo_n "(cached) " >&6 | 
|---|
| 5700 | else | 
|---|
| 5701 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | 
|---|
| 5702 | then ac_cv_path_EGREP="$GREP -E" | 
|---|
| 5703 | else | 
|---|
| 5704 | if test -z "$EGREP"; then | 
|---|
| 5705 | ac_path_EGREP_found=false | 
|---|
| 5706 | # Loop through the user's path and test for each of PROGNAME-LIST | 
|---|
| 5707 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 5708 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 
|---|
| 5709 | do | 
|---|
| 5710 | IFS=$as_save_IFS | 
|---|
| 5711 | test -z "$as_dir" && as_dir=. | 
|---|
| 5712 | for ac_prog in egrep; do | 
|---|
| 5713 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 5714 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | 
|---|
| 5715 | as_fn_executable_p "$ac_path_EGREP" || continue | 
|---|
| 5716 | # Check for GNU ac_path_EGREP and select it if it is found. | 
|---|
| 5717 | # Check for GNU $ac_path_EGREP | 
|---|
| 5718 | case `"$ac_path_EGREP" --version 2>&1` in | 
|---|
| 5719 | *GNU*) | 
|---|
| 5720 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | 
|---|
| 5721 | *) | 
|---|
| 5722 | ac_count=0 | 
|---|
| 5723 | $as_echo_n 0123456789 >"conftest.in" | 
|---|
| 5724 | while : | 
|---|
| 5725 | do | 
|---|
| 5726 | cat "conftest.in" "conftest.in" >"conftest.tmp" | 
|---|
| 5727 | mv "conftest.tmp" "conftest.in" | 
|---|
| 5728 | cp "conftest.in" "conftest.nl" | 
|---|
| 5729 | $as_echo 'EGREP' >> "conftest.nl" | 
|---|
| 5730 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 
|---|
| 5731 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 
|---|
| 5732 | as_fn_arith $ac_count + 1 && ac_count=$as_val | 
|---|
| 5733 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then | 
|---|
| 5734 | # Best one so far, save it but keep looking for a better one | 
|---|
| 5735 | ac_cv_path_EGREP="$ac_path_EGREP" | 
|---|
| 5736 | ac_path_EGREP_max=$ac_count | 
|---|
| 5737 | fi | 
|---|
| 5738 | # 10*(2^10) chars as input seems more than enough | 
|---|
| 5739 | test $ac_count -gt 10 && break | 
|---|
| 5740 | done | 
|---|
| 5741 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 
|---|
| 5742 | esac | 
|---|
| 5743 |  | 
|---|
| 5744 | $ac_path_EGREP_found && break 3 | 
|---|
| 5745 | done | 
|---|
| 5746 | done | 
|---|
| 5747 | done | 
|---|
| 5748 | IFS=$as_save_IFS | 
|---|
| 5749 | if test -z "$ac_cv_path_EGREP"; then | 
|---|
| 5750 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 
|---|
| 5751 | fi | 
|---|
| 5752 | else | 
|---|
| 5753 | ac_cv_path_EGREP=$EGREP | 
|---|
| 5754 | fi | 
|---|
| 5755 |  | 
|---|
| 5756 | fi | 
|---|
| 5757 | fi | 
|---|
| 5758 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | 
|---|
| 5759 | $as_echo "$ac_cv_path_EGREP" >&6; } | 
|---|
| 5760 | EGREP="$ac_cv_path_EGREP" | 
|---|
| 5761 |  | 
|---|
| 5762 |  | 
|---|
| 5763 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | 
|---|
| 5764 | $as_echo_n "checking for ANSI C header files... " >&6; } | 
|---|
| 5765 | if ${ac_cv_header_stdc+:} false; then : | 
|---|
| 5766 | $as_echo_n "(cached) " >&6 | 
|---|
| 5767 | else | 
|---|
| 5768 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 5769 | /* end confdefs.h.  */ | 
|---|
| 5770 | #include <stdlib.h> | 
|---|
| 5771 | #include <stdarg.h> | 
|---|
| 5772 | #include <string.h> | 
|---|
| 5773 | #include <float.h> | 
|---|
| 5774 |  | 
|---|
| 5775 | int | 
|---|
| 5776 | main () | 
|---|
| 5777 | { | 
|---|
| 5778 |  | 
|---|
| 5779 | ; | 
|---|
| 5780 | return 0; | 
|---|
| 5781 | } | 
|---|
| 5782 | _ACEOF | 
|---|
| 5783 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
| 5784 | ac_cv_header_stdc=yes | 
|---|
| 5785 | else | 
|---|
| 5786 | ac_cv_header_stdc=no | 
|---|
| 5787 | fi | 
|---|
| 5788 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 5789 |  | 
|---|
| 5790 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 5791 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
|---|
| 5792 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 5793 | /* end confdefs.h.  */ | 
|---|
| 5794 | #include <string.h> | 
|---|
| 5795 |  | 
|---|
| 5796 | _ACEOF | 
|---|
| 5797 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
| 5798 | $EGREP "memchr" >/dev/null 2>&1; then : | 
|---|
| 5799 |  | 
|---|
| 5800 | else | 
|---|
| 5801 | ac_cv_header_stdc=no | 
|---|
| 5802 | fi | 
|---|
| 5803 | rm -f conftest* | 
|---|
| 5804 |  | 
|---|
| 5805 | fi | 
|---|
| 5806 |  | 
|---|
| 5807 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 5808 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
|---|
| 5809 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 5810 | /* end confdefs.h.  */ | 
|---|
| 5811 | #include <stdlib.h> | 
|---|
| 5812 |  | 
|---|
| 5813 | _ACEOF | 
|---|
| 5814 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
| 5815 | $EGREP "free" >/dev/null 2>&1; then : | 
|---|
| 5816 |  | 
|---|
| 5817 | else | 
|---|
| 5818 | ac_cv_header_stdc=no | 
|---|
| 5819 | fi | 
|---|
| 5820 | rm -f conftest* | 
|---|
| 5821 |  | 
|---|
| 5822 | fi | 
|---|
| 5823 |  | 
|---|
| 5824 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 5825 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
|---|
| 5826 | if test "$cross_compiling" = yes; then : | 
|---|
| 5827 | : | 
|---|
| 5828 | else | 
|---|
| 5829 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 5830 | /* end confdefs.h.  */ | 
|---|
| 5831 | #include <ctype.h> | 
|---|
| 5832 | #include <stdlib.h> | 
|---|
| 5833 | #if ((' ' & 0x0FF) == 0x020) | 
|---|
| 5834 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
|---|
| 5835 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
|---|
| 5836 | #else | 
|---|
| 5837 | # define ISLOWER(c) \ | 
|---|
| 5838 | (('a' <= (c) && (c) <= 'i') \ | 
|---|
| 5839 | || ('j' <= (c) && (c) <= 'r') \ | 
|---|
| 5840 | || ('s' <= (c) && (c) <= 'z')) | 
|---|
| 5841 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
|---|
| 5842 | #endif | 
|---|
| 5843 |  | 
|---|
| 5844 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
|---|
| 5845 | int | 
|---|
| 5846 | main () | 
|---|
| 5847 | { | 
|---|
| 5848 | int i; | 
|---|
| 5849 | for (i = 0; i < 256; i++) | 
|---|
| 5850 | if (XOR (islower (i), ISLOWER (i)) | 
|---|
| 5851 | || toupper (i) != TOUPPER (i)) | 
|---|
| 5852 | return 2; | 
|---|
| 5853 | return 0; | 
|---|
| 5854 | } | 
|---|
| 5855 | _ACEOF | 
|---|
| 5856 | if ac_fn_c_try_run "$LINENO"; then : | 
|---|
| 5857 |  | 
|---|
| 5858 | else | 
|---|
| 5859 | ac_cv_header_stdc=no | 
|---|
| 5860 | fi | 
|---|
| 5861 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 
|---|
| 5862 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 
|---|
| 5863 | fi | 
|---|
| 5864 |  | 
|---|
| 5865 | fi | 
|---|
| 5866 | fi | 
|---|
| 5867 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | 
|---|
| 5868 | $as_echo "$ac_cv_header_stdc" >&6; } | 
|---|
| 5869 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 5870 |  | 
|---|
| 5871 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h | 
|---|
| 5872 |  | 
|---|
| 5873 | fi | 
|---|
| 5874 |  | 
|---|
| 5875 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 
|---|
| 5876 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 
|---|
| 5877 | inttypes.h stdint.h unistd.h | 
|---|
| 5878 | do : | 
|---|
| 5879 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 5880 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 
|---|
| 5881 | " | 
|---|
| 5882 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 
|---|
| 5883 | cat >>confdefs.h <<_ACEOF | 
|---|
| 5884 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 5885 | _ACEOF | 
|---|
| 5886 |  | 
|---|
| 5887 | fi | 
|---|
| 5888 |  | 
|---|
| 5889 | done | 
|---|
| 5890 |  | 
|---|
| 5891 |  | 
|---|
| 5892 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" | 
|---|
| 5893 | if test "x$ac_cv_type_size_t" = xyes; then : | 
|---|
| 5894 |  | 
|---|
| 5895 | else | 
|---|
| 5896 |  | 
|---|
| 5897 | cat >>confdefs.h <<_ACEOF | 
|---|
| 5898 | #define size_t unsigned int | 
|---|
| 5899 | _ACEOF | 
|---|
| 5900 |  | 
|---|
| 5901 | fi | 
|---|
| 5902 |  | 
|---|
| 5903 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 
|---|
| 5904 | # for constant arguments.  Useless! | 
|---|
| 5905 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 | 
|---|
| 5906 | $as_echo_n "checking for working alloca.h... " >&6; } | 
|---|
| 5907 | if ${ac_cv_working_alloca_h+:} false; then : | 
|---|
| 5908 | $as_echo_n "(cached) " >&6 | 
|---|
| 5909 | else | 
|---|
| 5910 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 5911 | /* end confdefs.h.  */ | 
|---|
| 5912 | #include <alloca.h> | 
|---|
| 5913 | int | 
|---|
| 5914 | main () | 
|---|
| 5915 | { | 
|---|
| 5916 | char *p = (char *) alloca (2 * sizeof (int)); | 
|---|
| 5917 | if (p) return 0; | 
|---|
| 5918 | ; | 
|---|
| 5919 | return 0; | 
|---|
| 5920 | } | 
|---|
| 5921 | _ACEOF | 
|---|
| 5922 | if ac_fn_c_try_link "$LINENO"; then : | 
|---|
| 5923 | ac_cv_working_alloca_h=yes | 
|---|
| 5924 | else | 
|---|
| 5925 | ac_cv_working_alloca_h=no | 
|---|
| 5926 | fi | 
|---|
| 5927 | rm -f core conftest.err conftest.$ac_objext \ | 
|---|
| 5928 | conftest$ac_exeext conftest.$ac_ext | 
|---|
| 5929 | fi | 
|---|
| 5930 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 | 
|---|
| 5931 | $as_echo "$ac_cv_working_alloca_h" >&6; } | 
|---|
| 5932 | if test $ac_cv_working_alloca_h = yes; then | 
|---|
| 5933 |  | 
|---|
| 5934 | $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h | 
|---|
| 5935 |  | 
|---|
| 5936 | fi | 
|---|
| 5937 |  | 
|---|
| 5938 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 | 
|---|
| 5939 | $as_echo_n "checking for alloca... " >&6; } | 
|---|
| 5940 | if ${ac_cv_func_alloca_works+:} false; then : | 
|---|
| 5941 | $as_echo_n "(cached) " >&6 | 
|---|
| 5942 | else | 
|---|
| 5943 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 5944 | /* end confdefs.h.  */ | 
|---|
| 5945 | #ifdef __GNUC__ | 
|---|
| 5946 | # define alloca __builtin_alloca | 
|---|
| 5947 | #else | 
|---|
| 5948 | # ifdef _MSC_VER | 
|---|
| 5949 | #  include <malloc.h> | 
|---|
| 5950 | #  define alloca _alloca | 
|---|
| 5951 | # else | 
|---|
| 5952 | #  ifdef HAVE_ALLOCA_H | 
|---|
| 5953 | #   include <alloca.h> | 
|---|
| 5954 | #  else | 
|---|
| 5955 | #   ifdef _AIX | 
|---|
| 5956 | #pragma alloca | 
|---|
| 5957 | #   else | 
|---|
| 5958 | #    ifndef alloca /* predefined by HP cc +Olibcalls */ | 
|---|
| 5959 | void *alloca (size_t); | 
|---|
| 5960 | #    endif | 
|---|
| 5961 | #   endif | 
|---|
| 5962 | #  endif | 
|---|
| 5963 | # endif | 
|---|
| 5964 | #endif | 
|---|
| 5965 |  | 
|---|
| 5966 | int | 
|---|
| 5967 | main () | 
|---|
| 5968 | { | 
|---|
| 5969 | char *p = (char *) alloca (1); | 
|---|
| 5970 | if (p) return 0; | 
|---|
| 5971 | ; | 
|---|
| 5972 | return 0; | 
|---|
| 5973 | } | 
|---|
| 5974 | _ACEOF | 
|---|
| 5975 | if ac_fn_c_try_link "$LINENO"; then : | 
|---|
| 5976 | ac_cv_func_alloca_works=yes | 
|---|
| 5977 | else | 
|---|
| 5978 | ac_cv_func_alloca_works=no | 
|---|
| 5979 | fi | 
|---|
| 5980 | rm -f core conftest.err conftest.$ac_objext \ | 
|---|
| 5981 | conftest$ac_exeext conftest.$ac_ext | 
|---|
| 5982 | fi | 
|---|
| 5983 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 | 
|---|
| 5984 | $as_echo "$ac_cv_func_alloca_works" >&6; } | 
|---|
| 5985 |  | 
|---|
| 5986 | if test $ac_cv_func_alloca_works = yes; then | 
|---|
| 5987 |  | 
|---|
| 5988 | $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h | 
|---|
| 5989 |  | 
|---|
| 5990 | else | 
|---|
| 5991 | # The SVR3 libPW and SVR4 libucb both contain incompatible functions | 
|---|
| 5992 | # that cause trouble.  Some versions do not even contain alloca or | 
|---|
| 5993 | # contain a buggy version.  If you still want to use their alloca, | 
|---|
| 5994 | # use ar to extract alloca.o from them instead of compiling alloca.c. | 
|---|
| 5995 |  | 
|---|
| 5996 | ALLOCA=\${LIBOBJDIR}alloca.$ac_objext | 
|---|
| 5997 |  | 
|---|
| 5998 | $as_echo "#define C_ALLOCA 1" >>confdefs.h | 
|---|
| 5999 |  | 
|---|
| 6000 |  | 
|---|
| 6001 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 | 
|---|
| 6002 | $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } | 
|---|
| 6003 | if ${ac_cv_os_cray+:} false; then : | 
|---|
| 6004 | $as_echo_n "(cached) " >&6 | 
|---|
| 6005 | else | 
|---|
| 6006 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 6007 | /* end confdefs.h.  */ | 
|---|
| 6008 | #if defined CRAY && ! defined CRAY2 | 
|---|
| 6009 | webecray | 
|---|
| 6010 | #else | 
|---|
| 6011 | wenotbecray | 
|---|
| 6012 | #endif | 
|---|
| 6013 |  | 
|---|
| 6014 | _ACEOF | 
|---|
| 6015 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
| 6016 | $EGREP "webecray" >/dev/null 2>&1; then : | 
|---|
| 6017 | ac_cv_os_cray=yes | 
|---|
| 6018 | else | 
|---|
| 6019 | ac_cv_os_cray=no | 
|---|
| 6020 | fi | 
|---|
| 6021 | rm -f conftest* | 
|---|
| 6022 |  | 
|---|
| 6023 | fi | 
|---|
| 6024 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 | 
|---|
| 6025 | $as_echo "$ac_cv_os_cray" >&6; } | 
|---|
| 6026 | if test $ac_cv_os_cray = yes; then | 
|---|
| 6027 | for ac_func in _getb67 GETB67 getb67; do | 
|---|
| 6028 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
|---|
| 6029 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 
|---|
| 6030 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 
|---|
| 6031 |  | 
|---|
| 6032 | cat >>confdefs.h <<_ACEOF | 
|---|
| 6033 | #define CRAY_STACKSEG_END $ac_func | 
|---|
| 6034 | _ACEOF | 
|---|
| 6035 |  | 
|---|
| 6036 | break | 
|---|
| 6037 | fi | 
|---|
| 6038 |  | 
|---|
| 6039 | done | 
|---|
| 6040 | fi | 
|---|
| 6041 |  | 
|---|
| 6042 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 | 
|---|
| 6043 | $as_echo_n "checking stack direction for C alloca... " >&6; } | 
|---|
| 6044 | if ${ac_cv_c_stack_direction+:} false; then : | 
|---|
| 6045 | $as_echo_n "(cached) " >&6 | 
|---|
| 6046 | else | 
|---|
| 6047 | if test "$cross_compiling" = yes; then : | 
|---|
| 6048 | ac_cv_c_stack_direction=0 | 
|---|
| 6049 | else | 
|---|
| 6050 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 6051 | /* end confdefs.h.  */ | 
|---|
| 6052 | $ac_includes_default | 
|---|
| 6053 | int | 
|---|
| 6054 | find_stack_direction (int *addr, int depth) | 
|---|
| 6055 | { | 
|---|
| 6056 | int dir, dummy = 0; | 
|---|
| 6057 | if (! addr) | 
|---|
| 6058 | addr = &dummy; | 
|---|
| 6059 | *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; | 
|---|
| 6060 | dir = depth ? find_stack_direction (addr, depth - 1) : 0; | 
|---|
| 6061 | return dir + dummy; | 
|---|
| 6062 | } | 
|---|
| 6063 |  | 
|---|
| 6064 | int | 
|---|
| 6065 | main (int argc, char **argv) | 
|---|
| 6066 | { | 
|---|
| 6067 | return find_stack_direction (0, argc + !argv + 20) < 0; | 
|---|
| 6068 | } | 
|---|
| 6069 | _ACEOF | 
|---|
| 6070 | if ac_fn_c_try_run "$LINENO"; then : | 
|---|
| 6071 | ac_cv_c_stack_direction=1 | 
|---|
| 6072 | else | 
|---|
| 6073 | ac_cv_c_stack_direction=-1 | 
|---|
| 6074 | fi | 
|---|
| 6075 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 
|---|
| 6076 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 
|---|
| 6077 | fi | 
|---|
| 6078 |  | 
|---|
| 6079 | fi | 
|---|
| 6080 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 | 
|---|
| 6081 | $as_echo "$ac_cv_c_stack_direction" >&6; } | 
|---|
| 6082 | cat >>confdefs.h <<_ACEOF | 
|---|
| 6083 | #define STACK_DIRECTION $ac_cv_c_stack_direction | 
|---|
| 6084 | _ACEOF | 
|---|
| 6085 |  | 
|---|
| 6086 |  | 
|---|
| 6087 | fi | 
|---|
| 6088 |  | 
|---|
| 6089 | for ac_header in fenv.h float.h inttypes.h libintl.h limits.h malloc.h stddef.h stdlib.h string.h unistd.h | 
|---|
| 6090 | do : | 
|---|
| 6091 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 6092 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 
|---|
| 6093 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 
|---|
| 6094 | cat >>confdefs.h <<_ACEOF | 
|---|
| 6095 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 6096 | _ACEOF | 
|---|
| 6097 |  | 
|---|
| 6098 | fi | 
|---|
| 6099 |  | 
|---|
| 6100 | done | 
|---|
| 6101 |  | 
|---|
| 6102 |  | 
|---|
| 6103 | # Checks for typedefs, structures, and compiler characteristics. | 
|---|
| 6104 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 | 
|---|
| 6105 | $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } | 
|---|
| 6106 | if ${ac_cv_header_stdbool_h+:} false; then : | 
|---|
| 6107 | $as_echo_n "(cached) " >&6 | 
|---|
| 6108 | else | 
|---|
| 6109 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 6110 | /* end confdefs.h.  */ | 
|---|
| 6111 |  | 
|---|
| 6112 | #include <stdbool.h> | 
|---|
| 6113 | #ifndef bool | 
|---|
| 6114 | "error: bool is not defined" | 
|---|
| 6115 | #endif | 
|---|
| 6116 | #ifndef false | 
|---|
| 6117 | "error: false is not defined" | 
|---|
| 6118 | #endif | 
|---|
| 6119 | #if false | 
|---|
| 6120 | "error: false is not 0" | 
|---|
| 6121 | #endif | 
|---|
| 6122 | #ifndef true | 
|---|
| 6123 | "error: true is not defined" | 
|---|
| 6124 | #endif | 
|---|
| 6125 | #if true != 1 | 
|---|
| 6126 | "error: true is not 1" | 
|---|
| 6127 | #endif | 
|---|
| 6128 | #ifndef __bool_true_false_are_defined | 
|---|
| 6129 | "error: __bool_true_false_are_defined is not defined" | 
|---|
| 6130 | #endif | 
|---|
| 6131 |  | 
|---|
| 6132 | struct s { _Bool s: 1; _Bool t; } s; | 
|---|
| 6133 |  | 
|---|
| 6134 | char a[true == 1 ? 1 : -1]; | 
|---|
| 6135 | char b[false == 0 ? 1 : -1]; | 
|---|
| 6136 | char c[__bool_true_false_are_defined == 1 ? 1 : -1]; | 
|---|
| 6137 | char d[(bool) 0.5 == true ? 1 : -1]; | 
|---|
| 6138 | /* See body of main program for 'e'.  */ | 
|---|
| 6139 | char f[(_Bool) 0.0 == false ? 1 : -1]; | 
|---|
| 6140 | char g[true]; | 
|---|
| 6141 | char h[sizeof (_Bool)]; | 
|---|
| 6142 | char i[sizeof s.t]; | 
|---|
| 6143 | enum { j = false, k = true, l = false * true, m = true * 256 }; | 
|---|
| 6144 | /* The following fails for | 
|---|
| 6145 | HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ | 
|---|
| 6146 | _Bool n[m]; | 
|---|
| 6147 | char o[sizeof n == m * sizeof n[0] ? 1 : -1]; | 
|---|
| 6148 | char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; | 
|---|
| 6149 | /* Catch a bug in an HP-UX C compiler.  See | 
|---|
| 6150 | http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html | 
|---|
| 6151 | http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html | 
|---|
| 6152 | */ | 
|---|
| 6153 | _Bool q = true; | 
|---|
| 6154 | _Bool *pq = &q; | 
|---|
| 6155 |  | 
|---|
| 6156 | int | 
|---|
| 6157 | main () | 
|---|
| 6158 | { | 
|---|
| 6159 |  | 
|---|
| 6160 | bool e = &s; | 
|---|
| 6161 | *pq |= q; | 
|---|
| 6162 | *pq |= ! q; | 
|---|
| 6163 | /* Refer to every declared value, to avoid compiler optimizations.  */ | 
|---|
| 6164 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l | 
|---|
| 6165 | + !m + !n + !o + !p + !q + !pq); | 
|---|
| 6166 |  | 
|---|
| 6167 | ; | 
|---|
| 6168 | return 0; | 
|---|
| 6169 | } | 
|---|
| 6170 | _ACEOF | 
|---|
| 6171 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
| 6172 | ac_cv_header_stdbool_h=yes | 
|---|
| 6173 | else | 
|---|
| 6174 | ac_cv_header_stdbool_h=no | 
|---|
| 6175 | fi | 
|---|
| 6176 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 6177 | fi | 
|---|
| 6178 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 | 
|---|
| 6179 | $as_echo "$ac_cv_header_stdbool_h" >&6; } | 
|---|
| 6180 | ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" | 
|---|
| 6181 | if test "x$ac_cv_type__Bool" = xyes; then : | 
|---|
| 6182 |  | 
|---|
| 6183 | cat >>confdefs.h <<_ACEOF | 
|---|
| 6184 | #define HAVE__BOOL 1 | 
|---|
| 6185 | _ACEOF | 
|---|
| 6186 |  | 
|---|
| 6187 |  | 
|---|
| 6188 | fi | 
|---|
| 6189 |  | 
|---|
| 6190 |  | 
|---|
| 6191 | if test $ac_cv_header_stdbool_h = yes; then | 
|---|
| 6192 |  | 
|---|
| 6193 | $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h | 
|---|
| 6194 |  | 
|---|
| 6195 | fi | 
|---|
| 6196 |  | 
|---|
| 6197 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 | 
|---|
| 6198 | $as_echo_n "checking for inline... " >&6; } | 
|---|
| 6199 | if ${ac_cv_c_inline+:} false; then : | 
|---|
| 6200 | $as_echo_n "(cached) " >&6 | 
|---|
| 6201 | else | 
|---|
| 6202 | ac_cv_c_inline=no | 
|---|
| 6203 | for ac_kw in inline __inline__ __inline; do | 
|---|
| 6204 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 6205 | /* end confdefs.h.  */ | 
|---|
| 6206 | #ifndef __cplusplus | 
|---|
| 6207 | typedef int foo_t; | 
|---|
| 6208 | static $ac_kw foo_t static_foo () {return 0; } | 
|---|
| 6209 | $ac_kw foo_t foo () {return 0; } | 
|---|
| 6210 | #endif | 
|---|
| 6211 |  | 
|---|
| 6212 | _ACEOF | 
|---|
| 6213 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
| 6214 | ac_cv_c_inline=$ac_kw | 
|---|
| 6215 | fi | 
|---|
| 6216 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 6217 | test "$ac_cv_c_inline" != no && break | 
|---|
| 6218 | done | 
|---|
| 6219 |  | 
|---|
| 6220 | fi | 
|---|
| 6221 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 | 
|---|
| 6222 | $as_echo "$ac_cv_c_inline" >&6; } | 
|---|
| 6223 |  | 
|---|
| 6224 | case $ac_cv_c_inline in | 
|---|
| 6225 | inline | yes) ;; | 
|---|
| 6226 | *) | 
|---|
| 6227 | case $ac_cv_c_inline in | 
|---|
| 6228 | no) ac_val=;; | 
|---|
| 6229 | *) ac_val=$ac_cv_c_inline;; | 
|---|
| 6230 | esac | 
|---|
| 6231 | cat >>confdefs.h <<_ACEOF | 
|---|
| 6232 | #ifndef __cplusplus | 
|---|
| 6233 | #define inline $ac_val | 
|---|
| 6234 | #endif | 
|---|
| 6235 | _ACEOF | 
|---|
| 6236 | ;; | 
|---|
| 6237 | esac | 
|---|
| 6238 |  | 
|---|
| 6239 | ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t" | 
|---|
| 6240 | case $ac_cv_c_int16_t in #( | 
|---|
| 6241 | no|yes) ;; #( | 
|---|
| 6242 | *) | 
|---|
| 6243 |  | 
|---|
| 6244 | cat >>confdefs.h <<_ACEOF | 
|---|
| 6245 | #define int16_t $ac_cv_c_int16_t | 
|---|
| 6246 | _ACEOF | 
|---|
| 6247 | ;; | 
|---|
| 6248 | esac | 
|---|
| 6249 |  | 
|---|
| 6250 | ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t" | 
|---|
| 6251 | case $ac_cv_c_int32_t in #( | 
|---|
| 6252 | no|yes) ;; #( | 
|---|
| 6253 | *) | 
|---|
| 6254 |  | 
|---|
| 6255 | cat >>confdefs.h <<_ACEOF | 
|---|
| 6256 | #define int32_t $ac_cv_c_int32_t | 
|---|
| 6257 | _ACEOF | 
|---|
| 6258 | ;; | 
|---|
| 6259 | esac | 
|---|
| 6260 |  | 
|---|
| 6261 | ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t" | 
|---|
| 6262 | case $ac_cv_c_int8_t in #( | 
|---|
| 6263 | no|yes) ;; #( | 
|---|
| 6264 | *) | 
|---|
| 6265 |  | 
|---|
| 6266 | cat >>confdefs.h <<_ACEOF | 
|---|
| 6267 | #define int8_t $ac_cv_c_int8_t | 
|---|
| 6268 | _ACEOF | 
|---|
| 6269 | ;; | 
|---|
| 6270 | esac | 
|---|
| 6271 |  | 
|---|
| 6272 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 | 
|---|
| 6273 | $as_echo_n "checking for C/C++ restrict keyword... " >&6; } | 
|---|
| 6274 | if ${ac_cv_c_restrict+:} false; then : | 
|---|
| 6275 | $as_echo_n "(cached) " >&6 | 
|---|
| 6276 | else | 
|---|
| 6277 | ac_cv_c_restrict=no | 
|---|
| 6278 | # The order here caters to the fact that C++ does not require restrict. | 
|---|
| 6279 | for ac_kw in __restrict __restrict__ _Restrict restrict; do | 
|---|
| 6280 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 6281 | /* end confdefs.h.  */ | 
|---|
| 6282 | typedef int * int_ptr; | 
|---|
| 6283 | int foo (int_ptr $ac_kw ip) { | 
|---|
| 6284 | return ip[0]; | 
|---|
| 6285 | } | 
|---|
| 6286 | int | 
|---|
| 6287 | main () | 
|---|
| 6288 | { | 
|---|
| 6289 | int s[1]; | 
|---|
| 6290 | int * $ac_kw t = s; | 
|---|
| 6291 | t[0] = 0; | 
|---|
| 6292 | return foo(t) | 
|---|
| 6293 | ; | 
|---|
| 6294 | return 0; | 
|---|
| 6295 | } | 
|---|
| 6296 | _ACEOF | 
|---|
| 6297 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
| 6298 | ac_cv_c_restrict=$ac_kw | 
|---|
| 6299 | fi | 
|---|
| 6300 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 6301 | test "$ac_cv_c_restrict" != no && break | 
|---|
| 6302 | done | 
|---|
| 6303 |  | 
|---|
| 6304 | fi | 
|---|
| 6305 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 | 
|---|
| 6306 | $as_echo "$ac_cv_c_restrict" >&6; } | 
|---|
| 6307 |  | 
|---|
| 6308 | case $ac_cv_c_restrict in | 
|---|
| 6309 | restrict) ;; | 
|---|
| 6310 | no) $as_echo "#define restrict /**/" >>confdefs.h | 
|---|
| 6311 | ;; | 
|---|
| 6312 | *)  cat >>confdefs.h <<_ACEOF | 
|---|
| 6313 | #define restrict $ac_cv_c_restrict | 
|---|
| 6314 | _ACEOF | 
|---|
| 6315 | ;; | 
|---|
| 6316 | esac | 
|---|
| 6317 |  | 
|---|
| 6318 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" | 
|---|
| 6319 | if test "x$ac_cv_type_size_t" = xyes; then : | 
|---|
| 6320 |  | 
|---|
| 6321 | else | 
|---|
| 6322 |  | 
|---|
| 6323 | cat >>confdefs.h <<_ACEOF | 
|---|
| 6324 | #define size_t unsigned int | 
|---|
| 6325 | _ACEOF | 
|---|
| 6326 |  | 
|---|
| 6327 | fi | 
|---|
| 6328 |  | 
|---|
| 6329 | ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t" | 
|---|
| 6330 | case $ac_cv_c_uint16_t in #( | 
|---|
| 6331 | no|yes) ;; #( | 
|---|
| 6332 | *) | 
|---|
| 6333 |  | 
|---|
| 6334 |  | 
|---|
| 6335 | cat >>confdefs.h <<_ACEOF | 
|---|
| 6336 | #define uint16_t $ac_cv_c_uint16_t | 
|---|
| 6337 | _ACEOF | 
|---|
| 6338 | ;; | 
|---|
| 6339 | esac | 
|---|
| 6340 |  | 
|---|
| 6341 | ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t" | 
|---|
| 6342 | case $ac_cv_c_uint32_t in #( | 
|---|
| 6343 | no|yes) ;; #( | 
|---|
| 6344 | *) | 
|---|
| 6345 |  | 
|---|
| 6346 | $as_echo "#define _UINT32_T 1" >>confdefs.h | 
|---|
| 6347 |  | 
|---|
| 6348 |  | 
|---|
| 6349 | cat >>confdefs.h <<_ACEOF | 
|---|
| 6350 | #define uint32_t $ac_cv_c_uint32_t | 
|---|
| 6351 | _ACEOF | 
|---|
| 6352 | ;; | 
|---|
| 6353 | esac | 
|---|
| 6354 |  | 
|---|
| 6355 | ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t" | 
|---|
| 6356 | case $ac_cv_c_uint8_t in #( | 
|---|
| 6357 | no|yes) ;; #( | 
|---|
| 6358 | *) | 
|---|
| 6359 |  | 
|---|
| 6360 | $as_echo "#define _UINT8_T 1" >>confdefs.h | 
|---|
| 6361 |  | 
|---|
| 6362 |  | 
|---|
| 6363 | cat >>confdefs.h <<_ACEOF | 
|---|
| 6364 | #define uint8_t $ac_cv_c_uint8_t | 
|---|
| 6365 | _ACEOF | 
|---|
| 6366 | ;; | 
|---|
| 6367 | esac | 
|---|
| 6368 |  | 
|---|
| 6369 |  | 
|---|
| 6370 | # Checks for library functions. | 
|---|
| 6371 | for ac_func in memset putenv strchr strtol | 
|---|
| 6372 | do : | 
|---|
| 6373 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
|---|
| 6374 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 
|---|
| 6375 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 
|---|
| 6376 | cat >>confdefs.h <<_ACEOF | 
|---|
| 6377 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 
|---|
| 6378 | _ACEOF | 
|---|
| 6379 |  | 
|---|
| 6380 | fi | 
|---|
| 6381 | done | 
|---|
| 6382 |  | 
|---|
| 6383 |  | 
|---|
| 6384 | #============================================================================== | 
|---|
| 6385 | ac_config_files="$ac_config_files Makefile driver/Makefile src/Makefile benchmark/Makefile tests/Makefile tests/preempt_longrun/Makefile tools/Makefile tools/prettyprinter/Makefile" | 
|---|
| 6386 |  | 
|---|
| 6387 |  | 
|---|
| 6388 | ac_config_links="$ac_config_links tests/test.py:tests/test.py" | 
|---|
| 6389 |  | 
|---|
| 6390 |  | 
|---|
| 6391 | ac_config_files="$ac_config_files tests/config.py" | 
|---|
| 6392 |  | 
|---|
| 6393 | cat >confcache <<\_ACEOF | 
|---|
| 6394 | # This file is a shell script that caches the results of configure | 
|---|
| 6395 | # tests run on this system so they can be shared between configure | 
|---|
| 6396 | # scripts and configure runs, see configure's option --config-cache. | 
|---|
| 6397 | # It is not useful on other systems.  If it contains results you don't | 
|---|
| 6398 | # want to keep, you may remove or edit it. | 
|---|
| 6399 | # | 
|---|
| 6400 | # config.status only pays attention to the cache file if you give it | 
|---|
| 6401 | # the --recheck option to rerun configure. | 
|---|
| 6402 | # | 
|---|
| 6403 | # `ac_cv_env_foo' variables (set or unset) will be overridden when | 
|---|
| 6404 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | 
|---|
| 6405 | # following values. | 
|---|
| 6406 |  | 
|---|
| 6407 | _ACEOF | 
|---|
| 6408 |  | 
|---|
| 6409 | # The following way of writing the cache mishandles newlines in values, | 
|---|
| 6410 | # but we know of no workaround that is simple, portable, and efficient. | 
|---|
| 6411 | # So, we kill variables containing newlines. | 
|---|
| 6412 | # Ultrix sh set writes to stderr and can't be redirected directly, | 
|---|
| 6413 | # and sets the high bit in the cache file unless we assign to the vars. | 
|---|
| 6414 | ( | 
|---|
| 6415 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | 
|---|
| 6416 | eval ac_val=\$$ac_var | 
|---|
| 6417 | case $ac_val in #( | 
|---|
| 6418 | *${as_nl}*) | 
|---|
| 6419 | case $ac_var in #( | 
|---|
| 6420 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | 
|---|
| 6421 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | 
|---|
| 6422 | esac | 
|---|
| 6423 | case $ac_var in #( | 
|---|
| 6424 | _ | IFS | as_nl) ;; #( | 
|---|
| 6425 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 
|---|
| 6426 | *) { eval $ac_var=; unset $ac_var;} ;; | 
|---|
| 6427 | esac ;; | 
|---|
| 6428 | esac | 
|---|
| 6429 | done | 
|---|
| 6430 |  | 
|---|
| 6431 | (set) 2>&1 | | 
|---|
| 6432 | case $as_nl`(ac_space=' '; set) 2>&1` in #( | 
|---|
| 6433 | *${as_nl}ac_space=\ *) | 
|---|
| 6434 | # `set' does not quote correctly, so add quotes: double-quote | 
|---|
| 6435 | # substitution turns \\\\ into \\, and sed turns \\ into \. | 
|---|
| 6436 | sed -n \ | 
|---|
| 6437 | "s/'/'\\\\''/g; | 
|---|
| 6438 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 
|---|
| 6439 | ;; #( | 
|---|
| 6440 | *) | 
|---|
| 6441 | # `set' quotes correctly as required by POSIX, so do not add quotes. | 
|---|
| 6442 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | 
|---|
| 6443 | ;; | 
|---|
| 6444 | esac | | 
|---|
| 6445 | sort | 
|---|
| 6446 | ) | | 
|---|
| 6447 | sed ' | 
|---|
| 6448 | /^ac_cv_env_/b end | 
|---|
| 6449 | t clear | 
|---|
| 6450 | :clear | 
|---|
| 6451 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | 
|---|
| 6452 | t end | 
|---|
| 6453 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 
|---|
| 6454 | :end' >>confcache | 
|---|
| 6455 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | 
|---|
| 6456 | if test -w "$cache_file"; then | 
|---|
| 6457 | if test "x$cache_file" != "x/dev/null"; then | 
|---|
| 6458 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | 
|---|
| 6459 | $as_echo "$as_me: updating cache $cache_file" >&6;} | 
|---|
| 6460 | if test ! -f "$cache_file" || test -h "$cache_file"; then | 
|---|
| 6461 | cat confcache >"$cache_file" | 
|---|
| 6462 | else | 
|---|
| 6463 | case $cache_file in #( | 
|---|
| 6464 | */* | ?:*) | 
|---|
| 6465 | mv -f confcache "$cache_file"$$ && | 
|---|
| 6466 | mv -f "$cache_file"$$ "$cache_file" ;; #( | 
|---|
| 6467 | *) | 
|---|
| 6468 | mv -f confcache "$cache_file" ;; | 
|---|
| 6469 | esac | 
|---|
| 6470 | fi | 
|---|
| 6471 | fi | 
|---|
| 6472 | else | 
|---|
| 6473 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | 
|---|
| 6474 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | 
|---|
| 6475 | fi | 
|---|
| 6476 | fi | 
|---|
| 6477 | rm -f confcache | 
|---|
| 6478 |  | 
|---|
| 6479 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | 
|---|
| 6480 | # Let make expand exec_prefix. | 
|---|
| 6481 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | 
|---|
| 6482 |  | 
|---|
| 6483 | DEFS=-DHAVE_CONFIG_H | 
|---|
| 6484 |  | 
|---|
| 6485 | ac_libobjs= | 
|---|
| 6486 | ac_ltlibobjs= | 
|---|
| 6487 | U= | 
|---|
| 6488 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 
|---|
| 6489 | # 1. Remove the extension, and $U if already installed. | 
|---|
| 6490 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | 
|---|
| 6491 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | 
|---|
| 6492 | # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR | 
|---|
| 6493 | #    will be set to the directory where LIBOBJS objects are built. | 
|---|
| 6494 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | 
|---|
| 6495 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | 
|---|
| 6496 | done | 
|---|
| 6497 | LIBOBJS=$ac_libobjs | 
|---|
| 6498 |  | 
|---|
| 6499 | LTLIBOBJS=$ac_ltlibobjs | 
|---|
| 6500 |  | 
|---|
| 6501 |  | 
|---|
| 6502 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 | 
|---|
| 6503 | $as_echo_n "checking that generated files are newer than configure... " >&6; } | 
|---|
| 6504 | if test -n "$am_sleep_pid"; then | 
|---|
| 6505 | # Hide warnings about reused PIDs. | 
|---|
| 6506 | wait $am_sleep_pid 2>/dev/null | 
|---|
| 6507 | fi | 
|---|
| 6508 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 | 
|---|
| 6509 | $as_echo "done" >&6; } | 
|---|
| 6510 | if test -n "$EXEEXT"; then | 
|---|
| 6511 | am__EXEEXT_TRUE= | 
|---|
| 6512 | am__EXEEXT_FALSE='#' | 
|---|
| 6513 | else | 
|---|
| 6514 | am__EXEEXT_TRUE='#' | 
|---|
| 6515 | am__EXEEXT_FALSE= | 
|---|
| 6516 | fi | 
|---|
| 6517 |  | 
|---|
| 6518 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | 
|---|
| 6519 | as_fn_error $? "conditional \"AMDEP\" was never defined. | 
|---|
| 6520 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | 
|---|
| 6521 | fi | 
|---|
| 6522 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then | 
|---|
| 6523 | as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. | 
|---|
| 6524 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | 
|---|
| 6525 | fi | 
|---|
| 6526 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | 
|---|
| 6527 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. | 
|---|
| 6528 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | 
|---|
| 6529 | fi | 
|---|
| 6530 | if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then | 
|---|
| 6531 | as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined. | 
|---|
| 6532 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | 
|---|
| 6533 | fi | 
|---|
| 6534 | if test -z "${WITH_LIBFIBRE_TRUE}" && test -z "${WITH_LIBFIBRE_FALSE}"; then | 
|---|
| 6535 | as_fn_error $? "conditional \"WITH_LIBFIBRE\" was never defined. | 
|---|
| 6536 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | 
|---|
| 6537 | fi | 
|---|
| 6538 |  | 
|---|
| 6539 | : "${CONFIG_STATUS=./config.status}" | 
|---|
| 6540 | ac_write_fail=0 | 
|---|
| 6541 | ac_clean_files_save=$ac_clean_files | 
|---|
| 6542 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 
|---|
| 6543 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | 
|---|
| 6544 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | 
|---|
| 6545 | as_write_fail=0 | 
|---|
| 6546 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | 
|---|
| 6547 | #! $SHELL | 
|---|
| 6548 | # Generated by $as_me. | 
|---|
| 6549 | # Run this file to recreate the current configuration. | 
|---|
| 6550 | # Compiler output produced by configure, useful for debugging | 
|---|
| 6551 | # configure, is in config.log if it exists. | 
|---|
| 6552 |  | 
|---|
| 6553 | debug=false | 
|---|
| 6554 | ac_cs_recheck=false | 
|---|
| 6555 | ac_cs_silent=false | 
|---|
| 6556 |  | 
|---|
| 6557 | SHELL=\${CONFIG_SHELL-$SHELL} | 
|---|
| 6558 | export SHELL | 
|---|
| 6559 | _ASEOF | 
|---|
| 6560 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 | 
|---|
| 6561 | ## -------------------- ## | 
|---|
| 6562 | ## M4sh Initialization. ## | 
|---|
| 6563 | ## -------------------- ## | 
|---|
| 6564 |  | 
|---|
| 6565 | # Be more Bourne compatible | 
|---|
| 6566 | DUALCASE=1; export DUALCASE # for MKS sh | 
|---|
| 6567 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | 
|---|
| 6568 | emulate sh | 
|---|
| 6569 | NULLCMD=: | 
|---|
| 6570 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | 
|---|
| 6571 | # is contrary to our usage.  Disable this feature. | 
|---|
| 6572 | alias -g '${1+"$@"}'='"$@"' | 
|---|
| 6573 | setopt NO_GLOB_SUBST | 
|---|
| 6574 | else | 
|---|
| 6575 | case `(set -o) 2>/dev/null` in #( | 
|---|
| 6576 | *posix*) : | 
|---|
| 6577 | set -o posix ;; #( | 
|---|
| 6578 | *) : | 
|---|
| 6579 | ;; | 
|---|
| 6580 | esac | 
|---|
| 6581 | fi | 
|---|
| 6582 |  | 
|---|
| 6583 |  | 
|---|
| 6584 | as_nl=' | 
|---|
| 6585 | ' | 
|---|
| 6586 | export as_nl | 
|---|
| 6587 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | 
|---|
| 6588 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 
|---|
| 6589 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | 
|---|
| 6590 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | 
|---|
| 6591 | # Prefer a ksh shell builtin over an external printf program on Solaris, | 
|---|
| 6592 | # but without wasting forks for bash or zsh. | 
|---|
| 6593 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | 
|---|
| 6594 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | 
|---|
| 6595 | as_echo='print -r --' | 
|---|
| 6596 | as_echo_n='print -rn --' | 
|---|
| 6597 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | 
|---|
| 6598 | as_echo='printf %s\n' | 
|---|
| 6599 | as_echo_n='printf %s' | 
|---|
| 6600 | else | 
|---|
| 6601 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | 
|---|
| 6602 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | 
|---|
| 6603 | as_echo_n='/usr/ucb/echo -n' | 
|---|
| 6604 | else | 
|---|
| 6605 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | 
|---|
| 6606 | as_echo_n_body='eval | 
|---|
| 6607 | arg=$1; | 
|---|
| 6608 | case $arg in #( | 
|---|
| 6609 | *"$as_nl"*) | 
|---|
| 6610 | expr "X$arg" : "X\\(.*\\)$as_nl"; | 
|---|
| 6611 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | 
|---|
| 6612 | esac; | 
|---|
| 6613 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | 
|---|
| 6614 | ' | 
|---|
| 6615 | export as_echo_n_body | 
|---|
| 6616 | as_echo_n='sh -c $as_echo_n_body as_echo' | 
|---|
| 6617 | fi | 
|---|
| 6618 | export as_echo_body | 
|---|
| 6619 | as_echo='sh -c $as_echo_body as_echo' | 
|---|
| 6620 | fi | 
|---|
| 6621 |  | 
|---|
| 6622 | # The user is always right. | 
|---|
| 6623 | if test "${PATH_SEPARATOR+set}" != set; then | 
|---|
| 6624 | PATH_SEPARATOR=: | 
|---|
| 6625 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | 
|---|
| 6626 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | 
|---|
| 6627 | PATH_SEPARATOR=';' | 
|---|
| 6628 | } | 
|---|
| 6629 | fi | 
|---|
| 6630 |  | 
|---|
| 6631 |  | 
|---|
| 6632 | # IFS | 
|---|
| 6633 | # We need space, tab and new line, in precisely that order.  Quoting is | 
|---|
| 6634 | # there to prevent editors from complaining about space-tab. | 
|---|
| 6635 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 
|---|
| 6636 | # splitting by setting IFS to empty value.) | 
|---|
| 6637 | IFS=" ""        $as_nl" | 
|---|
| 6638 |  | 
|---|
| 6639 | # Find who we are.  Look in the path if we contain no directory separator. | 
|---|
| 6640 | as_myself= | 
|---|
| 6641 | case $0 in #(( | 
|---|
| 6642 | *[\\/]* ) as_myself=$0 ;; | 
|---|
| 6643 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 6644 | for as_dir in $PATH | 
|---|
| 6645 | do | 
|---|
| 6646 | IFS=$as_save_IFS | 
|---|
| 6647 | test -z "$as_dir" && as_dir=. | 
|---|
| 6648 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 
|---|
| 6649 | done | 
|---|
| 6650 | IFS=$as_save_IFS | 
|---|
| 6651 |  | 
|---|
| 6652 | ;; | 
|---|
| 6653 | esac | 
|---|
| 6654 | # We did not find ourselves, most probably we were run as `sh COMMAND' | 
|---|
| 6655 | # in which case we are not to be found in the path. | 
|---|
| 6656 | if test "x$as_myself" = x; then | 
|---|
| 6657 | as_myself=$0 | 
|---|
| 6658 | fi | 
|---|
| 6659 | if test ! -f "$as_myself"; then | 
|---|
| 6660 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 
|---|
| 6661 | exit 1 | 
|---|
| 6662 | fi | 
|---|
| 6663 |  | 
|---|
| 6664 | # Unset variables that we do not need and which cause bugs (e.g. in | 
|---|
| 6665 | # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1" | 
|---|
| 6666 | # suppresses any "Segmentation fault" message there.  '((' could | 
|---|
| 6667 | # trigger a bug in pdksh 5.2.14. | 
|---|
| 6668 | for as_var in BASH_ENV ENV MAIL MAILPATH | 
|---|
| 6669 | do eval test x\${$as_var+set} = xset \ | 
|---|
| 6670 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | 
|---|
| 6671 | done | 
|---|
| 6672 | PS1='$ ' | 
|---|
| 6673 | PS2='> ' | 
|---|
| 6674 | PS4='+ ' | 
|---|
| 6675 |  | 
|---|
| 6676 | # NLS nuisances. | 
|---|
| 6677 | LC_ALL=C | 
|---|
| 6678 | export LC_ALL | 
|---|
| 6679 | LANGUAGE=C | 
|---|
| 6680 | export LANGUAGE | 
|---|
| 6681 |  | 
|---|
| 6682 | # CDPATH. | 
|---|
| 6683 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 
|---|
| 6684 |  | 
|---|
| 6685 |  | 
|---|
| 6686 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | 
|---|
| 6687 | # ---------------------------------------- | 
|---|
| 6688 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 
|---|
| 6689 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | 
|---|
| 6690 | # script with STATUS, using 1 if that was 0. | 
|---|
| 6691 | as_fn_error () | 
|---|
| 6692 | { | 
|---|
| 6693 | as_status=$1; test $as_status -eq 0 && as_status=1 | 
|---|
| 6694 | if test "$4"; then | 
|---|
| 6695 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
|---|
| 6696 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | 
|---|
| 6697 | fi | 
|---|
| 6698 | $as_echo "$as_me: error: $2" >&2 | 
|---|
| 6699 | as_fn_exit $as_status | 
|---|
| 6700 | } # as_fn_error | 
|---|
| 6701 |  | 
|---|
| 6702 |  | 
|---|
| 6703 | # as_fn_set_status STATUS | 
|---|
| 6704 | # ----------------------- | 
|---|
| 6705 | # Set $? to STATUS, without forking. | 
|---|
| 6706 | as_fn_set_status () | 
|---|
| 6707 | { | 
|---|
| 6708 | return $1 | 
|---|
| 6709 | } # as_fn_set_status | 
|---|
| 6710 |  | 
|---|
| 6711 | # as_fn_exit STATUS | 
|---|
| 6712 | # ----------------- | 
|---|
| 6713 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | 
|---|
| 6714 | as_fn_exit () | 
|---|
| 6715 | { | 
|---|
| 6716 | set +e | 
|---|
| 6717 | as_fn_set_status $1 | 
|---|
| 6718 | exit $1 | 
|---|
| 6719 | } # as_fn_exit | 
|---|
| 6720 |  | 
|---|
| 6721 | # as_fn_unset VAR | 
|---|
| 6722 | # --------------- | 
|---|
| 6723 | # Portably unset VAR. | 
|---|
| 6724 | as_fn_unset () | 
|---|
| 6725 | { | 
|---|
| 6726 | { eval $1=; unset $1;} | 
|---|
| 6727 | } | 
|---|
| 6728 | as_unset=as_fn_unset | 
|---|
| 6729 | # as_fn_append VAR VALUE | 
|---|
| 6730 | # ---------------------- | 
|---|
| 6731 | # Append the text in VALUE to the end of the definition contained in VAR. Take | 
|---|
| 6732 | # advantage of any shell optimizations that allow amortized linear growth over | 
|---|
| 6733 | # repeated appends, instead of the typical quadratic growth present in naive | 
|---|
| 6734 | # implementations. | 
|---|
| 6735 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | 
|---|
| 6736 | eval 'as_fn_append () | 
|---|
| 6737 | { | 
|---|
| 6738 | eval $1+=\$2 | 
|---|
| 6739 | }' | 
|---|
| 6740 | else | 
|---|
| 6741 | as_fn_append () | 
|---|
| 6742 | { | 
|---|
| 6743 | eval $1=\$$1\$2 | 
|---|
| 6744 | } | 
|---|
| 6745 | fi # as_fn_append | 
|---|
| 6746 |  | 
|---|
| 6747 | # as_fn_arith ARG... | 
|---|
| 6748 | # ------------------ | 
|---|
| 6749 | # Perform arithmetic evaluation on the ARGs, and store the result in the | 
|---|
| 6750 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | 
|---|
| 6751 | # must be portable across $(()) and expr. | 
|---|
| 6752 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | 
|---|
| 6753 | eval 'as_fn_arith () | 
|---|
| 6754 | { | 
|---|
| 6755 | as_val=$(( $* )) | 
|---|
| 6756 | }' | 
|---|
| 6757 | else | 
|---|
| 6758 | as_fn_arith () | 
|---|
| 6759 | { | 
|---|
| 6760 | as_val=`expr "$@" || test $? -eq 1` | 
|---|
| 6761 | } | 
|---|
| 6762 | fi # as_fn_arith | 
|---|
| 6763 |  | 
|---|
| 6764 |  | 
|---|
| 6765 | if expr a : '\(a\)' >/dev/null 2>&1 && | 
|---|
| 6766 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | 
|---|
| 6767 | as_expr=expr | 
|---|
| 6768 | else | 
|---|
| 6769 | as_expr=false | 
|---|
| 6770 | fi | 
|---|
| 6771 |  | 
|---|
| 6772 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | 
|---|
| 6773 | as_basename=basename | 
|---|
| 6774 | else | 
|---|
| 6775 | as_basename=false | 
|---|
| 6776 | fi | 
|---|
| 6777 |  | 
|---|
| 6778 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | 
|---|
| 6779 | as_dirname=dirname | 
|---|
| 6780 | else | 
|---|
| 6781 | as_dirname=false | 
|---|
| 6782 | fi | 
|---|
| 6783 |  | 
|---|
| 6784 | as_me=`$as_basename -- "$0" || | 
|---|
| 6785 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 
|---|
| 6786 | X"$0" : 'X\(//\)$' \| \ | 
|---|
| 6787 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | 
|---|
| 6788 | $as_echo X/"$0" | | 
|---|
| 6789 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | 
|---|
| 6790 | s//\1/ | 
|---|
| 6791 | q | 
|---|
| 6792 | } | 
|---|
| 6793 | /^X\/\(\/\/\)$/{ | 
|---|
| 6794 | s//\1/ | 
|---|
| 6795 | q | 
|---|
| 6796 | } | 
|---|
| 6797 | /^X\/\(\/\).*/{ | 
|---|
| 6798 | s//\1/ | 
|---|
| 6799 | q | 
|---|
| 6800 | } | 
|---|
| 6801 | s/.*/./; q'` | 
|---|
| 6802 |  | 
|---|
| 6803 | # Avoid depending upon Character Ranges. | 
|---|
| 6804 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 
|---|
| 6805 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 
|---|
| 6806 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 
|---|
| 6807 | as_cr_digits='0123456789' | 
|---|
| 6808 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 
|---|
| 6809 |  | 
|---|
| 6810 | ECHO_C= ECHO_N= ECHO_T= | 
|---|
| 6811 | case `echo -n x` in #((((( | 
|---|
| 6812 | -n*) | 
|---|
| 6813 | case `echo 'xy\c'` in | 
|---|
| 6814 | *c*) ECHO_T=' ';;     # ECHO_T is single tab character. | 
|---|
| 6815 | xy)  ECHO_C='\c';; | 
|---|
| 6816 | *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null | 
|---|
| 6817 | ECHO_T=' ';; | 
|---|
| 6818 | esac;; | 
|---|
| 6819 | *) | 
|---|
| 6820 | ECHO_N='-n';; | 
|---|
| 6821 | esac | 
|---|
| 6822 |  | 
|---|
| 6823 | rm -f conf$$ conf$$.exe conf$$.file | 
|---|
| 6824 | if test -d conf$$.dir; then | 
|---|
| 6825 | rm -f conf$$.dir/conf$$.file | 
|---|
| 6826 | else | 
|---|
| 6827 | rm -f conf$$.dir | 
|---|
| 6828 | mkdir conf$$.dir 2>/dev/null | 
|---|
| 6829 | fi | 
|---|
| 6830 | if (echo >conf$$.file) 2>/dev/null; then | 
|---|
| 6831 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 
|---|
| 6832 | as_ln_s='ln -s' | 
|---|
| 6833 | # ... but there are two gotchas: | 
|---|
| 6834 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | 
|---|
| 6835 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | 
|---|
| 6836 | # In both cases, we have to default to `cp -pR'. | 
|---|
| 6837 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | 
|---|
| 6838 | as_ln_s='cp -pR' | 
|---|
| 6839 | elif ln conf$$.file conf$$ 2>/dev/null; then | 
|---|
| 6840 | as_ln_s=ln | 
|---|
| 6841 | else | 
|---|
| 6842 | as_ln_s='cp -pR' | 
|---|
| 6843 | fi | 
|---|
| 6844 | else | 
|---|
| 6845 | as_ln_s='cp -pR' | 
|---|
| 6846 | fi | 
|---|
| 6847 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 
|---|
| 6848 | rmdir conf$$.dir 2>/dev/null | 
|---|
| 6849 |  | 
|---|
| 6850 |  | 
|---|
| 6851 | # as_fn_mkdir_p | 
|---|
| 6852 | # ------------- | 
|---|
| 6853 | # Create "$as_dir" as a directory, including parents if necessary. | 
|---|
| 6854 | as_fn_mkdir_p () | 
|---|
| 6855 | { | 
|---|
| 6856 |  | 
|---|
| 6857 | case $as_dir in #( | 
|---|
| 6858 | -*) as_dir=./$as_dir;; | 
|---|
| 6859 | esac | 
|---|
| 6860 | test -d "$as_dir" || eval $as_mkdir_p || { | 
|---|
| 6861 | as_dirs= | 
|---|
| 6862 | while :; do | 
|---|
| 6863 | case $as_dir in #( | 
|---|
| 6864 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | 
|---|
| 6865 | *) as_qdir=$as_dir;; | 
|---|
| 6866 | esac | 
|---|
| 6867 | as_dirs="'$as_qdir' $as_dirs" | 
|---|
| 6868 | as_dir=`$as_dirname -- "$as_dir" || | 
|---|
| 6869 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 6870 | X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
| 6871 | X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
| 6872 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | 
|---|
| 6873 | $as_echo X"$as_dir" | | 
|---|
| 6874 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 
|---|
| 6875 | s//\1/ | 
|---|
| 6876 | q | 
|---|
| 6877 | } | 
|---|
| 6878 | /^X\(\/\/\)[^/].*/{ | 
|---|
| 6879 | s//\1/ | 
|---|
| 6880 | q | 
|---|
| 6881 | } | 
|---|
| 6882 | /^X\(\/\/\)$/{ | 
|---|
| 6883 | s//\1/ | 
|---|
| 6884 | q | 
|---|
| 6885 | } | 
|---|
| 6886 | /^X\(\/\).*/{ | 
|---|
| 6887 | s//\1/ | 
|---|
| 6888 | q | 
|---|
| 6889 | } | 
|---|
| 6890 | s/.*/./; q'` | 
|---|
| 6891 | test -d "$as_dir" && break | 
|---|
| 6892 | done | 
|---|
| 6893 | test -z "$as_dirs" || eval "mkdir $as_dirs" | 
|---|
| 6894 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | 
|---|
| 6895 |  | 
|---|
| 6896 |  | 
|---|
| 6897 | } # as_fn_mkdir_p | 
|---|
| 6898 | if mkdir -p . 2>/dev/null; then | 
|---|
| 6899 | as_mkdir_p='mkdir -p "$as_dir"' | 
|---|
| 6900 | else | 
|---|
| 6901 | test -d ./-p && rmdir ./-p | 
|---|
| 6902 | as_mkdir_p=false | 
|---|
| 6903 | fi | 
|---|
| 6904 |  | 
|---|
| 6905 |  | 
|---|
| 6906 | # as_fn_executable_p FILE | 
|---|
| 6907 | # ----------------------- | 
|---|
| 6908 | # Test if FILE is an executable regular file. | 
|---|
| 6909 | as_fn_executable_p () | 
|---|
| 6910 | { | 
|---|
| 6911 | test -f "$1" && test -x "$1" | 
|---|
| 6912 | } # as_fn_executable_p | 
|---|
| 6913 | as_test_x='test -x' | 
|---|
| 6914 | as_executable_p=as_fn_executable_p | 
|---|
| 6915 |  | 
|---|
| 6916 | # Sed expression to map a string onto a valid CPP name. | 
|---|
| 6917 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 
|---|
| 6918 |  | 
|---|
| 6919 | # Sed expression to map a string onto a valid variable name. | 
|---|
| 6920 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 
|---|
| 6921 |  | 
|---|
| 6922 |  | 
|---|
| 6923 | exec 6>&1 | 
|---|
| 6924 | ## ----------------------------------- ## | 
|---|
| 6925 | ## Main body of $CONFIG_STATUS script. ## | 
|---|
| 6926 | ## ----------------------------------- ## | 
|---|
| 6927 | _ASEOF | 
|---|
| 6928 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | 
|---|
| 6929 |  | 
|---|
| 6930 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
|---|
| 6931 | # Save the log message, to keep $0 and so on meaningful, and to | 
|---|
| 6932 | # report actual input values of CONFIG_FILES etc. instead of their | 
|---|
| 6933 | # values after options handling. | 
|---|
| 6934 | ac_log=" | 
|---|
| 6935 | This file was extended by cfa-cc $as_me 1.0.0.0, which was | 
|---|
| 6936 | generated by GNU Autoconf 2.69.  Invocation command line was | 
|---|
| 6937 |  | 
|---|
| 6938 | CONFIG_FILES    = $CONFIG_FILES | 
|---|
| 6939 | CONFIG_HEADERS  = $CONFIG_HEADERS | 
|---|
| 6940 | CONFIG_LINKS    = $CONFIG_LINKS | 
|---|
| 6941 | CONFIG_COMMANDS = $CONFIG_COMMANDS | 
|---|
| 6942 | $ $0 $@ | 
|---|
| 6943 |  | 
|---|
| 6944 | on `(hostname || uname -n) 2>/dev/null | sed 1q` | 
|---|
| 6945 | " | 
|---|
| 6946 |  | 
|---|
| 6947 | _ACEOF | 
|---|
| 6948 |  | 
|---|
| 6949 | case $ac_config_files in *" | 
|---|
| 6950 | "*) set x $ac_config_files; shift; ac_config_files=$*;; | 
|---|
| 6951 | esac | 
|---|
| 6952 |  | 
|---|
| 6953 | case $ac_config_headers in *" | 
|---|
| 6954 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; | 
|---|
| 6955 | esac | 
|---|
| 6956 |  | 
|---|
| 6957 |  | 
|---|
| 6958 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
|---|
| 6959 | # Files that config.status was made for. | 
|---|
| 6960 | config_files="$ac_config_files" | 
|---|
| 6961 | config_headers="$ac_config_headers" | 
|---|
| 6962 | config_links="$ac_config_links" | 
|---|
| 6963 | config_commands="$ac_config_commands" | 
|---|
| 6964 |  | 
|---|
| 6965 | _ACEOF | 
|---|
| 6966 |  | 
|---|
| 6967 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
|---|
| 6968 | ac_cs_usage="\ | 
|---|
| 6969 | \`$as_me' instantiates files and other configuration actions | 
|---|
| 6970 | from templates according to the current configuration.  Unless the files | 
|---|
| 6971 | and actions are specified as TAGs, all are instantiated by default. | 
|---|
| 6972 |  | 
|---|
| 6973 | Usage: $0 [OPTION]... [TAG]... | 
|---|
| 6974 |  | 
|---|
| 6975 | -h, --help       print this help, then exit | 
|---|
| 6976 | -V, --version    print version number and configuration settings, then exit | 
|---|
| 6977 | --config     print configuration, then exit | 
|---|
| 6978 | -q, --quiet, --silent | 
|---|
| 6979 | do not print progress messages | 
|---|
| 6980 | -d, --debug      don't remove temporary files | 
|---|
| 6981 | --recheck    update $as_me by reconfiguring in the same conditions | 
|---|
| 6982 | --file=FILE[:TEMPLATE] | 
|---|
| 6983 | instantiate the configuration file FILE | 
|---|
| 6984 | --header=FILE[:TEMPLATE] | 
|---|
| 6985 | instantiate the configuration header FILE | 
|---|
| 6986 |  | 
|---|
| 6987 | Configuration files: | 
|---|
| 6988 | $config_files | 
|---|
| 6989 |  | 
|---|
| 6990 | Configuration headers: | 
|---|
| 6991 | $config_headers | 
|---|
| 6992 |  | 
|---|
| 6993 | Configuration links: | 
|---|
| 6994 | $config_links | 
|---|
| 6995 |  | 
|---|
| 6996 | Configuration commands: | 
|---|
| 6997 | $config_commands | 
|---|
| 6998 |  | 
|---|
| 6999 | Report bugs to <cforall@plg.uwaterloo.ca>." | 
|---|
| 7000 |  | 
|---|
| 7001 | _ACEOF | 
|---|
| 7002 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
|---|
| 7003 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | 
|---|
| 7004 | ac_cs_version="\\ | 
|---|
| 7005 | cfa-cc config.status 1.0.0.0 | 
|---|
| 7006 | configured by $0, generated by GNU Autoconf 2.69, | 
|---|
| 7007 | with options \\"\$ac_cs_config\\" | 
|---|
| 7008 |  | 
|---|
| 7009 | Copyright (C) 2012 Free Software Foundation, Inc. | 
|---|
| 7010 | This config.status script is free software; the Free Software Foundation | 
|---|
| 7011 | gives unlimited permission to copy, distribute and modify it." | 
|---|
| 7012 |  | 
|---|
| 7013 | ac_pwd='$ac_pwd' | 
|---|
| 7014 | srcdir='$srcdir' | 
|---|
| 7015 | INSTALL='$INSTALL' | 
|---|
| 7016 | MKDIR_P='$MKDIR_P' | 
|---|
| 7017 | AWK='$AWK' | 
|---|
| 7018 | test -n "\$AWK" || AWK=awk | 
|---|
| 7019 | _ACEOF | 
|---|
| 7020 |  | 
|---|
| 7021 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
|---|
| 7022 | # The default lists apply if the user does not specify any file. | 
|---|
| 7023 | ac_need_defaults=: | 
|---|
| 7024 | while test $# != 0 | 
|---|
| 7025 | do | 
|---|
| 7026 | case $1 in | 
|---|
| 7027 | --*=?*) | 
|---|
| 7028 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | 
|---|
| 7029 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | 
|---|
| 7030 | ac_shift=: | 
|---|
| 7031 | ;; | 
|---|
| 7032 | --*=) | 
|---|
| 7033 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | 
|---|
| 7034 | ac_optarg= | 
|---|
| 7035 | ac_shift=: | 
|---|
| 7036 | ;; | 
|---|
| 7037 | *) | 
|---|
| 7038 | ac_option=$1 | 
|---|
| 7039 | ac_optarg=$2 | 
|---|
| 7040 | ac_shift=shift | 
|---|
| 7041 | ;; | 
|---|
| 7042 | esac | 
|---|
| 7043 |  | 
|---|
| 7044 | case $ac_option in | 
|---|
| 7045 | # Handling of the options. | 
|---|
| 7046 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 
|---|
| 7047 | ac_cs_recheck=: ;; | 
|---|
| 7048 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | 
|---|
| 7049 | $as_echo "$ac_cs_version"; exit ;; | 
|---|
| 7050 | --config | --confi | --conf | --con | --co | --c ) | 
|---|
| 7051 | $as_echo "$ac_cs_config"; exit ;; | 
|---|
| 7052 | --debug | --debu | --deb | --de | --d | -d ) | 
|---|
| 7053 | debug=: ;; | 
|---|
| 7054 | --file | --fil | --fi | --f ) | 
|---|
| 7055 | $ac_shift | 
|---|
| 7056 | case $ac_optarg in | 
|---|
| 7057 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | 
|---|
| 7058 | '') as_fn_error $? "missing file argument" ;; | 
|---|
| 7059 | esac | 
|---|
| 7060 | as_fn_append CONFIG_FILES " '$ac_optarg'" | 
|---|
| 7061 | ac_need_defaults=false;; | 
|---|
| 7062 | --header | --heade | --head | --hea ) | 
|---|
| 7063 | $ac_shift | 
|---|
| 7064 | case $ac_optarg in | 
|---|
| 7065 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | 
|---|
| 7066 | esac | 
|---|
| 7067 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" | 
|---|
| 7068 | ac_need_defaults=false;; | 
|---|
| 7069 | --he | --h) | 
|---|
| 7070 | # Conflict between --help and --header | 
|---|
| 7071 | as_fn_error $? "ambiguous option: \`$1' | 
|---|
| 7072 | Try \`$0 --help' for more information.";; | 
|---|
| 7073 | --help | --hel | -h ) | 
|---|
| 7074 | $as_echo "$ac_cs_usage"; exit ;; | 
|---|
| 7075 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
|---|
| 7076 | | -silent | --silent | --silen | --sile | --sil | --si | --s) | 
|---|
| 7077 | ac_cs_silent=: ;; | 
|---|
| 7078 |  | 
|---|
| 7079 | # This is an error. | 
|---|
| 7080 | -*) as_fn_error $? "unrecognized option: \`$1' | 
|---|
| 7081 | Try \`$0 --help' for more information." ;; | 
|---|
| 7082 |  | 
|---|
| 7083 | *) as_fn_append ac_config_targets " $1" | 
|---|
| 7084 | ac_need_defaults=false ;; | 
|---|
| 7085 |  | 
|---|
| 7086 | esac | 
|---|
| 7087 | shift | 
|---|
| 7088 | done | 
|---|
| 7089 |  | 
|---|
| 7090 | ac_configure_extra_args= | 
|---|
| 7091 |  | 
|---|
| 7092 | if $ac_cs_silent; then | 
|---|
| 7093 | exec 6>/dev/null | 
|---|
| 7094 | ac_configure_extra_args="$ac_configure_extra_args --silent" | 
|---|
| 7095 | fi | 
|---|
| 7096 |  | 
|---|
| 7097 | _ACEOF | 
|---|
| 7098 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
|---|
| 7099 | if \$ac_cs_recheck; then | 
|---|
| 7100 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | 
|---|
| 7101 | shift | 
|---|
| 7102 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | 
|---|
| 7103 | CONFIG_SHELL='$SHELL' | 
|---|
| 7104 | export CONFIG_SHELL | 
|---|
| 7105 | exec "\$@" | 
|---|
| 7106 | fi | 
|---|
| 7107 |  | 
|---|
| 7108 | _ACEOF | 
|---|
| 7109 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
|---|
| 7110 | exec 5>>config.log | 
|---|
| 7111 | { | 
|---|
| 7112 | echo | 
|---|
| 7113 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | 
|---|
| 7114 | ## Running $as_me. ## | 
|---|
| 7115 | _ASBOX | 
|---|
| 7116 | $as_echo "$ac_log" | 
|---|
| 7117 | } >&5 | 
|---|
| 7118 |  | 
|---|
| 7119 | _ACEOF | 
|---|
| 7120 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
|---|
| 7121 | # | 
|---|
| 7122 | # INIT-COMMANDS | 
|---|
| 7123 | # | 
|---|
| 7124 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | 
|---|
| 7125 |  | 
|---|
| 7126 | _ACEOF | 
|---|
| 7127 |  | 
|---|
| 7128 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
|---|
| 7129 |  | 
|---|
| 7130 | # Handling of arguments. | 
|---|
| 7131 | for ac_config_target in $ac_config_targets | 
|---|
| 7132 | do | 
|---|
| 7133 | case $ac_config_target in | 
|---|
| 7134 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:src/config.h.in" ;; | 
|---|
| 7135 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | 
|---|
| 7136 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | 
|---|
| 7137 | "driver/Makefile") CONFIG_FILES="$CONFIG_FILES driver/Makefile" ;; | 
|---|
| 7138 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; | 
|---|
| 7139 | "benchmark/Makefile") CONFIG_FILES="$CONFIG_FILES benchmark/Makefile" ;; | 
|---|
| 7140 | "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; | 
|---|
| 7141 | "tests/preempt_longrun/Makefile") CONFIG_FILES="$CONFIG_FILES tests/preempt_longrun/Makefile" ;; | 
|---|
| 7142 | "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; | 
|---|
| 7143 | "tools/prettyprinter/Makefile") CONFIG_FILES="$CONFIG_FILES tools/prettyprinter/Makefile" ;; | 
|---|
| 7144 | "tests/test.py") CONFIG_LINKS="$CONFIG_LINKS tests/test.py:tests/test.py" ;; | 
|---|
| 7145 | "tests/config.py") CONFIG_FILES="$CONFIG_FILES tests/config.py" ;; | 
|---|
| 7146 |  | 
|---|
| 7147 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | 
|---|
| 7148 | esac | 
|---|
| 7149 | done | 
|---|
| 7150 |  | 
|---|
| 7151 |  | 
|---|
| 7152 | # If the user did not use the arguments to specify the items to instantiate, | 
|---|
| 7153 | # then the envvar interface is used.  Set only those that are not. | 
|---|
| 7154 | # We use the long form for the default assignment because of an extremely | 
|---|
| 7155 | # bizarre bug on SunOS 4.1.3. | 
|---|
| 7156 | if $ac_need_defaults; then | 
|---|
| 7157 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | 
|---|
| 7158 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | 
|---|
| 7159 | test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links | 
|---|
| 7160 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | 
|---|
| 7161 | fi | 
|---|
| 7162 |  | 
|---|
| 7163 | # Have a temporary directory for convenience.  Make it in the build tree | 
|---|
| 7164 | # simply because there is no reason against having it here, and in addition, | 
|---|
| 7165 | # creating and moving files from /tmp can sometimes cause problems. | 
|---|
| 7166 | # Hook for its removal unless debugging. | 
|---|
| 7167 | # Note that there is a small window in which the directory will not be cleaned: | 
|---|
| 7168 | # after its creation but before its name has been assigned to `$tmp'. | 
|---|
| 7169 | $debug || | 
|---|
| 7170 | { | 
|---|
| 7171 | tmp= ac_tmp= | 
|---|
| 7172 | trap 'exit_status=$? | 
|---|
| 7173 | : "${ac_tmp:=$tmp}" | 
|---|
| 7174 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status | 
|---|
| 7175 | ' 0 | 
|---|
| 7176 | trap 'as_fn_exit 1' 1 2 13 15 | 
|---|
| 7177 | } | 
|---|
| 7178 | # Create a (secure) tmp directory for tmp files. | 
|---|
| 7179 |  | 
|---|
| 7180 | { | 
|---|
| 7181 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | 
|---|
| 7182 | test -d "$tmp" | 
|---|
| 7183 | }  || | 
|---|
| 7184 | { | 
|---|
| 7185 | tmp=./conf$$-$RANDOM | 
|---|
| 7186 | (umask 077 && mkdir "$tmp") | 
|---|
| 7187 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 | 
|---|
| 7188 | ac_tmp=$tmp | 
|---|
| 7189 |  | 
|---|
| 7190 | # Set up the scripts for CONFIG_FILES section. | 
|---|
| 7191 | # No need to generate them if there are no CONFIG_FILES. | 
|---|
| 7192 | # This happens for instance with `./config.status config.h'. | 
|---|
| 7193 | if test -n "$CONFIG_FILES"; then | 
|---|
| 7194 |  | 
|---|
| 7195 |  | 
|---|
| 7196 | ac_cr=`echo X | tr X '\015'` | 
|---|
| 7197 | # On cygwin, bash can eat \r inside `` if the user requested igncr. | 
|---|
| 7198 | # But we know of no other shell where ac_cr would be empty at this | 
|---|
| 7199 | # point, so we can use a bashism as a fallback. | 
|---|
| 7200 | if test "x$ac_cr" = x; then | 
|---|
| 7201 | eval ac_cr=\$\'\\r\' | 
|---|
| 7202 | fi | 
|---|
| 7203 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | 
|---|
| 7204 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | 
|---|
| 7205 | ac_cs_awk_cr='\\r' | 
|---|
| 7206 | else | 
|---|
| 7207 | ac_cs_awk_cr=$ac_cr | 
|---|
| 7208 | fi | 
|---|
| 7209 |  | 
|---|
| 7210 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && | 
|---|
| 7211 | _ACEOF | 
|---|
| 7212 |  | 
|---|
| 7213 |  | 
|---|
| 7214 | { | 
|---|
| 7215 | echo "cat >conf$$subs.awk <<_ACEOF" && | 
|---|
| 7216 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | 
|---|
| 7217 | echo "_ACEOF" | 
|---|
| 7218 | } >conf$$subs.sh || | 
|---|
| 7219 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 
|---|
| 7220 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | 
|---|
| 7221 | ac_delim='%!_!# ' | 
|---|
| 7222 | for ac_last_try in false false false false false :; do | 
|---|
| 7223 | . ./conf$$subs.sh || | 
|---|
| 7224 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 
|---|
| 7225 |  | 
|---|
| 7226 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | 
|---|
| 7227 | if test $ac_delim_n = $ac_delim_num; then | 
|---|
| 7228 | break | 
|---|
| 7229 | elif $ac_last_try; then | 
|---|
| 7230 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 
|---|
| 7231 | else | 
|---|
| 7232 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 
|---|
| 7233 | fi | 
|---|
| 7234 | done | 
|---|
| 7235 | rm -f conf$$subs.sh | 
|---|
| 7236 |  | 
|---|
| 7237 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
|---|
| 7238 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && | 
|---|
| 7239 | _ACEOF | 
|---|
| 7240 | sed -n ' | 
|---|
| 7241 | h | 
|---|
| 7242 | s/^/S["/; s/!.*/"]=/ | 
|---|
| 7243 | p | 
|---|
| 7244 | g | 
|---|
| 7245 | s/^[^!]*!// | 
|---|
| 7246 | :repl | 
|---|
| 7247 | t repl | 
|---|
| 7248 | s/'"$ac_delim"'$// | 
|---|
| 7249 | t delim | 
|---|
| 7250 | :nl | 
|---|
| 7251 | h | 
|---|
| 7252 | s/\(.\{148\}\)..*/\1/ | 
|---|
| 7253 | t more1 | 
|---|
| 7254 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | 
|---|
| 7255 | p | 
|---|
| 7256 | n | 
|---|
| 7257 | b repl | 
|---|
| 7258 | :more1 | 
|---|
| 7259 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | 
|---|
| 7260 | p | 
|---|
| 7261 | g | 
|---|
| 7262 | s/.\{148\}// | 
|---|
| 7263 | t nl | 
|---|
| 7264 | :delim | 
|---|
| 7265 | h | 
|---|
| 7266 | s/\(.\{148\}\)..*/\1/ | 
|---|
| 7267 | t more2 | 
|---|
| 7268 | s/["\\]/\\&/g; s/^/"/; s/$/"/ | 
|---|
| 7269 | p | 
|---|
| 7270 | b | 
|---|
| 7271 | :more2 | 
|---|
| 7272 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | 
|---|
| 7273 | p | 
|---|
| 7274 | g | 
|---|
| 7275 | s/.\{148\}// | 
|---|
| 7276 | t delim | 
|---|
| 7277 | ' <conf$$subs.awk | sed ' | 
|---|
| 7278 | /^[^""]/{ | 
|---|
| 7279 | N | 
|---|
| 7280 | s/\n// | 
|---|
| 7281 | } | 
|---|
| 7282 | ' >>$CONFIG_STATUS || ac_write_fail=1 | 
|---|
| 7283 | rm -f conf$$subs.awk | 
|---|
| 7284 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
|---|
| 7285 | _ACAWK | 
|---|
| 7286 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && | 
|---|
| 7287 | for (key in S) S_is_set[key] = 1 | 
|---|
| 7288 | FS = "" | 
|---|
| 7289 |  | 
|---|
| 7290 | } | 
|---|
| 7291 | { | 
|---|
| 7292 | line = $ 0 | 
|---|
| 7293 | nfields = split(line, field, "@") | 
|---|
| 7294 | substed = 0 | 
|---|
| 7295 | len = length(field[1]) | 
|---|
| 7296 | for (i = 2; i < nfields; i++) { | 
|---|
| 7297 | key = field[i] | 
|---|
| 7298 | keylen = length(key) | 
|---|
| 7299 | if (S_is_set[key]) { | 
|---|
| 7300 | value = S[key] | 
|---|
| 7301 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | 
|---|
| 7302 | len += length(value) + length(field[++i]) | 
|---|
| 7303 | substed = 1 | 
|---|
| 7304 | } else | 
|---|
| 7305 | len += 1 + keylen | 
|---|
| 7306 | } | 
|---|
| 7307 |  | 
|---|
| 7308 | print line | 
|---|
| 7309 | } | 
|---|
| 7310 |  | 
|---|
| 7311 | _ACAWK | 
|---|
| 7312 | _ACEOF | 
|---|
| 7313 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
|---|
| 7314 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | 
|---|
| 7315 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | 
|---|
| 7316 | else | 
|---|
| 7317 | cat | 
|---|
| 7318 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ | 
|---|
| 7319 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | 
|---|
| 7320 | _ACEOF | 
|---|
| 7321 |  | 
|---|
| 7322 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), | 
|---|
| 7323 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | 
|---|
| 7324 | # trailing colons and then remove the whole line if VPATH becomes empty | 
|---|
| 7325 | # (actually we leave an empty line to preserve line numbers). | 
|---|
| 7326 | if test "x$srcdir" = x.; then | 
|---|
| 7327 | ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{ | 
|---|
| 7328 | h | 
|---|
| 7329 | s/// | 
|---|
| 7330 | s/^/:/ | 
|---|
| 7331 | s/[      ]*$/:/ | 
|---|
| 7332 | s/:\$(srcdir):/:/g | 
|---|
| 7333 | s/:\${srcdir}:/:/g | 
|---|
| 7334 | s/:@srcdir@:/:/g | 
|---|
| 7335 | s/^:*// | 
|---|
| 7336 | s/:*$// | 
|---|
| 7337 | x | 
|---|
| 7338 | s/\(=[   ]*\).*/\1/ | 
|---|
| 7339 | G | 
|---|
| 7340 | s/\n// | 
|---|
| 7341 | s/^[^=]*=[       ]*$// | 
|---|
| 7342 | }' | 
|---|
| 7343 | fi | 
|---|
| 7344 |  | 
|---|
| 7345 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
|---|
| 7346 | fi # test -n "$CONFIG_FILES" | 
|---|
| 7347 |  | 
|---|
| 7348 | # Set up the scripts for CONFIG_HEADERS section. | 
|---|
| 7349 | # No need to generate them if there are no CONFIG_HEADERS. | 
|---|
| 7350 | # This happens for instance with `./config.status Makefile'. | 
|---|
| 7351 | if test -n "$CONFIG_HEADERS"; then | 
|---|
| 7352 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || | 
|---|
| 7353 | BEGIN { | 
|---|
| 7354 | _ACEOF | 
|---|
| 7355 |  | 
|---|
| 7356 | # Transform confdefs.h into an awk script `defines.awk', embedded as | 
|---|
| 7357 | # here-document in config.status, that substitutes the proper values into | 
|---|
| 7358 | # config.h.in to produce config.h. | 
|---|
| 7359 |  | 
|---|
| 7360 | # Create a delimiter string that does not exist in confdefs.h, to ease | 
|---|
| 7361 | # handling of long lines. | 
|---|
| 7362 | ac_delim='%!_!# ' | 
|---|
| 7363 | for ac_last_try in false false :; do | 
|---|
| 7364 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` | 
|---|
| 7365 | if test -z "$ac_tt"; then | 
|---|
| 7366 | break | 
|---|
| 7367 | elif $ac_last_try; then | 
|---|
| 7368 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 | 
|---|
| 7369 | else | 
|---|
| 7370 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 
|---|
| 7371 | fi | 
|---|
| 7372 | done | 
|---|
| 7373 |  | 
|---|
| 7374 | # For the awk script, D is an array of macro values keyed by name, | 
|---|
| 7375 | # likewise P contains macro parameters if any.  Preserve backslash | 
|---|
| 7376 | # newline sequences. | 
|---|
| 7377 |  | 
|---|
| 7378 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | 
|---|
| 7379 | sed -n ' | 
|---|
| 7380 | s/.\{148\}/&'"$ac_delim"'/g | 
|---|
| 7381 | t rset | 
|---|
| 7382 | :rset | 
|---|
| 7383 | s/^[     ]*#[    ]*define[       ][      ]*/ / | 
|---|
| 7384 | t def | 
|---|
| 7385 | d | 
|---|
| 7386 | :def | 
|---|
| 7387 | s/\\$// | 
|---|
| 7388 | t bsnl | 
|---|
| 7389 | s/["\\]/\\&/g | 
|---|
| 7390 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\ | 
|---|
| 7391 | D["\1"]=" \3"/p | 
|---|
| 7392 | s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p | 
|---|
| 7393 | d | 
|---|
| 7394 | :bsnl | 
|---|
| 7395 | s/["\\]/\\&/g | 
|---|
| 7396 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\ | 
|---|
| 7397 | D["\1"]=" \3\\\\\\n"\\/p | 
|---|
| 7398 | t cont | 
|---|
| 7399 | s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p | 
|---|
| 7400 | t cont | 
|---|
| 7401 | d | 
|---|
| 7402 | :cont | 
|---|
| 7403 | n | 
|---|
| 7404 | s/.\{148\}/&'"$ac_delim"'/g | 
|---|
| 7405 | t clear | 
|---|
| 7406 | :clear | 
|---|
| 7407 | s/\\$// | 
|---|
| 7408 | t bsnlc | 
|---|
| 7409 | s/["\\]/\\&/g; s/^/"/; s/$/"/p | 
|---|
| 7410 | d | 
|---|
| 7411 | :bsnlc | 
|---|
| 7412 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p | 
|---|
| 7413 | b cont | 
|---|
| 7414 | ' <confdefs.h | sed ' | 
|---|
| 7415 | s/'"$ac_delim"'/"\\\ | 
|---|
| 7416 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 | 
|---|
| 7417 |  | 
|---|
| 7418 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
|---|
| 7419 | for (key in D) D_is_set[key] = 1 | 
|---|
| 7420 | FS = "" | 
|---|
| 7421 | } | 
|---|
| 7422 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { | 
|---|
| 7423 | line = \$ 0 | 
|---|
| 7424 | split(line, arg, " ") | 
|---|
| 7425 | if (arg[1] == "#") { | 
|---|
| 7426 | defundef = arg[2] | 
|---|
| 7427 | mac1 = arg[3] | 
|---|
| 7428 | } else { | 
|---|
| 7429 | defundef = substr(arg[1], 2) | 
|---|
| 7430 | mac1 = arg[2] | 
|---|
| 7431 | } | 
|---|
| 7432 | split(mac1, mac2, "(") #) | 
|---|
| 7433 | macro = mac2[1] | 
|---|
| 7434 | prefix = substr(line, 1, index(line, defundef) - 1) | 
|---|
| 7435 | if (D_is_set[macro]) { | 
|---|
| 7436 | # Preserve the white space surrounding the "#". | 
|---|
| 7437 | print prefix "define", macro P[macro] D[macro] | 
|---|
| 7438 | next | 
|---|
| 7439 | } else { | 
|---|
| 7440 | # Replace #undef with comments.  This is necessary, for example, | 
|---|
| 7441 | # in the case of _POSIX_SOURCE, which is predefined and required | 
|---|
| 7442 | # on some systems where configure will not decide to define it. | 
|---|
| 7443 | if (defundef == "undef") { | 
|---|
| 7444 | print "/*", prefix defundef, macro, "*/" | 
|---|
| 7445 | next | 
|---|
| 7446 | } | 
|---|
| 7447 | } | 
|---|
| 7448 | } | 
|---|
| 7449 | { print } | 
|---|
| 7450 | _ACAWK | 
|---|
| 7451 | _ACEOF | 
|---|
| 7452 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
|---|
| 7453 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 | 
|---|
| 7454 | fi # test -n "$CONFIG_HEADERS" | 
|---|
| 7455 |  | 
|---|
| 7456 |  | 
|---|
| 7457 | eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS  :L $CONFIG_LINKS  :C $CONFIG_COMMANDS" | 
|---|
| 7458 | shift | 
|---|
| 7459 | for ac_tag | 
|---|
| 7460 | do | 
|---|
| 7461 | case $ac_tag in | 
|---|
| 7462 | :[FHLC]) ac_mode=$ac_tag; continue;; | 
|---|
| 7463 | esac | 
|---|
| 7464 | case $ac_mode$ac_tag in | 
|---|
| 7465 | :[FHL]*:*);; | 
|---|
| 7466 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; | 
|---|
| 7467 | :[FH]-) ac_tag=-:-;; | 
|---|
| 7468 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | 
|---|
| 7469 | esac | 
|---|
| 7470 | ac_save_IFS=$IFS | 
|---|
| 7471 | IFS=: | 
|---|
| 7472 | set x $ac_tag | 
|---|
| 7473 | IFS=$ac_save_IFS | 
|---|
| 7474 | shift | 
|---|
| 7475 | ac_file=$1 | 
|---|
| 7476 | shift | 
|---|
| 7477 |  | 
|---|
| 7478 | case $ac_mode in | 
|---|
| 7479 | :L) ac_source=$1;; | 
|---|
| 7480 | :[FH]) | 
|---|
| 7481 | ac_file_inputs= | 
|---|
| 7482 | for ac_f | 
|---|
| 7483 | do | 
|---|
| 7484 | case $ac_f in | 
|---|
| 7485 | -) ac_f="$ac_tmp/stdin";; | 
|---|
| 7486 | *) # Look for the file first in the build tree, then in the source tree | 
|---|
| 7487 | # (if the path is not absolute).  The absolute path cannot be DOS-style, | 
|---|
| 7488 | # because $ac_f cannot contain `:'. | 
|---|
| 7489 | test -f "$ac_f" || | 
|---|
| 7490 | case $ac_f in | 
|---|
| 7491 | [\\/$]*) false;; | 
|---|
| 7492 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | 
|---|
| 7493 | esac || | 
|---|
| 7494 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; | 
|---|
| 7495 | esac | 
|---|
| 7496 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | 
|---|
| 7497 | as_fn_append ac_file_inputs " '$ac_f'" | 
|---|
| 7498 | done | 
|---|
| 7499 |  | 
|---|
| 7500 | # Let's still pretend it is `configure' which instantiates (i.e., don't | 
|---|
| 7501 | # use $as_me), people would be surprised to read: | 
|---|
| 7502 | #    /* config.h.  Generated by config.status.  */ | 
|---|
| 7503 | configure_input='Generated from '` | 
|---|
| 7504 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | 
|---|
| 7505 | `' by configure.' | 
|---|
| 7506 | if test x"$ac_file" != x-; then | 
|---|
| 7507 | configure_input="$ac_file.  $configure_input" | 
|---|
| 7508 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | 
|---|
| 7509 | $as_echo "$as_me: creating $ac_file" >&6;} | 
|---|
| 7510 | fi | 
|---|
| 7511 | # Neutralize special characters interpreted by sed in replacement strings. | 
|---|
| 7512 | case $configure_input in #( | 
|---|
| 7513 | *\&* | *\|* | *\\* ) | 
|---|
| 7514 | ac_sed_conf_input=`$as_echo "$configure_input" | | 
|---|
| 7515 | sed 's/[\\\\&|]/\\\\&/g'`;; #( | 
|---|
| 7516 | *) ac_sed_conf_input=$configure_input;; | 
|---|
| 7517 | esac | 
|---|
| 7518 |  | 
|---|
| 7519 | case $ac_tag in | 
|---|
| 7520 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ | 
|---|
| 7521 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | 
|---|
| 7522 | esac | 
|---|
| 7523 | ;; | 
|---|
| 7524 | esac | 
|---|
| 7525 |  | 
|---|
| 7526 | ac_dir=`$as_dirname -- "$ac_file" || | 
|---|
| 7527 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 7528 | X"$ac_file" : 'X\(//\)[^/]' \| \ | 
|---|
| 7529 | X"$ac_file" : 'X\(//\)$' \| \ | 
|---|
| 7530 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | 
|---|
| 7531 | $as_echo X"$ac_file" | | 
|---|
| 7532 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 
|---|
| 7533 | s//\1/ | 
|---|
| 7534 | q | 
|---|
| 7535 | } | 
|---|
| 7536 | /^X\(\/\/\)[^/].*/{ | 
|---|
| 7537 | s//\1/ | 
|---|
| 7538 | q | 
|---|
| 7539 | } | 
|---|
| 7540 | /^X\(\/\/\)$/{ | 
|---|
| 7541 | s//\1/ | 
|---|
| 7542 | q | 
|---|
| 7543 | } | 
|---|
| 7544 | /^X\(\/\).*/{ | 
|---|
| 7545 | s//\1/ | 
|---|
| 7546 | q | 
|---|
| 7547 | } | 
|---|
| 7548 | s/.*/./; q'` | 
|---|
| 7549 | as_dir="$ac_dir"; as_fn_mkdir_p | 
|---|
| 7550 | ac_builddir=. | 
|---|
| 7551 |  | 
|---|
| 7552 | case "$ac_dir" in | 
|---|
| 7553 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 
|---|
| 7554 | *) | 
|---|
| 7555 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | 
|---|
| 7556 | # A ".." for each directory in $ac_dir_suffix. | 
|---|
| 7557 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | 
|---|
| 7558 | case $ac_top_builddir_sub in | 
|---|
| 7559 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | 
|---|
| 7560 | *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;; | 
|---|
| 7561 | esac ;; | 
|---|
| 7562 | esac | 
|---|
| 7563 | ac_abs_top_builddir=$ac_pwd | 
|---|
| 7564 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | 
|---|
| 7565 | # for backward compatibility: | 
|---|
| 7566 | ac_top_builddir=$ac_top_build_prefix | 
|---|
| 7567 |  | 
|---|
| 7568 | case $srcdir in | 
|---|
| 7569 | .)  # We are building in place. | 
|---|
| 7570 | ac_srcdir=. | 
|---|
| 7571 | ac_top_srcdir=$ac_top_builddir_sub | 
|---|
| 7572 | ac_abs_top_srcdir=$ac_pwd ;; | 
|---|
| 7573 | [\\/]* | ?:[\\/]* )  # Absolute name. | 
|---|
| 7574 | ac_srcdir=$srcdir$ac_dir_suffix; | 
|---|
| 7575 | ac_top_srcdir=$srcdir | 
|---|
| 7576 | ac_abs_top_srcdir=$srcdir ;; | 
|---|
| 7577 | *) # Relative name. | 
|---|
| 7578 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | 
|---|
| 7579 | ac_top_srcdir=$ac_top_build_prefix$srcdir | 
|---|
| 7580 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | 
|---|
| 7581 | esac | 
|---|
| 7582 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | 
|---|
| 7583 |  | 
|---|
| 7584 |  | 
|---|
| 7585 | case $ac_mode in | 
|---|
| 7586 | :F) | 
|---|
| 7587 | # | 
|---|
| 7588 | # CONFIG_FILE | 
|---|
| 7589 | # | 
|---|
| 7590 |  | 
|---|
| 7591 | case $INSTALL in | 
|---|
| 7592 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 
|---|
| 7593 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; | 
|---|
| 7594 | esac | 
|---|
| 7595 | ac_MKDIR_P=$MKDIR_P | 
|---|
| 7596 | case $MKDIR_P in | 
|---|
| 7597 | [\\/$]* | ?:[\\/]* ) ;; | 
|---|
| 7598 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; | 
|---|
| 7599 | esac | 
|---|
| 7600 | _ACEOF | 
|---|
| 7601 |  | 
|---|
| 7602 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
|---|
| 7603 | # If the template does not know about datarootdir, expand it. | 
|---|
| 7604 | # FIXME: This hack should be removed a few years after 2.60. | 
|---|
| 7605 | ac_datarootdir_hack=; ac_datarootdir_seen= | 
|---|
| 7606 | ac_sed_dataroot=' | 
|---|
| 7607 | /datarootdir/ { | 
|---|
| 7608 | p | 
|---|
| 7609 | q | 
|---|
| 7610 | } | 
|---|
| 7611 | /@datadir@/p | 
|---|
| 7612 | /@docdir@/p | 
|---|
| 7613 | /@infodir@/p | 
|---|
| 7614 | /@localedir@/p | 
|---|
| 7615 | /@mandir@/p' | 
|---|
| 7616 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | 
|---|
| 7617 | *datarootdir*) ac_datarootdir_seen=yes;; | 
|---|
| 7618 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | 
|---|
| 7619 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | 
|---|
| 7620 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | 
|---|
| 7621 | _ACEOF | 
|---|
| 7622 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
|---|
| 7623 | ac_datarootdir_hack=' | 
|---|
| 7624 | s&@datadir@&$datadir&g | 
|---|
| 7625 | s&@docdir@&$docdir&g | 
|---|
| 7626 | s&@infodir@&$infodir&g | 
|---|
| 7627 | s&@localedir@&$localedir&g | 
|---|
| 7628 | s&@mandir@&$mandir&g | 
|---|
| 7629 | s&\\\${datarootdir}&$datarootdir&g' ;; | 
|---|
| 7630 | esac | 
|---|
| 7631 | _ACEOF | 
|---|
| 7632 |  | 
|---|
| 7633 | # Neutralize VPATH when `$srcdir' = `.'. | 
|---|
| 7634 | # Shell code in configure.ac might set extrasub. | 
|---|
| 7635 | # FIXME: do we really want to maintain this feature? | 
|---|
| 7636 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
|---|
| 7637 | ac_sed_extra="$ac_vpsub | 
|---|
| 7638 | $extrasub | 
|---|
| 7639 | _ACEOF | 
|---|
| 7640 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
|---|
| 7641 | :t | 
|---|
| 7642 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 
|---|
| 7643 | s|@configure_input@|$ac_sed_conf_input|;t t | 
|---|
| 7644 | s&@top_builddir@&$ac_top_builddir_sub&;t t | 
|---|
| 7645 | s&@top_build_prefix@&$ac_top_build_prefix&;t t | 
|---|
| 7646 | s&@srcdir@&$ac_srcdir&;t t | 
|---|
| 7647 | s&@abs_srcdir@&$ac_abs_srcdir&;t t | 
|---|
| 7648 | s&@top_srcdir@&$ac_top_srcdir&;t t | 
|---|
| 7649 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | 
|---|
| 7650 | s&@builddir@&$ac_builddir&;t t | 
|---|
| 7651 | s&@abs_builddir@&$ac_abs_builddir&;t t | 
|---|
| 7652 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | 
|---|
| 7653 | s&@INSTALL@&$ac_INSTALL&;t t | 
|---|
| 7654 | s&@MKDIR_P@&$ac_MKDIR_P&;t t | 
|---|
| 7655 | $ac_datarootdir_hack | 
|---|
| 7656 | " | 
|---|
| 7657 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ | 
|---|
| 7658 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 
|---|
| 7659 |  | 
|---|
| 7660 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 
|---|
| 7661 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && | 
|---|
| 7662 | { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \ | 
|---|
| 7663 | "$ac_tmp/out"`; test -z "$ac_out"; } && | 
|---|
| 7664 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 
|---|
| 7665 | which seems to be undefined.  Please make sure it is defined" >&5 | 
|---|
| 7666 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 
|---|
| 7667 | which seems to be undefined.  Please make sure it is defined" >&2;} | 
|---|
| 7668 |  | 
|---|
| 7669 | rm -f "$ac_tmp/stdin" | 
|---|
| 7670 | case $ac_file in | 
|---|
| 7671 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; | 
|---|
| 7672 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; | 
|---|
| 7673 | esac \ | 
|---|
| 7674 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 
|---|
| 7675 | ;; | 
|---|
| 7676 | :H) | 
|---|
| 7677 | # | 
|---|
| 7678 | # CONFIG_HEADER | 
|---|
| 7679 | # | 
|---|
| 7680 | if test x"$ac_file" != x-; then | 
|---|
| 7681 | { | 
|---|
| 7682 | $as_echo "/* $configure_input  */" \ | 
|---|
| 7683 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" | 
|---|
| 7684 | } >"$ac_tmp/config.h" \ | 
|---|
| 7685 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 
|---|
| 7686 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then | 
|---|
| 7687 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | 
|---|
| 7688 | $as_echo "$as_me: $ac_file is unchanged" >&6;} | 
|---|
| 7689 | else | 
|---|
| 7690 | rm -f "$ac_file" | 
|---|
| 7691 | mv "$ac_tmp/config.h" "$ac_file" \ | 
|---|
| 7692 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 
|---|
| 7693 | fi | 
|---|
| 7694 | else | 
|---|
| 7695 | $as_echo "/* $configure_input  */" \ | 
|---|
| 7696 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ | 
|---|
| 7697 | || as_fn_error $? "could not create -" "$LINENO" 5 | 
|---|
| 7698 | fi | 
|---|
| 7699 | # Compute "$ac_file"'s index in $config_headers. | 
|---|
| 7700 | _am_arg="$ac_file" | 
|---|
| 7701 | _am_stamp_count=1 | 
|---|
| 7702 | for _am_header in $config_headers :; do | 
|---|
| 7703 | case $_am_header in | 
|---|
| 7704 | $_am_arg | $_am_arg:* ) | 
|---|
| 7705 | break ;; | 
|---|
| 7706 | * ) | 
|---|
| 7707 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; | 
|---|
| 7708 | esac | 
|---|
| 7709 | done | 
|---|
| 7710 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || | 
|---|
| 7711 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 7712 | X"$_am_arg" : 'X\(//\)[^/]' \| \ | 
|---|
| 7713 | X"$_am_arg" : 'X\(//\)$' \| \ | 
|---|
| 7714 | X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || | 
|---|
| 7715 | $as_echo X"$_am_arg" | | 
|---|
| 7716 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 
|---|
| 7717 | s//\1/ | 
|---|
| 7718 | q | 
|---|
| 7719 | } | 
|---|
| 7720 | /^X\(\/\/\)[^/].*/{ | 
|---|
| 7721 | s//\1/ | 
|---|
| 7722 | q | 
|---|
| 7723 | } | 
|---|
| 7724 | /^X\(\/\/\)$/{ | 
|---|
| 7725 | s//\1/ | 
|---|
| 7726 | q | 
|---|
| 7727 | } | 
|---|
| 7728 | /^X\(\/\).*/{ | 
|---|
| 7729 | s//\1/ | 
|---|
| 7730 | q | 
|---|
| 7731 | } | 
|---|
| 7732 | s/.*/./; q'`/stamp-h$_am_stamp_count | 
|---|
| 7733 | ;; | 
|---|
| 7734 | :L) | 
|---|
| 7735 | # | 
|---|
| 7736 | # CONFIG_LINK | 
|---|
| 7737 | # | 
|---|
| 7738 |  | 
|---|
| 7739 | if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then | 
|---|
| 7740 | : | 
|---|
| 7741 | else | 
|---|
| 7742 | # Prefer the file from the source tree if names are identical. | 
|---|
| 7743 | if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then | 
|---|
| 7744 | ac_source=$srcdir/$ac_source | 
|---|
| 7745 | fi | 
|---|
| 7746 |  | 
|---|
| 7747 | { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5 | 
|---|
| 7748 | $as_echo "$as_me: linking $ac_source to $ac_file" >&6;} | 
|---|
| 7749 |  | 
|---|
| 7750 | if test ! -r "$ac_source"; then | 
|---|
| 7751 | as_fn_error $? "$ac_source: file not found" "$LINENO" 5 | 
|---|
| 7752 | fi | 
|---|
| 7753 | rm -f "$ac_file" | 
|---|
| 7754 |  | 
|---|
| 7755 | # Try a relative symlink, then a hard link, then a copy. | 
|---|
| 7756 | case $ac_source in | 
|---|
| 7757 | [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;; | 
|---|
| 7758 | *) ac_rel_source=$ac_top_build_prefix$ac_source ;; | 
|---|
| 7759 | esac | 
|---|
| 7760 | ln -s "$ac_rel_source" "$ac_file" 2>/dev/null || | 
|---|
| 7761 | ln "$ac_source" "$ac_file" 2>/dev/null || | 
|---|
| 7762 | cp -p "$ac_source" "$ac_file" || | 
|---|
| 7763 | as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5 | 
|---|
| 7764 | fi | 
|---|
| 7765 | ;; | 
|---|
| 7766 | :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | 
|---|
| 7767 | $as_echo "$as_me: executing $ac_file commands" >&6;} | 
|---|
| 7768 | ;; | 
|---|
| 7769 | esac | 
|---|
| 7770 |  | 
|---|
| 7771 |  | 
|---|
| 7772 | case $ac_file$ac_mode in | 
|---|
| 7773 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { | 
|---|
| 7774 | # Older Autoconf quotes --file arguments for eval, but not when files | 
|---|
| 7775 | # are listed without --file.  Let's play safe and only enable the eval | 
|---|
| 7776 | # if we detect the quoting. | 
|---|
| 7777 | case $CONFIG_FILES in | 
|---|
| 7778 | *\'*) eval set x "$CONFIG_FILES" ;; | 
|---|
| 7779 | *)   set x $CONFIG_FILES ;; | 
|---|
| 7780 | esac | 
|---|
| 7781 | shift | 
|---|
| 7782 | for mf | 
|---|
| 7783 | do | 
|---|
| 7784 | # Strip MF so we end up with the name of the file. | 
|---|
| 7785 | mf=`echo "$mf" | sed -e 's/:.*$//'` | 
|---|
| 7786 | # Check whether this is an Automake generated Makefile or not. | 
|---|
| 7787 | # We used to match only the files named 'Makefile.in', but | 
|---|
| 7788 | # some people rename them; so instead we look at the file content. | 
|---|
| 7789 | # Grep'ing the first line is not enough: some people post-process | 
|---|
| 7790 | # each Makefile.in and add a new line on top of each file to say so. | 
|---|
| 7791 | # Grep'ing the whole file is not good either: AIX grep has a line | 
|---|
| 7792 | # limit of 2048, but all sed's we know have understand at least 4000. | 
|---|
| 7793 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | 
|---|
| 7794 | dirpart=`$as_dirname -- "$mf" || | 
|---|
| 7795 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 7796 | X"$mf" : 'X\(//\)[^/]' \| \ | 
|---|
| 7797 | X"$mf" : 'X\(//\)$' \| \ | 
|---|
| 7798 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || | 
|---|
| 7799 | $as_echo X"$mf" | | 
|---|
| 7800 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 
|---|
| 7801 | s//\1/ | 
|---|
| 7802 | q | 
|---|
| 7803 | } | 
|---|
| 7804 | /^X\(\/\/\)[^/].*/{ | 
|---|
| 7805 | s//\1/ | 
|---|
| 7806 | q | 
|---|
| 7807 | } | 
|---|
| 7808 | /^X\(\/\/\)$/{ | 
|---|
| 7809 | s//\1/ | 
|---|
| 7810 | q | 
|---|
| 7811 | } | 
|---|
| 7812 | /^X\(\/\).*/{ | 
|---|
| 7813 | s//\1/ | 
|---|
| 7814 | q | 
|---|
| 7815 | } | 
|---|
| 7816 | s/.*/./; q'` | 
|---|
| 7817 | else | 
|---|
| 7818 | continue | 
|---|
| 7819 | fi | 
|---|
| 7820 | # Extract the definition of DEPDIR, am__include, and am__quote | 
|---|
| 7821 | # from the Makefile without running 'make'. | 
|---|
| 7822 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | 
|---|
| 7823 | test -z "$DEPDIR" && continue | 
|---|
| 7824 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | 
|---|
| 7825 | test -z "$am__include" && continue | 
|---|
| 7826 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | 
|---|
| 7827 | # Find all dependency output files, they are included files with | 
|---|
| 7828 | # $(DEPDIR) in their names.  We invoke sed twice because it is the | 
|---|
| 7829 | # simplest approach to changing $(DEPDIR) to its actual value in the | 
|---|
| 7830 | # expansion. | 
|---|
| 7831 | for file in `sed -n " | 
|---|
| 7832 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | 
|---|
| 7833 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | 
|---|
| 7834 | # Make sure the directory exists. | 
|---|
| 7835 | test -f "$dirpart/$file" && continue | 
|---|
| 7836 | fdir=`$as_dirname -- "$file" || | 
|---|
| 7837 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 7838 | X"$file" : 'X\(//\)[^/]' \| \ | 
|---|
| 7839 | X"$file" : 'X\(//\)$' \| \ | 
|---|
| 7840 | X"$file" : 'X\(/\)' \| . 2>/dev/null || | 
|---|
| 7841 | $as_echo X"$file" | | 
|---|
| 7842 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 
|---|
| 7843 | s//\1/ | 
|---|
| 7844 | q | 
|---|
| 7845 | } | 
|---|
| 7846 | /^X\(\/\/\)[^/].*/{ | 
|---|
| 7847 | s//\1/ | 
|---|
| 7848 | q | 
|---|
| 7849 | } | 
|---|
| 7850 | /^X\(\/\/\)$/{ | 
|---|
| 7851 | s//\1/ | 
|---|
| 7852 | q | 
|---|
| 7853 | } | 
|---|
| 7854 | /^X\(\/\).*/{ | 
|---|
| 7855 | s//\1/ | 
|---|
| 7856 | q | 
|---|
| 7857 | } | 
|---|
| 7858 | s/.*/./; q'` | 
|---|
| 7859 | as_dir=$dirpart/$fdir; as_fn_mkdir_p | 
|---|
| 7860 | # echo "creating $dirpart/$file" | 
|---|
| 7861 | echo '# dummy' > "$dirpart/$file" | 
|---|
| 7862 | done | 
|---|
| 7863 | done | 
|---|
| 7864 | } | 
|---|
| 7865 | ;; | 
|---|
| 7866 |  | 
|---|
| 7867 | esac | 
|---|
| 7868 | done # for ac_tag | 
|---|
| 7869 |  | 
|---|
| 7870 |  | 
|---|
| 7871 | as_fn_exit 0 | 
|---|
| 7872 | _ACEOF | 
|---|
| 7873 | ac_clean_files=$ac_clean_files_save | 
|---|
| 7874 |  | 
|---|
| 7875 | test $ac_write_fail = 0 || | 
|---|
| 7876 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | 
|---|
| 7877 |  | 
|---|
| 7878 |  | 
|---|
| 7879 | # configure is writing to config.log, and then calls config.status. | 
|---|
| 7880 | # config.status does its own redirection, appending to config.log. | 
|---|
| 7881 | # Unfortunately, on DOS this fails, as config.log is still kept open | 
|---|
| 7882 | # by configure, so config.status won't be able to write to it; its | 
|---|
| 7883 | # output is simply discarded.  So we exec the FD to /dev/null, | 
|---|
| 7884 | # effectively closing config.log, so it can be properly (re)opened and | 
|---|
| 7885 | # appended to by config.status.  When coming back to configure, we | 
|---|
| 7886 | # need to make the FD available again. | 
|---|
| 7887 | if test "$no_create" != yes; then | 
|---|
| 7888 | ac_cs_success=: | 
|---|
| 7889 | ac_config_status_args= | 
|---|
| 7890 | test "$silent" = yes && | 
|---|
| 7891 | ac_config_status_args="$ac_config_status_args --quiet" | 
|---|
| 7892 | exec 5>/dev/null | 
|---|
| 7893 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 
|---|
| 7894 | exec 5>>config.log | 
|---|
| 7895 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 
|---|
| 7896 | # would make configure fail if this is the last instruction. | 
|---|
| 7897 | $ac_cs_success || as_fn_exit 1 | 
|---|
| 7898 | fi | 
|---|
| 7899 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 
|---|
| 7900 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | 
|---|
| 7901 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | 
|---|
| 7902 | fi | 
|---|
| 7903 |  | 
|---|
| 7904 |  | 
|---|
| 7905 | # Final text | 
|---|
| 7906 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: Cforall configuraton completed. Type \"make -j 8 install\"." >&5 | 
|---|
| 7907 | $as_echo "Cforall configuraton completed. Type \"make -j 8 install\"." >&6; } | 
|---|