| [3b77289] | 1 | #! /bin/sh | 
|---|
|  | 2 | # Guess values for system-dependent variables and create Makefiles. | 
|---|
| [ef7d253] | 3 | # Generated by GNU Autoconf 2.69 for cfa-cc 1.0.0. | 
|---|
| [3b77289] | 4 | # | 
|---|
|  | 5 | # Report bugs to <cforall@plg.uwaterloo.ca>. | 
|---|
|  | 6 | # | 
|---|
|  | 7 | # | 
|---|
| [ef7d253] | 8 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. | 
|---|
| [3b77289] | 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 |  | 
|---|
| [ef7d253] | 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;} | 
|---|
| [3b77289] | 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 | 
|---|
| [ef7d253] | 195 | test x\$exitcode = x0 || exit 1 | 
|---|
|  | 196 | test -x / || exit 1" | 
|---|
| [3b77289] | 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 : | 
|---|
| [ef7d253] | 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 | 
|---|
| [3b77289] | 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 | 
|---|
| [ef7d253] | 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 | 
|---|
| [3b77289] | 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 |  | 
|---|
| [ef7d253] | 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 | 
|---|
| [3b77289] | 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. | 
|---|
| [ef7d253] | 529 | # In both cases, we have to default to `cp -pR'. | 
|---|
| [3b77289] | 530 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | 
|---|
| [ef7d253] | 531 | as_ln_s='cp -pR' | 
|---|
| [3b77289] | 532 | elif ln conf$$.file conf$$ 2>/dev/null; then | 
|---|
|  | 533 | as_ln_s=ln | 
|---|
|  | 534 | else | 
|---|
| [ef7d253] | 535 | as_ln_s='cp -pR' | 
|---|
| [3b77289] | 536 | fi | 
|---|
|  | 537 | else | 
|---|
| [ef7d253] | 538 | as_ln_s='cp -pR' | 
|---|
| [3b77289] | 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 |  | 
|---|
| [ef7d253] | 550 | as_test_x='test -x' | 
|---|
|  | 551 | as_executable_p=as_fn_executable_p | 
|---|
| [3b77289] | 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' | 
|---|
| [5d6ce1f] | 583 | PACKAGE_VERSION='1.0.0' | 
|---|
|  | 584 | PACKAGE_STRING='cfa-cc 1.0.0' | 
|---|
| [3b77289] | 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 | 
|---|
| [5d6ce1f] | 628 | ALLOCA | 
|---|
| [3b77289] | 629 | EGREP | 
|---|
|  | 630 | GREP | 
|---|
|  | 631 | CPP | 
|---|
| [00cc023] | 632 | RANLIB | 
|---|
| [56c3935] | 633 | LEXLIB | 
|---|
|  | 634 | LEX_OUTPUT_ROOT | 
|---|
|  | 635 | LEX | 
|---|
|  | 636 | YFLAGS | 
|---|
|  | 637 | YACC | 
|---|
| [3b77289] | 638 | am__fastdepCC_FALSE | 
|---|
|  | 639 | am__fastdepCC_TRUE | 
|---|
|  | 640 | CCDEPMODE | 
|---|
|  | 641 | ac_ct_CC | 
|---|
|  | 642 | CFLAGS | 
|---|
|  | 643 | CC | 
|---|
|  | 644 | am__fastdepCXX_FALSE | 
|---|
|  | 645 | am__fastdepCXX_TRUE | 
|---|
|  | 646 | CXXDEPMODE | 
|---|
|  | 647 | am__nodep | 
|---|
|  | 648 | AMDEPBACKSLASH | 
|---|
|  | 649 | AMDEP_FALSE | 
|---|
|  | 650 | AMDEP_TRUE | 
|---|
|  | 651 | am__quote | 
|---|
|  | 652 | am__include | 
|---|
|  | 653 | DEPDIR | 
|---|
|  | 654 | OBJEXT | 
|---|
|  | 655 | EXEEXT | 
|---|
|  | 656 | ac_ct_CXX | 
|---|
|  | 657 | CPPFLAGS | 
|---|
|  | 658 | LDFLAGS | 
|---|
|  | 659 | CXXFLAGS | 
|---|
|  | 660 | CXX | 
|---|
| [5d6ce1f] | 661 | CFA_LIBDIR | 
|---|
|  | 662 | CFA_BINDIR | 
|---|
|  | 663 | CFA_INCDIR | 
|---|
|  | 664 | CFA_PREFIX | 
|---|
| [e24f13a] | 665 | CFA_BACKEND_CC | 
|---|
| [5d6ce1f] | 666 | BACKEND_CC | 
|---|
| [6aa5ec0f] | 667 | MAINT | 
|---|
|  | 668 | MAINTAINER_MODE_FALSE | 
|---|
|  | 669 | MAINTAINER_MODE_TRUE | 
|---|
| [3b77289] | 670 | am__untar | 
|---|
|  | 671 | am__tar | 
|---|
|  | 672 | AMTAR | 
|---|
|  | 673 | am__leading_dot | 
|---|
|  | 674 | SET_MAKE | 
|---|
|  | 675 | AWK | 
|---|
|  | 676 | mkdir_p | 
|---|
|  | 677 | MKDIR_P | 
|---|
|  | 678 | INSTALL_STRIP_PROGRAM | 
|---|
|  | 679 | STRIP | 
|---|
|  | 680 | install_sh | 
|---|
|  | 681 | MAKEINFO | 
|---|
|  | 682 | AUTOHEADER | 
|---|
|  | 683 | AUTOMAKE | 
|---|
|  | 684 | AUTOCONF | 
|---|
|  | 685 | ACLOCAL | 
|---|
|  | 686 | VERSION | 
|---|
|  | 687 | PACKAGE | 
|---|
|  | 688 | CYGPATH_W | 
|---|
|  | 689 | am__isrc | 
|---|
|  | 690 | INSTALL_DATA | 
|---|
|  | 691 | INSTALL_SCRIPT | 
|---|
|  | 692 | INSTALL_PROGRAM | 
|---|
| [ef7d253] | 693 | AM_BACKSLASH | 
|---|
|  | 694 | AM_DEFAULT_VERBOSITY | 
|---|
|  | 695 | AM_DEFAULT_V | 
|---|
|  | 696 | AM_V | 
|---|
| [3b77289] | 697 | target_alias | 
|---|
|  | 698 | host_alias | 
|---|
|  | 699 | build_alias | 
|---|
|  | 700 | LIBS | 
|---|
|  | 701 | ECHO_T | 
|---|
|  | 702 | ECHO_N | 
|---|
|  | 703 | ECHO_C | 
|---|
|  | 704 | DEFS | 
|---|
|  | 705 | mandir | 
|---|
|  | 706 | localedir | 
|---|
|  | 707 | libdir | 
|---|
|  | 708 | psdir | 
|---|
|  | 709 | pdfdir | 
|---|
|  | 710 | dvidir | 
|---|
|  | 711 | htmldir | 
|---|
|  | 712 | infodir | 
|---|
|  | 713 | docdir | 
|---|
|  | 714 | oldincludedir | 
|---|
|  | 715 | includedir | 
|---|
|  | 716 | localstatedir | 
|---|
|  | 717 | sharedstatedir | 
|---|
|  | 718 | sysconfdir | 
|---|
|  | 719 | datadir | 
|---|
|  | 720 | datarootdir | 
|---|
|  | 721 | libexecdir | 
|---|
|  | 722 | sbindir | 
|---|
|  | 723 | bindir | 
|---|
|  | 724 | program_transform_name | 
|---|
|  | 725 | prefix | 
|---|
|  | 726 | exec_prefix | 
|---|
|  | 727 | PACKAGE_URL | 
|---|
|  | 728 | PACKAGE_BUGREPORT | 
|---|
|  | 729 | PACKAGE_STRING | 
|---|
|  | 730 | PACKAGE_VERSION | 
|---|
|  | 731 | PACKAGE_TARNAME | 
|---|
|  | 732 | PACKAGE_NAME | 
|---|
|  | 733 | PATH_SEPARATOR | 
|---|
|  | 734 | SHELL' | 
|---|
|  | 735 | ac_subst_files='' | 
|---|
|  | 736 | ac_user_opts=' | 
|---|
|  | 737 | enable_option_checking | 
|---|
| [ef7d253] | 738 | enable_silent_rules | 
|---|
| [6aa5ec0f] | 739 | enable_maintainer_mode | 
|---|
| [3b77289] | 740 | with_backend_compiler | 
|---|
| [5d6ce1f] | 741 | enable_dependency_tracking | 
|---|
| [3b77289] | 742 | ' | 
|---|
|  | 743 | ac_precious_vars='build_alias | 
|---|
|  | 744 | host_alias | 
|---|
|  | 745 | target_alias | 
|---|
|  | 746 | CXX | 
|---|
|  | 747 | CXXFLAGS | 
|---|
|  | 748 | LDFLAGS | 
|---|
|  | 749 | LIBS | 
|---|
|  | 750 | CPPFLAGS | 
|---|
|  | 751 | CCC | 
|---|
|  | 752 | CC | 
|---|
|  | 753 | CFLAGS | 
|---|
| [56c3935] | 754 | YACC | 
|---|
|  | 755 | YFLAGS | 
|---|
| [3b77289] | 756 | CPP' | 
|---|
|  | 757 |  | 
|---|
|  | 758 |  | 
|---|
|  | 759 | # Initialize some variables set by options. | 
|---|
|  | 760 | ac_init_help= | 
|---|
|  | 761 | ac_init_version=false | 
|---|
|  | 762 | ac_unrecognized_opts= | 
|---|
|  | 763 | ac_unrecognized_sep= | 
|---|
|  | 764 | # The variables have the same names as the options, with | 
|---|
|  | 765 | # dashes changed to underlines. | 
|---|
|  | 766 | cache_file=/dev/null | 
|---|
|  | 767 | exec_prefix=NONE | 
|---|
|  | 768 | no_create= | 
|---|
|  | 769 | no_recursion= | 
|---|
|  | 770 | prefix=NONE | 
|---|
|  | 771 | program_prefix=NONE | 
|---|
|  | 772 | program_suffix=NONE | 
|---|
|  | 773 | program_transform_name=s,x,x, | 
|---|
|  | 774 | silent= | 
|---|
|  | 775 | site= | 
|---|
|  | 776 | srcdir= | 
|---|
|  | 777 | verbose= | 
|---|
|  | 778 | x_includes=NONE | 
|---|
|  | 779 | x_libraries=NONE | 
|---|
|  | 780 |  | 
|---|
|  | 781 | # Installation directory options. | 
|---|
|  | 782 | # These are left unexpanded so users can "make install exec_prefix=/foo" | 
|---|
|  | 783 | # and all the variables that are supposed to be based on exec_prefix | 
|---|
|  | 784 | # by default will actually change. | 
|---|
|  | 785 | # Use braces instead of parens because sh, perl, etc. also accept them. | 
|---|
|  | 786 | # (The list follows the same order as the GNU Coding Standards.) | 
|---|
|  | 787 | bindir='${exec_prefix}/bin' | 
|---|
|  | 788 | sbindir='${exec_prefix}/sbin' | 
|---|
|  | 789 | libexecdir='${exec_prefix}/libexec' | 
|---|
|  | 790 | datarootdir='${prefix}/share' | 
|---|
|  | 791 | datadir='${datarootdir}' | 
|---|
|  | 792 | sysconfdir='${prefix}/etc' | 
|---|
|  | 793 | sharedstatedir='${prefix}/com' | 
|---|
|  | 794 | localstatedir='${prefix}/var' | 
|---|
|  | 795 | includedir='${prefix}/include' | 
|---|
|  | 796 | oldincludedir='/usr/include' | 
|---|
|  | 797 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' | 
|---|
|  | 798 | infodir='${datarootdir}/info' | 
|---|
|  | 799 | htmldir='${docdir}' | 
|---|
|  | 800 | dvidir='${docdir}' | 
|---|
|  | 801 | pdfdir='${docdir}' | 
|---|
|  | 802 | psdir='${docdir}' | 
|---|
|  | 803 | libdir='${exec_prefix}/lib' | 
|---|
|  | 804 | localedir='${datarootdir}/locale' | 
|---|
|  | 805 | mandir='${datarootdir}/man' | 
|---|
|  | 806 |  | 
|---|
|  | 807 | ac_prev= | 
|---|
|  | 808 | ac_dashdash= | 
|---|
|  | 809 | for ac_option | 
|---|
|  | 810 | do | 
|---|
|  | 811 | # If the previous option needs an argument, assign it. | 
|---|
|  | 812 | if test -n "$ac_prev"; then | 
|---|
|  | 813 | eval $ac_prev=\$ac_option | 
|---|
|  | 814 | ac_prev= | 
|---|
|  | 815 | continue | 
|---|
|  | 816 | fi | 
|---|
|  | 817 |  | 
|---|
|  | 818 | case $ac_option in | 
|---|
|  | 819 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | 
|---|
|  | 820 | *=)   ac_optarg= ;; | 
|---|
|  | 821 | *)    ac_optarg=yes ;; | 
|---|
|  | 822 | esac | 
|---|
|  | 823 |  | 
|---|
|  | 824 | # Accept the important Cygnus configure options, so we can diagnose typos. | 
|---|
|  | 825 |  | 
|---|
|  | 826 | case $ac_dashdash$ac_option in | 
|---|
|  | 827 | --) | 
|---|
|  | 828 | ac_dashdash=yes ;; | 
|---|
|  | 829 |  | 
|---|
|  | 830 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | 
|---|
|  | 831 | ac_prev=bindir ;; | 
|---|
|  | 832 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | 
|---|
|  | 833 | bindir=$ac_optarg ;; | 
|---|
|  | 834 |  | 
|---|
|  | 835 | -build | --build | --buil | --bui | --bu) | 
|---|
|  | 836 | ac_prev=build_alias ;; | 
|---|
|  | 837 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) | 
|---|
|  | 838 | build_alias=$ac_optarg ;; | 
|---|
|  | 839 |  | 
|---|
|  | 840 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | 
|---|
|  | 841 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | 
|---|
|  | 842 | ac_prev=cache_file ;; | 
|---|
|  | 843 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | 
|---|
|  | 844 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | 
|---|
|  | 845 | cache_file=$ac_optarg ;; | 
|---|
|  | 846 |  | 
|---|
|  | 847 | --config-cache | -C) | 
|---|
|  | 848 | cache_file=config.cache ;; | 
|---|
|  | 849 |  | 
|---|
|  | 850 | -datadir | --datadir | --datadi | --datad) | 
|---|
|  | 851 | ac_prev=datadir ;; | 
|---|
|  | 852 | -datadir=* | --datadir=* | --datadi=* | --datad=*) | 
|---|
|  | 853 | datadir=$ac_optarg ;; | 
|---|
|  | 854 |  | 
|---|
|  | 855 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | 
|---|
|  | 856 | | --dataroo | --dataro | --datar) | 
|---|
|  | 857 | ac_prev=datarootdir ;; | 
|---|
|  | 858 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | 
|---|
|  | 859 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | 
|---|
|  | 860 | datarootdir=$ac_optarg ;; | 
|---|
|  | 861 |  | 
|---|
|  | 862 | -disable-* | --disable-*) | 
|---|
|  | 863 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 
|---|
|  | 864 | # Reject names that are not valid shell variable names. | 
|---|
|  | 865 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 
|---|
|  | 866 | as_fn_error $? "invalid feature name: $ac_useropt" | 
|---|
|  | 867 | ac_useropt_orig=$ac_useropt | 
|---|
|  | 868 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 
|---|
|  | 869 | case $ac_user_opts in | 
|---|
|  | 870 | *" | 
|---|
|  | 871 | "enable_$ac_useropt" | 
|---|
|  | 872 | "*) ;; | 
|---|
|  | 873 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | 
|---|
|  | 874 | ac_unrecognized_sep=', ';; | 
|---|
|  | 875 | esac | 
|---|
|  | 876 | eval enable_$ac_useropt=no ;; | 
|---|
|  | 877 |  | 
|---|
|  | 878 | -docdir | --docdir | --docdi | --doc | --do) | 
|---|
|  | 879 | ac_prev=docdir ;; | 
|---|
|  | 880 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | 
|---|
|  | 881 | docdir=$ac_optarg ;; | 
|---|
|  | 882 |  | 
|---|
|  | 883 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | 
|---|
|  | 884 | ac_prev=dvidir ;; | 
|---|
|  | 885 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | 
|---|
|  | 886 | dvidir=$ac_optarg ;; | 
|---|
|  | 887 |  | 
|---|
|  | 888 | -enable-* | --enable-*) | 
|---|
|  | 889 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 
|---|
|  | 890 | # Reject names that are not valid shell variable names. | 
|---|
|  | 891 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 
|---|
|  | 892 | as_fn_error $? "invalid feature name: $ac_useropt" | 
|---|
|  | 893 | ac_useropt_orig=$ac_useropt | 
|---|
|  | 894 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 
|---|
|  | 895 | case $ac_user_opts in | 
|---|
|  | 896 | *" | 
|---|
|  | 897 | "enable_$ac_useropt" | 
|---|
|  | 898 | "*) ;; | 
|---|
|  | 899 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | 
|---|
|  | 900 | ac_unrecognized_sep=', ';; | 
|---|
|  | 901 | esac | 
|---|
|  | 902 | eval enable_$ac_useropt=\$ac_optarg ;; | 
|---|
|  | 903 |  | 
|---|
|  | 904 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 
|---|
|  | 905 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 
|---|
|  | 906 | | --exec | --exe | --ex) | 
|---|
|  | 907 | ac_prev=exec_prefix ;; | 
|---|
|  | 908 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | 
|---|
|  | 909 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | 
|---|
|  | 910 | | --exec=* | --exe=* | --ex=*) | 
|---|
|  | 911 | exec_prefix=$ac_optarg ;; | 
|---|
|  | 912 |  | 
|---|
|  | 913 | -gas | --gas | --ga | --g) | 
|---|
|  | 914 | # Obsolete; use --with-gas. | 
|---|
|  | 915 | with_gas=yes ;; | 
|---|
|  | 916 |  | 
|---|
|  | 917 | -help | --help | --hel | --he | -h) | 
|---|
|  | 918 | ac_init_help=long ;; | 
|---|
|  | 919 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | 
|---|
|  | 920 | ac_init_help=recursive ;; | 
|---|
|  | 921 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | 
|---|
|  | 922 | ac_init_help=short ;; | 
|---|
|  | 923 |  | 
|---|
|  | 924 | -host | --host | --hos | --ho) | 
|---|
|  | 925 | ac_prev=host_alias ;; | 
|---|
|  | 926 | -host=* | --host=* | --hos=* | --ho=*) | 
|---|
|  | 927 | host_alias=$ac_optarg ;; | 
|---|
|  | 928 |  | 
|---|
|  | 929 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | 
|---|
|  | 930 | ac_prev=htmldir ;; | 
|---|
|  | 931 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | 
|---|
|  | 932 | | --ht=*) | 
|---|
|  | 933 | htmldir=$ac_optarg ;; | 
|---|
|  | 934 |  | 
|---|
|  | 935 | -includedir | --includedir | --includedi | --included | --include \ | 
|---|
|  | 936 | | --includ | --inclu | --incl | --inc) | 
|---|
|  | 937 | ac_prev=includedir ;; | 
|---|
|  | 938 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | 
|---|
|  | 939 | | --includ=* | --inclu=* | --incl=* | --inc=*) | 
|---|
|  | 940 | includedir=$ac_optarg ;; | 
|---|
|  | 941 |  | 
|---|
|  | 942 | -infodir | --infodir | --infodi | --infod | --info | --inf) | 
|---|
|  | 943 | ac_prev=infodir ;; | 
|---|
|  | 944 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | 
|---|
|  | 945 | infodir=$ac_optarg ;; | 
|---|
|  | 946 |  | 
|---|
|  | 947 | -libdir | --libdir | --libdi | --libd) | 
|---|
|  | 948 | ac_prev=libdir ;; | 
|---|
|  | 949 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | 
|---|
|  | 950 | libdir=$ac_optarg ;; | 
|---|
|  | 951 |  | 
|---|
|  | 952 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | 
|---|
|  | 953 | | --libexe | --libex | --libe) | 
|---|
|  | 954 | ac_prev=libexecdir ;; | 
|---|
|  | 955 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | 
|---|
|  | 956 | | --libexe=* | --libex=* | --libe=*) | 
|---|
|  | 957 | libexecdir=$ac_optarg ;; | 
|---|
|  | 958 |  | 
|---|
|  | 959 | -localedir | --localedir | --localedi | --localed | --locale) | 
|---|
|  | 960 | ac_prev=localedir ;; | 
|---|
|  | 961 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | 
|---|
|  | 962 | localedir=$ac_optarg ;; | 
|---|
|  | 963 |  | 
|---|
|  | 964 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | 
|---|
|  | 965 | | --localstate | --localstat | --localsta | --localst | --locals) | 
|---|
|  | 966 | ac_prev=localstatedir ;; | 
|---|
|  | 967 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | 
|---|
|  | 968 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) | 
|---|
|  | 969 | localstatedir=$ac_optarg ;; | 
|---|
|  | 970 |  | 
|---|
|  | 971 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | 
|---|
|  | 972 | ac_prev=mandir ;; | 
|---|
|  | 973 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | 
|---|
|  | 974 | mandir=$ac_optarg ;; | 
|---|
|  | 975 |  | 
|---|
|  | 976 | -nfp | --nfp | --nf) | 
|---|
|  | 977 | # Obsolete; use --without-fp. | 
|---|
|  | 978 | with_fp=no ;; | 
|---|
|  | 979 |  | 
|---|
|  | 980 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | 
|---|
|  | 981 | | --no-cr | --no-c | -n) | 
|---|
|  | 982 | no_create=yes ;; | 
|---|
|  | 983 |  | 
|---|
|  | 984 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | 
|---|
|  | 985 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | 
|---|
|  | 986 | no_recursion=yes ;; | 
|---|
|  | 987 |  | 
|---|
|  | 988 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | 
|---|
|  | 989 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | 
|---|
|  | 990 | | --oldin | --oldi | --old | --ol | --o) | 
|---|
|  | 991 | ac_prev=oldincludedir ;; | 
|---|
|  | 992 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | 
|---|
|  | 993 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | 
|---|
|  | 994 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | 
|---|
|  | 995 | oldincludedir=$ac_optarg ;; | 
|---|
|  | 996 |  | 
|---|
|  | 997 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | 
|---|
|  | 998 | ac_prev=prefix ;; | 
|---|
|  | 999 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | 
|---|
|  | 1000 | prefix=$ac_optarg ;; | 
|---|
|  | 1001 |  | 
|---|
|  | 1002 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | 
|---|
|  | 1003 | | --program-pre | --program-pr | --program-p) | 
|---|
|  | 1004 | ac_prev=program_prefix ;; | 
|---|
|  | 1005 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | 
|---|
|  | 1006 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | 
|---|
|  | 1007 | program_prefix=$ac_optarg ;; | 
|---|
|  | 1008 |  | 
|---|
|  | 1009 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | 
|---|
|  | 1010 | | --program-suf | --program-su | --program-s) | 
|---|
|  | 1011 | ac_prev=program_suffix ;; | 
|---|
|  | 1012 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | 
|---|
|  | 1013 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | 
|---|
|  | 1014 | program_suffix=$ac_optarg ;; | 
|---|
|  | 1015 |  | 
|---|
|  | 1016 | -program-transform-name | --program-transform-name \ | 
|---|
|  | 1017 | | --program-transform-nam | --program-transform-na \ | 
|---|
|  | 1018 | | --program-transform-n | --program-transform- \ | 
|---|
|  | 1019 | | --program-transform | --program-transfor \ | 
|---|
|  | 1020 | | --program-transfo | --program-transf \ | 
|---|
|  | 1021 | | --program-trans | --program-tran \ | 
|---|
|  | 1022 | | --progr-tra | --program-tr | --program-t) | 
|---|
|  | 1023 | ac_prev=program_transform_name ;; | 
|---|
|  | 1024 | -program-transform-name=* | --program-transform-name=* \ | 
|---|
|  | 1025 | | --program-transform-nam=* | --program-transform-na=* \ | 
|---|
|  | 1026 | | --program-transform-n=* | --program-transform-=* \ | 
|---|
|  | 1027 | | --program-transform=* | --program-transfor=* \ | 
|---|
|  | 1028 | | --program-transfo=* | --program-transf=* \ | 
|---|
|  | 1029 | | --program-trans=* | --program-tran=* \ | 
|---|
|  | 1030 | | --progr-tra=* | --program-tr=* | --program-t=*) | 
|---|
|  | 1031 | program_transform_name=$ac_optarg ;; | 
|---|
|  | 1032 |  | 
|---|
|  | 1033 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | 
|---|
|  | 1034 | ac_prev=pdfdir ;; | 
|---|
|  | 1035 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | 
|---|
|  | 1036 | pdfdir=$ac_optarg ;; | 
|---|
|  | 1037 |  | 
|---|
|  | 1038 | -psdir | --psdir | --psdi | --psd | --ps) | 
|---|
|  | 1039 | ac_prev=psdir ;; | 
|---|
|  | 1040 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | 
|---|
|  | 1041 | psdir=$ac_optarg ;; | 
|---|
|  | 1042 |  | 
|---|
|  | 1043 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
|---|
|  | 1044 | | -silent | --silent | --silen | --sile | --sil) | 
|---|
|  | 1045 | silent=yes ;; | 
|---|
|  | 1046 |  | 
|---|
|  | 1047 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | 
|---|
|  | 1048 | ac_prev=sbindir ;; | 
|---|
|  | 1049 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | 
|---|
|  | 1050 | | --sbi=* | --sb=*) | 
|---|
|  | 1051 | sbindir=$ac_optarg ;; | 
|---|
|  | 1052 |  | 
|---|
|  | 1053 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | 
|---|
|  | 1054 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | 
|---|
|  | 1055 | | --sharedst | --shareds | --shared | --share | --shar \ | 
|---|
|  | 1056 | | --sha | --sh) | 
|---|
|  | 1057 | ac_prev=sharedstatedir ;; | 
|---|
|  | 1058 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | 
|---|
|  | 1059 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | 
|---|
|  | 1060 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | 
|---|
|  | 1061 | | --sha=* | --sh=*) | 
|---|
|  | 1062 | sharedstatedir=$ac_optarg ;; | 
|---|
|  | 1063 |  | 
|---|
|  | 1064 | -site | --site | --sit) | 
|---|
|  | 1065 | ac_prev=site ;; | 
|---|
|  | 1066 | -site=* | --site=* | --sit=*) | 
|---|
|  | 1067 | site=$ac_optarg ;; | 
|---|
|  | 1068 |  | 
|---|
|  | 1069 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | 
|---|
|  | 1070 | ac_prev=srcdir ;; | 
|---|
|  | 1071 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | 
|---|
|  | 1072 | srcdir=$ac_optarg ;; | 
|---|
|  | 1073 |  | 
|---|
|  | 1074 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | 
|---|
|  | 1075 | | --syscon | --sysco | --sysc | --sys | --sy) | 
|---|
|  | 1076 | ac_prev=sysconfdir ;; | 
|---|
|  | 1077 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | 
|---|
|  | 1078 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | 
|---|
|  | 1079 | sysconfdir=$ac_optarg ;; | 
|---|
|  | 1080 |  | 
|---|
|  | 1081 | -target | --target | --targe | --targ | --tar | --ta | --t) | 
|---|
|  | 1082 | ac_prev=target_alias ;; | 
|---|
|  | 1083 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | 
|---|
|  | 1084 | target_alias=$ac_optarg ;; | 
|---|
|  | 1085 |  | 
|---|
|  | 1086 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | 
|---|
|  | 1087 | verbose=yes ;; | 
|---|
|  | 1088 |  | 
|---|
|  | 1089 | -version | --version | --versio | --versi | --vers | -V) | 
|---|
|  | 1090 | ac_init_version=: ;; | 
|---|
|  | 1091 |  | 
|---|
|  | 1092 | -with-* | --with-*) | 
|---|
|  | 1093 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 
|---|
|  | 1094 | # Reject names that are not valid shell variable names. | 
|---|
|  | 1095 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 
|---|
|  | 1096 | as_fn_error $? "invalid package name: $ac_useropt" | 
|---|
|  | 1097 | ac_useropt_orig=$ac_useropt | 
|---|
|  | 1098 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 
|---|
|  | 1099 | case $ac_user_opts in | 
|---|
|  | 1100 | *" | 
|---|
|  | 1101 | "with_$ac_useropt" | 
|---|
|  | 1102 | "*) ;; | 
|---|
|  | 1103 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | 
|---|
|  | 1104 | ac_unrecognized_sep=', ';; | 
|---|
|  | 1105 | esac | 
|---|
|  | 1106 | eval with_$ac_useropt=\$ac_optarg ;; | 
|---|
|  | 1107 |  | 
|---|
|  | 1108 | -without-* | --without-*) | 
|---|
|  | 1109 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 
|---|
|  | 1110 | # Reject names that are not valid shell variable names. | 
|---|
|  | 1111 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 
|---|
|  | 1112 | as_fn_error $? "invalid package name: $ac_useropt" | 
|---|
|  | 1113 | ac_useropt_orig=$ac_useropt | 
|---|
|  | 1114 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 
|---|
|  | 1115 | case $ac_user_opts in | 
|---|
|  | 1116 | *" | 
|---|
|  | 1117 | "with_$ac_useropt" | 
|---|
|  | 1118 | "*) ;; | 
|---|
|  | 1119 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | 
|---|
|  | 1120 | ac_unrecognized_sep=', ';; | 
|---|
|  | 1121 | esac | 
|---|
|  | 1122 | eval with_$ac_useropt=no ;; | 
|---|
|  | 1123 |  | 
|---|
|  | 1124 | --x) | 
|---|
|  | 1125 | # Obsolete; use --with-x. | 
|---|
|  | 1126 | with_x=yes ;; | 
|---|
|  | 1127 |  | 
|---|
|  | 1128 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | 
|---|
|  | 1129 | | --x-incl | --x-inc | --x-in | --x-i) | 
|---|
|  | 1130 | ac_prev=x_includes ;; | 
|---|
|  | 1131 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | 
|---|
|  | 1132 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | 
|---|
|  | 1133 | x_includes=$ac_optarg ;; | 
|---|
|  | 1134 |  | 
|---|
|  | 1135 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | 
|---|
|  | 1136 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | 
|---|
|  | 1137 | ac_prev=x_libraries ;; | 
|---|
|  | 1138 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 
|---|
|  | 1139 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 
|---|
|  | 1140 | x_libraries=$ac_optarg ;; | 
|---|
|  | 1141 |  | 
|---|
|  | 1142 | -*) as_fn_error $? "unrecognized option: \`$ac_option' | 
|---|
|  | 1143 | Try \`$0 --help' for more information" | 
|---|
|  | 1144 | ;; | 
|---|
|  | 1145 |  | 
|---|
|  | 1146 | *=*) | 
|---|
|  | 1147 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 
|---|
|  | 1148 | # Reject names that are not valid shell variable names. | 
|---|
|  | 1149 | case $ac_envvar in #( | 
|---|
|  | 1150 | '' | [0-9]* | *[!_$as_cr_alnum]* ) | 
|---|
|  | 1151 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | 
|---|
|  | 1152 | esac | 
|---|
|  | 1153 | eval $ac_envvar=\$ac_optarg | 
|---|
|  | 1154 | export $ac_envvar ;; | 
|---|
|  | 1155 |  | 
|---|
|  | 1156 | *) | 
|---|
|  | 1157 | # FIXME: should be removed in autoconf 3.0. | 
|---|
|  | 1158 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 
|---|
|  | 1159 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | 
|---|
|  | 1160 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | 
|---|
|  | 1161 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" | 
|---|
|  | 1162 | ;; | 
|---|
|  | 1163 |  | 
|---|
|  | 1164 | esac | 
|---|
|  | 1165 | done | 
|---|
|  | 1166 |  | 
|---|
|  | 1167 | if test -n "$ac_prev"; then | 
|---|
|  | 1168 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 
|---|
|  | 1169 | as_fn_error $? "missing argument to $ac_option" | 
|---|
|  | 1170 | fi | 
|---|
|  | 1171 |  | 
|---|
|  | 1172 | if test -n "$ac_unrecognized_opts"; then | 
|---|
|  | 1173 | case $enable_option_checking in | 
|---|
|  | 1174 | no) ;; | 
|---|
|  | 1175 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | 
|---|
|  | 1176 | *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | 
|---|
|  | 1177 | esac | 
|---|
|  | 1178 | fi | 
|---|
|  | 1179 |  | 
|---|
|  | 1180 | # Check all directory arguments for consistency. | 
|---|
|  | 1181 | for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \ | 
|---|
|  | 1182 | datadir sysconfdir sharedstatedir localstatedir includedir \ | 
|---|
|  | 1183 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | 
|---|
|  | 1184 | libdir localedir mandir | 
|---|
|  | 1185 | do | 
|---|
|  | 1186 | eval ac_val=\$$ac_var | 
|---|
|  | 1187 | # Remove trailing slashes. | 
|---|
|  | 1188 | case $ac_val in | 
|---|
|  | 1189 | */ ) | 
|---|
|  | 1190 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | 
|---|
|  | 1191 | eval $ac_var=\$ac_val;; | 
|---|
|  | 1192 | esac | 
|---|
|  | 1193 | # Be sure to have absolute directory names. | 
|---|
|  | 1194 | case $ac_val in | 
|---|
|  | 1195 | [\\/$]* | ?:[\\/]* )  continue;; | 
|---|
|  | 1196 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 
|---|
|  | 1197 | esac | 
|---|
|  | 1198 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | 
|---|
|  | 1199 | done | 
|---|
|  | 1200 |  | 
|---|
|  | 1201 | # There might be people who depend on the old broken behavior: `$host' | 
|---|
|  | 1202 | # used to hold the argument of --host etc. | 
|---|
|  | 1203 | # FIXME: To remove some day. | 
|---|
|  | 1204 | build=$build_alias | 
|---|
|  | 1205 | host=$host_alias | 
|---|
|  | 1206 | target=$target_alias | 
|---|
|  | 1207 |  | 
|---|
|  | 1208 | # FIXME: To remove some day. | 
|---|
|  | 1209 | if test "x$host_alias" != x; then | 
|---|
|  | 1210 | if test "x$build_alias" = x; then | 
|---|
|  | 1211 | cross_compiling=maybe | 
|---|
|  | 1212 | elif test "x$build_alias" != "x$host_alias"; then | 
|---|
|  | 1213 | cross_compiling=yes | 
|---|
|  | 1214 | fi | 
|---|
|  | 1215 | fi | 
|---|
|  | 1216 |  | 
|---|
|  | 1217 | ac_tool_prefix= | 
|---|
|  | 1218 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | 
|---|
|  | 1219 |  | 
|---|
|  | 1220 | test "$silent" = yes && exec 6>/dev/null | 
|---|
|  | 1221 |  | 
|---|
|  | 1222 |  | 
|---|
|  | 1223 | ac_pwd=`pwd` && test -n "$ac_pwd" && | 
|---|
|  | 1224 | ac_ls_di=`ls -di .` && | 
|---|
|  | 1225 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 
|---|
|  | 1226 | as_fn_error $? "working directory cannot be determined" | 
|---|
|  | 1227 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 
|---|
|  | 1228 | as_fn_error $? "pwd does not report name of working directory" | 
|---|
|  | 1229 |  | 
|---|
|  | 1230 |  | 
|---|
|  | 1231 | # Find the source files, if location was not specified. | 
|---|
|  | 1232 | if test -z "$srcdir"; then | 
|---|
|  | 1233 | ac_srcdir_defaulted=yes | 
|---|
|  | 1234 | # Try the directory containing this script, then the parent directory. | 
|---|
|  | 1235 | ac_confdir=`$as_dirname -- "$as_myself" || | 
|---|
|  | 1236 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
|  | 1237 | X"$as_myself" : 'X\(//\)[^/]' \| \ | 
|---|
|  | 1238 | X"$as_myself" : 'X\(//\)$' \| \ | 
|---|
|  | 1239 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | 
|---|
|  | 1240 | $as_echo X"$as_myself" | | 
|---|
|  | 1241 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 
|---|
|  | 1242 | s//\1/ | 
|---|
|  | 1243 | q | 
|---|
|  | 1244 | } | 
|---|
|  | 1245 | /^X\(\/\/\)[^/].*/{ | 
|---|
|  | 1246 | s//\1/ | 
|---|
|  | 1247 | q | 
|---|
|  | 1248 | } | 
|---|
|  | 1249 | /^X\(\/\/\)$/{ | 
|---|
|  | 1250 | s//\1/ | 
|---|
|  | 1251 | q | 
|---|
|  | 1252 | } | 
|---|
|  | 1253 | /^X\(\/\).*/{ | 
|---|
|  | 1254 | s//\1/ | 
|---|
|  | 1255 | q | 
|---|
|  | 1256 | } | 
|---|
|  | 1257 | s/.*/./; q'` | 
|---|
|  | 1258 | srcdir=$ac_confdir | 
|---|
|  | 1259 | if test ! -r "$srcdir/$ac_unique_file"; then | 
|---|
|  | 1260 | srcdir=.. | 
|---|
|  | 1261 | fi | 
|---|
|  | 1262 | else | 
|---|
|  | 1263 | ac_srcdir_defaulted=no | 
|---|
|  | 1264 | fi | 
|---|
|  | 1265 | if test ! -r "$srcdir/$ac_unique_file"; then | 
|---|
|  | 1266 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 
|---|
|  | 1267 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" | 
|---|
|  | 1268 | fi | 
|---|
|  | 1269 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 
|---|
|  | 1270 | ac_abs_confdir=`( | 
|---|
|  | 1271 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" | 
|---|
|  | 1272 | pwd)` | 
|---|
|  | 1273 | # When building in place, set srcdir=. | 
|---|
|  | 1274 | if test "$ac_abs_confdir" = "$ac_pwd"; then | 
|---|
|  | 1275 | srcdir=. | 
|---|
|  | 1276 | fi | 
|---|
|  | 1277 | # Remove unnecessary trailing slashes from srcdir. | 
|---|
|  | 1278 | # Double slashes in file names in object file debugging info | 
|---|
|  | 1279 | # mess up M-x gdb in Emacs. | 
|---|
|  | 1280 | case $srcdir in | 
|---|
|  | 1281 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | 
|---|
|  | 1282 | esac | 
|---|
|  | 1283 | for ac_var in $ac_precious_vars; do | 
|---|
|  | 1284 | eval ac_env_${ac_var}_set=\${${ac_var}+set} | 
|---|
|  | 1285 | eval ac_env_${ac_var}_value=\$${ac_var} | 
|---|
|  | 1286 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | 
|---|
|  | 1287 | eval ac_cv_env_${ac_var}_value=\$${ac_var} | 
|---|
|  | 1288 | done | 
|---|
|  | 1289 |  | 
|---|
|  | 1290 | # | 
|---|
|  | 1291 | # Report the --help message. | 
|---|
|  | 1292 | # | 
|---|
|  | 1293 | if test "$ac_init_help" = "long"; then | 
|---|
|  | 1294 | # Omit some internal or obsolete options to make the list less imposing. | 
|---|
|  | 1295 | # This message is too long to be a string in the A/UX 3.1 sh. | 
|---|
|  | 1296 | cat <<_ACEOF | 
|---|
| [5d6ce1f] | 1297 | \`configure' configures cfa-cc 1.0.0 to adapt to many kinds of systems. | 
|---|
| [3b77289] | 1298 |  | 
|---|
|  | 1299 | Usage: $0 [OPTION]... [VAR=VALUE]... | 
|---|
|  | 1300 |  | 
|---|
|  | 1301 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | 
|---|
|  | 1302 | VAR=VALUE.  See below for descriptions of some of the useful variables. | 
|---|
|  | 1303 |  | 
|---|
|  | 1304 | Defaults for the options are specified in brackets. | 
|---|
|  | 1305 |  | 
|---|
|  | 1306 | Configuration: | 
|---|
|  | 1307 | -h, --help              display this help and exit | 
|---|
|  | 1308 | --help=short        display options specific to this package | 
|---|
|  | 1309 | --help=recursive    display the short help of all the included packages | 
|---|
|  | 1310 | -V, --version           display version information and exit | 
|---|
|  | 1311 | -q, --quiet, --silent   do not print \`checking ...' messages | 
|---|
|  | 1312 | --cache-file=FILE   cache test results in FILE [disabled] | 
|---|
|  | 1313 | -C, --config-cache      alias for \`--cache-file=config.cache' | 
|---|
|  | 1314 | -n, --no-create         do not create output files | 
|---|
|  | 1315 | --srcdir=DIR        find the sources in DIR [configure dir or \`..'] | 
|---|
|  | 1316 |  | 
|---|
|  | 1317 | Installation directories: | 
|---|
|  | 1318 | --prefix=PREFIX         install architecture-independent files in PREFIX | 
|---|
|  | 1319 | [$ac_default_prefix] | 
|---|
|  | 1320 | --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX | 
|---|
|  | 1321 | [PREFIX] | 
|---|
|  | 1322 |  | 
|---|
|  | 1323 | By default, \`make install' will install all the files in | 
|---|
|  | 1324 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify | 
|---|
|  | 1325 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | 
|---|
|  | 1326 | for instance \`--prefix=\$HOME'. | 
|---|
|  | 1327 |  | 
|---|
|  | 1328 | For better control, use the options below. | 
|---|
|  | 1329 |  | 
|---|
|  | 1330 | Fine tuning of the installation directories: | 
|---|
|  | 1331 | --bindir=DIR            user executables [EPREFIX/bin] | 
|---|
|  | 1332 | --sbindir=DIR           system admin executables [EPREFIX/sbin] | 
|---|
|  | 1333 | --libexecdir=DIR        program executables [EPREFIX/libexec] | 
|---|
|  | 1334 | --sysconfdir=DIR        read-only single-machine data [PREFIX/etc] | 
|---|
|  | 1335 | --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com] | 
|---|
|  | 1336 | --localstatedir=DIR     modifiable single-machine data [PREFIX/var] | 
|---|
|  | 1337 | --libdir=DIR            object code libraries [EPREFIX/lib] | 
|---|
|  | 1338 | --includedir=DIR        C header files [PREFIX/include] | 
|---|
|  | 1339 | --oldincludedir=DIR     C header files for non-gcc [/usr/include] | 
|---|
|  | 1340 | --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share] | 
|---|
|  | 1341 | --datadir=DIR           read-only architecture-independent data [DATAROOTDIR] | 
|---|
|  | 1342 | --infodir=DIR           info documentation [DATAROOTDIR/info] | 
|---|
|  | 1343 | --localedir=DIR         locale-dependent data [DATAROOTDIR/locale] | 
|---|
|  | 1344 | --mandir=DIR            man documentation [DATAROOTDIR/man] | 
|---|
|  | 1345 | --docdir=DIR            documentation root [DATAROOTDIR/doc/cfa-cc] | 
|---|
|  | 1346 | --htmldir=DIR           html documentation [DOCDIR] | 
|---|
|  | 1347 | --dvidir=DIR            dvi documentation [DOCDIR] | 
|---|
|  | 1348 | --pdfdir=DIR            pdf documentation [DOCDIR] | 
|---|
|  | 1349 | --psdir=DIR             ps documentation [DOCDIR] | 
|---|
|  | 1350 | _ACEOF | 
|---|
|  | 1351 |  | 
|---|
|  | 1352 | cat <<\_ACEOF | 
|---|
|  | 1353 |  | 
|---|
|  | 1354 | Program names: | 
|---|
|  | 1355 | --program-prefix=PREFIX            prepend PREFIX to installed program names | 
|---|
|  | 1356 | --program-suffix=SUFFIX            append SUFFIX to installed program names | 
|---|
|  | 1357 | --program-transform-name=PROGRAM   run sed PROGRAM on installed program names | 
|---|
|  | 1358 | _ACEOF | 
|---|
|  | 1359 | fi | 
|---|
|  | 1360 |  | 
|---|
|  | 1361 | if test -n "$ac_init_help"; then | 
|---|
|  | 1362 | case $ac_init_help in | 
|---|
| [5d6ce1f] | 1363 | short | recursive ) echo "Configuration of cfa-cc 1.0.0:";; | 
|---|
| [3b77289] | 1364 | esac | 
|---|
|  | 1365 | cat <<\_ACEOF | 
|---|
|  | 1366 |  | 
|---|
|  | 1367 | Optional Features: | 
|---|
|  | 1368 | --disable-option-checking  ignore unrecognized --enable/--with options | 
|---|
|  | 1369 | --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) | 
|---|
|  | 1370 | --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] | 
|---|
| [ef7d253] | 1371 | --enable-silent-rules   less verbose build output (undo: "make V=1") | 
|---|
|  | 1372 | --disable-silent-rules  verbose build output (undo: "make V=0") | 
|---|
|  | 1373 | --disable-maintainer-mode | 
|---|
|  | 1374 | disable make rules and dependencies not useful (and | 
|---|
|  | 1375 | sometimes confusing) to the casual installer | 
|---|
|  | 1376 | --enable-dependency-tracking | 
|---|
|  | 1377 | do not reject slow dependency extractors | 
|---|
|  | 1378 | --disable-dependency-tracking | 
|---|
|  | 1379 | speeds up one-time build | 
|---|
| [3b77289] | 1380 |  | 
|---|
|  | 1381 | Optional Packages: | 
|---|
|  | 1382 | --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes] | 
|---|
|  | 1383 | --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no) | 
|---|
|  | 1384 | --with-backend-compiler=PROGRAM     PROGRAM that performs the final code compilation (must be gcc-compatible) | 
|---|
|  | 1385 |  | 
|---|
|  | 1386 | Some influential environment variables: | 
|---|
|  | 1387 | CXX         C++ compiler command | 
|---|
|  | 1388 | CXXFLAGS    C++ compiler flags | 
|---|
|  | 1389 | LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a | 
|---|
|  | 1390 | nonstandard directory <lib dir> | 
|---|
|  | 1391 | LIBS        libraries to pass to the linker, e.g. -l<library> | 
|---|
|  | 1392 | CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | 
|---|
|  | 1393 | you have headers in a nonstandard directory <include dir> | 
|---|
|  | 1394 | CC          C compiler command | 
|---|
|  | 1395 | CFLAGS      C compiler flags | 
|---|
| [56c3935] | 1396 | YACC        The `Yet Another Compiler Compiler' implementation to use. | 
|---|
|  | 1397 | Defaults to the first program found out of: `bison -y', `byacc', | 
|---|
|  | 1398 | `yacc'. | 
|---|
|  | 1399 | YFLAGS      The list of arguments that will be passed by default to $YACC. | 
|---|
|  | 1400 | This script will default YFLAGS to the empty string to avoid a | 
|---|
|  | 1401 | default value of `-d' given by some make applications. | 
|---|
| [3b77289] | 1402 | CPP         C preprocessor | 
|---|
|  | 1403 |  | 
|---|
|  | 1404 | Use these variables to override the choices made by `configure' or to help | 
|---|
|  | 1405 | it to find libraries and programs with nonstandard names/locations. | 
|---|
|  | 1406 |  | 
|---|
|  | 1407 | Report bugs to <cforall@plg.uwaterloo.ca>. | 
|---|
|  | 1408 | _ACEOF | 
|---|
|  | 1409 | ac_status=$? | 
|---|
|  | 1410 | fi | 
|---|
|  | 1411 |  | 
|---|
|  | 1412 | if test "$ac_init_help" = "recursive"; then | 
|---|
|  | 1413 | # If there are subdirs, report their specific --help. | 
|---|
|  | 1414 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 
|---|
|  | 1415 | test -d "$ac_dir" || | 
|---|
|  | 1416 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | 
|---|
|  | 1417 | continue | 
|---|
|  | 1418 | ac_builddir=. | 
|---|
|  | 1419 |  | 
|---|
|  | 1420 | case "$ac_dir" in | 
|---|
|  | 1421 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 
|---|
|  | 1422 | *) | 
|---|
|  | 1423 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | 
|---|
|  | 1424 | # A ".." for each directory in $ac_dir_suffix. | 
|---|
|  | 1425 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | 
|---|
|  | 1426 | case $ac_top_builddir_sub in | 
|---|
|  | 1427 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | 
|---|
|  | 1428 | *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;; | 
|---|
|  | 1429 | esac ;; | 
|---|
|  | 1430 | esac | 
|---|
|  | 1431 | ac_abs_top_builddir=$ac_pwd | 
|---|
|  | 1432 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | 
|---|
|  | 1433 | # for backward compatibility: | 
|---|
|  | 1434 | ac_top_builddir=$ac_top_build_prefix | 
|---|
|  | 1435 |  | 
|---|
|  | 1436 | case $srcdir in | 
|---|
|  | 1437 | .)  # We are building in place. | 
|---|
|  | 1438 | ac_srcdir=. | 
|---|
|  | 1439 | ac_top_srcdir=$ac_top_builddir_sub | 
|---|
|  | 1440 | ac_abs_top_srcdir=$ac_pwd ;; | 
|---|
|  | 1441 | [\\/]* | ?:[\\/]* )  # Absolute name. | 
|---|
|  | 1442 | ac_srcdir=$srcdir$ac_dir_suffix; | 
|---|
|  | 1443 | ac_top_srcdir=$srcdir | 
|---|
|  | 1444 | ac_abs_top_srcdir=$srcdir ;; | 
|---|
|  | 1445 | *) # Relative name. | 
|---|
|  | 1446 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | 
|---|
|  | 1447 | ac_top_srcdir=$ac_top_build_prefix$srcdir | 
|---|
|  | 1448 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | 
|---|
|  | 1449 | esac | 
|---|
|  | 1450 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | 
|---|
|  | 1451 |  | 
|---|
|  | 1452 | cd "$ac_dir" || { ac_status=$?; continue; } | 
|---|
|  | 1453 | # Check for guested configure. | 
|---|
|  | 1454 | if test -f "$ac_srcdir/configure.gnu"; then | 
|---|
|  | 1455 | echo && | 
|---|
|  | 1456 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive | 
|---|
|  | 1457 | elif test -f "$ac_srcdir/configure"; then | 
|---|
|  | 1458 | echo && | 
|---|
|  | 1459 | $SHELL "$ac_srcdir/configure" --help=recursive | 
|---|
|  | 1460 | else | 
|---|
|  | 1461 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 
|---|
|  | 1462 | fi || ac_status=$? | 
|---|
|  | 1463 | cd "$ac_pwd" || { ac_status=$?; break; } | 
|---|
|  | 1464 | done | 
|---|
|  | 1465 | fi | 
|---|
|  | 1466 |  | 
|---|
|  | 1467 | test -n "$ac_init_help" && exit $ac_status | 
|---|
|  | 1468 | if $ac_init_version; then | 
|---|
|  | 1469 | cat <<\_ACEOF | 
|---|
| [5d6ce1f] | 1470 | cfa-cc configure 1.0.0 | 
|---|
| [ef7d253] | 1471 | generated by GNU Autoconf 2.69 | 
|---|
| [3b77289] | 1472 |  | 
|---|
| [ef7d253] | 1473 | Copyright (C) 2012 Free Software Foundation, Inc. | 
|---|
| [3b77289] | 1474 | This configure script is free software; the Free Software Foundation | 
|---|
|  | 1475 | gives unlimited permission to copy, distribute and modify it. | 
|---|
|  | 1476 | _ACEOF | 
|---|
|  | 1477 | exit | 
|---|
|  | 1478 | fi | 
|---|
|  | 1479 |  | 
|---|
|  | 1480 | ## ------------------------ ## | 
|---|
|  | 1481 | ## Autoconf initialization. ## | 
|---|
|  | 1482 | ## ------------------------ ## | 
|---|
|  | 1483 |  | 
|---|
|  | 1484 | # ac_fn_cxx_try_compile LINENO | 
|---|
|  | 1485 | # ---------------------------- | 
|---|
|  | 1486 | # Try to compile conftest.$ac_ext, and return whether this succeeded. | 
|---|
|  | 1487 | ac_fn_cxx_try_compile () | 
|---|
|  | 1488 | { | 
|---|
|  | 1489 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
|---|
|  | 1490 | rm -f conftest.$ac_objext | 
|---|
|  | 1491 | if { { ac_try="$ac_compile" | 
|---|
|  | 1492 | case "(($ac_try" in | 
|---|
|  | 1493 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
|  | 1494 | *) ac_try_echo=$ac_try;; | 
|---|
|  | 1495 | esac | 
|---|
|  | 1496 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
|  | 1497 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
|  | 1498 | (eval "$ac_compile") 2>conftest.err | 
|---|
|  | 1499 | ac_status=$? | 
|---|
|  | 1500 | if test -s conftest.err; then | 
|---|
|  | 1501 | grep -v '^ *+' conftest.err >conftest.er1 | 
|---|
|  | 1502 | cat conftest.er1 >&5 | 
|---|
|  | 1503 | mv -f conftest.er1 conftest.err | 
|---|
|  | 1504 | fi | 
|---|
|  | 1505 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
|  | 1506 | test $ac_status = 0; } && { | 
|---|
|  | 1507 | test -z "$ac_cxx_werror_flag" || | 
|---|
|  | 1508 | test ! -s conftest.err | 
|---|
|  | 1509 | } && test -s conftest.$ac_objext; then : | 
|---|
|  | 1510 | ac_retval=0 | 
|---|
|  | 1511 | else | 
|---|
|  | 1512 | $as_echo "$as_me: failed program was:" >&5 | 
|---|
|  | 1513 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
|  | 1514 |  | 
|---|
|  | 1515 | ac_retval=1 | 
|---|
|  | 1516 | fi | 
|---|
|  | 1517 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
|---|
|  | 1518 | as_fn_set_status $ac_retval | 
|---|
|  | 1519 |  | 
|---|
|  | 1520 | } # ac_fn_cxx_try_compile | 
|---|
|  | 1521 |  | 
|---|
|  | 1522 | # ac_fn_c_try_compile LINENO | 
|---|
|  | 1523 | # -------------------------- | 
|---|
|  | 1524 | # Try to compile conftest.$ac_ext, and return whether this succeeded. | 
|---|
|  | 1525 | ac_fn_c_try_compile () | 
|---|
|  | 1526 | { | 
|---|
|  | 1527 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
|---|
|  | 1528 | rm -f conftest.$ac_objext | 
|---|
|  | 1529 | if { { ac_try="$ac_compile" | 
|---|
|  | 1530 | case "(($ac_try" in | 
|---|
|  | 1531 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
|  | 1532 | *) ac_try_echo=$ac_try;; | 
|---|
|  | 1533 | esac | 
|---|
|  | 1534 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
|  | 1535 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
|  | 1536 | (eval "$ac_compile") 2>conftest.err | 
|---|
|  | 1537 | ac_status=$? | 
|---|
|  | 1538 | if test -s conftest.err; then | 
|---|
|  | 1539 | grep -v '^ *+' conftest.err >conftest.er1 | 
|---|
|  | 1540 | cat conftest.er1 >&5 | 
|---|
|  | 1541 | mv -f conftest.er1 conftest.err | 
|---|
|  | 1542 | fi | 
|---|
|  | 1543 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
|  | 1544 | test $ac_status = 0; } && { | 
|---|
|  | 1545 | test -z "$ac_c_werror_flag" || | 
|---|
|  | 1546 | test ! -s conftest.err | 
|---|
|  | 1547 | } && test -s conftest.$ac_objext; then : | 
|---|
|  | 1548 | ac_retval=0 | 
|---|
|  | 1549 | else | 
|---|
|  | 1550 | $as_echo "$as_me: failed program was:" >&5 | 
|---|
|  | 1551 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
|  | 1552 |  | 
|---|
|  | 1553 | ac_retval=1 | 
|---|
|  | 1554 | fi | 
|---|
|  | 1555 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
|---|
|  | 1556 | as_fn_set_status $ac_retval | 
|---|
|  | 1557 |  | 
|---|
|  | 1558 | } # ac_fn_c_try_compile | 
|---|
|  | 1559 |  | 
|---|
| [56c3935] | 1560 | # ac_fn_c_try_link LINENO | 
|---|
|  | 1561 | # ----------------------- | 
|---|
|  | 1562 | # Try to link conftest.$ac_ext, and return whether this succeeded. | 
|---|
|  | 1563 | ac_fn_c_try_link () | 
|---|
|  | 1564 | { | 
|---|
|  | 1565 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
|---|
|  | 1566 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
|  | 1567 | if { { ac_try="$ac_link" | 
|---|
|  | 1568 | case "(($ac_try" in | 
|---|
|  | 1569 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
|  | 1570 | *) ac_try_echo=$ac_try;; | 
|---|
|  | 1571 | esac | 
|---|
|  | 1572 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
|  | 1573 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
|  | 1574 | (eval "$ac_link") 2>conftest.err | 
|---|
|  | 1575 | ac_status=$? | 
|---|
|  | 1576 | if test -s conftest.err; then | 
|---|
|  | 1577 | grep -v '^ *+' conftest.err >conftest.er1 | 
|---|
|  | 1578 | cat conftest.er1 >&5 | 
|---|
|  | 1579 | mv -f conftest.er1 conftest.err | 
|---|
|  | 1580 | fi | 
|---|
|  | 1581 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
|  | 1582 | test $ac_status = 0; } && { | 
|---|
|  | 1583 | test -z "$ac_c_werror_flag" || | 
|---|
|  | 1584 | test ! -s conftest.err | 
|---|
|  | 1585 | } && test -s conftest$ac_exeext && { | 
|---|
|  | 1586 | test "$cross_compiling" = yes || | 
|---|
| [ef7d253] | 1587 | test -x conftest$ac_exeext | 
|---|
| [56c3935] | 1588 | }; then : | 
|---|
|  | 1589 | ac_retval=0 | 
|---|
|  | 1590 | else | 
|---|
|  | 1591 | $as_echo "$as_me: failed program was:" >&5 | 
|---|
|  | 1592 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
|  | 1593 |  | 
|---|
|  | 1594 | ac_retval=1 | 
|---|
|  | 1595 | fi | 
|---|
|  | 1596 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | 
|---|
|  | 1597 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | 
|---|
|  | 1598 | # interfere with the next link command; also delete a directory that is | 
|---|
|  | 1599 | # left behind by Apple's compiler.  We do this before executing the actions. | 
|---|
|  | 1600 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | 
|---|
|  | 1601 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
|---|
|  | 1602 | as_fn_set_status $ac_retval | 
|---|
|  | 1603 |  | 
|---|
|  | 1604 | } # ac_fn_c_try_link | 
|---|
|  | 1605 |  | 
|---|
| [5d6ce1f] | 1606 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES | 
|---|
|  | 1607 | # ------------------------------------------- | 
|---|
|  | 1608 | # Tests whether TYPE exists after having included INCLUDES, setting cache | 
|---|
|  | 1609 | # variable VAR accordingly. | 
|---|
|  | 1610 | ac_fn_c_check_type () | 
|---|
| [3b77289] | 1611 | { | 
|---|
|  | 1612 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
|---|
| [5d6ce1f] | 1613 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 
|---|
|  | 1614 | $as_echo_n "checking for $2... " >&6; } | 
|---|
|  | 1615 | if eval \${$3+:} false; then : | 
|---|
|  | 1616 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 1617 | else | 
|---|
|  | 1618 | eval "$3=no" | 
|---|
|  | 1619 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 1620 | /* end confdefs.h.  */ | 
|---|
|  | 1621 | $4 | 
|---|
|  | 1622 | int | 
|---|
|  | 1623 | main () | 
|---|
|  | 1624 | { | 
|---|
|  | 1625 | if (sizeof ($2)) | 
|---|
|  | 1626 | return 0; | 
|---|
|  | 1627 | ; | 
|---|
|  | 1628 | return 0; | 
|---|
|  | 1629 | } | 
|---|
|  | 1630 | _ACEOF | 
|---|
|  | 1631 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
|  | 1632 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 1633 | /* end confdefs.h.  */ | 
|---|
|  | 1634 | $4 | 
|---|
|  | 1635 | int | 
|---|
|  | 1636 | main () | 
|---|
|  | 1637 | { | 
|---|
|  | 1638 | if (sizeof (($2))) | 
|---|
|  | 1639 | return 0; | 
|---|
|  | 1640 | ; | 
|---|
|  | 1641 | return 0; | 
|---|
|  | 1642 | } | 
|---|
|  | 1643 | _ACEOF | 
|---|
|  | 1644 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
|  | 1645 |  | 
|---|
|  | 1646 | else | 
|---|
|  | 1647 | eval "$3=yes" | 
|---|
|  | 1648 | fi | 
|---|
|  | 1649 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
|  | 1650 | fi | 
|---|
|  | 1651 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
|  | 1652 | fi | 
|---|
|  | 1653 | eval ac_res=\$$3 | 
|---|
|  | 1654 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 
|---|
|  | 1655 | $as_echo "$ac_res" >&6; } | 
|---|
|  | 1656 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
|---|
|  | 1657 |  | 
|---|
|  | 1658 | } # ac_fn_c_check_type | 
|---|
|  | 1659 |  | 
|---|
|  | 1660 | # ac_fn_c_try_cpp LINENO | 
|---|
|  | 1661 | # ---------------------- | 
|---|
|  | 1662 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | 
|---|
|  | 1663 | ac_fn_c_try_cpp () | 
|---|
|  | 1664 | { | 
|---|
|  | 1665 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
|---|
|  | 1666 | if { { ac_try="$ac_cpp conftest.$ac_ext" | 
|---|
| [3b77289] | 1667 | case "(($ac_try" in | 
|---|
|  | 1668 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
|  | 1669 | *) ac_try_echo=$ac_try;; | 
|---|
|  | 1670 | esac | 
|---|
|  | 1671 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
|  | 1672 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
| [5d6ce1f] | 1673 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | 
|---|
| [3b77289] | 1674 | ac_status=$? | 
|---|
|  | 1675 | if test -s conftest.err; then | 
|---|
|  | 1676 | grep -v '^ *+' conftest.err >conftest.er1 | 
|---|
|  | 1677 | cat conftest.er1 >&5 | 
|---|
|  | 1678 | mv -f conftest.er1 conftest.err | 
|---|
|  | 1679 | fi | 
|---|
|  | 1680 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
| [5d6ce1f] | 1681 | test $ac_status = 0; } > conftest.i && { | 
|---|
|  | 1682 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | 
|---|
| [3b77289] | 1683 | test ! -s conftest.err | 
|---|
|  | 1684 | }; then : | 
|---|
|  | 1685 | ac_retval=0 | 
|---|
|  | 1686 | else | 
|---|
|  | 1687 | $as_echo "$as_me: failed program was:" >&5 | 
|---|
|  | 1688 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
|  | 1689 |  | 
|---|
| [5d6ce1f] | 1690 | ac_retval=1 | 
|---|
| [3b77289] | 1691 | fi | 
|---|
|  | 1692 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
|---|
|  | 1693 | as_fn_set_status $ac_retval | 
|---|
|  | 1694 |  | 
|---|
| [5d6ce1f] | 1695 | } # ac_fn_c_try_cpp | 
|---|
| [3b77289] | 1696 |  | 
|---|
| [5d6ce1f] | 1697 | # ac_fn_c_try_run LINENO | 
|---|
| [3b77289] | 1698 | # ---------------------- | 
|---|
| [5d6ce1f] | 1699 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | 
|---|
|  | 1700 | # that executables *can* be run. | 
|---|
|  | 1701 | ac_fn_c_try_run () | 
|---|
| [3b77289] | 1702 | { | 
|---|
|  | 1703 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
|---|
| [5d6ce1f] | 1704 | if { { ac_try="$ac_link" | 
|---|
| [3b77289] | 1705 | case "(($ac_try" in | 
|---|
|  | 1706 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
|  | 1707 | *) ac_try_echo=$ac_try;; | 
|---|
|  | 1708 | esac | 
|---|
|  | 1709 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
|  | 1710 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
| [5d6ce1f] | 1711 | (eval "$ac_link") 2>&5 | 
|---|
|  | 1712 | ac_status=$? | 
|---|
|  | 1713 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
|  | 1714 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | 
|---|
|  | 1715 | { { case "(($ac_try" in | 
|---|
|  | 1716 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
|  | 1717 | *) ac_try_echo=$ac_try;; | 
|---|
|  | 1718 | esac | 
|---|
|  | 1719 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
|  | 1720 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
|  | 1721 | (eval "$ac_try") 2>&5 | 
|---|
|  | 1722 | ac_status=$? | 
|---|
|  | 1723 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
|  | 1724 | test $ac_status = 0; }; }; then : | 
|---|
|  | 1725 | ac_retval=0 | 
|---|
|  | 1726 | else | 
|---|
|  | 1727 | $as_echo "$as_me: program exited with status $ac_status" >&5 | 
|---|
|  | 1728 | $as_echo "$as_me: failed program was:" >&5 | 
|---|
|  | 1729 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
|  | 1730 |  | 
|---|
|  | 1731 | ac_retval=$ac_status | 
|---|
|  | 1732 | fi | 
|---|
|  | 1733 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | 
|---|
|  | 1734 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
|---|
|  | 1735 | as_fn_set_status $ac_retval | 
|---|
|  | 1736 |  | 
|---|
|  | 1737 | } # ac_fn_c_try_run | 
|---|
|  | 1738 |  | 
|---|
|  | 1739 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | 
|---|
|  | 1740 | # ------------------------------------------------------- | 
|---|
|  | 1741 | # Tests whether HEADER exists and can be compiled using the include files in | 
|---|
|  | 1742 | # INCLUDES, setting the cache variable VAR accordingly. | 
|---|
|  | 1743 | ac_fn_c_check_header_compile () | 
|---|
|  | 1744 | { | 
|---|
|  | 1745 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
|---|
|  | 1746 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 
|---|
|  | 1747 | $as_echo_n "checking for $2... " >&6; } | 
|---|
|  | 1748 | if eval \${$3+:} false; then : | 
|---|
|  | 1749 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 1750 | else | 
|---|
|  | 1751 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 1752 | /* end confdefs.h.  */ | 
|---|
|  | 1753 | $4 | 
|---|
|  | 1754 | #include <$2> | 
|---|
|  | 1755 | _ACEOF | 
|---|
|  | 1756 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
|  | 1757 | eval "$3=yes" | 
|---|
|  | 1758 | else | 
|---|
|  | 1759 | eval "$3=no" | 
|---|
|  | 1760 | fi | 
|---|
|  | 1761 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
|  | 1762 | fi | 
|---|
|  | 1763 | eval ac_res=\$$3 | 
|---|
|  | 1764 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 
|---|
|  | 1765 | $as_echo "$ac_res" >&6; } | 
|---|
|  | 1766 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
|---|
|  | 1767 |  | 
|---|
|  | 1768 | } # ac_fn_c_check_header_compile | 
|---|
|  | 1769 |  | 
|---|
|  | 1770 | # ac_fn_c_check_func LINENO FUNC VAR | 
|---|
|  | 1771 | # ---------------------------------- | 
|---|
|  | 1772 | # Tests whether FUNC exists, setting the cache variable VAR accordingly | 
|---|
|  | 1773 | ac_fn_c_check_func () | 
|---|
|  | 1774 | { | 
|---|
|  | 1775 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
|---|
|  | 1776 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 
|---|
|  | 1777 | $as_echo_n "checking for $2... " >&6; } | 
|---|
|  | 1778 | if eval \${$3+:} false; then : | 
|---|
|  | 1779 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 1780 | else | 
|---|
|  | 1781 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 1782 | /* end confdefs.h.  */ | 
|---|
|  | 1783 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | 
|---|
|  | 1784 | For example, HP-UX 11i <limits.h> declares gettimeofday.  */ | 
|---|
|  | 1785 | #define $2 innocuous_$2 | 
|---|
|  | 1786 |  | 
|---|
|  | 1787 | /* System header to define __stub macros and hopefully few prototypes, | 
|---|
|  | 1788 | which can conflict with char $2 (); below. | 
|---|
|  | 1789 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
|  | 1790 | <limits.h> exists even on freestanding compilers.  */ | 
|---|
|  | 1791 |  | 
|---|
|  | 1792 | #ifdef __STDC__ | 
|---|
|  | 1793 | # include <limits.h> | 
|---|
|  | 1794 | #else | 
|---|
|  | 1795 | # include <assert.h> | 
|---|
|  | 1796 | #endif | 
|---|
|  | 1797 |  | 
|---|
|  | 1798 | #undef $2 | 
|---|
|  | 1799 |  | 
|---|
|  | 1800 | /* Override any GCC internal prototype to avoid an error. | 
|---|
|  | 1801 | Use char because int might match the return type of a GCC | 
|---|
|  | 1802 | builtin and then its argument prototype would still apply.  */ | 
|---|
|  | 1803 | #ifdef __cplusplus | 
|---|
|  | 1804 | extern "C" | 
|---|
|  | 1805 | #endif | 
|---|
|  | 1806 | char $2 (); | 
|---|
|  | 1807 | /* The GNU C library defines this for functions which it implements | 
|---|
|  | 1808 | to always fail with ENOSYS.  Some functions are actually named | 
|---|
|  | 1809 | something starting with __ and the normal name is an alias.  */ | 
|---|
|  | 1810 | #if defined __stub_$2 || defined __stub___$2 | 
|---|
|  | 1811 | choke me | 
|---|
|  | 1812 | #endif | 
|---|
|  | 1813 |  | 
|---|
|  | 1814 | int | 
|---|
|  | 1815 | main () | 
|---|
|  | 1816 | { | 
|---|
|  | 1817 | return $2 (); | 
|---|
|  | 1818 | ; | 
|---|
|  | 1819 | return 0; | 
|---|
|  | 1820 | } | 
|---|
|  | 1821 | _ACEOF | 
|---|
|  | 1822 | if ac_fn_c_try_link "$LINENO"; then : | 
|---|
|  | 1823 | eval "$3=yes" | 
|---|
|  | 1824 | else | 
|---|
|  | 1825 | eval "$3=no" | 
|---|
|  | 1826 | fi | 
|---|
|  | 1827 | rm -f core conftest.err conftest.$ac_objext \ | 
|---|
|  | 1828 | conftest$ac_exeext conftest.$ac_ext | 
|---|
|  | 1829 | fi | 
|---|
|  | 1830 | eval ac_res=\$$3 | 
|---|
|  | 1831 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 
|---|
|  | 1832 | $as_echo "$ac_res" >&6; } | 
|---|
|  | 1833 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
|---|
|  | 1834 |  | 
|---|
|  | 1835 | } # ac_fn_c_check_func | 
|---|
| [3b77289] | 1836 |  | 
|---|
|  | 1837 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | 
|---|
|  | 1838 | # ------------------------------------------------------- | 
|---|
|  | 1839 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using | 
|---|
|  | 1840 | # the include files in INCLUDES and setting the cache variable VAR | 
|---|
|  | 1841 | # accordingly. | 
|---|
|  | 1842 | ac_fn_c_check_header_mongrel () | 
|---|
|  | 1843 | { | 
|---|
|  | 1844 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
|---|
|  | 1845 | if eval \${$3+:} false; then : | 
|---|
|  | 1846 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 
|---|
|  | 1847 | $as_echo_n "checking for $2... " >&6; } | 
|---|
|  | 1848 | if eval \${$3+:} false; then : | 
|---|
|  | 1849 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 1850 | fi | 
|---|
|  | 1851 | eval ac_res=\$$3 | 
|---|
|  | 1852 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 
|---|
|  | 1853 | $as_echo "$ac_res" >&6; } | 
|---|
|  | 1854 | else | 
|---|
|  | 1855 | # Is the header compilable? | 
|---|
|  | 1856 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | 
|---|
|  | 1857 | $as_echo_n "checking $2 usability... " >&6; } | 
|---|
|  | 1858 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 1859 | /* end confdefs.h.  */ | 
|---|
|  | 1860 | $4 | 
|---|
|  | 1861 | #include <$2> | 
|---|
|  | 1862 | _ACEOF | 
|---|
|  | 1863 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
|  | 1864 | ac_header_compiler=yes | 
|---|
|  | 1865 | else | 
|---|
|  | 1866 | ac_header_compiler=no | 
|---|
|  | 1867 | fi | 
|---|
|  | 1868 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
|  | 1869 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | 
|---|
|  | 1870 | $as_echo "$ac_header_compiler" >&6; } | 
|---|
|  | 1871 |  | 
|---|
|  | 1872 | # Is the header present? | 
|---|
|  | 1873 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | 
|---|
|  | 1874 | $as_echo_n "checking $2 presence... " >&6; } | 
|---|
|  | 1875 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 1876 | /* end confdefs.h.  */ | 
|---|
|  | 1877 | #include <$2> | 
|---|
|  | 1878 | _ACEOF | 
|---|
|  | 1879 | if ac_fn_c_try_cpp "$LINENO"; then : | 
|---|
|  | 1880 | ac_header_preproc=yes | 
|---|
|  | 1881 | else | 
|---|
|  | 1882 | ac_header_preproc=no | 
|---|
|  | 1883 | fi | 
|---|
|  | 1884 | rm -f conftest.err conftest.i conftest.$ac_ext | 
|---|
|  | 1885 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | 
|---|
|  | 1886 | $as_echo "$ac_header_preproc" >&6; } | 
|---|
|  | 1887 |  | 
|---|
|  | 1888 | # So?  What about this header? | 
|---|
|  | 1889 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | 
|---|
|  | 1890 | yes:no: ) | 
|---|
|  | 1891 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
|  | 1892 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
|  | 1893 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | 
|---|
|  | 1894 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | 
|---|
|  | 1895 | ;; | 
|---|
|  | 1896 | no:yes:* ) | 
|---|
|  | 1897 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | 
|---|
|  | 1898 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | 
|---|
|  | 1899 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5 | 
|---|
|  | 1900 | $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;} | 
|---|
|  | 1901 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | 
|---|
|  | 1902 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | 
|---|
|  | 1903 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
|  | 1904 | $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
|  | 1905 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | 
|---|
|  | 1906 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | 
|---|
|  | 1907 | ( $as_echo "## --------------------------------------- ## | 
|---|
|  | 1908 | ## Report this to cforall@plg.uwaterloo.ca ## | 
|---|
|  | 1909 | ## --------------------------------------- ##" | 
|---|
|  | 1910 | ) | sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
|  | 1911 | ;; | 
|---|
|  | 1912 | esac | 
|---|
|  | 1913 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 
|---|
|  | 1914 | $as_echo_n "checking for $2... " >&6; } | 
|---|
|  | 1915 | if eval \${$3+:} false; then : | 
|---|
|  | 1916 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 1917 | else | 
|---|
|  | 1918 | eval "$3=\$ac_header_compiler" | 
|---|
|  | 1919 | fi | 
|---|
|  | 1920 | eval ac_res=\$$3 | 
|---|
|  | 1921 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 
|---|
|  | 1922 | $as_echo "$ac_res" >&6; } | 
|---|
|  | 1923 | fi | 
|---|
|  | 1924 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
|---|
|  | 1925 |  | 
|---|
|  | 1926 | } # ac_fn_c_check_header_mongrel | 
|---|
|  | 1927 |  | 
|---|
| [5d6ce1f] | 1928 | # ac_fn_c_find_intX_t LINENO BITS VAR | 
|---|
|  | 1929 | # ----------------------------------- | 
|---|
|  | 1930 | # Finds a signed integer type with width BITS, setting cache variable VAR | 
|---|
|  | 1931 | # accordingly. | 
|---|
|  | 1932 | ac_fn_c_find_intX_t () | 
|---|
| [3b77289] | 1933 | { | 
|---|
|  | 1934 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
|---|
| [5d6ce1f] | 1935 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 | 
|---|
|  | 1936 | $as_echo_n "checking for int$2_t... " >&6; } | 
|---|
|  | 1937 | if eval \${$3+:} false; then : | 
|---|
|  | 1938 | $as_echo_n "(cached) " >&6 | 
|---|
| [3b77289] | 1939 | else | 
|---|
| [5d6ce1f] | 1940 | eval "$3=no" | 
|---|
|  | 1941 | # Order is important - never check a type that is potentially smaller | 
|---|
|  | 1942 | # than half of the expected target width. | 
|---|
|  | 1943 | for ac_type in int$2_t 'int' 'long int' \ | 
|---|
|  | 1944 | 'long long int' 'short int' 'signed char'; do | 
|---|
|  | 1945 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 1946 | /* end confdefs.h.  */ | 
|---|
|  | 1947 | $ac_includes_default | 
|---|
|  | 1948 | enum { N = $2 / 2 - 1 }; | 
|---|
|  | 1949 | int | 
|---|
|  | 1950 | main () | 
|---|
|  | 1951 | { | 
|---|
|  | 1952 | static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; | 
|---|
| [ef7d253] | 1953 | test_array [0] = 0; | 
|---|
|  | 1954 | return test_array [0]; | 
|---|
| [3b77289] | 1955 |  | 
|---|
| [5d6ce1f] | 1956 | ; | 
|---|
|  | 1957 | return 0; | 
|---|
|  | 1958 | } | 
|---|
|  | 1959 | _ACEOF | 
|---|
|  | 1960 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
|  | 1961 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 1962 | /* end confdefs.h.  */ | 
|---|
|  | 1963 | $ac_includes_default | 
|---|
|  | 1964 | enum { N = $2 / 2 - 1 }; | 
|---|
|  | 1965 | int | 
|---|
|  | 1966 | main () | 
|---|
|  | 1967 | { | 
|---|
|  | 1968 | static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) | 
|---|
|  | 1969 | < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; | 
|---|
| [ef7d253] | 1970 | test_array [0] = 0; | 
|---|
|  | 1971 | return test_array [0]; | 
|---|
| [5d6ce1f] | 1972 |  | 
|---|
|  | 1973 | ; | 
|---|
|  | 1974 | return 0; | 
|---|
|  | 1975 | } | 
|---|
|  | 1976 | _ACEOF | 
|---|
|  | 1977 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
|  | 1978 |  | 
|---|
|  | 1979 | else | 
|---|
|  | 1980 | case $ac_type in #( | 
|---|
|  | 1981 | int$2_t) : | 
|---|
|  | 1982 | eval "$3=yes" ;; #( | 
|---|
|  | 1983 | *) : | 
|---|
|  | 1984 | eval "$3=\$ac_type" ;; | 
|---|
|  | 1985 | esac | 
|---|
| [3b77289] | 1986 | fi | 
|---|
| [5d6ce1f] | 1987 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
|  | 1988 | fi | 
|---|
|  | 1989 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
|  | 1990 | if eval test \"x\$"$3"\" = x"no"; then : | 
|---|
|  | 1991 |  | 
|---|
|  | 1992 | else | 
|---|
|  | 1993 | break | 
|---|
|  | 1994 | fi | 
|---|
|  | 1995 | done | 
|---|
|  | 1996 | fi | 
|---|
|  | 1997 | eval ac_res=\$$3 | 
|---|
|  | 1998 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 
|---|
|  | 1999 | $as_echo "$ac_res" >&6; } | 
|---|
| [3b77289] | 2000 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
|---|
|  | 2001 |  | 
|---|
| [5d6ce1f] | 2002 | } # ac_fn_c_find_intX_t | 
|---|
| [3b77289] | 2003 |  | 
|---|
| [5d6ce1f] | 2004 | # ac_fn_c_find_uintX_t LINENO BITS VAR | 
|---|
|  | 2005 | # ------------------------------------ | 
|---|
|  | 2006 | # Finds an unsigned integer type with width BITS, setting cache variable VAR | 
|---|
|  | 2007 | # accordingly. | 
|---|
|  | 2008 | ac_fn_c_find_uintX_t () | 
|---|
| [3b77289] | 2009 | { | 
|---|
|  | 2010 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
|---|
| [5d6ce1f] | 2011 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 | 
|---|
|  | 2012 | $as_echo_n "checking for uint$2_t... " >&6; } | 
|---|
| [3b77289] | 2013 | if eval \${$3+:} false; then : | 
|---|
|  | 2014 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 2015 | else | 
|---|
| [5d6ce1f] | 2016 | eval "$3=no" | 
|---|
|  | 2017 | # Order is important - never check a type that is potentially smaller | 
|---|
|  | 2018 | # than half of the expected target width. | 
|---|
|  | 2019 | for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ | 
|---|
|  | 2020 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do | 
|---|
|  | 2021 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| [3b77289] | 2022 | /* end confdefs.h.  */ | 
|---|
| [5d6ce1f] | 2023 | $ac_includes_default | 
|---|
|  | 2024 | int | 
|---|
|  | 2025 | main () | 
|---|
|  | 2026 | { | 
|---|
|  | 2027 | static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; | 
|---|
| [ef7d253] | 2028 | test_array [0] = 0; | 
|---|
|  | 2029 | return test_array [0]; | 
|---|
| [5d6ce1f] | 2030 |  | 
|---|
|  | 2031 | ; | 
|---|
|  | 2032 | return 0; | 
|---|
|  | 2033 | } | 
|---|
| [3b77289] | 2034 | _ACEOF | 
|---|
|  | 2035 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
| [5d6ce1f] | 2036 | case $ac_type in #( | 
|---|
|  | 2037 | uint$2_t) : | 
|---|
|  | 2038 | eval "$3=yes" ;; #( | 
|---|
|  | 2039 | *) : | 
|---|
|  | 2040 | eval "$3=\$ac_type" ;; | 
|---|
|  | 2041 | esac | 
|---|
| [3b77289] | 2042 | fi | 
|---|
|  | 2043 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| [5d6ce1f] | 2044 | if eval test \"x\$"$3"\" = x"no"; then : | 
|---|
|  | 2045 |  | 
|---|
|  | 2046 | else | 
|---|
|  | 2047 | break | 
|---|
|  | 2048 | fi | 
|---|
|  | 2049 | done | 
|---|
| [3b77289] | 2050 | fi | 
|---|
|  | 2051 | eval ac_res=\$$3 | 
|---|
|  | 2052 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 
|---|
|  | 2053 | $as_echo "$ac_res" >&6; } | 
|---|
|  | 2054 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
|---|
|  | 2055 |  | 
|---|
| [5d6ce1f] | 2056 | } # ac_fn_c_find_uintX_t | 
|---|
| [3b77289] | 2057 | cat >config.log <<_ACEOF | 
|---|
|  | 2058 | This file contains any messages produced by compilers while | 
|---|
|  | 2059 | running configure, to aid debugging if configure makes a mistake. | 
|---|
|  | 2060 |  | 
|---|
| [5d6ce1f] | 2061 | It was created by cfa-cc $as_me 1.0.0, which was | 
|---|
| [ef7d253] | 2062 | generated by GNU Autoconf 2.69.  Invocation command line was | 
|---|
| [3b77289] | 2063 |  | 
|---|
|  | 2064 | $ $0 $@ | 
|---|
|  | 2065 |  | 
|---|
|  | 2066 | _ACEOF | 
|---|
|  | 2067 | exec 5>>config.log | 
|---|
|  | 2068 | { | 
|---|
|  | 2069 | cat <<_ASUNAME | 
|---|
|  | 2070 | ## --------- ## | 
|---|
|  | 2071 | ## Platform. ## | 
|---|
|  | 2072 | ## --------- ## | 
|---|
|  | 2073 |  | 
|---|
|  | 2074 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | 
|---|
|  | 2075 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | 
|---|
|  | 2076 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | 
|---|
|  | 2077 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | 
|---|
|  | 2078 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | 
|---|
|  | 2079 |  | 
|---|
|  | 2080 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | 
|---|
|  | 2081 | /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown` | 
|---|
|  | 2082 |  | 
|---|
|  | 2083 | /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown` | 
|---|
|  | 2084 | /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown` | 
|---|
|  | 2085 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | 
|---|
|  | 2086 | /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown` | 
|---|
|  | 2087 | /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown` | 
|---|
|  | 2088 | /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown` | 
|---|
|  | 2089 | /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown` | 
|---|
|  | 2090 |  | 
|---|
|  | 2091 | _ASUNAME | 
|---|
|  | 2092 |  | 
|---|
|  | 2093 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
|  | 2094 | for as_dir in $PATH | 
|---|
|  | 2095 | do | 
|---|
|  | 2096 | IFS=$as_save_IFS | 
|---|
|  | 2097 | test -z "$as_dir" && as_dir=. | 
|---|
|  | 2098 | $as_echo "PATH: $as_dir" | 
|---|
|  | 2099 | done | 
|---|
|  | 2100 | IFS=$as_save_IFS | 
|---|
|  | 2101 |  | 
|---|
|  | 2102 | } >&5 | 
|---|
|  | 2103 |  | 
|---|
|  | 2104 | cat >&5 <<_ACEOF | 
|---|
|  | 2105 |  | 
|---|
|  | 2106 |  | 
|---|
|  | 2107 | ## ----------- ## | 
|---|
|  | 2108 | ## Core tests. ## | 
|---|
|  | 2109 | ## ----------- ## | 
|---|
|  | 2110 |  | 
|---|
|  | 2111 | _ACEOF | 
|---|
|  | 2112 |  | 
|---|
|  | 2113 |  | 
|---|
|  | 2114 | # Keep a trace of the command line. | 
|---|
|  | 2115 | # Strip out --no-create and --no-recursion so they do not pile up. | 
|---|
|  | 2116 | # Strip out --silent because we don't want to record it for future runs. | 
|---|
|  | 2117 | # Also quote any args containing shell meta-characters. | 
|---|
|  | 2118 | # Make two passes to allow for proper duplicate-argument suppression. | 
|---|
|  | 2119 | ac_configure_args= | 
|---|
|  | 2120 | ac_configure_args0= | 
|---|
|  | 2121 | ac_configure_args1= | 
|---|
|  | 2122 | ac_must_keep_next=false | 
|---|
|  | 2123 | for ac_pass in 1 2 | 
|---|
|  | 2124 | do | 
|---|
|  | 2125 | for ac_arg | 
|---|
|  | 2126 | do | 
|---|
|  | 2127 | case $ac_arg in | 
|---|
|  | 2128 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | 
|---|
|  | 2129 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
|---|
|  | 2130 | | -silent | --silent | --silen | --sile | --sil) | 
|---|
|  | 2131 | continue ;; | 
|---|
|  | 2132 | *\'*) | 
|---|
|  | 2133 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 
|---|
|  | 2134 | esac | 
|---|
|  | 2135 | case $ac_pass in | 
|---|
|  | 2136 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; | 
|---|
|  | 2137 | 2) | 
|---|
|  | 2138 | as_fn_append ac_configure_args1 " '$ac_arg'" | 
|---|
|  | 2139 | if test $ac_must_keep_next = true; then | 
|---|
|  | 2140 | ac_must_keep_next=false # Got value, back to normal. | 
|---|
|  | 2141 | else | 
|---|
|  | 2142 | case $ac_arg in | 
|---|
|  | 2143 | *=* | --config-cache | -C | -disable-* | --disable-* \ | 
|---|
|  | 2144 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | 
|---|
|  | 2145 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | 
|---|
|  | 2146 | | -with-* | --with-* | -without-* | --without-* | --x) | 
|---|
|  | 2147 | case "$ac_configure_args0 " in | 
|---|
|  | 2148 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | 
|---|
|  | 2149 | esac | 
|---|
|  | 2150 | ;; | 
|---|
|  | 2151 | -* ) ac_must_keep_next=true ;; | 
|---|
|  | 2152 | esac | 
|---|
|  | 2153 | fi | 
|---|
|  | 2154 | as_fn_append ac_configure_args " '$ac_arg'" | 
|---|
|  | 2155 | ;; | 
|---|
|  | 2156 | esac | 
|---|
|  | 2157 | done | 
|---|
|  | 2158 | done | 
|---|
|  | 2159 | { ac_configure_args0=; unset ac_configure_args0;} | 
|---|
|  | 2160 | { ac_configure_args1=; unset ac_configure_args1;} | 
|---|
|  | 2161 |  | 
|---|
|  | 2162 | # When interrupted or exit'd, cleanup temporary files, and complete | 
|---|
|  | 2163 | # config.log.  We remove comments because anyway the quotes in there | 
|---|
|  | 2164 | # would cause problems or look ugly. | 
|---|
|  | 2165 | # WARNING: Use '\'' to represent an apostrophe within the trap. | 
|---|
|  | 2166 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | 
|---|
|  | 2167 | trap 'exit_status=$? | 
|---|
|  | 2168 | # Save into config.log some information that might help in debugging. | 
|---|
|  | 2169 | { | 
|---|
|  | 2170 | echo | 
|---|
|  | 2171 |  | 
|---|
|  | 2172 | $as_echo "## ---------------- ## | 
|---|
|  | 2173 | ## Cache variables. ## | 
|---|
|  | 2174 | ## ---------------- ##" | 
|---|
|  | 2175 | echo | 
|---|
|  | 2176 | # The following way of writing the cache mishandles newlines in values, | 
|---|
|  | 2177 | ( | 
|---|
|  | 2178 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | 
|---|
|  | 2179 | eval ac_val=\$$ac_var | 
|---|
|  | 2180 | case $ac_val in #( | 
|---|
|  | 2181 | *${as_nl}*) | 
|---|
|  | 2182 | case $ac_var in #( | 
|---|
|  | 2183 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | 
|---|
|  | 2184 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | 
|---|
|  | 2185 | esac | 
|---|
|  | 2186 | case $ac_var in #( | 
|---|
|  | 2187 | _ | IFS | as_nl) ;; #( | 
|---|
|  | 2188 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 
|---|
|  | 2189 | *) { eval $ac_var=; unset $ac_var;} ;; | 
|---|
|  | 2190 | esac ;; | 
|---|
|  | 2191 | esac | 
|---|
|  | 2192 | done | 
|---|
|  | 2193 | (set) 2>&1 | | 
|---|
|  | 2194 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | 
|---|
|  | 2195 | *${as_nl}ac_space=\ *) | 
|---|
|  | 2196 | sed -n \ | 
|---|
|  | 2197 | "s/'\''/'\''\\\\'\'''\''/g; | 
|---|
|  | 2198 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" | 
|---|
|  | 2199 | ;; #( | 
|---|
|  | 2200 | *) | 
|---|
|  | 2201 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | 
|---|
|  | 2202 | ;; | 
|---|
|  | 2203 | esac | | 
|---|
|  | 2204 | sort | 
|---|
|  | 2205 | ) | 
|---|
|  | 2206 | echo | 
|---|
|  | 2207 |  | 
|---|
|  | 2208 | $as_echo "## ----------------- ## | 
|---|
|  | 2209 | ## Output variables. ## | 
|---|
|  | 2210 | ## ----------------- ##" | 
|---|
|  | 2211 | echo | 
|---|
|  | 2212 | for ac_var in $ac_subst_vars | 
|---|
|  | 2213 | do | 
|---|
|  | 2214 | eval ac_val=\$$ac_var | 
|---|
|  | 2215 | case $ac_val in | 
|---|
|  | 2216 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | 
|---|
|  | 2217 | esac | 
|---|
|  | 2218 | $as_echo "$ac_var='\''$ac_val'\''" | 
|---|
|  | 2219 | done | sort | 
|---|
|  | 2220 | echo | 
|---|
|  | 2221 |  | 
|---|
|  | 2222 | if test -n "$ac_subst_files"; then | 
|---|
|  | 2223 | $as_echo "## ------------------- ## | 
|---|
|  | 2224 | ## File substitutions. ## | 
|---|
|  | 2225 | ## ------------------- ##" | 
|---|
|  | 2226 | echo | 
|---|
|  | 2227 | for ac_var in $ac_subst_files | 
|---|
|  | 2228 | do | 
|---|
|  | 2229 | eval ac_val=\$$ac_var | 
|---|
|  | 2230 | case $ac_val in | 
|---|
|  | 2231 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | 
|---|
|  | 2232 | esac | 
|---|
|  | 2233 | $as_echo "$ac_var='\''$ac_val'\''" | 
|---|
|  | 2234 | done | sort | 
|---|
|  | 2235 | echo | 
|---|
|  | 2236 | fi | 
|---|
|  | 2237 |  | 
|---|
|  | 2238 | if test -s confdefs.h; then | 
|---|
|  | 2239 | $as_echo "## ----------- ## | 
|---|
|  | 2240 | ## confdefs.h. ## | 
|---|
|  | 2241 | ## ----------- ##" | 
|---|
|  | 2242 | echo | 
|---|
|  | 2243 | cat confdefs.h | 
|---|
|  | 2244 | echo | 
|---|
|  | 2245 | fi | 
|---|
|  | 2246 | test "$ac_signal" != 0 && | 
|---|
|  | 2247 | $as_echo "$as_me: caught signal $ac_signal" | 
|---|
|  | 2248 | $as_echo "$as_me: exit $exit_status" | 
|---|
|  | 2249 | } >&5 | 
|---|
|  | 2250 | rm -f core *.core core.conftest.* && | 
|---|
|  | 2251 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | 
|---|
|  | 2252 | exit $exit_status | 
|---|
|  | 2253 | ' 0 | 
|---|
|  | 2254 | for ac_signal in 1 2 13 15; do | 
|---|
|  | 2255 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal | 
|---|
|  | 2256 | done | 
|---|
|  | 2257 | ac_signal=0 | 
|---|
|  | 2258 |  | 
|---|
|  | 2259 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | 
|---|
|  | 2260 | rm -f -r conftest* confdefs.h | 
|---|
|  | 2261 |  | 
|---|
|  | 2262 | $as_echo "/* confdefs.h */" > confdefs.h | 
|---|
|  | 2263 |  | 
|---|
|  | 2264 | # Predefined preprocessor variables. | 
|---|
|  | 2265 |  | 
|---|
|  | 2266 | cat >>confdefs.h <<_ACEOF | 
|---|
|  | 2267 | #define PACKAGE_NAME "$PACKAGE_NAME" | 
|---|
|  | 2268 | _ACEOF | 
|---|
|  | 2269 |  | 
|---|
|  | 2270 | cat >>confdefs.h <<_ACEOF | 
|---|
|  | 2271 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 
|---|
|  | 2272 | _ACEOF | 
|---|
|  | 2273 |  | 
|---|
|  | 2274 | cat >>confdefs.h <<_ACEOF | 
|---|
|  | 2275 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | 
|---|
|  | 2276 | _ACEOF | 
|---|
|  | 2277 |  | 
|---|
|  | 2278 | cat >>confdefs.h <<_ACEOF | 
|---|
|  | 2279 | #define PACKAGE_STRING "$PACKAGE_STRING" | 
|---|
|  | 2280 | _ACEOF | 
|---|
|  | 2281 |  | 
|---|
|  | 2282 | cat >>confdefs.h <<_ACEOF | 
|---|
|  | 2283 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 
|---|
|  | 2284 | _ACEOF | 
|---|
|  | 2285 |  | 
|---|
|  | 2286 | cat >>confdefs.h <<_ACEOF | 
|---|
|  | 2287 | #define PACKAGE_URL "$PACKAGE_URL" | 
|---|
|  | 2288 | _ACEOF | 
|---|
|  | 2289 |  | 
|---|
|  | 2290 |  | 
|---|
|  | 2291 | # Let the site file select an alternate cache file if it wants to. | 
|---|
|  | 2292 | # Prefer an explicitly selected file to automatically selected ones. | 
|---|
|  | 2293 | ac_site_file1=NONE | 
|---|
|  | 2294 | ac_site_file2=NONE | 
|---|
|  | 2295 | if test -n "$CONFIG_SITE"; then | 
|---|
|  | 2296 | # We do not want a PATH search for config.site. | 
|---|
|  | 2297 | case $CONFIG_SITE in #(( | 
|---|
|  | 2298 | -*)  ac_site_file1=./$CONFIG_SITE;; | 
|---|
|  | 2299 | */*) ac_site_file1=$CONFIG_SITE;; | 
|---|
|  | 2300 | *)   ac_site_file1=./$CONFIG_SITE;; | 
|---|
|  | 2301 | esac | 
|---|
|  | 2302 | elif test "x$prefix" != xNONE; then | 
|---|
|  | 2303 | ac_site_file1=$prefix/share/config.site | 
|---|
|  | 2304 | ac_site_file2=$prefix/etc/config.site | 
|---|
|  | 2305 | else | 
|---|
|  | 2306 | ac_site_file1=$ac_default_prefix/share/config.site | 
|---|
|  | 2307 | ac_site_file2=$ac_default_prefix/etc/config.site | 
|---|
|  | 2308 | fi | 
|---|
|  | 2309 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" | 
|---|
|  | 2310 | do | 
|---|
|  | 2311 | test "x$ac_site_file" = xNONE && continue | 
|---|
|  | 2312 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | 
|---|
|  | 2313 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | 
|---|
|  | 2314 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} | 
|---|
|  | 2315 | sed 's/^/| /' "$ac_site_file" >&5 | 
|---|
|  | 2316 | . "$ac_site_file" \ | 
|---|
|  | 2317 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
|---|
|  | 2318 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
|---|
|  | 2319 | as_fn_error $? "failed to load site script $ac_site_file | 
|---|
|  | 2320 | See \`config.log' for more details" "$LINENO" 5; } | 
|---|
|  | 2321 | fi | 
|---|
|  | 2322 | done | 
|---|
|  | 2323 |  | 
|---|
|  | 2324 | if test -r "$cache_file"; then | 
|---|
|  | 2325 | # Some versions of bash will fail to source /dev/null (special files | 
|---|
|  | 2326 | # actually), so we avoid doing that.  DJGPP emulates it as a regular file. | 
|---|
|  | 2327 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then | 
|---|
|  | 2328 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | 
|---|
|  | 2329 | $as_echo "$as_me: loading cache $cache_file" >&6;} | 
|---|
|  | 2330 | case $cache_file in | 
|---|
|  | 2331 | [\\/]* | ?:[\\/]* ) . "$cache_file";; | 
|---|
|  | 2332 | *)                      . "./$cache_file";; | 
|---|
|  | 2333 | esac | 
|---|
|  | 2334 | fi | 
|---|
|  | 2335 | else | 
|---|
|  | 2336 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 | 
|---|
|  | 2337 | $as_echo "$as_me: creating cache $cache_file" >&6;} | 
|---|
|  | 2338 | >$cache_file | 
|---|
|  | 2339 | fi | 
|---|
|  | 2340 |  | 
|---|
|  | 2341 | # Check that the precious variables saved in the cache have kept the same | 
|---|
|  | 2342 | # value. | 
|---|
|  | 2343 | ac_cache_corrupted=false | 
|---|
|  | 2344 | for ac_var in $ac_precious_vars; do | 
|---|
|  | 2345 | eval ac_old_set=\$ac_cv_env_${ac_var}_set | 
|---|
|  | 2346 | eval ac_new_set=\$ac_env_${ac_var}_set | 
|---|
|  | 2347 | eval ac_old_val=\$ac_cv_env_${ac_var}_value | 
|---|
|  | 2348 | eval ac_new_val=\$ac_env_${ac_var}_value | 
|---|
|  | 2349 | case $ac_old_set,$ac_new_set in | 
|---|
|  | 2350 | set,) | 
|---|
|  | 2351 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 
|---|
|  | 2352 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 
|---|
|  | 2353 | ac_cache_corrupted=: ;; | 
|---|
|  | 2354 | ,set) | 
|---|
|  | 2355 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 | 
|---|
|  | 2356 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 
|---|
|  | 2357 | ac_cache_corrupted=: ;; | 
|---|
|  | 2358 | ,);; | 
|---|
|  | 2359 | *) | 
|---|
|  | 2360 | if test "x$ac_old_val" != "x$ac_new_val"; then | 
|---|
|  | 2361 | # differences in whitespace do not lead to failure. | 
|---|
|  | 2362 | ac_old_val_w=`echo x $ac_old_val` | 
|---|
|  | 2363 | ac_new_val_w=`echo x $ac_new_val` | 
|---|
|  | 2364 | if test "$ac_old_val_w" != "$ac_new_val_w"; then | 
|---|
|  | 2365 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 | 
|---|
|  | 2366 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 
|---|
|  | 2367 | ac_cache_corrupted=: | 
|---|
|  | 2368 | else | 
|---|
|  | 2369 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | 
|---|
|  | 2370 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | 
|---|
|  | 2371 | eval $ac_var=\$ac_old_val | 
|---|
|  | 2372 | fi | 
|---|
|  | 2373 | { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5 | 
|---|
|  | 2374 | $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;} | 
|---|
|  | 2375 | { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5 | 
|---|
|  | 2376 | $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;} | 
|---|
|  | 2377 | fi;; | 
|---|
|  | 2378 | esac | 
|---|
|  | 2379 | # Pass precious variables to config.status. | 
|---|
|  | 2380 | if test "$ac_new_set" = set; then | 
|---|
|  | 2381 | case $ac_new_val in | 
|---|
|  | 2382 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 
|---|
|  | 2383 | *) ac_arg=$ac_var=$ac_new_val ;; | 
|---|
|  | 2384 | esac | 
|---|
|  | 2385 | case " $ac_configure_args " in | 
|---|
|  | 2386 | *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. | 
|---|
|  | 2387 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; | 
|---|
|  | 2388 | esac | 
|---|
|  | 2389 | fi | 
|---|
|  | 2390 | done | 
|---|
|  | 2391 | if $ac_cache_corrupted; then | 
|---|
|  | 2392 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
|---|
|  | 2393 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
|---|
|  | 2394 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | 
|---|
|  | 2395 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 
|---|
|  | 2396 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | 
|---|
|  | 2397 | fi | 
|---|
|  | 2398 | ## -------------------- ## | 
|---|
|  | 2399 | ## Main body of script. ## | 
|---|
|  | 2400 | ## -------------------- ## | 
|---|
|  | 2401 |  | 
|---|
|  | 2402 | ac_ext=c | 
|---|
|  | 2403 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
|  | 2404 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
|  | 2405 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
|  | 2406 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
|  | 2407 |  | 
|---|
|  | 2408 |  | 
|---|
|  | 2409 | ac_aux_dir= | 
|---|
| [00cc023] | 2410 | for ac_dir in automake "$srcdir"/automake; do | 
|---|
| [3b77289] | 2411 | if test -f "$ac_dir/install-sh"; then | 
|---|
|  | 2412 | ac_aux_dir=$ac_dir | 
|---|
|  | 2413 | ac_install_sh="$ac_aux_dir/install-sh -c" | 
|---|
|  | 2414 | break | 
|---|
|  | 2415 | elif test -f "$ac_dir/install.sh"; then | 
|---|
|  | 2416 | ac_aux_dir=$ac_dir | 
|---|
|  | 2417 | ac_install_sh="$ac_aux_dir/install.sh -c" | 
|---|
|  | 2418 | break | 
|---|
|  | 2419 | elif test -f "$ac_dir/shtool"; then | 
|---|
|  | 2420 | ac_aux_dir=$ac_dir | 
|---|
|  | 2421 | ac_install_sh="$ac_aux_dir/shtool install -c" | 
|---|
|  | 2422 | break | 
|---|
|  | 2423 | fi | 
|---|
|  | 2424 | done | 
|---|
|  | 2425 | if test -z "$ac_aux_dir"; then | 
|---|
| [00cc023] | 2426 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in automake \"$srcdir\"/automake" "$LINENO" 5 | 
|---|
| [3b77289] | 2427 | fi | 
|---|
|  | 2428 |  | 
|---|
|  | 2429 | # These three variables are undocumented and unsupported, | 
|---|
|  | 2430 | # and are intended to be withdrawn in a future Autoconf release. | 
|---|
|  | 2431 | # They can cause serious problems if a builder's source tree is in a directory | 
|---|
|  | 2432 | # whose full name contains unusual characters. | 
|---|
|  | 2433 | ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var. | 
|---|
|  | 2434 | ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var. | 
|---|
|  | 2435 | ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var. | 
|---|
|  | 2436 |  | 
|---|
|  | 2437 |  | 
|---|
| [d3b7937] | 2438 | #AC_CONFIG_SRCDIR([src/main.cc]) | 
|---|
| [00cc023] | 2439 | ac_config_headers="$ac_config_headers config.h" | 
|---|
|  | 2440 |  | 
|---|
| [ef7d253] | 2441 | # Check whether --enable-silent-rules was given. | 
|---|
|  | 2442 | if test "${enable_silent_rules+set}" = set; then : | 
|---|
|  | 2443 | enableval=$enable_silent_rules; | 
|---|
|  | 2444 | fi | 
|---|
|  | 2445 |  | 
|---|
|  | 2446 | case $enable_silent_rules in # ((( | 
|---|
|  | 2447 | yes) AM_DEFAULT_VERBOSITY=0;; | 
|---|
|  | 2448 | no) AM_DEFAULT_VERBOSITY=1;; | 
|---|
|  | 2449 | *) AM_DEFAULT_VERBOSITY=1;; | 
|---|
|  | 2450 | esac | 
|---|
|  | 2451 | am_make=${MAKE-make} | 
|---|
|  | 2452 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 | 
|---|
|  | 2453 | $as_echo_n "checking whether $am_make supports nested variables... " >&6; } | 
|---|
|  | 2454 | if ${am_cv_make_support_nested_variables+:} false; then : | 
|---|
|  | 2455 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 2456 | else | 
|---|
|  | 2457 | if $as_echo 'TRUE=$(BAR$(V)) | 
|---|
|  | 2458 | BAR0=false | 
|---|
|  | 2459 | BAR1=true | 
|---|
|  | 2460 | V=1 | 
|---|
|  | 2461 | am__doit: | 
|---|
|  | 2462 | @$(TRUE) | 
|---|
|  | 2463 | .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then | 
|---|
|  | 2464 | am_cv_make_support_nested_variables=yes | 
|---|
|  | 2465 | else | 
|---|
|  | 2466 | am_cv_make_support_nested_variables=no | 
|---|
|  | 2467 | fi | 
|---|
|  | 2468 | fi | 
|---|
|  | 2469 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 | 
|---|
|  | 2470 | $as_echo "$am_cv_make_support_nested_variables" >&6; } | 
|---|
|  | 2471 | if test $am_cv_make_support_nested_variables = yes; then | 
|---|
|  | 2472 | AM_V='$(V)' | 
|---|
|  | 2473 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' | 
|---|
|  | 2474 | else | 
|---|
|  | 2475 | AM_V=$AM_DEFAULT_VERBOSITY | 
|---|
|  | 2476 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY | 
|---|
|  | 2477 | fi | 
|---|
|  | 2478 | AM_BACKSLASH='\' | 
|---|
|  | 2479 |  | 
|---|
| [00cc023] | 2480 |  | 
|---|
| [90c3b1c] | 2481 | if test "x${CXXFLAGS}" = "x"; then | 
|---|
|  | 2482 | export CXXFLAGS="-std=c++11 -g -O2 ${CXXFLAGS}" | 
|---|
|  | 2483 | else | 
|---|
|  | 2484 | export CXXFLAGS="-std=c++11 ${CXXFLAGS}" | 
|---|
|  | 2485 | fi | 
|---|
|  | 2486 |  | 
|---|
| [ef7d253] | 2487 | am__api_version='1.14' | 
|---|
| [00cc023] | 2488 |  | 
|---|
| [3b77289] | 2489 | # Find a good install program.  We prefer a C program (faster), | 
|---|
|  | 2490 | # so one script is as good as another.  But avoid the broken or | 
|---|
|  | 2491 | # incompatible versions: | 
|---|
|  | 2492 | # SysV /etc/install, /usr/sbin/install | 
|---|
|  | 2493 | # SunOS /usr/etc/install | 
|---|
|  | 2494 | # IRIX /sbin/install | 
|---|
|  | 2495 | # AIX /bin/install | 
|---|
|  | 2496 | # AmigaOS /C/install, which installs bootblocks on floppy discs | 
|---|
|  | 2497 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 
|---|
|  | 2498 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 
|---|
|  | 2499 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 
|---|
|  | 2500 | # OS/2's system install, which has a completely different semantic | 
|---|
|  | 2501 | # ./install, which can be erroneously created by make from ./install.sh. | 
|---|
|  | 2502 | # Reject install programs that cannot install multiple files. | 
|---|
|  | 2503 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 | 
|---|
|  | 2504 | $as_echo_n "checking for a BSD-compatible install... " >&6; } | 
|---|
|  | 2505 | if test -z "$INSTALL"; then | 
|---|
|  | 2506 | if ${ac_cv_path_install+:} false; then : | 
|---|
|  | 2507 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 2508 | else | 
|---|
|  | 2509 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
|  | 2510 | for as_dir in $PATH | 
|---|
|  | 2511 | do | 
|---|
|  | 2512 | IFS=$as_save_IFS | 
|---|
|  | 2513 | test -z "$as_dir" && as_dir=. | 
|---|
|  | 2514 | # Account for people who put trailing slashes in PATH elements. | 
|---|
|  | 2515 | case $as_dir/ in #(( | 
|---|
|  | 2516 | ./ | .// | /[cC]/* | \ | 
|---|
|  | 2517 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 
|---|
|  | 2518 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | 
|---|
|  | 2519 | /usr/ucb/* ) ;; | 
|---|
|  | 2520 | *) | 
|---|
|  | 2521 | # OSF1 and SCO ODT 3.0 have their own names for install. | 
|---|
|  | 2522 | # Don't use installbsd from OSF since it installs stuff as root | 
|---|
|  | 2523 | # by default. | 
|---|
|  | 2524 | for ac_prog in ginstall scoinst install; do | 
|---|
|  | 2525 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| [ef7d253] | 2526 | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | 
|---|
| [3b77289] | 2527 | if test $ac_prog = install && | 
|---|
|  | 2528 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
|---|
|  | 2529 | # AIX install.  It has an incompatible calling convention. | 
|---|
|  | 2530 | : | 
|---|
|  | 2531 | elif test $ac_prog = install && | 
|---|
|  | 2532 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
|---|
|  | 2533 | # program-specific install script used by HP pwplus--don't use. | 
|---|
|  | 2534 | : | 
|---|
|  | 2535 | else | 
|---|
|  | 2536 | rm -rf conftest.one conftest.two conftest.dir | 
|---|
|  | 2537 | echo one > conftest.one | 
|---|
|  | 2538 | echo two > conftest.two | 
|---|
|  | 2539 | mkdir conftest.dir | 
|---|
|  | 2540 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | 
|---|
|  | 2541 | test -s conftest.one && test -s conftest.two && | 
|---|
|  | 2542 | test -s conftest.dir/conftest.one && | 
|---|
|  | 2543 | test -s conftest.dir/conftest.two | 
|---|
|  | 2544 | then | 
|---|
|  | 2545 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 
|---|
|  | 2546 | break 3 | 
|---|
|  | 2547 | fi | 
|---|
|  | 2548 | fi | 
|---|
|  | 2549 | fi | 
|---|
|  | 2550 | done | 
|---|
|  | 2551 | done | 
|---|
|  | 2552 | ;; | 
|---|
|  | 2553 | esac | 
|---|
|  | 2554 |  | 
|---|
|  | 2555 | done | 
|---|
|  | 2556 | IFS=$as_save_IFS | 
|---|
|  | 2557 |  | 
|---|
|  | 2558 | rm -rf conftest.one conftest.two conftest.dir | 
|---|
|  | 2559 |  | 
|---|
|  | 2560 | fi | 
|---|
|  | 2561 | if test "${ac_cv_path_install+set}" = set; then | 
|---|
|  | 2562 | INSTALL=$ac_cv_path_install | 
|---|
|  | 2563 | else | 
|---|
|  | 2564 | # As a last resort, use the slow shell script.  Don't cache a | 
|---|
|  | 2565 | # value for INSTALL within a source directory, because that will | 
|---|
|  | 2566 | # break other packages using the cache if that directory is | 
|---|
|  | 2567 | # removed, or if the value is a relative name. | 
|---|
|  | 2568 | INSTALL=$ac_install_sh | 
|---|
|  | 2569 | fi | 
|---|
|  | 2570 | fi | 
|---|
|  | 2571 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 | 
|---|
|  | 2572 | $as_echo "$INSTALL" >&6; } | 
|---|
|  | 2573 |  | 
|---|
|  | 2574 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 
|---|
|  | 2575 | # It thinks the first close brace ends the variable substitution. | 
|---|
|  | 2576 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 
|---|
|  | 2577 |  | 
|---|
|  | 2578 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | 
|---|
|  | 2579 |  | 
|---|
|  | 2580 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 
|---|
|  | 2581 |  | 
|---|
|  | 2582 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 | 
|---|
|  | 2583 | $as_echo_n "checking whether build environment is sane... " >&6; } | 
|---|
|  | 2584 | # Reject unsafe characters in $srcdir or the absolute working directory | 
|---|
|  | 2585 | # name.  Accept space and tab only in the latter. | 
|---|
|  | 2586 | am_lf=' | 
|---|
|  | 2587 | ' | 
|---|
|  | 2588 | case `pwd` in | 
|---|
|  | 2589 | *[\\\"\#\$\&\'\`$am_lf]*) | 
|---|
|  | 2590 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; | 
|---|
|  | 2591 | esac | 
|---|
|  | 2592 | case $srcdir in | 
|---|
|  | 2593 | *[\\\"\#\$\&\'\`$am_lf\ \     ]*) | 
|---|
| [ef7d253] | 2594 | as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; | 
|---|
| [3b77289] | 2595 | esac | 
|---|
|  | 2596 |  | 
|---|
| [ef7d253] | 2597 | # Do 'set' in a subshell so we don't clobber the current shell's | 
|---|
| [3b77289] | 2598 | # arguments.  Must try -L first in case configure is actually a | 
|---|
|  | 2599 | # symlink; some systems play weird games with the mod time of symlinks | 
|---|
|  | 2600 | # (eg FreeBSD returns the mod time of the symlink's containing | 
|---|
|  | 2601 | # directory). | 
|---|
|  | 2602 | if ( | 
|---|
| [ef7d253] | 2603 | am_has_slept=no | 
|---|
|  | 2604 | for am_try in 1 2; do | 
|---|
|  | 2605 | echo "timestamp, slept: $am_has_slept" > conftest.file | 
|---|
|  | 2606 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | 
|---|
|  | 2607 | if test "$*" = "X"; then | 
|---|
|  | 2608 | # -L didn't work. | 
|---|
|  | 2609 | set X `ls -t "$srcdir/configure" conftest.file` | 
|---|
|  | 2610 | fi | 
|---|
|  | 2611 | if test "$*" != "X $srcdir/configure conftest.file" \ | 
|---|
|  | 2612 | && test "$*" != "X conftest.file $srcdir/configure"; then | 
|---|
|  | 2613 |  | 
|---|
|  | 2614 | # If neither matched, then we have a broken ls.  This can happen | 
|---|
|  | 2615 | # if, for instance, CONFIG_SHELL is bash and it inherits a | 
|---|
|  | 2616 | # broken ls alias from the environment.  This has actually | 
|---|
|  | 2617 | # happened.  Such a system could not be considered "sane". | 
|---|
|  | 2618 | as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken | 
|---|
|  | 2619 | alias in your environment" "$LINENO" 5 | 
|---|
|  | 2620 | fi | 
|---|
|  | 2621 | if test "$2" = conftest.file || test $am_try -eq 2; then | 
|---|
|  | 2622 | break | 
|---|
|  | 2623 | fi | 
|---|
|  | 2624 | # Just in case. | 
|---|
|  | 2625 | sleep 1 | 
|---|
|  | 2626 | am_has_slept=yes | 
|---|
|  | 2627 | done | 
|---|
| [3b77289] | 2628 | test "$2" = conftest.file | 
|---|
|  | 2629 | ) | 
|---|
|  | 2630 | then | 
|---|
|  | 2631 | # Ok. | 
|---|
|  | 2632 | : | 
|---|
|  | 2633 | else | 
|---|
|  | 2634 | as_fn_error $? "newly created file is older than distributed files! | 
|---|
|  | 2635 | Check your system clock" "$LINENO" 5 | 
|---|
|  | 2636 | fi | 
|---|
|  | 2637 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 
|---|
|  | 2638 | $as_echo "yes" >&6; } | 
|---|
| [ef7d253] | 2639 | # If we didn't sleep, we still need to ensure time stamps of config.status and | 
|---|
|  | 2640 | # generated files are strictly newer. | 
|---|
|  | 2641 | am_sleep_pid= | 
|---|
|  | 2642 | if grep 'slept: no' conftest.file >/dev/null 2>&1; then | 
|---|
|  | 2643 | ( sleep 1 ) & | 
|---|
|  | 2644 | am_sleep_pid=$! | 
|---|
|  | 2645 | fi | 
|---|
|  | 2646 |  | 
|---|
|  | 2647 | rm -f conftest.file | 
|---|
|  | 2648 |  | 
|---|
| [3b77289] | 2649 | test "$program_prefix" != NONE && | 
|---|
|  | 2650 | program_transform_name="s&^&$program_prefix&;$program_transform_name" | 
|---|
|  | 2651 | # Use a double $ so make ignores it. | 
|---|
|  | 2652 | test "$program_suffix" != NONE && | 
|---|
|  | 2653 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" | 
|---|
|  | 2654 | # Double any \ or $. | 
|---|
|  | 2655 | # By default was `s,x,x', remove it if useless. | 
|---|
|  | 2656 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' | 
|---|
|  | 2657 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` | 
|---|
|  | 2658 |  | 
|---|
|  | 2659 | # expand $ac_aux_dir to an absolute path | 
|---|
|  | 2660 | am_aux_dir=`cd $ac_aux_dir && pwd` | 
|---|
|  | 2661 |  | 
|---|
|  | 2662 | if test x"${MISSING+set}" != xset; then | 
|---|
|  | 2663 | case $am_aux_dir in | 
|---|
|  | 2664 | *\ * | *\     *) | 
|---|
|  | 2665 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | 
|---|
|  | 2666 | *) | 
|---|
|  | 2667 | MISSING="\${SHELL} $am_aux_dir/missing" ;; | 
|---|
|  | 2668 | esac | 
|---|
|  | 2669 | fi | 
|---|
|  | 2670 | # Use eval to expand $SHELL | 
|---|
| [ef7d253] | 2671 | if eval "$MISSING --is-lightweight"; then | 
|---|
|  | 2672 | am_missing_run="$MISSING " | 
|---|
| [3b77289] | 2673 | else | 
|---|
|  | 2674 | am_missing_run= | 
|---|
| [ef7d253] | 2675 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 | 
|---|
|  | 2676 | $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} | 
|---|
| [3b77289] | 2677 | fi | 
|---|
|  | 2678 |  | 
|---|
|  | 2679 | if test x"${install_sh}" != xset; then | 
|---|
|  | 2680 | case $am_aux_dir in | 
|---|
|  | 2681 | *\ * | *\     *) | 
|---|
|  | 2682 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | 
|---|
|  | 2683 | *) | 
|---|
|  | 2684 | install_sh="\${SHELL} $am_aux_dir/install-sh" | 
|---|
|  | 2685 | esac | 
|---|
|  | 2686 | fi | 
|---|
|  | 2687 |  | 
|---|
| [ef7d253] | 2688 | # Installed binaries are usually stripped using 'strip' when the user | 
|---|
|  | 2689 | # run "make install-strip".  However 'strip' might not be the right | 
|---|
| [3b77289] | 2690 | # tool to use in cross-compilation environments, therefore Automake | 
|---|
| [ef7d253] | 2691 | # will honor the 'STRIP' environment variable to overrule this program. | 
|---|
| [3b77289] | 2692 | if test "$cross_compiling" != no; then | 
|---|
|  | 2693 | if test -n "$ac_tool_prefix"; then | 
|---|
|  | 2694 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | 
|---|
|  | 2695 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | 
|---|
|  | 2696 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
|  | 2697 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
|  | 2698 | if ${ac_cv_prog_STRIP+:} false; then : | 
|---|
|  | 2699 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 2700 | else | 
|---|
|  | 2701 | if test -n "$STRIP"; then | 
|---|
|  | 2702 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | 
|---|
|  | 2703 | else | 
|---|
|  | 2704 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
|  | 2705 | for as_dir in $PATH | 
|---|
|  | 2706 | do | 
|---|
|  | 2707 | IFS=$as_save_IFS | 
|---|
|  | 2708 | test -z "$as_dir" && as_dir=. | 
|---|
|  | 2709 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| [ef7d253] | 2710 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| [3b77289] | 2711 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" | 
|---|
|  | 2712 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
|  | 2713 | break 2 | 
|---|
|  | 2714 | fi | 
|---|
|  | 2715 | done | 
|---|
|  | 2716 | done | 
|---|
|  | 2717 | IFS=$as_save_IFS | 
|---|
|  | 2718 |  | 
|---|
|  | 2719 | fi | 
|---|
|  | 2720 | fi | 
|---|
|  | 2721 | STRIP=$ac_cv_prog_STRIP | 
|---|
|  | 2722 | if test -n "$STRIP"; then | 
|---|
|  | 2723 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 | 
|---|
|  | 2724 | $as_echo "$STRIP" >&6; } | 
|---|
|  | 2725 | else | 
|---|
|  | 2726 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
|  | 2727 | $as_echo "no" >&6; } | 
|---|
|  | 2728 | fi | 
|---|
|  | 2729 |  | 
|---|
|  | 2730 |  | 
|---|
|  | 2731 | fi | 
|---|
|  | 2732 | if test -z "$ac_cv_prog_STRIP"; then | 
|---|
|  | 2733 | ac_ct_STRIP=$STRIP | 
|---|
|  | 2734 | # Extract the first word of "strip", so it can be a program name with args. | 
|---|
|  | 2735 | set dummy strip; ac_word=$2 | 
|---|
|  | 2736 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
|  | 2737 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
|  | 2738 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : | 
|---|
|  | 2739 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 2740 | else | 
|---|
|  | 2741 | if test -n "$ac_ct_STRIP"; then | 
|---|
|  | 2742 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | 
|---|
|  | 2743 | else | 
|---|
|  | 2744 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
|  | 2745 | for as_dir in $PATH | 
|---|
|  | 2746 | do | 
|---|
|  | 2747 | IFS=$as_save_IFS | 
|---|
|  | 2748 | test -z "$as_dir" && as_dir=. | 
|---|
|  | 2749 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| [ef7d253] | 2750 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| [3b77289] | 2751 | ac_cv_prog_ac_ct_STRIP="strip" | 
|---|
|  | 2752 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
|  | 2753 | break 2 | 
|---|
|  | 2754 | fi | 
|---|
|  | 2755 | done | 
|---|
|  | 2756 | done | 
|---|
|  | 2757 | IFS=$as_save_IFS | 
|---|
|  | 2758 |  | 
|---|
|  | 2759 | fi | 
|---|
|  | 2760 | fi | 
|---|
|  | 2761 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | 
|---|
|  | 2762 | if test -n "$ac_ct_STRIP"; then | 
|---|
|  | 2763 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 | 
|---|
|  | 2764 | $as_echo "$ac_ct_STRIP" >&6; } | 
|---|
|  | 2765 | else | 
|---|
|  | 2766 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
|  | 2767 | $as_echo "no" >&6; } | 
|---|
|  | 2768 | fi | 
|---|
|  | 2769 |  | 
|---|
|  | 2770 | if test "x$ac_ct_STRIP" = x; then | 
|---|
|  | 2771 | STRIP=":" | 
|---|
|  | 2772 | else | 
|---|
|  | 2773 | case $cross_compiling:$ac_tool_warned in | 
|---|
|  | 2774 | yes:) | 
|---|
|  | 2775 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 
|---|
|  | 2776 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 
|---|
|  | 2777 | ac_tool_warned=yes ;; | 
|---|
|  | 2778 | esac | 
|---|
|  | 2779 | STRIP=$ac_ct_STRIP | 
|---|
|  | 2780 | fi | 
|---|
|  | 2781 | else | 
|---|
|  | 2782 | STRIP="$ac_cv_prog_STRIP" | 
|---|
|  | 2783 | fi | 
|---|
|  | 2784 |  | 
|---|
|  | 2785 | fi | 
|---|
|  | 2786 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | 
|---|
|  | 2787 |  | 
|---|
|  | 2788 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 | 
|---|
|  | 2789 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } | 
|---|
|  | 2790 | if test -z "$MKDIR_P"; then | 
|---|
|  | 2791 | if ${ac_cv_path_mkdir+:} false; then : | 
|---|
|  | 2792 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 2793 | else | 
|---|
|  | 2794 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
|  | 2795 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | 
|---|
|  | 2796 | do | 
|---|
|  | 2797 | IFS=$as_save_IFS | 
|---|
|  | 2798 | test -z "$as_dir" && as_dir=. | 
|---|
|  | 2799 | for ac_prog in mkdir gmkdir; do | 
|---|
|  | 2800 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| [ef7d253] | 2801 | as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue | 
|---|
| [3b77289] | 2802 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( | 
|---|
|  | 2803 | 'mkdir (GNU coreutils) '* | \ | 
|---|
|  | 2804 | 'mkdir (coreutils) '* | \ | 
|---|
|  | 2805 | 'mkdir (fileutils) '4.1*) | 
|---|
|  | 2806 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext | 
|---|
|  | 2807 | break 3;; | 
|---|
|  | 2808 | esac | 
|---|
|  | 2809 | done | 
|---|
|  | 2810 | done | 
|---|
|  | 2811 | done | 
|---|
|  | 2812 | IFS=$as_save_IFS | 
|---|
|  | 2813 |  | 
|---|
|  | 2814 | fi | 
|---|
|  | 2815 |  | 
|---|
|  | 2816 | test -d ./--version && rmdir ./--version | 
|---|
|  | 2817 | if test "${ac_cv_path_mkdir+set}" = set; then | 
|---|
|  | 2818 | MKDIR_P="$ac_cv_path_mkdir -p" | 
|---|
|  | 2819 | else | 
|---|
|  | 2820 | # As a last resort, use the slow shell script.  Don't cache a | 
|---|
|  | 2821 | # value for MKDIR_P within a source directory, because that will | 
|---|
|  | 2822 | # break other packages using the cache if that directory is | 
|---|
|  | 2823 | # removed, or if the value is a relative name. | 
|---|
|  | 2824 | MKDIR_P="$ac_install_sh -d" | 
|---|
|  | 2825 | fi | 
|---|
|  | 2826 | fi | 
|---|
|  | 2827 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 | 
|---|
|  | 2828 | $as_echo "$MKDIR_P" >&6; } | 
|---|
|  | 2829 |  | 
|---|
|  | 2830 | for ac_prog in gawk mawk nawk awk | 
|---|
|  | 2831 | do | 
|---|
|  | 2832 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
|  | 2833 | set dummy $ac_prog; ac_word=$2 | 
|---|
|  | 2834 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
|  | 2835 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
|  | 2836 | if ${ac_cv_prog_AWK+:} false; then : | 
|---|
|  | 2837 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 2838 | else | 
|---|
|  | 2839 | if test -n "$AWK"; then | 
|---|
|  | 2840 | ac_cv_prog_AWK="$AWK" # Let the user override the test. | 
|---|
|  | 2841 | else | 
|---|
|  | 2842 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
|  | 2843 | for as_dir in $PATH | 
|---|
|  | 2844 | do | 
|---|
|  | 2845 | IFS=$as_save_IFS | 
|---|
|  | 2846 | test -z "$as_dir" && as_dir=. | 
|---|
|  | 2847 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| [ef7d253] | 2848 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| [3b77289] | 2849 | ac_cv_prog_AWK="$ac_prog" | 
|---|
|  | 2850 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
|  | 2851 | break 2 | 
|---|
|  | 2852 | fi | 
|---|
|  | 2853 | done | 
|---|
|  | 2854 | done | 
|---|
|  | 2855 | IFS=$as_save_IFS | 
|---|
|  | 2856 |  | 
|---|
|  | 2857 | fi | 
|---|
|  | 2858 | fi | 
|---|
|  | 2859 | AWK=$ac_cv_prog_AWK | 
|---|
|  | 2860 | if test -n "$AWK"; then | 
|---|
|  | 2861 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 | 
|---|
|  | 2862 | $as_echo "$AWK" >&6; } | 
|---|
|  | 2863 | else | 
|---|
|  | 2864 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
|  | 2865 | $as_echo "no" >&6; } | 
|---|
|  | 2866 | fi | 
|---|
|  | 2867 |  | 
|---|
|  | 2868 |  | 
|---|
|  | 2869 | test -n "$AWK" && break | 
|---|
|  | 2870 | done | 
|---|
|  | 2871 |  | 
|---|
|  | 2872 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 
|---|
|  | 2873 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | 
|---|
|  | 2874 | set x ${MAKE-make} | 
|---|
|  | 2875 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | 
|---|
|  | 2876 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : | 
|---|
|  | 2877 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 2878 | else | 
|---|
|  | 2879 | cat >conftest.make <<\_ACEOF | 
|---|
|  | 2880 | SHELL = /bin/sh | 
|---|
|  | 2881 | all: | 
|---|
|  | 2882 | @echo '@@@%%%=$(MAKE)=@@@%%%' | 
|---|
|  | 2883 | _ACEOF | 
|---|
|  | 2884 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. | 
|---|
|  | 2885 | case `${MAKE-make} -f conftest.make 2>/dev/null` in | 
|---|
|  | 2886 | *@@@%%%=?*=@@@%%%*) | 
|---|
|  | 2887 | eval ac_cv_prog_make_${ac_make}_set=yes;; | 
|---|
|  | 2888 | *) | 
|---|
|  | 2889 | eval ac_cv_prog_make_${ac_make}_set=no;; | 
|---|
|  | 2890 | esac | 
|---|
|  | 2891 | rm -f conftest.make | 
|---|
|  | 2892 | fi | 
|---|
|  | 2893 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | 
|---|
|  | 2894 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 
|---|
|  | 2895 | $as_echo "yes" >&6; } | 
|---|
|  | 2896 | SET_MAKE= | 
|---|
|  | 2897 | else | 
|---|
|  | 2898 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
|  | 2899 | $as_echo "no" >&6; } | 
|---|
|  | 2900 | SET_MAKE="MAKE=${MAKE-make}" | 
|---|
|  | 2901 | fi | 
|---|
|  | 2902 |  | 
|---|
|  | 2903 | rm -rf .tst 2>/dev/null | 
|---|
|  | 2904 | mkdir .tst 2>/dev/null | 
|---|
|  | 2905 | if test -d .tst; then | 
|---|
|  | 2906 | am__leading_dot=. | 
|---|
|  | 2907 | else | 
|---|
|  | 2908 | am__leading_dot=_ | 
|---|
|  | 2909 | fi | 
|---|
|  | 2910 | rmdir .tst 2>/dev/null | 
|---|
|  | 2911 |  | 
|---|
|  | 2912 | if test "`cd $srcdir && pwd`" != "`pwd`"; then | 
|---|
|  | 2913 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | 
|---|
|  | 2914 | # is not polluted with repeated "-I." | 
|---|
|  | 2915 | am__isrc=' -I$(srcdir)' | 
|---|
|  | 2916 | # test to see if srcdir already configured | 
|---|
|  | 2917 | if test -f $srcdir/config.status; then | 
|---|
|  | 2918 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 | 
|---|
|  | 2919 | fi | 
|---|
|  | 2920 | fi | 
|---|
|  | 2921 |  | 
|---|
|  | 2922 | # test whether we have cygpath | 
|---|
|  | 2923 | if test -z "$CYGPATH_W"; then | 
|---|
|  | 2924 | if (cygpath --version) >/dev/null 2>/dev/null; then | 
|---|
|  | 2925 | CYGPATH_W='cygpath -w' | 
|---|
|  | 2926 | else | 
|---|
|  | 2927 | CYGPATH_W=echo | 
|---|
|  | 2928 | fi | 
|---|
|  | 2929 | fi | 
|---|
|  | 2930 |  | 
|---|
|  | 2931 |  | 
|---|
|  | 2932 | # Define the identity of the package. | 
|---|
| [b87a5ed] | 2933 | PACKAGE='cfa-cc' | 
|---|
| [5d6ce1f] | 2934 | VERSION='1.0.0' | 
|---|
| [3b77289] | 2935 |  | 
|---|
|  | 2936 |  | 
|---|
|  | 2937 | cat >>confdefs.h <<_ACEOF | 
|---|
|  | 2938 | #define PACKAGE "$PACKAGE" | 
|---|
|  | 2939 | _ACEOF | 
|---|
|  | 2940 |  | 
|---|
|  | 2941 |  | 
|---|
|  | 2942 | cat >>confdefs.h <<_ACEOF | 
|---|
|  | 2943 | #define VERSION "$VERSION" | 
|---|
|  | 2944 | _ACEOF | 
|---|
|  | 2945 |  | 
|---|
|  | 2946 | # Some tools Automake needs. | 
|---|
|  | 2947 |  | 
|---|
|  | 2948 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | 
|---|
|  | 2949 |  | 
|---|
|  | 2950 |  | 
|---|
|  | 2951 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | 
|---|
|  | 2952 |  | 
|---|
|  | 2953 |  | 
|---|
|  | 2954 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | 
|---|
|  | 2955 |  | 
|---|
|  | 2956 |  | 
|---|
|  | 2957 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | 
|---|
|  | 2958 |  | 
|---|
|  | 2959 |  | 
|---|
|  | 2960 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | 
|---|
|  | 2961 |  | 
|---|
| [ef7d253] | 2962 | # For better backward compatibility.  To be removed once Automake 1.9.x | 
|---|
|  | 2963 | # dies out for good.  For more background, see: | 
|---|
|  | 2964 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | 
|---|
|  | 2965 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | 
|---|
|  | 2966 | mkdir_p='$(MKDIR_P)' | 
|---|
|  | 2967 |  | 
|---|
| [3b77289] | 2968 | # We need awk for the "check" target.  The system "awk" is bad on | 
|---|
|  | 2969 | # some platforms. | 
|---|
|  | 2970 | # Always define AMTAR for backward compatibility.  Yes, it's still used | 
|---|
|  | 2971 | # in the wild :-(  We should find a proper way to deprecate it ... | 
|---|
|  | 2972 | AMTAR='$${TAR-tar}' | 
|---|
|  | 2973 |  | 
|---|
| [ef7d253] | 2974 |  | 
|---|
|  | 2975 | # We'll loop over all known methods to create a tar archive until one works. | 
|---|
|  | 2976 | _am_tools='gnutar  pax cpio none' | 
|---|
|  | 2977 |  | 
|---|
| [3b77289] | 2978 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' | 
|---|
|  | 2979 |  | 
|---|
|  | 2980 |  | 
|---|
|  | 2981 |  | 
|---|
|  | 2982 |  | 
|---|
| [7e91d4f] | 2983 |  | 
|---|
| [5d6ce1f] | 2984 |  | 
|---|
| [ef7d253] | 2985 | # POSIX will say in a future version that running "rm -f" with no argument | 
|---|
|  | 2986 | # is OK; and we want to be able to make that assumption in our Makefile | 
|---|
|  | 2987 | # recipes.  So use an aggressive probe to check that the usage we want is | 
|---|
|  | 2988 | # actually supported "in the wild" to an acceptable degree. | 
|---|
|  | 2989 | # See automake bug#10828. | 
|---|
|  | 2990 | # To make any issue more visible, cause the running configure to be aborted | 
|---|
|  | 2991 | # by default if the 'rm' program in use doesn't match our expectations; the | 
|---|
|  | 2992 | # user can still override this though. | 
|---|
|  | 2993 | if rm -f && rm -fr && rm -rf; then : OK; else | 
|---|
|  | 2994 | cat >&2 <<'END' | 
|---|
|  | 2995 | Oops! | 
|---|
|  | 2996 |  | 
|---|
|  | 2997 | Your 'rm' program seems unable to run without file operands specified | 
|---|
|  | 2998 | on the command line, even when the '-f' option is present.  This is contrary | 
|---|
|  | 2999 | to the behaviour of most rm programs out there, and not conforming with | 
|---|
|  | 3000 | the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> | 
|---|
|  | 3001 |  | 
|---|
|  | 3002 | Please tell bug-automake@gnu.org about your system, including the value | 
|---|
|  | 3003 | of your $PATH and any error possibly output before this message.  This | 
|---|
|  | 3004 | can help us improve future automake versions. | 
|---|
|  | 3005 |  | 
|---|
|  | 3006 | END | 
|---|
|  | 3007 | if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then | 
|---|
|  | 3008 | echo 'Configuration will proceed anyway, since you have set the' >&2 | 
|---|
|  | 3009 | echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 | 
|---|
|  | 3010 | echo >&2 | 
|---|
|  | 3011 | else | 
|---|
|  | 3012 | cat >&2 <<'END' | 
|---|
|  | 3013 | Aborting the configuration process, to ensure you take notice of the issue. | 
|---|
|  | 3014 |  | 
|---|
|  | 3015 | You can download and install GNU coreutils to get an 'rm' implementation | 
|---|
|  | 3016 | that behaves properly: <http://www.gnu.org/software/coreutils/>. | 
|---|
|  | 3017 |  | 
|---|
|  | 3018 | If you want to complete the configuration process using your problematic | 
|---|
|  | 3019 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM | 
|---|
|  | 3020 | to "yes", and re-run configure. | 
|---|
|  | 3021 |  | 
|---|
|  | 3022 | END | 
|---|
|  | 3023 | as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 | 
|---|
|  | 3024 | fi | 
|---|
|  | 3025 | fi | 
|---|
|  | 3026 |  | 
|---|
| [6aa5ec0f] | 3027 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 | 
|---|
|  | 3028 | $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } | 
|---|
|  | 3029 | # Check whether --enable-maintainer-mode was given. | 
|---|
|  | 3030 | if test "${enable_maintainer_mode+set}" = set; then : | 
|---|
|  | 3031 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval | 
|---|
|  | 3032 | else | 
|---|
| [a61fea9a] | 3033 | USE_MAINTAINER_MODE=yes | 
|---|
| [6aa5ec0f] | 3034 | fi | 
|---|
|  | 3035 |  | 
|---|
|  | 3036 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 | 
|---|
|  | 3037 | $as_echo "$USE_MAINTAINER_MODE" >&6; } | 
|---|
|  | 3038 | if test $USE_MAINTAINER_MODE = yes; then | 
|---|
|  | 3039 | MAINTAINER_MODE_TRUE= | 
|---|
|  | 3040 | MAINTAINER_MODE_FALSE='#' | 
|---|
|  | 3041 | else | 
|---|
|  | 3042 | MAINTAINER_MODE_TRUE='#' | 
|---|
|  | 3043 | MAINTAINER_MODE_FALSE= | 
|---|
|  | 3044 | fi | 
|---|
|  | 3045 |  | 
|---|
|  | 3046 | MAINT=$MAINTAINER_MODE_TRUE | 
|---|
|  | 3047 |  | 
|---|
| [472a8dd] | 3048 | # may require auto* software to be installed | 
|---|
| [6aa5ec0f] | 3049 |  | 
|---|
| [5d6ce1f] | 3050 | # Installation paths | 
|---|
|  | 3051 |  | 
|---|
|  | 3052 |  | 
|---|
|  | 3053 | # Check whether --with-backend-compiler was given. | 
|---|
|  | 3054 | if test "${with_backend_compiler+set}" = set; then : | 
|---|
| [e24f13a] | 3055 | withval=$with_backend_compiler; backendcompiler=$withval | 
|---|
| [5d6ce1f] | 3056 | else | 
|---|
| [e24f13a] | 3057 | backendcompiler="" | 
|---|
| [5d6ce1f] | 3058 | fi | 
|---|
|  | 3059 |  | 
|---|
| [e24f13a] | 3060 | if test "x$backendcompiler" != x; then | 
|---|
|  | 3061 | BACKEND_CC=${backendcompiler} | 
|---|
|  | 3062 | else | 
|---|
| [00cc023] | 3063 | # Extract the first word of "gcc", so it can be a program name with args. | 
|---|
| [5d6ce1f] | 3064 | set dummy gcc; ac_word=$2 | 
|---|
| [3b77289] | 3065 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
|  | 3066 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
| [e24f13a] | 3067 | if ${ac_cv_path_BACKEND_CC+:} false; then : | 
|---|
| [3b77289] | 3068 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 3069 | else | 
|---|
| [e24f13a] | 3070 | case $BACKEND_CC in | 
|---|
| [5d6ce1f] | 3071 | [\\/]* | ?:[\\/]*) | 
|---|
| [e24f13a] | 3072 | ac_cv_path_BACKEND_CC="$BACKEND_CC" # Let the user override the test with a path. | 
|---|
| [5d6ce1f] | 3073 | ;; | 
|---|
|  | 3074 | *) | 
|---|
|  | 3075 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| [3b77289] | 3076 | for as_dir in $PATH | 
|---|
|  | 3077 | do | 
|---|
|  | 3078 | IFS=$as_save_IFS | 
|---|
|  | 3079 | test -z "$as_dir" && as_dir=. | 
|---|
|  | 3080 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| [ef7d253] | 3081 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| [e24f13a] | 3082 | ac_cv_path_BACKEND_CC="$as_dir/$ac_word$ac_exec_ext" | 
|---|
| [3b77289] | 3083 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
|  | 3084 | break 2 | 
|---|
|  | 3085 | fi | 
|---|
|  | 3086 | done | 
|---|
|  | 3087 | done | 
|---|
|  | 3088 | IFS=$as_save_IFS | 
|---|
|  | 3089 |  | 
|---|
| [5d6ce1f] | 3090 | ;; | 
|---|
|  | 3091 | esac | 
|---|
| [3b77289] | 3092 | fi | 
|---|
| [e24f13a] | 3093 | BACKEND_CC=$ac_cv_path_BACKEND_CC | 
|---|
|  | 3094 | if test -n "$BACKEND_CC"; then | 
|---|
|  | 3095 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKEND_CC" >&5 | 
|---|
|  | 3096 | $as_echo "$BACKEND_CC" >&6; } | 
|---|
| [5d6ce1f] | 3097 | else | 
|---|
|  | 3098 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
|  | 3099 | $as_echo "no" >&6; } | 
|---|
|  | 3100 | fi | 
|---|
|  | 3101 |  | 
|---|
|  | 3102 |  | 
|---|
| [e24f13a] | 3103 | if test "x$BACKEND_CC" = "x"; then | 
|---|
| [00cc023] | 3104 | as_fn_error $? "some version of gcc is needed. Get it at ftp://ftp.gnu.org" "$LINENO" 5 | 
|---|
|  | 3105 | exit 1 | 
|---|
|  | 3106 | fi | 
|---|
| [e24f13a] | 3107 | fi | 
|---|
| [5d6ce1f] | 3108 |  | 
|---|
|  | 3109 | cat >>confdefs.h <<_ACEOF | 
|---|
| [e24f13a] | 3110 | #define CFA_BACKEND_CC "${BACKEND_CC}" | 
|---|
| [5d6ce1f] | 3111 | _ACEOF | 
|---|
|  | 3112 |  | 
|---|
|  | 3113 |  | 
|---|
|  | 3114 |  | 
|---|
|  | 3115 | if test "x$prefix" = "xNONE"; then | 
|---|
| [00cc023] | 3116 | cfa_prefix=${ac_default_prefix} | 
|---|
| [5d6ce1f] | 3117 | else | 
|---|
| [00cc023] | 3118 | cfa_prefix=${prefix} | 
|---|
| [5d6ce1f] | 3119 | fi | 
|---|
|  | 3120 |  | 
|---|
|  | 3121 | cat >>confdefs.h <<_ACEOF | 
|---|
|  | 3122 | #define CFA_PREFIX "${cfa_prefix}" | 
|---|
|  | 3123 | _ACEOF | 
|---|
|  | 3124 |  | 
|---|
|  | 3125 | CFA_PREFIX=${cfa_prefix} | 
|---|
|  | 3126 |  | 
|---|
|  | 3127 |  | 
|---|
|  | 3128 | if test "$includedir" = '${prefix}/include'; then | 
|---|
|  | 3129 | cfa_incdir="${cfa_prefix}/include" | 
|---|
|  | 3130 | else | 
|---|
| [faf8857] | 3131 | cfa_incdir=${includedir} | 
|---|
| [5d6ce1f] | 3132 | fi | 
|---|
|  | 3133 |  | 
|---|
|  | 3134 | cat >>confdefs.h <<_ACEOF | 
|---|
|  | 3135 | #define CFA_INCDIR "${cfa_incdir}" | 
|---|
|  | 3136 | _ACEOF | 
|---|
|  | 3137 |  | 
|---|
|  | 3138 | CFA_INCDIR=${cfa_incdir} | 
|---|
|  | 3139 |  | 
|---|
|  | 3140 |  | 
|---|
|  | 3141 | if test "$bindir" = '${exec_prefix}/bin'; then | 
|---|
|  | 3142 | cfa_bindir="${cfa_prefix}/bin" | 
|---|
|  | 3143 | else | 
|---|
|  | 3144 | cfa_bindir=${bindir} | 
|---|
| [3b77289] | 3145 | fi | 
|---|
| [5d6ce1f] | 3146 |  | 
|---|
|  | 3147 | cat >>confdefs.h <<_ACEOF | 
|---|
|  | 3148 | #define CFA_BINDIR "${cfa_bindir}" | 
|---|
|  | 3149 | _ACEOF | 
|---|
|  | 3150 |  | 
|---|
|  | 3151 | CFA_BINDIR=${cfa_bindir} | 
|---|
|  | 3152 |  | 
|---|
|  | 3153 |  | 
|---|
|  | 3154 | if test "$libdir" = '${exec_prefix}/lib'; then | 
|---|
|  | 3155 | cfa_libdir=${cfa_prefix}/lib | 
|---|
| [3b77289] | 3156 | else | 
|---|
| [5d6ce1f] | 3157 | cfa_libdir=${libdir} | 
|---|
| [3b77289] | 3158 | fi | 
|---|
|  | 3159 |  | 
|---|
| [5d6ce1f] | 3160 | cat >>confdefs.h <<_ACEOF | 
|---|
|  | 3161 | #define CFA_LIBDIR "${cfa_libdir}" | 
|---|
|  | 3162 | _ACEOF | 
|---|
|  | 3163 |  | 
|---|
|  | 3164 | CFA_LIBDIR=${cfa_libdir} | 
|---|
| [3b77289] | 3165 |  | 
|---|
|  | 3166 |  | 
|---|
| [5d6ce1f] | 3167 | # Checks for programs. | 
|---|
| [3b77289] | 3168 | ac_ext=cpp | 
|---|
|  | 3169 | ac_cpp='$CXXCPP $CPPFLAGS' | 
|---|
|  | 3170 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
|  | 3171 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
|  | 3172 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
|---|
|  | 3173 | if test -z "$CXX"; then | 
|---|
|  | 3174 | if test -n "$CCC"; then | 
|---|
|  | 3175 | CXX=$CCC | 
|---|
|  | 3176 | else | 
|---|
|  | 3177 | if test -n "$ac_tool_prefix"; then | 
|---|
|  | 3178 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | 
|---|
|  | 3179 | do | 
|---|
|  | 3180 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
|---|
|  | 3181 | set dummy $ac_tool_prefix$ac_prog; 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_prog_CXX+:} false; then : | 
|---|
|  | 3185 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 3186 | else | 
|---|
|  | 3187 | if test -n "$CXX"; then | 
|---|
|  | 3188 | ac_cv_prog_CXX="$CXX" # Let the user override the test. | 
|---|
|  | 3189 | else | 
|---|
|  | 3190 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
|  | 3191 | for as_dir in $PATH | 
|---|
|  | 3192 | do | 
|---|
|  | 3193 | IFS=$as_save_IFS | 
|---|
|  | 3194 | test -z "$as_dir" && as_dir=. | 
|---|
|  | 3195 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| [ef7d253] | 3196 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| [3b77289] | 3197 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | 
|---|
|  | 3198 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
|  | 3199 | break 2 | 
|---|
|  | 3200 | fi | 
|---|
|  | 3201 | done | 
|---|
|  | 3202 | done | 
|---|
|  | 3203 | IFS=$as_save_IFS | 
|---|
|  | 3204 |  | 
|---|
|  | 3205 | fi | 
|---|
|  | 3206 | fi | 
|---|
|  | 3207 | CXX=$ac_cv_prog_CXX | 
|---|
|  | 3208 | if test -n "$CXX"; then | 
|---|
|  | 3209 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 | 
|---|
|  | 3210 | $as_echo "$CXX" >&6; } | 
|---|
|  | 3211 | else | 
|---|
|  | 3212 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
|  | 3213 | $as_echo "no" >&6; } | 
|---|
|  | 3214 | fi | 
|---|
|  | 3215 |  | 
|---|
|  | 3216 |  | 
|---|
|  | 3217 | test -n "$CXX" && break | 
|---|
|  | 3218 | done | 
|---|
|  | 3219 | fi | 
|---|
|  | 3220 | if test -z "$CXX"; then | 
|---|
|  | 3221 | ac_ct_CXX=$CXX | 
|---|
|  | 3222 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | 
|---|
|  | 3223 | do | 
|---|
|  | 3224 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
|  | 3225 | set dummy $ac_prog; ac_word=$2 | 
|---|
|  | 3226 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
|  | 3227 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
|  | 3228 | if ${ac_cv_prog_ac_ct_CXX+:} false; then : | 
|---|
|  | 3229 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 3230 | else | 
|---|
|  | 3231 | if test -n "$ac_ct_CXX"; then | 
|---|
|  | 3232 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | 
|---|
|  | 3233 | else | 
|---|
|  | 3234 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
|  | 3235 | for as_dir in $PATH | 
|---|
|  | 3236 | do | 
|---|
|  | 3237 | IFS=$as_save_IFS | 
|---|
|  | 3238 | test -z "$as_dir" && as_dir=. | 
|---|
|  | 3239 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| [ef7d253] | 3240 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| [3b77289] | 3241 | ac_cv_prog_ac_ct_CXX="$ac_prog" | 
|---|
|  | 3242 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
|  | 3243 | break 2 | 
|---|
|  | 3244 | fi | 
|---|
|  | 3245 | done | 
|---|
|  | 3246 | done | 
|---|
|  | 3247 | IFS=$as_save_IFS | 
|---|
|  | 3248 |  | 
|---|
|  | 3249 | fi | 
|---|
|  | 3250 | fi | 
|---|
|  | 3251 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | 
|---|
|  | 3252 | if test -n "$ac_ct_CXX"; then | 
|---|
|  | 3253 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 | 
|---|
|  | 3254 | $as_echo "$ac_ct_CXX" >&6; } | 
|---|
|  | 3255 | else | 
|---|
|  | 3256 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
|  | 3257 | $as_echo "no" >&6; } | 
|---|
|  | 3258 | fi | 
|---|
|  | 3259 |  | 
|---|
|  | 3260 |  | 
|---|
|  | 3261 | test -n "$ac_ct_CXX" && break | 
|---|
|  | 3262 | done | 
|---|
|  | 3263 |  | 
|---|
|  | 3264 | if test "x$ac_ct_CXX" = x; then | 
|---|
|  | 3265 | CXX="g++" | 
|---|
|  | 3266 | else | 
|---|
|  | 3267 | case $cross_compiling:$ac_tool_warned in | 
|---|
|  | 3268 | yes:) | 
|---|
|  | 3269 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 
|---|
|  | 3270 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 
|---|
|  | 3271 | ac_tool_warned=yes ;; | 
|---|
|  | 3272 | esac | 
|---|
|  | 3273 | CXX=$ac_ct_CXX | 
|---|
|  | 3274 | fi | 
|---|
|  | 3275 | fi | 
|---|
|  | 3276 |  | 
|---|
|  | 3277 | fi | 
|---|
|  | 3278 | fi | 
|---|
|  | 3279 | # Provide some information about the compiler. | 
|---|
|  | 3280 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 | 
|---|
|  | 3281 | set X $ac_compile | 
|---|
|  | 3282 | ac_compiler=$2 | 
|---|
|  | 3283 | for ac_option in --version -v -V -qversion; do | 
|---|
|  | 3284 | { { ac_try="$ac_compiler $ac_option >&5" | 
|---|
|  | 3285 | case "(($ac_try" in | 
|---|
|  | 3286 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
|  | 3287 | *) ac_try_echo=$ac_try;; | 
|---|
|  | 3288 | esac | 
|---|
|  | 3289 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
|  | 3290 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
|  | 3291 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err | 
|---|
|  | 3292 | ac_status=$? | 
|---|
|  | 3293 | if test -s conftest.err; then | 
|---|
|  | 3294 | sed '10a\ | 
|---|
|  | 3295 | ... rest of stderr output deleted ... | 
|---|
|  | 3296 | 10q' conftest.err >conftest.er1 | 
|---|
|  | 3297 | cat conftest.er1 >&5 | 
|---|
|  | 3298 | fi | 
|---|
|  | 3299 | rm -f conftest.er1 conftest.err | 
|---|
|  | 3300 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
|  | 3301 | test $ac_status = 0; } | 
|---|
|  | 3302 | done | 
|---|
|  | 3303 |  | 
|---|
|  | 3304 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 3305 | /* end confdefs.h.  */ | 
|---|
|  | 3306 |  | 
|---|
|  | 3307 | int | 
|---|
|  | 3308 | main () | 
|---|
|  | 3309 | { | 
|---|
|  | 3310 |  | 
|---|
|  | 3311 | ; | 
|---|
|  | 3312 | return 0; | 
|---|
|  | 3313 | } | 
|---|
|  | 3314 | _ACEOF | 
|---|
|  | 3315 | ac_clean_files_save=$ac_clean_files | 
|---|
|  | 3316 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | 
|---|
|  | 3317 | # Try to create an executable without -o first, disregard a.out. | 
|---|
|  | 3318 | # It will help us diagnose broken compilers, and finding out an intuition | 
|---|
|  | 3319 | # of exeext. | 
|---|
|  | 3320 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 | 
|---|
|  | 3321 | $as_echo_n "checking whether the C++ compiler works... " >&6; } | 
|---|
|  | 3322 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 
|---|
|  | 3323 |  | 
|---|
|  | 3324 | # The possible output files: | 
|---|
|  | 3325 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | 
|---|
|  | 3326 |  | 
|---|
|  | 3327 | ac_rmfiles= | 
|---|
|  | 3328 | for ac_file in $ac_files | 
|---|
|  | 3329 | do | 
|---|
|  | 3330 | case $ac_file in | 
|---|
|  | 3331 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | 
|---|
|  | 3332 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; | 
|---|
|  | 3333 | esac | 
|---|
|  | 3334 | done | 
|---|
|  | 3335 | rm -f $ac_rmfiles | 
|---|
|  | 3336 |  | 
|---|
|  | 3337 | if { { ac_try="$ac_link_default" | 
|---|
|  | 3338 | case "(($ac_try" in | 
|---|
|  | 3339 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
|  | 3340 | *) ac_try_echo=$ac_try;; | 
|---|
|  | 3341 | esac | 
|---|
|  | 3342 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
|  | 3343 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
|  | 3344 | (eval "$ac_link_default") 2>&5 | 
|---|
|  | 3345 | ac_status=$? | 
|---|
|  | 3346 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
|  | 3347 | test $ac_status = 0; }; then : | 
|---|
|  | 3348 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | 
|---|
|  | 3349 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | 
|---|
|  | 3350 | # in a Makefile.  We should not override ac_cv_exeext if it was cached, | 
|---|
|  | 3351 | # so that the user can short-circuit this test for compilers unknown to | 
|---|
|  | 3352 | # Autoconf. | 
|---|
|  | 3353 | for ac_file in $ac_files '' | 
|---|
|  | 3354 | do | 
|---|
|  | 3355 | test -f "$ac_file" || continue | 
|---|
|  | 3356 | case $ac_file in | 
|---|
|  | 3357 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) | 
|---|
|  | 3358 | ;; | 
|---|
|  | 3359 | [ab].out ) | 
|---|
|  | 3360 | # We found the default executable, but exeext='' is most | 
|---|
|  | 3361 | # certainly right. | 
|---|
|  | 3362 | break;; | 
|---|
|  | 3363 | *.* ) | 
|---|
|  | 3364 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | 
|---|
|  | 3365 | then :; else | 
|---|
|  | 3366 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
|---|
|  | 3367 | fi | 
|---|
|  | 3368 | # We set ac_cv_exeext here because the later test for it is not | 
|---|
|  | 3369 | # safe: cross compilers may not add the suffix if given an `-o' | 
|---|
|  | 3370 | # argument, so we may need to know it at that point already. | 
|---|
|  | 3371 | # Even if this section looks crufty: it has the advantage of | 
|---|
|  | 3372 | # actually working. | 
|---|
|  | 3373 | break;; | 
|---|
|  | 3374 | * ) | 
|---|
|  | 3375 | break;; | 
|---|
|  | 3376 | esac | 
|---|
|  | 3377 | done | 
|---|
|  | 3378 | test "$ac_cv_exeext" = no && ac_cv_exeext= | 
|---|
|  | 3379 |  | 
|---|
|  | 3380 | else | 
|---|
|  | 3381 | ac_file='' | 
|---|
|  | 3382 | fi | 
|---|
|  | 3383 | if test -z "$ac_file"; then : | 
|---|
|  | 3384 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
|  | 3385 | $as_echo "no" >&6; } | 
|---|
|  | 3386 | $as_echo "$as_me: failed program was:" >&5 | 
|---|
|  | 3387 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
|  | 3388 |  | 
|---|
|  | 3389 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
|---|
|  | 3390 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
|---|
|  | 3391 | as_fn_error 77 "C++ compiler cannot create executables | 
|---|
|  | 3392 | See \`config.log' for more details" "$LINENO" 5; } | 
|---|
|  | 3393 | else | 
|---|
|  | 3394 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 
|---|
|  | 3395 | $as_echo "yes" >&6; } | 
|---|
|  | 3396 | fi | 
|---|
|  | 3397 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 | 
|---|
|  | 3398 | $as_echo_n "checking for C++ compiler default output file name... " >&6; } | 
|---|
|  | 3399 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | 
|---|
|  | 3400 | $as_echo "$ac_file" >&6; } | 
|---|
|  | 3401 | ac_exeext=$ac_cv_exeext | 
|---|
|  | 3402 |  | 
|---|
|  | 3403 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | 
|---|
|  | 3404 | ac_clean_files=$ac_clean_files_save | 
|---|
|  | 3405 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | 
|---|
|  | 3406 | $as_echo_n "checking for suffix of executables... " >&6; } | 
|---|
|  | 3407 | if { { ac_try="$ac_link" | 
|---|
|  | 3408 | case "(($ac_try" in | 
|---|
|  | 3409 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
|  | 3410 | *) ac_try_echo=$ac_try;; | 
|---|
|  | 3411 | esac | 
|---|
|  | 3412 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
|  | 3413 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
|  | 3414 | (eval "$ac_link") 2>&5 | 
|---|
|  | 3415 | ac_status=$? | 
|---|
|  | 3416 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
|  | 3417 | test $ac_status = 0; }; then : | 
|---|
|  | 3418 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | 
|---|
|  | 3419 | # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will | 
|---|
|  | 3420 | # work properly (i.e., refer to `conftest.exe'), while it won't with | 
|---|
|  | 3421 | # `rm'. | 
|---|
|  | 3422 | for ac_file in conftest.exe conftest conftest.*; do | 
|---|
|  | 3423 | test -f "$ac_file" || continue | 
|---|
|  | 3424 | case $ac_file in | 
|---|
|  | 3425 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | 
|---|
|  | 3426 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
|---|
|  | 3427 | break;; | 
|---|
|  | 3428 | * ) break;; | 
|---|
|  | 3429 | esac | 
|---|
|  | 3430 | done | 
|---|
|  | 3431 | else | 
|---|
|  | 3432 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
|---|
|  | 3433 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
|---|
|  | 3434 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link | 
|---|
|  | 3435 | See \`config.log' for more details" "$LINENO" 5; } | 
|---|
|  | 3436 | fi | 
|---|
|  | 3437 | rm -f conftest conftest$ac_cv_exeext | 
|---|
|  | 3438 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | 
|---|
|  | 3439 | $as_echo "$ac_cv_exeext" >&6; } | 
|---|
|  | 3440 |  | 
|---|
|  | 3441 | rm -f conftest.$ac_ext | 
|---|
|  | 3442 | EXEEXT=$ac_cv_exeext | 
|---|
|  | 3443 | ac_exeext=$EXEEXT | 
|---|
|  | 3444 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 3445 | /* end confdefs.h.  */ | 
|---|
|  | 3446 | #include <stdio.h> | 
|---|
|  | 3447 | int | 
|---|
|  | 3448 | main () | 
|---|
|  | 3449 | { | 
|---|
|  | 3450 | FILE *f = fopen ("conftest.out", "w"); | 
|---|
|  | 3451 | return ferror (f) || fclose (f) != 0; | 
|---|
|  | 3452 |  | 
|---|
|  | 3453 | ; | 
|---|
|  | 3454 | return 0; | 
|---|
|  | 3455 | } | 
|---|
|  | 3456 | _ACEOF | 
|---|
|  | 3457 | ac_clean_files="$ac_clean_files conftest.out" | 
|---|
|  | 3458 | # Check that the compiler produces executables we can run.  If not, either | 
|---|
|  | 3459 | # the compiler is broken, or we cross compile. | 
|---|
|  | 3460 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | 
|---|
|  | 3461 | $as_echo_n "checking whether we are cross compiling... " >&6; } | 
|---|
|  | 3462 | if test "$cross_compiling" != yes; then | 
|---|
|  | 3463 | { { ac_try="$ac_link" | 
|---|
|  | 3464 | case "(($ac_try" in | 
|---|
|  | 3465 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
|  | 3466 | *) ac_try_echo=$ac_try;; | 
|---|
|  | 3467 | esac | 
|---|
|  | 3468 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
|  | 3469 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
|  | 3470 | (eval "$ac_link") 2>&5 | 
|---|
|  | 3471 | ac_status=$? | 
|---|
|  | 3472 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
|  | 3473 | test $ac_status = 0; } | 
|---|
|  | 3474 | if { ac_try='./conftest$ac_cv_exeext' | 
|---|
|  | 3475 | { { case "(($ac_try" in | 
|---|
|  | 3476 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
|  | 3477 | *) ac_try_echo=$ac_try;; | 
|---|
|  | 3478 | esac | 
|---|
|  | 3479 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
|  | 3480 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
|  | 3481 | (eval "$ac_try") 2>&5 | 
|---|
|  | 3482 | ac_status=$? | 
|---|
|  | 3483 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
|  | 3484 | test $ac_status = 0; }; }; then | 
|---|
|  | 3485 | cross_compiling=no | 
|---|
|  | 3486 | else | 
|---|
|  | 3487 | if test "$cross_compiling" = maybe; then | 
|---|
|  | 3488 | cross_compiling=yes | 
|---|
|  | 3489 | else | 
|---|
|  | 3490 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
|---|
|  | 3491 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
|---|
|  | 3492 | as_fn_error $? "cannot run C++ compiled programs. | 
|---|
|  | 3493 | If you meant to cross compile, use \`--host'. | 
|---|
|  | 3494 | See \`config.log' for more details" "$LINENO" 5; } | 
|---|
|  | 3495 | fi | 
|---|
|  | 3496 | fi | 
|---|
|  | 3497 | fi | 
|---|
|  | 3498 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | 
|---|
|  | 3499 | $as_echo "$cross_compiling" >&6; } | 
|---|
|  | 3500 |  | 
|---|
|  | 3501 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | 
|---|
|  | 3502 | ac_clean_files=$ac_clean_files_save | 
|---|
|  | 3503 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | 
|---|
|  | 3504 | $as_echo_n "checking for suffix of object files... " >&6; } | 
|---|
|  | 3505 | if ${ac_cv_objext+:} false; then : | 
|---|
|  | 3506 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 3507 | else | 
|---|
|  | 3508 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 3509 | /* end confdefs.h.  */ | 
|---|
|  | 3510 |  | 
|---|
|  | 3511 | int | 
|---|
|  | 3512 | main () | 
|---|
|  | 3513 | { | 
|---|
|  | 3514 |  | 
|---|
|  | 3515 | ; | 
|---|
|  | 3516 | return 0; | 
|---|
|  | 3517 | } | 
|---|
|  | 3518 | _ACEOF | 
|---|
|  | 3519 | rm -f conftest.o conftest.obj | 
|---|
|  | 3520 | if { { ac_try="$ac_compile" | 
|---|
|  | 3521 | case "(($ac_try" in | 
|---|
|  | 3522 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
|  | 3523 | *) ac_try_echo=$ac_try;; | 
|---|
|  | 3524 | esac | 
|---|
|  | 3525 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
|  | 3526 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
|  | 3527 | (eval "$ac_compile") 2>&5 | 
|---|
|  | 3528 | ac_status=$? | 
|---|
|  | 3529 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
|  | 3530 | test $ac_status = 0; }; then : | 
|---|
|  | 3531 | for ac_file in conftest.o conftest.obj conftest.*; do | 
|---|
|  | 3532 | test -f "$ac_file" || continue; | 
|---|
|  | 3533 | case $ac_file in | 
|---|
|  | 3534 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; | 
|---|
|  | 3535 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 
|---|
|  | 3536 | break;; | 
|---|
|  | 3537 | esac | 
|---|
|  | 3538 | done | 
|---|
|  | 3539 | else | 
|---|
|  | 3540 | $as_echo "$as_me: failed program was:" >&5 | 
|---|
|  | 3541 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
|  | 3542 |  | 
|---|
|  | 3543 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
|---|
|  | 3544 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
|---|
|  | 3545 | as_fn_error $? "cannot compute suffix of object files: cannot compile | 
|---|
|  | 3546 | See \`config.log' for more details" "$LINENO" 5; } | 
|---|
|  | 3547 | fi | 
|---|
|  | 3548 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 
|---|
|  | 3549 | fi | 
|---|
|  | 3550 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | 
|---|
|  | 3551 | $as_echo "$ac_cv_objext" >&6; } | 
|---|
|  | 3552 | OBJEXT=$ac_cv_objext | 
|---|
|  | 3553 | ac_objext=$OBJEXT | 
|---|
|  | 3554 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 | 
|---|
|  | 3555 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } | 
|---|
|  | 3556 | if ${ac_cv_cxx_compiler_gnu+:} false; then : | 
|---|
|  | 3557 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 3558 | else | 
|---|
|  | 3559 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 3560 | /* end confdefs.h.  */ | 
|---|
|  | 3561 |  | 
|---|
|  | 3562 | int | 
|---|
|  | 3563 | main () | 
|---|
|  | 3564 | { | 
|---|
|  | 3565 | #ifndef __GNUC__ | 
|---|
|  | 3566 | choke me | 
|---|
|  | 3567 | #endif | 
|---|
|  | 3568 |  | 
|---|
|  | 3569 | ; | 
|---|
|  | 3570 | return 0; | 
|---|
|  | 3571 | } | 
|---|
|  | 3572 | _ACEOF | 
|---|
|  | 3573 | if ac_fn_cxx_try_compile "$LINENO"; then : | 
|---|
|  | 3574 | ac_compiler_gnu=yes | 
|---|
|  | 3575 | else | 
|---|
|  | 3576 | ac_compiler_gnu=no | 
|---|
|  | 3577 | fi | 
|---|
|  | 3578 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
|  | 3579 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | 
|---|
|  | 3580 |  | 
|---|
|  | 3581 | fi | 
|---|
|  | 3582 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 | 
|---|
|  | 3583 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } | 
|---|
|  | 3584 | if test $ac_compiler_gnu = yes; then | 
|---|
|  | 3585 | GXX=yes | 
|---|
|  | 3586 | else | 
|---|
|  | 3587 | GXX= | 
|---|
|  | 3588 | fi | 
|---|
|  | 3589 | ac_test_CXXFLAGS=${CXXFLAGS+set} | 
|---|
|  | 3590 | ac_save_CXXFLAGS=$CXXFLAGS | 
|---|
|  | 3591 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 | 
|---|
|  | 3592 | $as_echo_n "checking whether $CXX accepts -g... " >&6; } | 
|---|
|  | 3593 | if ${ac_cv_prog_cxx_g+:} false; then : | 
|---|
|  | 3594 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 3595 | else | 
|---|
|  | 3596 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag | 
|---|
|  | 3597 | ac_cxx_werror_flag=yes | 
|---|
|  | 3598 | ac_cv_prog_cxx_g=no | 
|---|
|  | 3599 | CXXFLAGS="-g" | 
|---|
|  | 3600 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 3601 | /* end confdefs.h.  */ | 
|---|
|  | 3602 |  | 
|---|
|  | 3603 | int | 
|---|
|  | 3604 | main () | 
|---|
|  | 3605 | { | 
|---|
|  | 3606 |  | 
|---|
|  | 3607 | ; | 
|---|
|  | 3608 | return 0; | 
|---|
|  | 3609 | } | 
|---|
|  | 3610 | _ACEOF | 
|---|
|  | 3611 | if ac_fn_cxx_try_compile "$LINENO"; then : | 
|---|
|  | 3612 | ac_cv_prog_cxx_g=yes | 
|---|
|  | 3613 | else | 
|---|
|  | 3614 | CXXFLAGS="" | 
|---|
|  | 3615 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 3616 | /* end confdefs.h.  */ | 
|---|
|  | 3617 |  | 
|---|
|  | 3618 | int | 
|---|
|  | 3619 | main () | 
|---|
|  | 3620 | { | 
|---|
|  | 3621 |  | 
|---|
|  | 3622 | ; | 
|---|
|  | 3623 | return 0; | 
|---|
|  | 3624 | } | 
|---|
|  | 3625 | _ACEOF | 
|---|
|  | 3626 | if ac_fn_cxx_try_compile "$LINENO"; then : | 
|---|
|  | 3627 |  | 
|---|
|  | 3628 | else | 
|---|
|  | 3629 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag | 
|---|
|  | 3630 | CXXFLAGS="-g" | 
|---|
|  | 3631 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 3632 | /* end confdefs.h.  */ | 
|---|
|  | 3633 |  | 
|---|
|  | 3634 | int | 
|---|
|  | 3635 | main () | 
|---|
|  | 3636 | { | 
|---|
|  | 3637 |  | 
|---|
|  | 3638 | ; | 
|---|
|  | 3639 | return 0; | 
|---|
|  | 3640 | } | 
|---|
|  | 3641 | _ACEOF | 
|---|
|  | 3642 | if ac_fn_cxx_try_compile "$LINENO"; then : | 
|---|
|  | 3643 | ac_cv_prog_cxx_g=yes | 
|---|
|  | 3644 | fi | 
|---|
|  | 3645 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
|  | 3646 | fi | 
|---|
|  | 3647 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
|  | 3648 | fi | 
|---|
|  | 3649 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
|  | 3650 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag | 
|---|
|  | 3651 | fi | 
|---|
|  | 3652 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 | 
|---|
|  | 3653 | $as_echo "$ac_cv_prog_cxx_g" >&6; } | 
|---|
|  | 3654 | if test "$ac_test_CXXFLAGS" = set; then | 
|---|
|  | 3655 | CXXFLAGS=$ac_save_CXXFLAGS | 
|---|
|  | 3656 | elif test $ac_cv_prog_cxx_g = yes; then | 
|---|
|  | 3657 | if test "$GXX" = yes; then | 
|---|
|  | 3658 | CXXFLAGS="-g -O2" | 
|---|
|  | 3659 | else | 
|---|
|  | 3660 | CXXFLAGS="-g" | 
|---|
|  | 3661 | fi | 
|---|
|  | 3662 | else | 
|---|
|  | 3663 | if test "$GXX" = yes; then | 
|---|
|  | 3664 | CXXFLAGS="-O2" | 
|---|
|  | 3665 | else | 
|---|
|  | 3666 | CXXFLAGS= | 
|---|
|  | 3667 | fi | 
|---|
|  | 3668 | fi | 
|---|
|  | 3669 | ac_ext=c | 
|---|
|  | 3670 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
|  | 3671 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
|  | 3672 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
|  | 3673 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
|  | 3674 | DEPDIR="${am__leading_dot}deps" | 
|---|
|  | 3675 |  | 
|---|
|  | 3676 | ac_config_commands="$ac_config_commands depfiles" | 
|---|
|  | 3677 |  | 
|---|
|  | 3678 |  | 
|---|
|  | 3679 | am_make=${MAKE-make} | 
|---|
|  | 3680 | cat > confinc << 'END' | 
|---|
|  | 3681 | am__doit: | 
|---|
|  | 3682 | @echo this is the am__doit target | 
|---|
|  | 3683 | .PHONY: am__doit | 
|---|
|  | 3684 | END | 
|---|
|  | 3685 | # If we don't find an include directive, just comment out the code. | 
|---|
|  | 3686 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 | 
|---|
|  | 3687 | $as_echo_n "checking for style of include used by $am_make... " >&6; } | 
|---|
|  | 3688 | am__include="#" | 
|---|
|  | 3689 | am__quote= | 
|---|
|  | 3690 | _am_result=none | 
|---|
|  | 3691 | # First try GNU make style include. | 
|---|
|  | 3692 | echo "include confinc" > confmf | 
|---|
| [ef7d253] | 3693 | # Ignore all kinds of additional output from 'make'. | 
|---|
| [3b77289] | 3694 | case `$am_make -s -f confmf 2> /dev/null` in #( | 
|---|
|  | 3695 | *the\ am__doit\ target*) | 
|---|
|  | 3696 | am__include=include | 
|---|
|  | 3697 | am__quote= | 
|---|
|  | 3698 | _am_result=GNU | 
|---|
|  | 3699 | ;; | 
|---|
|  | 3700 | esac | 
|---|
|  | 3701 | # Now try BSD make style include. | 
|---|
|  | 3702 | if test "$am__include" = "#"; then | 
|---|
|  | 3703 | echo '.include "confinc"' > confmf | 
|---|
|  | 3704 | case `$am_make -s -f confmf 2> /dev/null` in #( | 
|---|
|  | 3705 | *the\ am__doit\ target*) | 
|---|
|  | 3706 | am__include=.include | 
|---|
|  | 3707 | am__quote="\"" | 
|---|
|  | 3708 | _am_result=BSD | 
|---|
|  | 3709 | ;; | 
|---|
|  | 3710 | esac | 
|---|
|  | 3711 | fi | 
|---|
|  | 3712 |  | 
|---|
|  | 3713 |  | 
|---|
|  | 3714 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 | 
|---|
|  | 3715 | $as_echo "$_am_result" >&6; } | 
|---|
|  | 3716 | rm -f confinc confmf | 
|---|
|  | 3717 |  | 
|---|
|  | 3718 | # Check whether --enable-dependency-tracking was given. | 
|---|
|  | 3719 | if test "${enable_dependency_tracking+set}" = set; then : | 
|---|
|  | 3720 | enableval=$enable_dependency_tracking; | 
|---|
|  | 3721 | fi | 
|---|
|  | 3722 |  | 
|---|
|  | 3723 | if test "x$enable_dependency_tracking" != xno; then | 
|---|
|  | 3724 | am_depcomp="$ac_aux_dir/depcomp" | 
|---|
|  | 3725 | AMDEPBACKSLASH='\' | 
|---|
|  | 3726 | am__nodep='_no' | 
|---|
|  | 3727 | fi | 
|---|
|  | 3728 | if test "x$enable_dependency_tracking" != xno; then | 
|---|
|  | 3729 | AMDEP_TRUE= | 
|---|
|  | 3730 | AMDEP_FALSE='#' | 
|---|
|  | 3731 | else | 
|---|
|  | 3732 | AMDEP_TRUE='#' | 
|---|
|  | 3733 | AMDEP_FALSE= | 
|---|
|  | 3734 | fi | 
|---|
|  | 3735 |  | 
|---|
|  | 3736 |  | 
|---|
|  | 3737 |  | 
|---|
|  | 3738 | depcc="$CXX"  am_compiler_list= | 
|---|
|  | 3739 |  | 
|---|
|  | 3740 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 | 
|---|
|  | 3741 | $as_echo_n "checking dependency style of $depcc... " >&6; } | 
|---|
|  | 3742 | if ${am_cv_CXX_dependencies_compiler_type+:} false; then : | 
|---|
|  | 3743 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 3744 | else | 
|---|
|  | 3745 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | 
|---|
|  | 3746 | # We make a subdir and do the tests there.  Otherwise we can end up | 
|---|
|  | 3747 | # making bogus files that we don't know about and never remove.  For | 
|---|
|  | 3748 | # instance it was reported that on HP-UX the gcc test will end up | 
|---|
| [ef7d253] | 3749 | # making a dummy file named 'D' -- because '-MD' means "put the output | 
|---|
|  | 3750 | # in D". | 
|---|
| [3b77289] | 3751 | rm -rf conftest.dir | 
|---|
|  | 3752 | mkdir conftest.dir | 
|---|
|  | 3753 | # Copy depcomp to subdir because otherwise we won't find it if we're | 
|---|
|  | 3754 | # using a relative directory. | 
|---|
|  | 3755 | cp "$am_depcomp" conftest.dir | 
|---|
|  | 3756 | cd conftest.dir | 
|---|
|  | 3757 | # We will build objects and dependencies in a subdirectory because | 
|---|
|  | 3758 | # it helps to detect inapplicable dependency modes.  For instance | 
|---|
|  | 3759 | # both Tru64's cc and ICC support -MD to output dependencies as a | 
|---|
|  | 3760 | # side effect of compilation, but ICC will put the dependencies in | 
|---|
|  | 3761 | # the current directory while Tru64 will put them in the object | 
|---|
|  | 3762 | # directory. | 
|---|
|  | 3763 | mkdir sub | 
|---|
|  | 3764 |  | 
|---|
|  | 3765 | am_cv_CXX_dependencies_compiler_type=none | 
|---|
|  | 3766 | if test "$am_compiler_list" = ""; then | 
|---|
|  | 3767 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | 
|---|
|  | 3768 | fi | 
|---|
|  | 3769 | am__universal=false | 
|---|
|  | 3770 | case " $depcc " in #( | 
|---|
|  | 3771 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | 
|---|
|  | 3772 | esac | 
|---|
|  | 3773 |  | 
|---|
|  | 3774 | for depmode in $am_compiler_list; do | 
|---|
|  | 3775 | # Setup a source with many dependencies, because some compilers | 
|---|
|  | 3776 | # like to wrap large dependency lists on column 80 (with \), and | 
|---|
|  | 3777 | # we should not choose a depcomp mode which is confused by this. | 
|---|
|  | 3778 | # | 
|---|
|  | 3779 | # We need to recreate these files for each test, as the compiler may | 
|---|
|  | 3780 | # overwrite some of them when testing with obscure command lines. | 
|---|
|  | 3781 | # This happens at least with the AIX C compiler. | 
|---|
|  | 3782 | : > sub/conftest.c | 
|---|
|  | 3783 | for i in 1 2 3 4 5 6; do | 
|---|
|  | 3784 | echo '#include "conftst'$i'.h"' >> sub/conftest.c | 
|---|
| [ef7d253] | 3785 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | 
|---|
|  | 3786 | # Solaris 10 /bin/sh. | 
|---|
|  | 3787 | echo '/* dummy */' > sub/conftst$i.h | 
|---|
| [3b77289] | 3788 | done | 
|---|
|  | 3789 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | 
|---|
|  | 3790 |  | 
|---|
| [ef7d253] | 3791 | # We check with '-c' and '-o' for the sake of the "dashmstdout" | 
|---|
| [3b77289] | 3792 | # mode.  It turns out that the SunPro C++ compiler does not properly | 
|---|
| [ef7d253] | 3793 | # handle '-M -o', and we need to detect this.  Also, some Intel | 
|---|
|  | 3794 | # versions had trouble with output in subdirs. | 
|---|
| [3b77289] | 3795 | am__obj=sub/conftest.${OBJEXT-o} | 
|---|
|  | 3796 | am__minus_obj="-o $am__obj" | 
|---|
|  | 3797 | case $depmode in | 
|---|
|  | 3798 | gcc) | 
|---|
|  | 3799 | # This depmode causes a compiler race in universal mode. | 
|---|
|  | 3800 | test "$am__universal" = false || continue | 
|---|
|  | 3801 | ;; | 
|---|
|  | 3802 | nosideeffect) | 
|---|
| [ef7d253] | 3803 | # After this tag, mechanisms are not by side-effect, so they'll | 
|---|
|  | 3804 | # only be used when explicitly requested. | 
|---|
| [3b77289] | 3805 | if test "x$enable_dependency_tracking" = xyes; then | 
|---|
|  | 3806 | continue | 
|---|
|  | 3807 | else | 
|---|
|  | 3808 | break | 
|---|
|  | 3809 | fi | 
|---|
|  | 3810 | ;; | 
|---|
|  | 3811 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) | 
|---|
| [ef7d253] | 3812 | # This compiler won't grok '-c -o', but also, the minuso test has | 
|---|
| [3b77289] | 3813 | # not run yet.  These depmodes are late enough in the game, and | 
|---|
|  | 3814 | # so weak that their functioning should not be impacted. | 
|---|
|  | 3815 | am__obj=conftest.${OBJEXT-o} | 
|---|
|  | 3816 | am__minus_obj= | 
|---|
|  | 3817 | ;; | 
|---|
|  | 3818 | none) break ;; | 
|---|
|  | 3819 | esac | 
|---|
|  | 3820 | if depmode=$depmode \ | 
|---|
|  | 3821 | source=sub/conftest.c object=$am__obj \ | 
|---|
|  | 3822 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | 
|---|
|  | 3823 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | 
|---|
|  | 3824 | >/dev/null 2>conftest.err && | 
|---|
|  | 3825 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | 
|---|
|  | 3826 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | 
|---|
|  | 3827 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | 
|---|
|  | 3828 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | 
|---|
|  | 3829 | # icc doesn't choke on unknown options, it will just issue warnings | 
|---|
|  | 3830 | # or remarks (even with -Werror).  So we grep stderr for any message | 
|---|
|  | 3831 | # that says an option was ignored or not supported. | 
|---|
|  | 3832 | # When given -MP, icc 7.0 and 7.1 complain thusly: | 
|---|
|  | 3833 | #   icc: Command line warning: ignoring option '-M'; no argument required | 
|---|
|  | 3834 | # The diagnosis changed in icc 8.0: | 
|---|
|  | 3835 | #   icc: Command line remark: option '-MP' not supported | 
|---|
|  | 3836 | if (grep 'ignoring option' conftest.err || | 
|---|
|  | 3837 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | 
|---|
|  | 3838 | am_cv_CXX_dependencies_compiler_type=$depmode | 
|---|
|  | 3839 | break | 
|---|
|  | 3840 | fi | 
|---|
|  | 3841 | fi | 
|---|
|  | 3842 | done | 
|---|
|  | 3843 |  | 
|---|
|  | 3844 | cd .. | 
|---|
|  | 3845 | rm -rf conftest.dir | 
|---|
|  | 3846 | else | 
|---|
|  | 3847 | am_cv_CXX_dependencies_compiler_type=none | 
|---|
|  | 3848 | fi | 
|---|
|  | 3849 |  | 
|---|
|  | 3850 | fi | 
|---|
|  | 3851 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 | 
|---|
|  | 3852 | $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } | 
|---|
|  | 3853 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type | 
|---|
|  | 3854 |  | 
|---|
|  | 3855 | if | 
|---|
|  | 3856 | test "x$enable_dependency_tracking" != xno \ | 
|---|
|  | 3857 | && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then | 
|---|
|  | 3858 | am__fastdepCXX_TRUE= | 
|---|
|  | 3859 | am__fastdepCXX_FALSE='#' | 
|---|
|  | 3860 | else | 
|---|
|  | 3861 | am__fastdepCXX_TRUE='#' | 
|---|
|  | 3862 | am__fastdepCXX_FALSE= | 
|---|
|  | 3863 | fi | 
|---|
|  | 3864 |  | 
|---|
|  | 3865 |  | 
|---|
|  | 3866 | ac_ext=c | 
|---|
|  | 3867 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
|  | 3868 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
|  | 3869 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
|  | 3870 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
|  | 3871 | if test -n "$ac_tool_prefix"; then | 
|---|
|  | 3872 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 
|---|
|  | 3873 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 
|---|
|  | 3874 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
|  | 3875 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
|  | 3876 | if ${ac_cv_prog_CC+:} false; then : | 
|---|
|  | 3877 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 3878 | else | 
|---|
|  | 3879 | if test -n "$CC"; then | 
|---|
|  | 3880 | ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
|  | 3881 | else | 
|---|
|  | 3882 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
|  | 3883 | for as_dir in $PATH | 
|---|
|  | 3884 | do | 
|---|
|  | 3885 | IFS=$as_save_IFS | 
|---|
|  | 3886 | test -z "$as_dir" && as_dir=. | 
|---|
|  | 3887 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| [ef7d253] | 3888 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| [3b77289] | 3889 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | 
|---|
|  | 3890 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
|  | 3891 | break 2 | 
|---|
|  | 3892 | fi | 
|---|
|  | 3893 | done | 
|---|
|  | 3894 | done | 
|---|
|  | 3895 | IFS=$as_save_IFS | 
|---|
|  | 3896 |  | 
|---|
|  | 3897 | fi | 
|---|
|  | 3898 | fi | 
|---|
|  | 3899 | CC=$ac_cv_prog_CC | 
|---|
|  | 3900 | if test -n "$CC"; then | 
|---|
|  | 3901 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 
|---|
|  | 3902 | $as_echo "$CC" >&6; } | 
|---|
|  | 3903 | else | 
|---|
|  | 3904 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
|  | 3905 | $as_echo "no" >&6; } | 
|---|
|  | 3906 | fi | 
|---|
|  | 3907 |  | 
|---|
|  | 3908 |  | 
|---|
|  | 3909 | fi | 
|---|
|  | 3910 | if test -z "$ac_cv_prog_CC"; then | 
|---|
|  | 3911 | ac_ct_CC=$CC | 
|---|
|  | 3912 | # Extract the first word of "gcc", so it can be a program name with args. | 
|---|
|  | 3913 | set dummy gcc; ac_word=$2 | 
|---|
|  | 3914 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
|  | 3915 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
|  | 3916 | if ${ac_cv_prog_ac_ct_CC+:} false; then : | 
|---|
|  | 3917 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 3918 | else | 
|---|
|  | 3919 | if test -n "$ac_ct_CC"; then | 
|---|
|  | 3920 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|---|
|  | 3921 | else | 
|---|
|  | 3922 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
|  | 3923 | for as_dir in $PATH | 
|---|
|  | 3924 | do | 
|---|
|  | 3925 | IFS=$as_save_IFS | 
|---|
|  | 3926 | test -z "$as_dir" && as_dir=. | 
|---|
|  | 3927 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| [ef7d253] | 3928 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| [3b77289] | 3929 | ac_cv_prog_ac_ct_CC="gcc" | 
|---|
|  | 3930 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
|  | 3931 | break 2 | 
|---|
|  | 3932 | fi | 
|---|
|  | 3933 | done | 
|---|
|  | 3934 | done | 
|---|
|  | 3935 | IFS=$as_save_IFS | 
|---|
|  | 3936 |  | 
|---|
|  | 3937 | fi | 
|---|
|  | 3938 | fi | 
|---|
|  | 3939 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|---|
|  | 3940 | if test -n "$ac_ct_CC"; then | 
|---|
|  | 3941 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | 
|---|
|  | 3942 | $as_echo "$ac_ct_CC" >&6; } | 
|---|
|  | 3943 | else | 
|---|
|  | 3944 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
|  | 3945 | $as_echo "no" >&6; } | 
|---|
|  | 3946 | fi | 
|---|
|  | 3947 |  | 
|---|
|  | 3948 | if test "x$ac_ct_CC" = x; then | 
|---|
|  | 3949 | CC="" | 
|---|
|  | 3950 | else | 
|---|
|  | 3951 | case $cross_compiling:$ac_tool_warned in | 
|---|
|  | 3952 | yes:) | 
|---|
|  | 3953 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 
|---|
|  | 3954 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 
|---|
|  | 3955 | ac_tool_warned=yes ;; | 
|---|
|  | 3956 | esac | 
|---|
|  | 3957 | CC=$ac_ct_CC | 
|---|
|  | 3958 | fi | 
|---|
|  | 3959 | else | 
|---|
|  | 3960 | CC="$ac_cv_prog_CC" | 
|---|
|  | 3961 | fi | 
|---|
|  | 3962 |  | 
|---|
|  | 3963 | if test -z "$CC"; then | 
|---|
|  | 3964 | if test -n "$ac_tool_prefix"; then | 
|---|
|  | 3965 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 
|---|
|  | 3966 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | 
|---|
|  | 3967 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
|  | 3968 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
|  | 3969 | if ${ac_cv_prog_CC+:} false; then : | 
|---|
|  | 3970 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 3971 | else | 
|---|
|  | 3972 | if test -n "$CC"; then | 
|---|
|  | 3973 | ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
|  | 3974 | else | 
|---|
|  | 3975 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
|  | 3976 | for as_dir in $PATH | 
|---|
|  | 3977 | do | 
|---|
|  | 3978 | IFS=$as_save_IFS | 
|---|
|  | 3979 | test -z "$as_dir" && as_dir=. | 
|---|
|  | 3980 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| [ef7d253] | 3981 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| [3b77289] | 3982 | ac_cv_prog_CC="${ac_tool_prefix}cc" | 
|---|
|  | 3983 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
|  | 3984 | break 2 | 
|---|
|  | 3985 | fi | 
|---|
|  | 3986 | done | 
|---|
|  | 3987 | done | 
|---|
|  | 3988 | IFS=$as_save_IFS | 
|---|
|  | 3989 |  | 
|---|
|  | 3990 | fi | 
|---|
|  | 3991 | fi | 
|---|
|  | 3992 | CC=$ac_cv_prog_CC | 
|---|
|  | 3993 | if test -n "$CC"; then | 
|---|
|  | 3994 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 
|---|
|  | 3995 | $as_echo "$CC" >&6; } | 
|---|
|  | 3996 | else | 
|---|
|  | 3997 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
|  | 3998 | $as_echo "no" >&6; } | 
|---|
|  | 3999 | fi | 
|---|
|  | 4000 |  | 
|---|
|  | 4001 |  | 
|---|
|  | 4002 | fi | 
|---|
|  | 4003 | fi | 
|---|
|  | 4004 | if test -z "$CC"; then | 
|---|
|  | 4005 | # Extract the first word of "cc", so it can be a program name with args. | 
|---|
|  | 4006 | set dummy cc; ac_word=$2 | 
|---|
|  | 4007 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
|  | 4008 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
|  | 4009 | if ${ac_cv_prog_CC+:} false; then : | 
|---|
|  | 4010 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 4011 | else | 
|---|
|  | 4012 | if test -n "$CC"; then | 
|---|
|  | 4013 | ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
|  | 4014 | else | 
|---|
|  | 4015 | ac_prog_rejected=no | 
|---|
|  | 4016 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
|  | 4017 | for as_dir in $PATH | 
|---|
|  | 4018 | do | 
|---|
|  | 4019 | IFS=$as_save_IFS | 
|---|
|  | 4020 | test -z "$as_dir" && as_dir=. | 
|---|
|  | 4021 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| [ef7d253] | 4022 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| [3b77289] | 4023 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 
|---|
|  | 4024 | ac_prog_rejected=yes | 
|---|
|  | 4025 | continue | 
|---|
|  | 4026 | fi | 
|---|
|  | 4027 | ac_cv_prog_CC="cc" | 
|---|
|  | 4028 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
|  | 4029 | break 2 | 
|---|
|  | 4030 | fi | 
|---|
|  | 4031 | done | 
|---|
|  | 4032 | done | 
|---|
|  | 4033 | IFS=$as_save_IFS | 
|---|
|  | 4034 |  | 
|---|
|  | 4035 | if test $ac_prog_rejected = yes; then | 
|---|
|  | 4036 | # We found a bogon in the path, so make sure we never use it. | 
|---|
|  | 4037 | set dummy $ac_cv_prog_CC | 
|---|
|  | 4038 | shift | 
|---|
|  | 4039 | if test $# != 0; then | 
|---|
|  | 4040 | # We chose a different compiler from the bogus one. | 
|---|
|  | 4041 | # However, it has the same basename, so the bogon will be chosen | 
|---|
|  | 4042 | # first if we set CC to just the basename; use the full file name. | 
|---|
|  | 4043 | shift | 
|---|
|  | 4044 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | 
|---|
|  | 4045 | fi | 
|---|
|  | 4046 | fi | 
|---|
|  | 4047 | fi | 
|---|
|  | 4048 | fi | 
|---|
|  | 4049 | CC=$ac_cv_prog_CC | 
|---|
|  | 4050 | if test -n "$CC"; then | 
|---|
|  | 4051 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 
|---|
|  | 4052 | $as_echo "$CC" >&6; } | 
|---|
|  | 4053 | else | 
|---|
|  | 4054 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
|  | 4055 | $as_echo "no" >&6; } | 
|---|
|  | 4056 | fi | 
|---|
|  | 4057 |  | 
|---|
|  | 4058 |  | 
|---|
|  | 4059 | fi | 
|---|
|  | 4060 | if test -z "$CC"; then | 
|---|
|  | 4061 | if test -n "$ac_tool_prefix"; then | 
|---|
|  | 4062 | for ac_prog in cl.exe | 
|---|
|  | 4063 | do | 
|---|
|  | 4064 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
|---|
|  | 4065 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
|---|
|  | 4066 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
|  | 4067 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
|  | 4068 | if ${ac_cv_prog_CC+:} false; then : | 
|---|
|  | 4069 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 4070 | else | 
|---|
|  | 4071 | if test -n "$CC"; then | 
|---|
|  | 4072 | ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
|  | 4073 | else | 
|---|
|  | 4074 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
|  | 4075 | for as_dir in $PATH | 
|---|
|  | 4076 | do | 
|---|
|  | 4077 | IFS=$as_save_IFS | 
|---|
|  | 4078 | test -z "$as_dir" && as_dir=. | 
|---|
|  | 4079 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| [ef7d253] | 4080 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| [3b77289] | 4081 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 
|---|
|  | 4082 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
|  | 4083 | break 2 | 
|---|
|  | 4084 | fi | 
|---|
|  | 4085 | done | 
|---|
|  | 4086 | done | 
|---|
|  | 4087 | IFS=$as_save_IFS | 
|---|
|  | 4088 |  | 
|---|
|  | 4089 | fi | 
|---|
|  | 4090 | fi | 
|---|
|  | 4091 | CC=$ac_cv_prog_CC | 
|---|
|  | 4092 | if test -n "$CC"; then | 
|---|
|  | 4093 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 
|---|
|  | 4094 | $as_echo "$CC" >&6; } | 
|---|
|  | 4095 | else | 
|---|
|  | 4096 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
|  | 4097 | $as_echo "no" >&6; } | 
|---|
|  | 4098 | fi | 
|---|
|  | 4099 |  | 
|---|
|  | 4100 |  | 
|---|
|  | 4101 | test -n "$CC" && break | 
|---|
|  | 4102 | done | 
|---|
|  | 4103 | fi | 
|---|
|  | 4104 | if test -z "$CC"; then | 
|---|
|  | 4105 | ac_ct_CC=$CC | 
|---|
|  | 4106 | for ac_prog in cl.exe | 
|---|
|  | 4107 | do | 
|---|
|  | 4108 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
|  | 4109 | set dummy $ac_prog; ac_word=$2 | 
|---|
|  | 4110 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
|  | 4111 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
|  | 4112 | if ${ac_cv_prog_ac_ct_CC+:} false; then : | 
|---|
|  | 4113 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 4114 | else | 
|---|
|  | 4115 | if test -n "$ac_ct_CC"; then | 
|---|
|  | 4116 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|---|
|  | 4117 | else | 
|---|
|  | 4118 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
|  | 4119 | for as_dir in $PATH | 
|---|
|  | 4120 | do | 
|---|
|  | 4121 | IFS=$as_save_IFS | 
|---|
|  | 4122 | test -z "$as_dir" && as_dir=. | 
|---|
|  | 4123 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| [ef7d253] | 4124 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| [3b77289] | 4125 | ac_cv_prog_ac_ct_CC="$ac_prog" | 
|---|
|  | 4126 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
|  | 4127 | break 2 | 
|---|
|  | 4128 | fi | 
|---|
|  | 4129 | done | 
|---|
|  | 4130 | done | 
|---|
|  | 4131 | IFS=$as_save_IFS | 
|---|
|  | 4132 |  | 
|---|
|  | 4133 | fi | 
|---|
|  | 4134 | fi | 
|---|
|  | 4135 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|---|
|  | 4136 | if test -n "$ac_ct_CC"; then | 
|---|
|  | 4137 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | 
|---|
|  | 4138 | $as_echo "$ac_ct_CC" >&6; } | 
|---|
|  | 4139 | else | 
|---|
|  | 4140 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
|  | 4141 | $as_echo "no" >&6; } | 
|---|
|  | 4142 | fi | 
|---|
|  | 4143 |  | 
|---|
|  | 4144 |  | 
|---|
|  | 4145 | test -n "$ac_ct_CC" && break | 
|---|
|  | 4146 | done | 
|---|
|  | 4147 |  | 
|---|
|  | 4148 | if test "x$ac_ct_CC" = x; then | 
|---|
|  | 4149 | CC="" | 
|---|
|  | 4150 | else | 
|---|
|  | 4151 | case $cross_compiling:$ac_tool_warned in | 
|---|
|  | 4152 | yes:) | 
|---|
|  | 4153 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 
|---|
|  | 4154 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 
|---|
|  | 4155 | ac_tool_warned=yes ;; | 
|---|
|  | 4156 | esac | 
|---|
|  | 4157 | CC=$ac_ct_CC | 
|---|
|  | 4158 | fi | 
|---|
|  | 4159 | fi | 
|---|
|  | 4160 |  | 
|---|
|  | 4161 | fi | 
|---|
|  | 4162 |  | 
|---|
|  | 4163 |  | 
|---|
|  | 4164 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
|---|
|  | 4165 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
|---|
|  | 4166 | as_fn_error $? "no acceptable C compiler found in \$PATH | 
|---|
|  | 4167 | See \`config.log' for more details" "$LINENO" 5; } | 
|---|
|  | 4168 |  | 
|---|
|  | 4169 | # Provide some information about the compiler. | 
|---|
|  | 4170 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | 
|---|
|  | 4171 | set X $ac_compile | 
|---|
|  | 4172 | ac_compiler=$2 | 
|---|
|  | 4173 | for ac_option in --version -v -V -qversion; do | 
|---|
|  | 4174 | { { ac_try="$ac_compiler $ac_option >&5" | 
|---|
|  | 4175 | case "(($ac_try" in | 
|---|
|  | 4176 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
|  | 4177 | *) ac_try_echo=$ac_try;; | 
|---|
|  | 4178 | esac | 
|---|
|  | 4179 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
|  | 4180 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
|  | 4181 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err | 
|---|
|  | 4182 | ac_status=$? | 
|---|
|  | 4183 | if test -s conftest.err; then | 
|---|
|  | 4184 | sed '10a\ | 
|---|
|  | 4185 | ... rest of stderr output deleted ... | 
|---|
|  | 4186 | 10q' conftest.err >conftest.er1 | 
|---|
|  | 4187 | cat conftest.er1 >&5 | 
|---|
|  | 4188 | fi | 
|---|
|  | 4189 | rm -f conftest.er1 conftest.err | 
|---|
|  | 4190 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
|  | 4191 | test $ac_status = 0; } | 
|---|
|  | 4192 | done | 
|---|
|  | 4193 |  | 
|---|
|  | 4194 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | 
|---|
|  | 4195 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | 
|---|
|  | 4196 | if ${ac_cv_c_compiler_gnu+:} false; then : | 
|---|
|  | 4197 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 4198 | else | 
|---|
|  | 4199 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 4200 | /* end confdefs.h.  */ | 
|---|
|  | 4201 |  | 
|---|
|  | 4202 | int | 
|---|
|  | 4203 | main () | 
|---|
|  | 4204 | { | 
|---|
|  | 4205 | #ifndef __GNUC__ | 
|---|
|  | 4206 | choke me | 
|---|
|  | 4207 | #endif | 
|---|
|  | 4208 |  | 
|---|
|  | 4209 | ; | 
|---|
|  | 4210 | return 0; | 
|---|
|  | 4211 | } | 
|---|
|  | 4212 | _ACEOF | 
|---|
|  | 4213 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
|  | 4214 | ac_compiler_gnu=yes | 
|---|
|  | 4215 | else | 
|---|
|  | 4216 | ac_compiler_gnu=no | 
|---|
|  | 4217 | fi | 
|---|
|  | 4218 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
|  | 4219 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 
|---|
|  | 4220 |  | 
|---|
|  | 4221 | fi | 
|---|
|  | 4222 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | 
|---|
|  | 4223 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } | 
|---|
|  | 4224 | if test $ac_compiler_gnu = yes; then | 
|---|
|  | 4225 | GCC=yes | 
|---|
|  | 4226 | else | 
|---|
|  | 4227 | GCC= | 
|---|
|  | 4228 | fi | 
|---|
|  | 4229 | ac_test_CFLAGS=${CFLAGS+set} | 
|---|
|  | 4230 | ac_save_CFLAGS=$CFLAGS | 
|---|
|  | 4231 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | 
|---|
|  | 4232 | $as_echo_n "checking whether $CC accepts -g... " >&6; } | 
|---|
|  | 4233 | if ${ac_cv_prog_cc_g+:} false; then : | 
|---|
|  | 4234 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 4235 | else | 
|---|
|  | 4236 | ac_save_c_werror_flag=$ac_c_werror_flag | 
|---|
|  | 4237 | ac_c_werror_flag=yes | 
|---|
|  | 4238 | ac_cv_prog_cc_g=no | 
|---|
|  | 4239 | CFLAGS="-g" | 
|---|
|  | 4240 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 4241 | /* end confdefs.h.  */ | 
|---|
|  | 4242 |  | 
|---|
|  | 4243 | int | 
|---|
|  | 4244 | main () | 
|---|
|  | 4245 | { | 
|---|
|  | 4246 |  | 
|---|
|  | 4247 | ; | 
|---|
|  | 4248 | return 0; | 
|---|
|  | 4249 | } | 
|---|
|  | 4250 | _ACEOF | 
|---|
|  | 4251 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
|  | 4252 | ac_cv_prog_cc_g=yes | 
|---|
|  | 4253 | else | 
|---|
|  | 4254 | CFLAGS="" | 
|---|
|  | 4255 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 4256 | /* end confdefs.h.  */ | 
|---|
|  | 4257 |  | 
|---|
|  | 4258 | int | 
|---|
|  | 4259 | main () | 
|---|
|  | 4260 | { | 
|---|
|  | 4261 |  | 
|---|
|  | 4262 | ; | 
|---|
|  | 4263 | return 0; | 
|---|
|  | 4264 | } | 
|---|
|  | 4265 | _ACEOF | 
|---|
|  | 4266 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
|  | 4267 |  | 
|---|
|  | 4268 | else | 
|---|
|  | 4269 | ac_c_werror_flag=$ac_save_c_werror_flag | 
|---|
|  | 4270 | CFLAGS="-g" | 
|---|
|  | 4271 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 4272 | /* end confdefs.h.  */ | 
|---|
|  | 4273 |  | 
|---|
|  | 4274 | int | 
|---|
|  | 4275 | main () | 
|---|
|  | 4276 | { | 
|---|
|  | 4277 |  | 
|---|
|  | 4278 | ; | 
|---|
|  | 4279 | return 0; | 
|---|
|  | 4280 | } | 
|---|
|  | 4281 | _ACEOF | 
|---|
|  | 4282 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
|  | 4283 | ac_cv_prog_cc_g=yes | 
|---|
|  | 4284 | fi | 
|---|
|  | 4285 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
|  | 4286 | fi | 
|---|
|  | 4287 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
|  | 4288 | fi | 
|---|
|  | 4289 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
|  | 4290 | ac_c_werror_flag=$ac_save_c_werror_flag | 
|---|
|  | 4291 | fi | 
|---|
|  | 4292 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | 
|---|
|  | 4293 | $as_echo "$ac_cv_prog_cc_g" >&6; } | 
|---|
|  | 4294 | if test "$ac_test_CFLAGS" = set; then | 
|---|
|  | 4295 | CFLAGS=$ac_save_CFLAGS | 
|---|
|  | 4296 | elif test $ac_cv_prog_cc_g = yes; then | 
|---|
|  | 4297 | if test "$GCC" = yes; then | 
|---|
|  | 4298 | CFLAGS="-g -O2" | 
|---|
|  | 4299 | else | 
|---|
|  | 4300 | CFLAGS="-g" | 
|---|
|  | 4301 | fi | 
|---|
|  | 4302 | else | 
|---|
|  | 4303 | if test "$GCC" = yes; then | 
|---|
|  | 4304 | CFLAGS="-O2" | 
|---|
|  | 4305 | else | 
|---|
|  | 4306 | CFLAGS= | 
|---|
|  | 4307 | fi | 
|---|
|  | 4308 | fi | 
|---|
|  | 4309 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | 
|---|
|  | 4310 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | 
|---|
|  | 4311 | if ${ac_cv_prog_cc_c89+:} false; then : | 
|---|
|  | 4312 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 4313 | else | 
|---|
|  | 4314 | ac_cv_prog_cc_c89=no | 
|---|
|  | 4315 | ac_save_CC=$CC | 
|---|
|  | 4316 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 4317 | /* end confdefs.h.  */ | 
|---|
|  | 4318 | #include <stdarg.h> | 
|---|
|  | 4319 | #include <stdio.h> | 
|---|
| [ef7d253] | 4320 | struct stat; | 
|---|
| [3b77289] | 4321 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ | 
|---|
|  | 4322 | struct buf { int x; }; | 
|---|
|  | 4323 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | 
|---|
|  | 4324 | static char *e (p, i) | 
|---|
|  | 4325 | char **p; | 
|---|
|  | 4326 | int i; | 
|---|
|  | 4327 | { | 
|---|
|  | 4328 | return p[i]; | 
|---|
|  | 4329 | } | 
|---|
|  | 4330 | static char *f (char * (*g) (char **, int), char **p, ...) | 
|---|
|  | 4331 | { | 
|---|
|  | 4332 | char *s; | 
|---|
|  | 4333 | va_list v; | 
|---|
|  | 4334 | va_start (v,p); | 
|---|
|  | 4335 | s = g (p, va_arg (v,int)); | 
|---|
|  | 4336 | va_end (v); | 
|---|
|  | 4337 | return s; | 
|---|
|  | 4338 | } | 
|---|
|  | 4339 |  | 
|---|
|  | 4340 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has | 
|---|
|  | 4341 | function prototypes and stuff, but not '\xHH' hex character constants. | 
|---|
|  | 4342 | These don't provoke an error unfortunately, instead are silently treated | 
|---|
|  | 4343 | as 'x'.  The following induces an error, until -std is added to get | 
|---|
|  | 4344 | proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an | 
|---|
|  | 4345 | array size at least.  It's necessary to write '\x00'==0 to get something | 
|---|
|  | 4346 | that's true only with -std.  */ | 
|---|
|  | 4347 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | 
|---|
|  | 4348 |  | 
|---|
|  | 4349 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | 
|---|
|  | 4350 | inside strings and character constants.  */ | 
|---|
|  | 4351 | #define FOO(x) 'x' | 
|---|
|  | 4352 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | 
|---|
|  | 4353 |  | 
|---|
|  | 4354 | int test (int i, double x); | 
|---|
|  | 4355 | struct s1 {int (*f) (int a);}; | 
|---|
|  | 4356 | struct s2 {int (*f) (double a);}; | 
|---|
|  | 4357 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 
|---|
|  | 4358 | int argc; | 
|---|
|  | 4359 | char **argv; | 
|---|
|  | 4360 | int | 
|---|
|  | 4361 | main () | 
|---|
|  | 4362 | { | 
|---|
|  | 4363 | return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; | 
|---|
|  | 4364 | ; | 
|---|
|  | 4365 | return 0; | 
|---|
|  | 4366 | } | 
|---|
|  | 4367 | _ACEOF | 
|---|
|  | 4368 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | 
|---|
|  | 4369 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 
|---|
|  | 4370 | do | 
|---|
|  | 4371 | CC="$ac_save_CC $ac_arg" | 
|---|
|  | 4372 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
|  | 4373 | ac_cv_prog_cc_c89=$ac_arg | 
|---|
|  | 4374 | fi | 
|---|
|  | 4375 | rm -f core conftest.err conftest.$ac_objext | 
|---|
|  | 4376 | test "x$ac_cv_prog_cc_c89" != "xno" && break | 
|---|
|  | 4377 | done | 
|---|
|  | 4378 | rm -f conftest.$ac_ext | 
|---|
|  | 4379 | CC=$ac_save_CC | 
|---|
|  | 4380 |  | 
|---|
|  | 4381 | fi | 
|---|
|  | 4382 | # AC_CACHE_VAL | 
|---|
|  | 4383 | case "x$ac_cv_prog_cc_c89" in | 
|---|
|  | 4384 | x) | 
|---|
|  | 4385 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | 
|---|
|  | 4386 | $as_echo "none needed" >&6; } ;; | 
|---|
|  | 4387 | xno) | 
|---|
|  | 4388 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | 
|---|
|  | 4389 | $as_echo "unsupported" >&6; } ;; | 
|---|
|  | 4390 | *) | 
|---|
|  | 4391 | CC="$CC $ac_cv_prog_cc_c89" | 
|---|
|  | 4392 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | 
|---|
|  | 4393 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | 
|---|
|  | 4394 | esac | 
|---|
|  | 4395 | if test "x$ac_cv_prog_cc_c89" != xno; then : | 
|---|
|  | 4396 |  | 
|---|
|  | 4397 | fi | 
|---|
|  | 4398 |  | 
|---|
|  | 4399 | ac_ext=c | 
|---|
|  | 4400 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
|  | 4401 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
|  | 4402 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
|  | 4403 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
|  | 4404 |  | 
|---|
| [ef7d253] | 4405 | ac_ext=c | 
|---|
|  | 4406 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
|  | 4407 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
|  | 4408 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
|  | 4409 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
|  | 4410 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 | 
|---|
|  | 4411 | $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } | 
|---|
|  | 4412 | if ${am_cv_prog_cc_c_o+:} false; then : | 
|---|
|  | 4413 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 4414 | else | 
|---|
|  | 4415 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 4416 | /* end confdefs.h.  */ | 
|---|
|  | 4417 |  | 
|---|
|  | 4418 | int | 
|---|
|  | 4419 | main () | 
|---|
|  | 4420 | { | 
|---|
|  | 4421 |  | 
|---|
|  | 4422 | ; | 
|---|
|  | 4423 | return 0; | 
|---|
|  | 4424 | } | 
|---|
|  | 4425 | _ACEOF | 
|---|
|  | 4426 | # Make sure it works both with $CC and with simple cc. | 
|---|
|  | 4427 | # Following AC_PROG_CC_C_O, we do the test twice because some | 
|---|
|  | 4428 | # compilers refuse to overwrite an existing .o file with -o, | 
|---|
|  | 4429 | # though they will create one. | 
|---|
|  | 4430 | am_cv_prog_cc_c_o=yes | 
|---|
|  | 4431 | for am_i in 1 2; do | 
|---|
|  | 4432 | if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 | 
|---|
|  | 4433 | ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 | 
|---|
|  | 4434 | ac_status=$? | 
|---|
|  | 4435 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
|  | 4436 | (exit $ac_status); } \ | 
|---|
|  | 4437 | && test -f conftest2.$ac_objext; then | 
|---|
|  | 4438 | : OK | 
|---|
|  | 4439 | else | 
|---|
|  | 4440 | am_cv_prog_cc_c_o=no | 
|---|
|  | 4441 | break | 
|---|
|  | 4442 | fi | 
|---|
|  | 4443 | done | 
|---|
|  | 4444 | rm -f core conftest* | 
|---|
|  | 4445 | unset am_i | 
|---|
|  | 4446 | fi | 
|---|
|  | 4447 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 | 
|---|
|  | 4448 | $as_echo "$am_cv_prog_cc_c_o" >&6; } | 
|---|
|  | 4449 | if test "$am_cv_prog_cc_c_o" != yes; then | 
|---|
|  | 4450 | # Losing compiler, so override with the script. | 
|---|
|  | 4451 | # FIXME: It is wrong to rewrite CC. | 
|---|
|  | 4452 | # But if we don't then we get into trouble of one sort or another. | 
|---|
|  | 4453 | # A longer-term fix would be to have automake use am__CC in this case, | 
|---|
|  | 4454 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | 
|---|
|  | 4455 | CC="$am_aux_dir/compile $CC" | 
|---|
|  | 4456 | fi | 
|---|
|  | 4457 | ac_ext=c | 
|---|
|  | 4458 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
|  | 4459 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
|  | 4460 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
|  | 4461 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
|  | 4462 |  | 
|---|
|  | 4463 |  | 
|---|
| [3b77289] | 4464 | depcc="$CC"   am_compiler_list= | 
|---|
|  | 4465 |  | 
|---|
|  | 4466 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 | 
|---|
|  | 4467 | $as_echo_n "checking dependency style of $depcc... " >&6; } | 
|---|
|  | 4468 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : | 
|---|
|  | 4469 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 4470 | else | 
|---|
|  | 4471 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | 
|---|
|  | 4472 | # We make a subdir and do the tests there.  Otherwise we can end up | 
|---|
|  | 4473 | # making bogus files that we don't know about and never remove.  For | 
|---|
|  | 4474 | # instance it was reported that on HP-UX the gcc test will end up | 
|---|
| [ef7d253] | 4475 | # making a dummy file named 'D' -- because '-MD' means "put the output | 
|---|
|  | 4476 | # in D". | 
|---|
| [3b77289] | 4477 | rm -rf conftest.dir | 
|---|
|  | 4478 | mkdir conftest.dir | 
|---|
|  | 4479 | # Copy depcomp to subdir because otherwise we won't find it if we're | 
|---|
|  | 4480 | # using a relative directory. | 
|---|
|  | 4481 | cp "$am_depcomp" conftest.dir | 
|---|
|  | 4482 | cd conftest.dir | 
|---|
|  | 4483 | # We will build objects and dependencies in a subdirectory because | 
|---|
|  | 4484 | # it helps to detect inapplicable dependency modes.  For instance | 
|---|
|  | 4485 | # both Tru64's cc and ICC support -MD to output dependencies as a | 
|---|
|  | 4486 | # side effect of compilation, but ICC will put the dependencies in | 
|---|
|  | 4487 | # the current directory while Tru64 will put them in the object | 
|---|
|  | 4488 | # directory. | 
|---|
|  | 4489 | mkdir sub | 
|---|
|  | 4490 |  | 
|---|
|  | 4491 | am_cv_CC_dependencies_compiler_type=none | 
|---|
|  | 4492 | if test "$am_compiler_list" = ""; then | 
|---|
|  | 4493 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | 
|---|
|  | 4494 | fi | 
|---|
|  | 4495 | am__universal=false | 
|---|
|  | 4496 | case " $depcc " in #( | 
|---|
|  | 4497 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | 
|---|
|  | 4498 | esac | 
|---|
|  | 4499 |  | 
|---|
|  | 4500 | for depmode in $am_compiler_list; do | 
|---|
|  | 4501 | # Setup a source with many dependencies, because some compilers | 
|---|
|  | 4502 | # like to wrap large dependency lists on column 80 (with \), and | 
|---|
|  | 4503 | # we should not choose a depcomp mode which is confused by this. | 
|---|
|  | 4504 | # | 
|---|
|  | 4505 | # We need to recreate these files for each test, as the compiler may | 
|---|
|  | 4506 | # overwrite some of them when testing with obscure command lines. | 
|---|
|  | 4507 | # This happens at least with the AIX C compiler. | 
|---|
|  | 4508 | : > sub/conftest.c | 
|---|
|  | 4509 | for i in 1 2 3 4 5 6; do | 
|---|
|  | 4510 | echo '#include "conftst'$i'.h"' >> sub/conftest.c | 
|---|
| [ef7d253] | 4511 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | 
|---|
|  | 4512 | # Solaris 10 /bin/sh. | 
|---|
|  | 4513 | echo '/* dummy */' > sub/conftst$i.h | 
|---|
| [3b77289] | 4514 | done | 
|---|
|  | 4515 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | 
|---|
|  | 4516 |  | 
|---|
| [ef7d253] | 4517 | # We check with '-c' and '-o' for the sake of the "dashmstdout" | 
|---|
| [3b77289] | 4518 | # mode.  It turns out that the SunPro C++ compiler does not properly | 
|---|
| [ef7d253] | 4519 | # handle '-M -o', and we need to detect this.  Also, some Intel | 
|---|
|  | 4520 | # versions had trouble with output in subdirs. | 
|---|
| [3b77289] | 4521 | am__obj=sub/conftest.${OBJEXT-o} | 
|---|
|  | 4522 | am__minus_obj="-o $am__obj" | 
|---|
|  | 4523 | case $depmode in | 
|---|
|  | 4524 | gcc) | 
|---|
|  | 4525 | # This depmode causes a compiler race in universal mode. | 
|---|
|  | 4526 | test "$am__universal" = false || continue | 
|---|
|  | 4527 | ;; | 
|---|
|  | 4528 | nosideeffect) | 
|---|
| [ef7d253] | 4529 | # After this tag, mechanisms are not by side-effect, so they'll | 
|---|
|  | 4530 | # only be used when explicitly requested. | 
|---|
| [3b77289] | 4531 | if test "x$enable_dependency_tracking" = xyes; then | 
|---|
|  | 4532 | continue | 
|---|
|  | 4533 | else | 
|---|
|  | 4534 | break | 
|---|
|  | 4535 | fi | 
|---|
|  | 4536 | ;; | 
|---|
|  | 4537 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) | 
|---|
| [ef7d253] | 4538 | # This compiler won't grok '-c -o', but also, the minuso test has | 
|---|
| [3b77289] | 4539 | # not run yet.  These depmodes are late enough in the game, and | 
|---|
|  | 4540 | # so weak that their functioning should not be impacted. | 
|---|
|  | 4541 | am__obj=conftest.${OBJEXT-o} | 
|---|
|  | 4542 | am__minus_obj= | 
|---|
|  | 4543 | ;; | 
|---|
|  | 4544 | none) break ;; | 
|---|
|  | 4545 | esac | 
|---|
|  | 4546 | if depmode=$depmode \ | 
|---|
|  | 4547 | source=sub/conftest.c object=$am__obj \ | 
|---|
|  | 4548 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | 
|---|
|  | 4549 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | 
|---|
|  | 4550 | >/dev/null 2>conftest.err && | 
|---|
|  | 4551 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | 
|---|
|  | 4552 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | 
|---|
|  | 4553 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | 
|---|
|  | 4554 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | 
|---|
|  | 4555 | # icc doesn't choke on unknown options, it will just issue warnings | 
|---|
|  | 4556 | # or remarks (even with -Werror).  So we grep stderr for any message | 
|---|
|  | 4557 | # that says an option was ignored or not supported. | 
|---|
|  | 4558 | # When given -MP, icc 7.0 and 7.1 complain thusly: | 
|---|
|  | 4559 | #   icc: Command line warning: ignoring option '-M'; no argument required | 
|---|
|  | 4560 | # The diagnosis changed in icc 8.0: | 
|---|
|  | 4561 | #   icc: Command line remark: option '-MP' not supported | 
|---|
|  | 4562 | if (grep 'ignoring option' conftest.err || | 
|---|
|  | 4563 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | 
|---|
|  | 4564 | am_cv_CC_dependencies_compiler_type=$depmode | 
|---|
|  | 4565 | break | 
|---|
|  | 4566 | fi | 
|---|
|  | 4567 | fi | 
|---|
|  | 4568 | done | 
|---|
|  | 4569 |  | 
|---|
|  | 4570 | cd .. | 
|---|
|  | 4571 | rm -rf conftest.dir | 
|---|
|  | 4572 | else | 
|---|
|  | 4573 | am_cv_CC_dependencies_compiler_type=none | 
|---|
|  | 4574 | fi | 
|---|
|  | 4575 |  | 
|---|
|  | 4576 | fi | 
|---|
|  | 4577 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 | 
|---|
|  | 4578 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } | 
|---|
|  | 4579 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | 
|---|
|  | 4580 |  | 
|---|
|  | 4581 | if | 
|---|
|  | 4582 | test "x$enable_dependency_tracking" != xno \ | 
|---|
|  | 4583 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | 
|---|
|  | 4584 | am__fastdepCC_TRUE= | 
|---|
|  | 4585 | am__fastdepCC_FALSE='#' | 
|---|
|  | 4586 | else | 
|---|
|  | 4587 | am__fastdepCC_TRUE='#' | 
|---|
|  | 4588 | am__fastdepCC_FALSE= | 
|---|
|  | 4589 | fi | 
|---|
|  | 4590 |  | 
|---|
|  | 4591 |  | 
|---|
| [00cc023] | 4592 | # deprecated | 
|---|
| [c3a4385] | 4593 | # These are often not installed and people miss seeing the "no", so stop the configure. | 
|---|
| [56c3935] | 4594 | for ac_prog in 'bison -y' byacc | 
|---|
|  | 4595 | do | 
|---|
|  | 4596 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
|  | 4597 | set dummy $ac_prog; ac_word=$2 | 
|---|
|  | 4598 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
|  | 4599 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
|  | 4600 | if ${ac_cv_prog_YACC+:} false; then : | 
|---|
|  | 4601 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 4602 | else | 
|---|
|  | 4603 | if test -n "$YACC"; then | 
|---|
|  | 4604 | ac_cv_prog_YACC="$YACC" # Let the user override the test. | 
|---|
|  | 4605 | else | 
|---|
|  | 4606 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
|  | 4607 | for as_dir in $PATH | 
|---|
|  | 4608 | do | 
|---|
|  | 4609 | IFS=$as_save_IFS | 
|---|
|  | 4610 | test -z "$as_dir" && as_dir=. | 
|---|
|  | 4611 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| [ef7d253] | 4612 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| [56c3935] | 4613 | ac_cv_prog_YACC="$ac_prog" | 
|---|
|  | 4614 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
|  | 4615 | break 2 | 
|---|
|  | 4616 | fi | 
|---|
|  | 4617 | done | 
|---|
|  | 4618 | done | 
|---|
|  | 4619 | IFS=$as_save_IFS | 
|---|
|  | 4620 |  | 
|---|
|  | 4621 | fi | 
|---|
|  | 4622 | fi | 
|---|
|  | 4623 | YACC=$ac_cv_prog_YACC | 
|---|
|  | 4624 | if test -n "$YACC"; then | 
|---|
|  | 4625 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 | 
|---|
|  | 4626 | $as_echo "$YACC" >&6; } | 
|---|
|  | 4627 | else | 
|---|
|  | 4628 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
|  | 4629 | $as_echo "no" >&6; } | 
|---|
|  | 4630 | fi | 
|---|
|  | 4631 |  | 
|---|
|  | 4632 |  | 
|---|
|  | 4633 | test -n "$YACC" && break | 
|---|
|  | 4634 | done | 
|---|
|  | 4635 | test -n "$YACC" || YACC="yacc" | 
|---|
|  | 4636 |  | 
|---|
| [c3a4385] | 4637 | if test "${YACC}" = "yacc" ; then echo "Error: bison required." ; exit 1 ; fi | 
|---|
| [56c3935] | 4638 |  | 
|---|
|  | 4639 | for ac_prog in flex lex | 
|---|
|  | 4640 | do | 
|---|
|  | 4641 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
|  | 4642 | set dummy $ac_prog; ac_word=$2 | 
|---|
|  | 4643 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
|  | 4644 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
|  | 4645 | if ${ac_cv_prog_LEX+:} false; then : | 
|---|
|  | 4646 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 4647 | else | 
|---|
|  | 4648 | if test -n "$LEX"; then | 
|---|
|  | 4649 | ac_cv_prog_LEX="$LEX" # Let the user override the test. | 
|---|
|  | 4650 | else | 
|---|
|  | 4651 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
|  | 4652 | for as_dir in $PATH | 
|---|
|  | 4653 | do | 
|---|
|  | 4654 | IFS=$as_save_IFS | 
|---|
|  | 4655 | test -z "$as_dir" && as_dir=. | 
|---|
|  | 4656 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| [ef7d253] | 4657 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| [56c3935] | 4658 | ac_cv_prog_LEX="$ac_prog" | 
|---|
|  | 4659 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
|  | 4660 | break 2 | 
|---|
|  | 4661 | fi | 
|---|
|  | 4662 | done | 
|---|
|  | 4663 | done | 
|---|
|  | 4664 | IFS=$as_save_IFS | 
|---|
|  | 4665 |  | 
|---|
|  | 4666 | fi | 
|---|
|  | 4667 | fi | 
|---|
|  | 4668 | LEX=$ac_cv_prog_LEX | 
|---|
|  | 4669 | if test -n "$LEX"; then | 
|---|
|  | 4670 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 | 
|---|
|  | 4671 | $as_echo "$LEX" >&6; } | 
|---|
|  | 4672 | else | 
|---|
|  | 4673 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
|  | 4674 | $as_echo "no" >&6; } | 
|---|
|  | 4675 | fi | 
|---|
|  | 4676 |  | 
|---|
|  | 4677 |  | 
|---|
|  | 4678 | test -n "$LEX" && break | 
|---|
|  | 4679 | done | 
|---|
|  | 4680 | test -n "$LEX" || LEX=":" | 
|---|
|  | 4681 |  | 
|---|
|  | 4682 | if test "x$LEX" != "x:"; then | 
|---|
|  | 4683 | cat >conftest.l <<_ACEOF | 
|---|
|  | 4684 | %% | 
|---|
|  | 4685 | a { ECHO; } | 
|---|
|  | 4686 | b { REJECT; } | 
|---|
|  | 4687 | c { yymore (); } | 
|---|
|  | 4688 | d { yyless (1); } | 
|---|
| [ef7d253] | 4689 | e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */ | 
|---|
|  | 4690 | yyless ((input () != 0)); } | 
|---|
| [56c3935] | 4691 | f { unput (yytext[0]); } | 
|---|
|  | 4692 | . { BEGIN INITIAL; } | 
|---|
|  | 4693 | %% | 
|---|
|  | 4694 | #ifdef YYTEXT_POINTER | 
|---|
|  | 4695 | extern char *yytext; | 
|---|
|  | 4696 | #endif | 
|---|
|  | 4697 | int | 
|---|
|  | 4698 | main (void) | 
|---|
|  | 4699 | { | 
|---|
|  | 4700 | return ! yylex () + ! yywrap (); | 
|---|
|  | 4701 | } | 
|---|
|  | 4702 | _ACEOF | 
|---|
|  | 4703 | { { ac_try="$LEX conftest.l" | 
|---|
|  | 4704 | case "(($ac_try" in | 
|---|
|  | 4705 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
|  | 4706 | *) ac_try_echo=$ac_try;; | 
|---|
|  | 4707 | esac | 
|---|
|  | 4708 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
|  | 4709 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
|  | 4710 | (eval "$LEX conftest.l") 2>&5 | 
|---|
|  | 4711 | ac_status=$? | 
|---|
|  | 4712 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
|  | 4713 | test $ac_status = 0; } | 
|---|
|  | 4714 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 | 
|---|
|  | 4715 | $as_echo_n "checking lex output file root... " >&6; } | 
|---|
|  | 4716 | if ${ac_cv_prog_lex_root+:} false; then : | 
|---|
|  | 4717 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 4718 | else | 
|---|
|  | 4719 |  | 
|---|
|  | 4720 | if test -f lex.yy.c; then | 
|---|
|  | 4721 | ac_cv_prog_lex_root=lex.yy | 
|---|
|  | 4722 | elif test -f lexyy.c; then | 
|---|
|  | 4723 | ac_cv_prog_lex_root=lexyy | 
|---|
|  | 4724 | else | 
|---|
|  | 4725 | as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 | 
|---|
|  | 4726 | fi | 
|---|
|  | 4727 | fi | 
|---|
|  | 4728 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 | 
|---|
|  | 4729 | $as_echo "$ac_cv_prog_lex_root" >&6; } | 
|---|
|  | 4730 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root | 
|---|
|  | 4731 |  | 
|---|
|  | 4732 | if test -z "${LEXLIB+set}"; then | 
|---|
|  | 4733 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 | 
|---|
|  | 4734 | $as_echo_n "checking lex library... " >&6; } | 
|---|
|  | 4735 | if ${ac_cv_lib_lex+:} false; then : | 
|---|
|  | 4736 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 4737 | else | 
|---|
|  | 4738 |  | 
|---|
|  | 4739 | ac_save_LIBS=$LIBS | 
|---|
|  | 4740 | ac_cv_lib_lex='none needed' | 
|---|
|  | 4741 | for ac_lib in '' -lfl -ll; do | 
|---|
|  | 4742 | LIBS="$ac_lib $ac_save_LIBS" | 
|---|
|  | 4743 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 4744 | /* end confdefs.h.  */ | 
|---|
|  | 4745 | `cat $LEX_OUTPUT_ROOT.c` | 
|---|
|  | 4746 | _ACEOF | 
|---|
|  | 4747 | if ac_fn_c_try_link "$LINENO"; then : | 
|---|
|  | 4748 | ac_cv_lib_lex=$ac_lib | 
|---|
|  | 4749 | fi | 
|---|
|  | 4750 | rm -f core conftest.err conftest.$ac_objext \ | 
|---|
|  | 4751 | conftest$ac_exeext conftest.$ac_ext | 
|---|
|  | 4752 | test "$ac_cv_lib_lex" != 'none needed' && break | 
|---|
|  | 4753 | done | 
|---|
|  | 4754 | LIBS=$ac_save_LIBS | 
|---|
|  | 4755 |  | 
|---|
|  | 4756 | fi | 
|---|
|  | 4757 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 | 
|---|
|  | 4758 | $as_echo "$ac_cv_lib_lex" >&6; } | 
|---|
|  | 4759 | test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex | 
|---|
|  | 4760 | fi | 
|---|
|  | 4761 |  | 
|---|
|  | 4762 |  | 
|---|
|  | 4763 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 | 
|---|
|  | 4764 | $as_echo_n "checking whether yytext is a pointer... " >&6; } | 
|---|
|  | 4765 | if ${ac_cv_prog_lex_yytext_pointer+:} false; then : | 
|---|
|  | 4766 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 4767 | else | 
|---|
|  | 4768 | # POSIX says lex can declare yytext either as a pointer or an array; the | 
|---|
|  | 4769 | # default is implementation-dependent.  Figure out which it is, since | 
|---|
|  | 4770 | # not all implementations provide the %pointer and %array declarations. | 
|---|
|  | 4771 | ac_cv_prog_lex_yytext_pointer=no | 
|---|
|  | 4772 | ac_save_LIBS=$LIBS | 
|---|
|  | 4773 | LIBS="$LEXLIB $ac_save_LIBS" | 
|---|
|  | 4774 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 4775 | /* end confdefs.h.  */ | 
|---|
|  | 4776 |  | 
|---|
|  | 4777 | #define YYTEXT_POINTER 1 | 
|---|
|  | 4778 | `cat $LEX_OUTPUT_ROOT.c` | 
|---|
|  | 4779 | _ACEOF | 
|---|
|  | 4780 | if ac_fn_c_try_link "$LINENO"; then : | 
|---|
|  | 4781 | ac_cv_prog_lex_yytext_pointer=yes | 
|---|
|  | 4782 | fi | 
|---|
|  | 4783 | rm -f core conftest.err conftest.$ac_objext \ | 
|---|
|  | 4784 | conftest$ac_exeext conftest.$ac_ext | 
|---|
|  | 4785 | LIBS=$ac_save_LIBS | 
|---|
|  | 4786 |  | 
|---|
|  | 4787 | fi | 
|---|
|  | 4788 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 | 
|---|
|  | 4789 | $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } | 
|---|
|  | 4790 | if test $ac_cv_prog_lex_yytext_pointer = yes; then | 
|---|
|  | 4791 |  | 
|---|
|  | 4792 | $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h | 
|---|
|  | 4793 |  | 
|---|
|  | 4794 | fi | 
|---|
|  | 4795 | rm -f conftest.l $LEX_OUTPUT_ROOT.c | 
|---|
|  | 4796 |  | 
|---|
|  | 4797 | fi | 
|---|
| [c3a4385] | 4798 | if test "${LEX}" = "lex" ; then echo "Error: flex required." ; exit 1 ; fi | 
|---|
| [3b77289] | 4799 |  | 
|---|
|  | 4800 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 
|---|
|  | 4801 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | 
|---|
|  | 4802 | set x ${MAKE-make} | 
|---|
|  | 4803 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | 
|---|
|  | 4804 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : | 
|---|
|  | 4805 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 4806 | else | 
|---|
|  | 4807 | cat >conftest.make <<\_ACEOF | 
|---|
|  | 4808 | SHELL = /bin/sh | 
|---|
|  | 4809 | all: | 
|---|
|  | 4810 | @echo '@@@%%%=$(MAKE)=@@@%%%' | 
|---|
|  | 4811 | _ACEOF | 
|---|
|  | 4812 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. | 
|---|
|  | 4813 | case `${MAKE-make} -f conftest.make 2>/dev/null` in | 
|---|
|  | 4814 | *@@@%%%=?*=@@@%%%*) | 
|---|
|  | 4815 | eval ac_cv_prog_make_${ac_make}_set=yes;; | 
|---|
|  | 4816 | *) | 
|---|
|  | 4817 | eval ac_cv_prog_make_${ac_make}_set=no;; | 
|---|
|  | 4818 | esac | 
|---|
|  | 4819 | rm -f conftest.make | 
|---|
|  | 4820 | fi | 
|---|
|  | 4821 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | 
|---|
|  | 4822 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 
|---|
|  | 4823 | $as_echo "yes" >&6; } | 
|---|
|  | 4824 | SET_MAKE= | 
|---|
|  | 4825 | else | 
|---|
|  | 4826 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
|  | 4827 | $as_echo "no" >&6; } | 
|---|
|  | 4828 | SET_MAKE="MAKE=${MAKE-make}" | 
|---|
|  | 4829 | fi | 
|---|
|  | 4830 |  | 
|---|
| [00cc023] | 4831 | if test -n "$ac_tool_prefix"; then | 
|---|
|  | 4832 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 
|---|
|  | 4833 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 
|---|
|  | 4834 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
|  | 4835 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
|  | 4836 | if ${ac_cv_prog_RANLIB+:} false; then : | 
|---|
|  | 4837 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 4838 | else | 
|---|
|  | 4839 | if test -n "$RANLIB"; then | 
|---|
|  | 4840 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 
|---|
|  | 4841 | else | 
|---|
|  | 4842 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
|  | 4843 | for as_dir in $PATH | 
|---|
|  | 4844 | do | 
|---|
|  | 4845 | IFS=$as_save_IFS | 
|---|
|  | 4846 | test -z "$as_dir" && as_dir=. | 
|---|
|  | 4847 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| [ef7d253] | 4848 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| [00cc023] | 4849 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 
|---|
|  | 4850 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
|  | 4851 | break 2 | 
|---|
|  | 4852 | fi | 
|---|
|  | 4853 | done | 
|---|
|  | 4854 | done | 
|---|
|  | 4855 | IFS=$as_save_IFS | 
|---|
|  | 4856 |  | 
|---|
|  | 4857 | fi | 
|---|
|  | 4858 | fi | 
|---|
|  | 4859 | RANLIB=$ac_cv_prog_RANLIB | 
|---|
|  | 4860 | if test -n "$RANLIB"; then | 
|---|
|  | 4861 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 | 
|---|
|  | 4862 | $as_echo "$RANLIB" >&6; } | 
|---|
|  | 4863 | else | 
|---|
|  | 4864 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
|  | 4865 | $as_echo "no" >&6; } | 
|---|
|  | 4866 | fi | 
|---|
|  | 4867 |  | 
|---|
|  | 4868 |  | 
|---|
|  | 4869 | fi | 
|---|
|  | 4870 | if test -z "$ac_cv_prog_RANLIB"; then | 
|---|
|  | 4871 | ac_ct_RANLIB=$RANLIB | 
|---|
|  | 4872 | # Extract the first word of "ranlib", so it can be a program name with args. | 
|---|
|  | 4873 | set dummy ranlib; ac_word=$2 | 
|---|
|  | 4874 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
|  | 4875 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
|  | 4876 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : | 
|---|
|  | 4877 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 4878 | else | 
|---|
|  | 4879 | if test -n "$ac_ct_RANLIB"; then | 
|---|
|  | 4880 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | 
|---|
|  | 4881 | else | 
|---|
|  | 4882 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
|  | 4883 | for as_dir in $PATH | 
|---|
|  | 4884 | do | 
|---|
|  | 4885 | IFS=$as_save_IFS | 
|---|
|  | 4886 | test -z "$as_dir" && as_dir=. | 
|---|
|  | 4887 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| [ef7d253] | 4888 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| [00cc023] | 4889 | ac_cv_prog_ac_ct_RANLIB="ranlib" | 
|---|
|  | 4890 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
|  | 4891 | break 2 | 
|---|
|  | 4892 | fi | 
|---|
|  | 4893 | done | 
|---|
|  | 4894 | done | 
|---|
|  | 4895 | IFS=$as_save_IFS | 
|---|
|  | 4896 |  | 
|---|
|  | 4897 | fi | 
|---|
|  | 4898 | fi | 
|---|
|  | 4899 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 
|---|
|  | 4900 | if test -n "$ac_ct_RANLIB"; then | 
|---|
|  | 4901 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 | 
|---|
|  | 4902 | $as_echo "$ac_ct_RANLIB" >&6; } | 
|---|
|  | 4903 | else | 
|---|
|  | 4904 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
|  | 4905 | $as_echo "no" >&6; } | 
|---|
|  | 4906 | fi | 
|---|
|  | 4907 |  | 
|---|
|  | 4908 | if test "x$ac_ct_RANLIB" = x; then | 
|---|
|  | 4909 | RANLIB=":" | 
|---|
|  | 4910 | else | 
|---|
|  | 4911 | case $cross_compiling:$ac_tool_warned in | 
|---|
|  | 4912 | yes:) | 
|---|
|  | 4913 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 
|---|
|  | 4914 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 
|---|
|  | 4915 | ac_tool_warned=yes ;; | 
|---|
|  | 4916 | esac | 
|---|
|  | 4917 | RANLIB=$ac_ct_RANLIB | 
|---|
|  | 4918 | fi | 
|---|
|  | 4919 | else | 
|---|
|  | 4920 | RANLIB="$ac_cv_prog_RANLIB" | 
|---|
|  | 4921 | fi | 
|---|
|  | 4922 |  | 
|---|
| [3b77289] | 4923 |  | 
|---|
| [5d6ce1f] | 4924 | # Checks for libraries. | 
|---|
| [3b77289] | 4925 |  | 
|---|
| [5d6ce1f] | 4926 | # Checks for header files. | 
|---|
| [3b77289] | 4927 | ac_ext=c | 
|---|
|  | 4928 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
|  | 4929 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
|  | 4930 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
|  | 4931 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
|  | 4932 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 | 
|---|
|  | 4933 | $as_echo_n "checking how to run the C preprocessor... " >&6; } | 
|---|
|  | 4934 | # On Suns, sometimes $CPP names a directory. | 
|---|
|  | 4935 | if test -n "$CPP" && test -d "$CPP"; then | 
|---|
|  | 4936 | CPP= | 
|---|
|  | 4937 | fi | 
|---|
|  | 4938 | if test -z "$CPP"; then | 
|---|
|  | 4939 | if ${ac_cv_prog_CPP+:} false; then : | 
|---|
|  | 4940 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 4941 | else | 
|---|
|  | 4942 | # Double quotes because CPP needs to be expanded | 
|---|
|  | 4943 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 
|---|
|  | 4944 | do | 
|---|
|  | 4945 | ac_preproc_ok=false | 
|---|
|  | 4946 | for ac_c_preproc_warn_flag in '' yes | 
|---|
|  | 4947 | do | 
|---|
|  | 4948 | # Use a header file that comes with gcc, so configuring glibc | 
|---|
|  | 4949 | # with a fresh cross-compiler works. | 
|---|
|  | 4950 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
|  | 4951 | # <limits.h> exists even on freestanding compilers. | 
|---|
|  | 4952 | # On the NeXT, cc -E runs the code through the compiler's parser, | 
|---|
|  | 4953 | # not just through cpp. "Syntax error" is here to catch this case. | 
|---|
|  | 4954 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 4955 | /* end confdefs.h.  */ | 
|---|
|  | 4956 | #ifdef __STDC__ | 
|---|
|  | 4957 | # include <limits.h> | 
|---|
|  | 4958 | #else | 
|---|
|  | 4959 | # include <assert.h> | 
|---|
|  | 4960 | #endif | 
|---|
|  | 4961 | Syntax error | 
|---|
|  | 4962 | _ACEOF | 
|---|
|  | 4963 | if ac_fn_c_try_cpp "$LINENO"; then : | 
|---|
|  | 4964 |  | 
|---|
|  | 4965 | else | 
|---|
|  | 4966 | # Broken: fails on valid input. | 
|---|
|  | 4967 | continue | 
|---|
|  | 4968 | fi | 
|---|
|  | 4969 | rm -f conftest.err conftest.i conftest.$ac_ext | 
|---|
|  | 4970 |  | 
|---|
|  | 4971 | # OK, works on sane cases.  Now check whether nonexistent headers | 
|---|
|  | 4972 | # can be detected and how. | 
|---|
|  | 4973 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 4974 | /* end confdefs.h.  */ | 
|---|
|  | 4975 | #include <ac_nonexistent.h> | 
|---|
|  | 4976 | _ACEOF | 
|---|
|  | 4977 | if ac_fn_c_try_cpp "$LINENO"; then : | 
|---|
|  | 4978 | # Broken: success on invalid input. | 
|---|
|  | 4979 | continue | 
|---|
|  | 4980 | else | 
|---|
|  | 4981 | # Passes both tests. | 
|---|
|  | 4982 | ac_preproc_ok=: | 
|---|
|  | 4983 | break | 
|---|
|  | 4984 | fi | 
|---|
|  | 4985 | rm -f conftest.err conftest.i conftest.$ac_ext | 
|---|
|  | 4986 |  | 
|---|
|  | 4987 | done | 
|---|
|  | 4988 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
|---|
|  | 4989 | rm -f conftest.i conftest.err conftest.$ac_ext | 
|---|
|  | 4990 | if $ac_preproc_ok; then : | 
|---|
|  | 4991 | break | 
|---|
|  | 4992 | fi | 
|---|
|  | 4993 |  | 
|---|
|  | 4994 | done | 
|---|
|  | 4995 | ac_cv_prog_CPP=$CPP | 
|---|
|  | 4996 |  | 
|---|
|  | 4997 | fi | 
|---|
|  | 4998 | CPP=$ac_cv_prog_CPP | 
|---|
|  | 4999 | else | 
|---|
|  | 5000 | ac_cv_prog_CPP=$CPP | 
|---|
|  | 5001 | fi | 
|---|
|  | 5002 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | 
|---|
|  | 5003 | $as_echo "$CPP" >&6; } | 
|---|
|  | 5004 | ac_preproc_ok=false | 
|---|
|  | 5005 | for ac_c_preproc_warn_flag in '' yes | 
|---|
|  | 5006 | do | 
|---|
|  | 5007 | # Use a header file that comes with gcc, so configuring glibc | 
|---|
|  | 5008 | # with a fresh cross-compiler works. | 
|---|
|  | 5009 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
|  | 5010 | # <limits.h> exists even on freestanding compilers. | 
|---|
|  | 5011 | # On the NeXT, cc -E runs the code through the compiler's parser, | 
|---|
|  | 5012 | # not just through cpp. "Syntax error" is here to catch this case. | 
|---|
|  | 5013 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 5014 | /* end confdefs.h.  */ | 
|---|
|  | 5015 | #ifdef __STDC__ | 
|---|
|  | 5016 | # include <limits.h> | 
|---|
|  | 5017 | #else | 
|---|
|  | 5018 | # include <assert.h> | 
|---|
|  | 5019 | #endif | 
|---|
|  | 5020 | Syntax error | 
|---|
|  | 5021 | _ACEOF | 
|---|
|  | 5022 | if ac_fn_c_try_cpp "$LINENO"; then : | 
|---|
|  | 5023 |  | 
|---|
|  | 5024 | else | 
|---|
|  | 5025 | # Broken: fails on valid input. | 
|---|
|  | 5026 | continue | 
|---|
|  | 5027 | fi | 
|---|
|  | 5028 | rm -f conftest.err conftest.i conftest.$ac_ext | 
|---|
|  | 5029 |  | 
|---|
|  | 5030 | # OK, works on sane cases.  Now check whether nonexistent headers | 
|---|
|  | 5031 | # can be detected and how. | 
|---|
|  | 5032 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 5033 | /* end confdefs.h.  */ | 
|---|
|  | 5034 | #include <ac_nonexistent.h> | 
|---|
|  | 5035 | _ACEOF | 
|---|
|  | 5036 | if ac_fn_c_try_cpp "$LINENO"; then : | 
|---|
|  | 5037 | # Broken: success on invalid input. | 
|---|
|  | 5038 | continue | 
|---|
|  | 5039 | else | 
|---|
|  | 5040 | # Passes both tests. | 
|---|
|  | 5041 | ac_preproc_ok=: | 
|---|
|  | 5042 | break | 
|---|
|  | 5043 | fi | 
|---|
|  | 5044 | rm -f conftest.err conftest.i conftest.$ac_ext | 
|---|
|  | 5045 |  | 
|---|
|  | 5046 | done | 
|---|
|  | 5047 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
|---|
|  | 5048 | rm -f conftest.i conftest.err conftest.$ac_ext | 
|---|
|  | 5049 | if $ac_preproc_ok; then : | 
|---|
|  | 5050 |  | 
|---|
|  | 5051 | else | 
|---|
|  | 5052 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
|---|
|  | 5053 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
|---|
|  | 5054 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | 
|---|
|  | 5055 | See \`config.log' for more details" "$LINENO" 5; } | 
|---|
|  | 5056 | fi | 
|---|
|  | 5057 |  | 
|---|
|  | 5058 | ac_ext=c | 
|---|
|  | 5059 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
|  | 5060 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
|  | 5061 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
|  | 5062 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
|  | 5063 |  | 
|---|
|  | 5064 |  | 
|---|
|  | 5065 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 | 
|---|
|  | 5066 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | 
|---|
|  | 5067 | if ${ac_cv_path_GREP+:} false; then : | 
|---|
|  | 5068 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 5069 | else | 
|---|
|  | 5070 | if test -z "$GREP"; then | 
|---|
|  | 5071 | ac_path_GREP_found=false | 
|---|
|  | 5072 | # Loop through the user's path and test for each of PROGNAME-LIST | 
|---|
|  | 5073 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
|  | 5074 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 
|---|
|  | 5075 | do | 
|---|
|  | 5076 | IFS=$as_save_IFS | 
|---|
|  | 5077 | test -z "$as_dir" && as_dir=. | 
|---|
|  | 5078 | for ac_prog in grep ggrep; do | 
|---|
|  | 5079 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
|  | 5080 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | 
|---|
| [ef7d253] | 5081 | as_fn_executable_p "$ac_path_GREP" || continue | 
|---|
| [3b77289] | 5082 | # Check for GNU ac_path_GREP and select it if it is found. | 
|---|
|  | 5083 | # Check for GNU $ac_path_GREP | 
|---|
|  | 5084 | case `"$ac_path_GREP" --version 2>&1` in | 
|---|
|  | 5085 | *GNU*) | 
|---|
|  | 5086 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | 
|---|
|  | 5087 | *) | 
|---|
|  | 5088 | ac_count=0 | 
|---|
|  | 5089 | $as_echo_n 0123456789 >"conftest.in" | 
|---|
|  | 5090 | while : | 
|---|
|  | 5091 | do | 
|---|
|  | 5092 | cat "conftest.in" "conftest.in" >"conftest.tmp" | 
|---|
|  | 5093 | mv "conftest.tmp" "conftest.in" | 
|---|
|  | 5094 | cp "conftest.in" "conftest.nl" | 
|---|
|  | 5095 | $as_echo 'GREP' >> "conftest.nl" | 
|---|
|  | 5096 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 
|---|
|  | 5097 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 
|---|
|  | 5098 | as_fn_arith $ac_count + 1 && ac_count=$as_val | 
|---|
|  | 5099 | if test $ac_count -gt ${ac_path_GREP_max-0}; then | 
|---|
|  | 5100 | # Best one so far, save it but keep looking for a better one | 
|---|
|  | 5101 | ac_cv_path_GREP="$ac_path_GREP" | 
|---|
|  | 5102 | ac_path_GREP_max=$ac_count | 
|---|
|  | 5103 | fi | 
|---|
|  | 5104 | # 10*(2^10) chars as input seems more than enough | 
|---|
|  | 5105 | test $ac_count -gt 10 && break | 
|---|
|  | 5106 | done | 
|---|
|  | 5107 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 
|---|
|  | 5108 | esac | 
|---|
|  | 5109 |  | 
|---|
|  | 5110 | $ac_path_GREP_found && break 3 | 
|---|
|  | 5111 | done | 
|---|
|  | 5112 | done | 
|---|
|  | 5113 | done | 
|---|
|  | 5114 | IFS=$as_save_IFS | 
|---|
|  | 5115 | if test -z "$ac_cv_path_GREP"; then | 
|---|
|  | 5116 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 
|---|
|  | 5117 | fi | 
|---|
|  | 5118 | else | 
|---|
|  | 5119 | ac_cv_path_GREP=$GREP | 
|---|
|  | 5120 | fi | 
|---|
|  | 5121 |  | 
|---|
|  | 5122 | fi | 
|---|
|  | 5123 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | 
|---|
|  | 5124 | $as_echo "$ac_cv_path_GREP" >&6; } | 
|---|
|  | 5125 | GREP="$ac_cv_path_GREP" | 
|---|
|  | 5126 |  | 
|---|
|  | 5127 |  | 
|---|
|  | 5128 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | 
|---|
|  | 5129 | $as_echo_n "checking for egrep... " >&6; } | 
|---|
|  | 5130 | if ${ac_cv_path_EGREP+:} false; then : | 
|---|
|  | 5131 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 5132 | else | 
|---|
|  | 5133 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | 
|---|
|  | 5134 | then ac_cv_path_EGREP="$GREP -E" | 
|---|
|  | 5135 | else | 
|---|
|  | 5136 | if test -z "$EGREP"; then | 
|---|
|  | 5137 | ac_path_EGREP_found=false | 
|---|
|  | 5138 | # Loop through the user's path and test for each of PROGNAME-LIST | 
|---|
|  | 5139 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
|  | 5140 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 
|---|
|  | 5141 | do | 
|---|
|  | 5142 | IFS=$as_save_IFS | 
|---|
|  | 5143 | test -z "$as_dir" && as_dir=. | 
|---|
|  | 5144 | for ac_prog in egrep; do | 
|---|
|  | 5145 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
|  | 5146 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | 
|---|
| [ef7d253] | 5147 | as_fn_executable_p "$ac_path_EGREP" || continue | 
|---|
| [3b77289] | 5148 | # Check for GNU ac_path_EGREP and select it if it is found. | 
|---|
|  | 5149 | # Check for GNU $ac_path_EGREP | 
|---|
|  | 5150 | case `"$ac_path_EGREP" --version 2>&1` in | 
|---|
|  | 5151 | *GNU*) | 
|---|
|  | 5152 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | 
|---|
|  | 5153 | *) | 
|---|
|  | 5154 | ac_count=0 | 
|---|
|  | 5155 | $as_echo_n 0123456789 >"conftest.in" | 
|---|
|  | 5156 | while : | 
|---|
|  | 5157 | do | 
|---|
|  | 5158 | cat "conftest.in" "conftest.in" >"conftest.tmp" | 
|---|
|  | 5159 | mv "conftest.tmp" "conftest.in" | 
|---|
|  | 5160 | cp "conftest.in" "conftest.nl" | 
|---|
|  | 5161 | $as_echo 'EGREP' >> "conftest.nl" | 
|---|
|  | 5162 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 
|---|
|  | 5163 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 
|---|
|  | 5164 | as_fn_arith $ac_count + 1 && ac_count=$as_val | 
|---|
|  | 5165 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then | 
|---|
|  | 5166 | # Best one so far, save it but keep looking for a better one | 
|---|
|  | 5167 | ac_cv_path_EGREP="$ac_path_EGREP" | 
|---|
|  | 5168 | ac_path_EGREP_max=$ac_count | 
|---|
|  | 5169 | fi | 
|---|
|  | 5170 | # 10*(2^10) chars as input seems more than enough | 
|---|
|  | 5171 | test $ac_count -gt 10 && break | 
|---|
|  | 5172 | done | 
|---|
|  | 5173 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 
|---|
|  | 5174 | esac | 
|---|
|  | 5175 |  | 
|---|
|  | 5176 | $ac_path_EGREP_found && break 3 | 
|---|
|  | 5177 | done | 
|---|
|  | 5178 | done | 
|---|
|  | 5179 | done | 
|---|
|  | 5180 | IFS=$as_save_IFS | 
|---|
|  | 5181 | if test -z "$ac_cv_path_EGREP"; then | 
|---|
|  | 5182 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 
|---|
|  | 5183 | fi | 
|---|
|  | 5184 | else | 
|---|
|  | 5185 | ac_cv_path_EGREP=$EGREP | 
|---|
|  | 5186 | fi | 
|---|
|  | 5187 |  | 
|---|
|  | 5188 | fi | 
|---|
|  | 5189 | fi | 
|---|
|  | 5190 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | 
|---|
|  | 5191 | $as_echo "$ac_cv_path_EGREP" >&6; } | 
|---|
|  | 5192 | EGREP="$ac_cv_path_EGREP" | 
|---|
|  | 5193 |  | 
|---|
|  | 5194 |  | 
|---|
|  | 5195 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | 
|---|
|  | 5196 | $as_echo_n "checking for ANSI C header files... " >&6; } | 
|---|
|  | 5197 | if ${ac_cv_header_stdc+:} false; then : | 
|---|
|  | 5198 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 5199 | else | 
|---|
|  | 5200 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 5201 | /* end confdefs.h.  */ | 
|---|
|  | 5202 | #include <stdlib.h> | 
|---|
|  | 5203 | #include <stdarg.h> | 
|---|
|  | 5204 | #include <string.h> | 
|---|
|  | 5205 | #include <float.h> | 
|---|
|  | 5206 |  | 
|---|
|  | 5207 | int | 
|---|
|  | 5208 | main () | 
|---|
|  | 5209 | { | 
|---|
|  | 5210 |  | 
|---|
|  | 5211 | ; | 
|---|
|  | 5212 | return 0; | 
|---|
|  | 5213 | } | 
|---|
|  | 5214 | _ACEOF | 
|---|
|  | 5215 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
|  | 5216 | ac_cv_header_stdc=yes | 
|---|
|  | 5217 | else | 
|---|
|  | 5218 | ac_cv_header_stdc=no | 
|---|
|  | 5219 | fi | 
|---|
|  | 5220 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
|  | 5221 |  | 
|---|
|  | 5222 | if test $ac_cv_header_stdc = yes; then | 
|---|
|  | 5223 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
|---|
|  | 5224 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 5225 | /* end confdefs.h.  */ | 
|---|
|  | 5226 | #include <string.h> | 
|---|
|  | 5227 |  | 
|---|
|  | 5228 | _ACEOF | 
|---|
|  | 5229 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
|  | 5230 | $EGREP "memchr" >/dev/null 2>&1; then : | 
|---|
|  | 5231 |  | 
|---|
|  | 5232 | else | 
|---|
|  | 5233 | ac_cv_header_stdc=no | 
|---|
|  | 5234 | fi | 
|---|
|  | 5235 | rm -f conftest* | 
|---|
|  | 5236 |  | 
|---|
|  | 5237 | fi | 
|---|
|  | 5238 |  | 
|---|
|  | 5239 | if test $ac_cv_header_stdc = yes; then | 
|---|
|  | 5240 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
|---|
|  | 5241 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 5242 | /* end confdefs.h.  */ | 
|---|
|  | 5243 | #include <stdlib.h> | 
|---|
|  | 5244 |  | 
|---|
|  | 5245 | _ACEOF | 
|---|
|  | 5246 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
|  | 5247 | $EGREP "free" >/dev/null 2>&1; then : | 
|---|
|  | 5248 |  | 
|---|
|  | 5249 | else | 
|---|
|  | 5250 | ac_cv_header_stdc=no | 
|---|
|  | 5251 | fi | 
|---|
|  | 5252 | rm -f conftest* | 
|---|
|  | 5253 |  | 
|---|
|  | 5254 | fi | 
|---|
|  | 5255 |  | 
|---|
|  | 5256 | if test $ac_cv_header_stdc = yes; then | 
|---|
|  | 5257 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
|---|
|  | 5258 | if test "$cross_compiling" = yes; then : | 
|---|
|  | 5259 | : | 
|---|
|  | 5260 | else | 
|---|
|  | 5261 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 5262 | /* end confdefs.h.  */ | 
|---|
|  | 5263 | #include <ctype.h> | 
|---|
|  | 5264 | #include <stdlib.h> | 
|---|
|  | 5265 | #if ((' ' & 0x0FF) == 0x020) | 
|---|
|  | 5266 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
|---|
|  | 5267 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
|---|
|  | 5268 | #else | 
|---|
|  | 5269 | # define ISLOWER(c) \ | 
|---|
|  | 5270 | (('a' <= (c) && (c) <= 'i') \ | 
|---|
|  | 5271 | || ('j' <= (c) && (c) <= 'r') \ | 
|---|
|  | 5272 | || ('s' <= (c) && (c) <= 'z')) | 
|---|
|  | 5273 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
|---|
|  | 5274 | #endif | 
|---|
|  | 5275 |  | 
|---|
|  | 5276 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
|---|
|  | 5277 | int | 
|---|
|  | 5278 | main () | 
|---|
|  | 5279 | { | 
|---|
|  | 5280 | int i; | 
|---|
|  | 5281 | for (i = 0; i < 256; i++) | 
|---|
|  | 5282 | if (XOR (islower (i), ISLOWER (i)) | 
|---|
|  | 5283 | || toupper (i) != TOUPPER (i)) | 
|---|
|  | 5284 | return 2; | 
|---|
|  | 5285 | return 0; | 
|---|
|  | 5286 | } | 
|---|
|  | 5287 | _ACEOF | 
|---|
|  | 5288 | if ac_fn_c_try_run "$LINENO"; then : | 
|---|
|  | 5289 |  | 
|---|
|  | 5290 | else | 
|---|
|  | 5291 | ac_cv_header_stdc=no | 
|---|
|  | 5292 | fi | 
|---|
|  | 5293 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 
|---|
|  | 5294 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 
|---|
|  | 5295 | fi | 
|---|
|  | 5296 |  | 
|---|
|  | 5297 | fi | 
|---|
|  | 5298 | fi | 
|---|
|  | 5299 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | 
|---|
|  | 5300 | $as_echo "$ac_cv_header_stdc" >&6; } | 
|---|
|  | 5301 | if test $ac_cv_header_stdc = yes; then | 
|---|
|  | 5302 |  | 
|---|
|  | 5303 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h | 
|---|
|  | 5304 |  | 
|---|
|  | 5305 | fi | 
|---|
|  | 5306 |  | 
|---|
|  | 5307 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 
|---|
|  | 5308 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 
|---|
|  | 5309 | inttypes.h stdint.h unistd.h | 
|---|
|  | 5310 | do : | 
|---|
|  | 5311 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
|  | 5312 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 
|---|
|  | 5313 | " | 
|---|
|  | 5314 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 
|---|
|  | 5315 | cat >>confdefs.h <<_ACEOF | 
|---|
|  | 5316 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
|  | 5317 | _ACEOF | 
|---|
|  | 5318 |  | 
|---|
|  | 5319 | fi | 
|---|
|  | 5320 |  | 
|---|
| [5d6ce1f] | 5321 | done | 
|---|
|  | 5322 |  | 
|---|
|  | 5323 |  | 
|---|
|  | 5324 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" | 
|---|
|  | 5325 | if test "x$ac_cv_type_size_t" = xyes; then : | 
|---|
|  | 5326 |  | 
|---|
|  | 5327 | else | 
|---|
|  | 5328 |  | 
|---|
|  | 5329 | cat >>confdefs.h <<_ACEOF | 
|---|
|  | 5330 | #define size_t unsigned int | 
|---|
|  | 5331 | _ACEOF | 
|---|
|  | 5332 |  | 
|---|
|  | 5333 | fi | 
|---|
|  | 5334 |  | 
|---|
|  | 5335 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 
|---|
|  | 5336 | # for constant arguments.  Useless! | 
|---|
|  | 5337 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 | 
|---|
|  | 5338 | $as_echo_n "checking for working alloca.h... " >&6; } | 
|---|
|  | 5339 | if ${ac_cv_working_alloca_h+:} false; then : | 
|---|
|  | 5340 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 5341 | else | 
|---|
|  | 5342 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 5343 | /* end confdefs.h.  */ | 
|---|
|  | 5344 | #include <alloca.h> | 
|---|
|  | 5345 | int | 
|---|
|  | 5346 | main () | 
|---|
|  | 5347 | { | 
|---|
|  | 5348 | char *p = (char *) alloca (2 * sizeof (int)); | 
|---|
|  | 5349 | if (p) return 0; | 
|---|
|  | 5350 | ; | 
|---|
|  | 5351 | return 0; | 
|---|
|  | 5352 | } | 
|---|
|  | 5353 | _ACEOF | 
|---|
|  | 5354 | if ac_fn_c_try_link "$LINENO"; then : | 
|---|
|  | 5355 | ac_cv_working_alloca_h=yes | 
|---|
|  | 5356 | else | 
|---|
|  | 5357 | ac_cv_working_alloca_h=no | 
|---|
|  | 5358 | fi | 
|---|
|  | 5359 | rm -f core conftest.err conftest.$ac_objext \ | 
|---|
|  | 5360 | conftest$ac_exeext conftest.$ac_ext | 
|---|
|  | 5361 | fi | 
|---|
|  | 5362 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 | 
|---|
|  | 5363 | $as_echo "$ac_cv_working_alloca_h" >&6; } | 
|---|
|  | 5364 | if test $ac_cv_working_alloca_h = yes; then | 
|---|
|  | 5365 |  | 
|---|
|  | 5366 | $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h | 
|---|
|  | 5367 |  | 
|---|
|  | 5368 | fi | 
|---|
|  | 5369 |  | 
|---|
|  | 5370 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 | 
|---|
|  | 5371 | $as_echo_n "checking for alloca... " >&6; } | 
|---|
|  | 5372 | if ${ac_cv_func_alloca_works+:} false; then : | 
|---|
|  | 5373 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 5374 | else | 
|---|
|  | 5375 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 5376 | /* end confdefs.h.  */ | 
|---|
|  | 5377 | #ifdef __GNUC__ | 
|---|
|  | 5378 | # define alloca __builtin_alloca | 
|---|
|  | 5379 | #else | 
|---|
|  | 5380 | # ifdef _MSC_VER | 
|---|
|  | 5381 | #  include <malloc.h> | 
|---|
|  | 5382 | #  define alloca _alloca | 
|---|
|  | 5383 | # else | 
|---|
|  | 5384 | #  ifdef HAVE_ALLOCA_H | 
|---|
|  | 5385 | #   include <alloca.h> | 
|---|
|  | 5386 | #  else | 
|---|
|  | 5387 | #   ifdef _AIX | 
|---|
|  | 5388 | #pragma alloca | 
|---|
|  | 5389 | #   else | 
|---|
|  | 5390 | #    ifndef alloca /* predefined by HP cc +Olibcalls */ | 
|---|
|  | 5391 | void *alloca (size_t); | 
|---|
|  | 5392 | #    endif | 
|---|
|  | 5393 | #   endif | 
|---|
|  | 5394 | #  endif | 
|---|
|  | 5395 | # endif | 
|---|
|  | 5396 | #endif | 
|---|
|  | 5397 |  | 
|---|
|  | 5398 | int | 
|---|
|  | 5399 | main () | 
|---|
|  | 5400 | { | 
|---|
|  | 5401 | char *p = (char *) alloca (1); | 
|---|
|  | 5402 | if (p) return 0; | 
|---|
|  | 5403 | ; | 
|---|
|  | 5404 | return 0; | 
|---|
|  | 5405 | } | 
|---|
|  | 5406 | _ACEOF | 
|---|
|  | 5407 | if ac_fn_c_try_link "$LINENO"; then : | 
|---|
|  | 5408 | ac_cv_func_alloca_works=yes | 
|---|
|  | 5409 | else | 
|---|
|  | 5410 | ac_cv_func_alloca_works=no | 
|---|
|  | 5411 | fi | 
|---|
|  | 5412 | rm -f core conftest.err conftest.$ac_objext \ | 
|---|
|  | 5413 | conftest$ac_exeext conftest.$ac_ext | 
|---|
|  | 5414 | fi | 
|---|
|  | 5415 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 | 
|---|
|  | 5416 | $as_echo "$ac_cv_func_alloca_works" >&6; } | 
|---|
|  | 5417 |  | 
|---|
|  | 5418 | if test $ac_cv_func_alloca_works = yes; then | 
|---|
|  | 5419 |  | 
|---|
|  | 5420 | $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h | 
|---|
|  | 5421 |  | 
|---|
|  | 5422 | else | 
|---|
|  | 5423 | # The SVR3 libPW and SVR4 libucb both contain incompatible functions | 
|---|
|  | 5424 | # that cause trouble.  Some versions do not even contain alloca or | 
|---|
|  | 5425 | # contain a buggy version.  If you still want to use their alloca, | 
|---|
|  | 5426 | # use ar to extract alloca.o from them instead of compiling alloca.c. | 
|---|
|  | 5427 |  | 
|---|
|  | 5428 | ALLOCA=\${LIBOBJDIR}alloca.$ac_objext | 
|---|
|  | 5429 |  | 
|---|
|  | 5430 | $as_echo "#define C_ALLOCA 1" >>confdefs.h | 
|---|
|  | 5431 |  | 
|---|
|  | 5432 |  | 
|---|
|  | 5433 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 | 
|---|
|  | 5434 | $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } | 
|---|
|  | 5435 | if ${ac_cv_os_cray+:} false; then : | 
|---|
|  | 5436 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 5437 | else | 
|---|
|  | 5438 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 5439 | /* end confdefs.h.  */ | 
|---|
|  | 5440 | #if defined CRAY && ! defined CRAY2 | 
|---|
|  | 5441 | webecray | 
|---|
|  | 5442 | #else | 
|---|
|  | 5443 | wenotbecray | 
|---|
|  | 5444 | #endif | 
|---|
|  | 5445 |  | 
|---|
|  | 5446 | _ACEOF | 
|---|
|  | 5447 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
|  | 5448 | $EGREP "webecray" >/dev/null 2>&1; then : | 
|---|
|  | 5449 | ac_cv_os_cray=yes | 
|---|
|  | 5450 | else | 
|---|
|  | 5451 | ac_cv_os_cray=no | 
|---|
|  | 5452 | fi | 
|---|
|  | 5453 | rm -f conftest* | 
|---|
|  | 5454 |  | 
|---|
|  | 5455 | fi | 
|---|
|  | 5456 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 | 
|---|
|  | 5457 | $as_echo "$ac_cv_os_cray" >&6; } | 
|---|
|  | 5458 | if test $ac_cv_os_cray = yes; then | 
|---|
|  | 5459 | for ac_func in _getb67 GETB67 getb67; do | 
|---|
|  | 5460 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
|---|
|  | 5461 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 
|---|
|  | 5462 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 
|---|
|  | 5463 |  | 
|---|
|  | 5464 | cat >>confdefs.h <<_ACEOF | 
|---|
|  | 5465 | #define CRAY_STACKSEG_END $ac_func | 
|---|
|  | 5466 | _ACEOF | 
|---|
|  | 5467 |  | 
|---|
|  | 5468 | break | 
|---|
|  | 5469 | fi | 
|---|
|  | 5470 |  | 
|---|
|  | 5471 | done | 
|---|
|  | 5472 | fi | 
|---|
|  | 5473 |  | 
|---|
|  | 5474 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 | 
|---|
|  | 5475 | $as_echo_n "checking stack direction for C alloca... " >&6; } | 
|---|
|  | 5476 | if ${ac_cv_c_stack_direction+:} false; then : | 
|---|
|  | 5477 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 5478 | else | 
|---|
|  | 5479 | if test "$cross_compiling" = yes; then : | 
|---|
|  | 5480 | ac_cv_c_stack_direction=0 | 
|---|
|  | 5481 | else | 
|---|
|  | 5482 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 5483 | /* end confdefs.h.  */ | 
|---|
|  | 5484 | $ac_includes_default | 
|---|
|  | 5485 | int | 
|---|
| [ef7d253] | 5486 | find_stack_direction (int *addr, int depth) | 
|---|
| [5d6ce1f] | 5487 | { | 
|---|
| [ef7d253] | 5488 | int dir, dummy = 0; | 
|---|
|  | 5489 | if (! addr) | 
|---|
|  | 5490 | addr = &dummy; | 
|---|
|  | 5491 | *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; | 
|---|
|  | 5492 | dir = depth ? find_stack_direction (addr, depth - 1) : 0; | 
|---|
|  | 5493 | return dir + dummy; | 
|---|
| [5d6ce1f] | 5494 | } | 
|---|
|  | 5495 |  | 
|---|
|  | 5496 | int | 
|---|
| [ef7d253] | 5497 | main (int argc, char **argv) | 
|---|
| [5d6ce1f] | 5498 | { | 
|---|
| [ef7d253] | 5499 | return find_stack_direction (0, argc + !argv + 20) < 0; | 
|---|
| [5d6ce1f] | 5500 | } | 
|---|
|  | 5501 | _ACEOF | 
|---|
|  | 5502 | if ac_fn_c_try_run "$LINENO"; then : | 
|---|
|  | 5503 | ac_cv_c_stack_direction=1 | 
|---|
|  | 5504 | else | 
|---|
|  | 5505 | ac_cv_c_stack_direction=-1 | 
|---|
|  | 5506 | fi | 
|---|
|  | 5507 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 
|---|
|  | 5508 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 
|---|
|  | 5509 | fi | 
|---|
|  | 5510 |  | 
|---|
|  | 5511 | fi | 
|---|
|  | 5512 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 | 
|---|
|  | 5513 | $as_echo "$ac_cv_c_stack_direction" >&6; } | 
|---|
|  | 5514 | cat >>confdefs.h <<_ACEOF | 
|---|
|  | 5515 | #define STACK_DIRECTION $ac_cv_c_stack_direction | 
|---|
|  | 5516 | _ACEOF | 
|---|
|  | 5517 |  | 
|---|
| [3b77289] | 5518 |  | 
|---|
| [5d6ce1f] | 5519 | fi | 
|---|
| [3b77289] | 5520 |  | 
|---|
| [5d6ce1f] | 5521 | for ac_header in fenv.h float.h inttypes.h libintl.h limits.h malloc.h stddef.h stdlib.h string.h unistd.h | 
|---|
| [3b77289] | 5522 | do : | 
|---|
|  | 5523 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
|  | 5524 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 
|---|
|  | 5525 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 
|---|
|  | 5526 | cat >>confdefs.h <<_ACEOF | 
|---|
|  | 5527 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
|  | 5528 | _ACEOF | 
|---|
|  | 5529 |  | 
|---|
|  | 5530 | fi | 
|---|
|  | 5531 |  | 
|---|
|  | 5532 | done | 
|---|
|  | 5533 |  | 
|---|
|  | 5534 |  | 
|---|
| [5d6ce1f] | 5535 | # Checks for typedefs, structures, and compiler characteristics. | 
|---|
|  | 5536 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 | 
|---|
|  | 5537 | $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } | 
|---|
|  | 5538 | if ${ac_cv_header_stdbool_h+:} false; then : | 
|---|
| [3b77289] | 5539 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 5540 | else | 
|---|
|  | 5541 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 5542 | /* end confdefs.h.  */ | 
|---|
|  | 5543 |  | 
|---|
| [ef7d253] | 5544 | #include <stdbool.h> | 
|---|
|  | 5545 | #ifndef bool | 
|---|
|  | 5546 | "error: bool is not defined" | 
|---|
|  | 5547 | #endif | 
|---|
|  | 5548 | #ifndef false | 
|---|
|  | 5549 | "error: false is not defined" | 
|---|
|  | 5550 | #endif | 
|---|
|  | 5551 | #if false | 
|---|
|  | 5552 | "error: false is not 0" | 
|---|
|  | 5553 | #endif | 
|---|
|  | 5554 | #ifndef true | 
|---|
|  | 5555 | "error: true is not defined" | 
|---|
|  | 5556 | #endif | 
|---|
|  | 5557 | #if true != 1 | 
|---|
|  | 5558 | "error: true is not 1" | 
|---|
|  | 5559 | #endif | 
|---|
|  | 5560 | #ifndef __bool_true_false_are_defined | 
|---|
|  | 5561 | "error: __bool_true_false_are_defined is not defined" | 
|---|
|  | 5562 | #endif | 
|---|
|  | 5563 |  | 
|---|
|  | 5564 | struct s { _Bool s: 1; _Bool t; } s; | 
|---|
|  | 5565 |  | 
|---|
|  | 5566 | char a[true == 1 ? 1 : -1]; | 
|---|
|  | 5567 | char b[false == 0 ? 1 : -1]; | 
|---|
|  | 5568 | char c[__bool_true_false_are_defined == 1 ? 1 : -1]; | 
|---|
|  | 5569 | char d[(bool) 0.5 == true ? 1 : -1]; | 
|---|
|  | 5570 | /* See body of main program for 'e'.  */ | 
|---|
|  | 5571 | char f[(_Bool) 0.0 == false ? 1 : -1]; | 
|---|
|  | 5572 | char g[true]; | 
|---|
|  | 5573 | char h[sizeof (_Bool)]; | 
|---|
|  | 5574 | char i[sizeof s.t]; | 
|---|
|  | 5575 | enum { j = false, k = true, l = false * true, m = true * 256 }; | 
|---|
|  | 5576 | /* The following fails for | 
|---|
|  | 5577 | HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ | 
|---|
|  | 5578 | _Bool n[m]; | 
|---|
|  | 5579 | char o[sizeof n == m * sizeof n[0] ? 1 : -1]; | 
|---|
|  | 5580 | char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; | 
|---|
|  | 5581 | /* Catch a bug in an HP-UX C compiler.  See | 
|---|
|  | 5582 | http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html | 
|---|
|  | 5583 | http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html | 
|---|
|  | 5584 | */ | 
|---|
|  | 5585 | _Bool q = true; | 
|---|
|  | 5586 | _Bool *pq = &q; | 
|---|
| [5d6ce1f] | 5587 |  | 
|---|
| [3b77289] | 5588 | int | 
|---|
|  | 5589 | main () | 
|---|
|  | 5590 | { | 
|---|
| [5d6ce1f] | 5591 |  | 
|---|
| [ef7d253] | 5592 | bool e = &s; | 
|---|
|  | 5593 | *pq |= q; | 
|---|
|  | 5594 | *pq |= ! q; | 
|---|
|  | 5595 | /* Refer to every declared value, to avoid compiler optimizations.  */ | 
|---|
|  | 5596 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l | 
|---|
|  | 5597 | + !m + !n + !o + !p + !q + !pq); | 
|---|
| [3b77289] | 5598 |  | 
|---|
|  | 5599 | ; | 
|---|
|  | 5600 | return 0; | 
|---|
|  | 5601 | } | 
|---|
|  | 5602 | _ACEOF | 
|---|
|  | 5603 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
| [5d6ce1f] | 5604 | ac_cv_header_stdbool_h=yes | 
|---|
| [3b77289] | 5605 | else | 
|---|
| [5d6ce1f] | 5606 | ac_cv_header_stdbool_h=no | 
|---|
| [3b77289] | 5607 | fi | 
|---|
|  | 5608 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
|  | 5609 | fi | 
|---|
| [5d6ce1f] | 5610 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 | 
|---|
|  | 5611 | $as_echo "$ac_cv_header_stdbool_h" >&6; } | 
|---|
| [ef7d253] | 5612 | ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" | 
|---|
| [5d6ce1f] | 5613 | if test "x$ac_cv_type__Bool" = xyes; then : | 
|---|
|  | 5614 |  | 
|---|
|  | 5615 | cat >>confdefs.h <<_ACEOF | 
|---|
|  | 5616 | #define HAVE__BOOL 1 | 
|---|
|  | 5617 | _ACEOF | 
|---|
|  | 5618 |  | 
|---|
|  | 5619 |  | 
|---|
|  | 5620 | fi | 
|---|
|  | 5621 |  | 
|---|
| [ef7d253] | 5622 |  | 
|---|
| [5d6ce1f] | 5623 | if test $ac_cv_header_stdbool_h = yes; then | 
|---|
| [3b77289] | 5624 |  | 
|---|
| [5d6ce1f] | 5625 | $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h | 
|---|
| [3b77289] | 5626 |  | 
|---|
|  | 5627 | fi | 
|---|
|  | 5628 |  | 
|---|
|  | 5629 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 | 
|---|
|  | 5630 | $as_echo_n "checking for inline... " >&6; } | 
|---|
|  | 5631 | if ${ac_cv_c_inline+:} false; then : | 
|---|
|  | 5632 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 5633 | else | 
|---|
|  | 5634 | ac_cv_c_inline=no | 
|---|
|  | 5635 | for ac_kw in inline __inline__ __inline; do | 
|---|
|  | 5636 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
|  | 5637 | /* end confdefs.h.  */ | 
|---|
|  | 5638 | #ifndef __cplusplus | 
|---|
|  | 5639 | typedef int foo_t; | 
|---|
|  | 5640 | static $ac_kw foo_t static_foo () {return 0; } | 
|---|
|  | 5641 | $ac_kw foo_t foo () {return 0; } | 
|---|
|  | 5642 | #endif | 
|---|
|  | 5643 |  | 
|---|
|  | 5644 | _ACEOF | 
|---|
|  | 5645 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
|  | 5646 | ac_cv_c_inline=$ac_kw | 
|---|
|  | 5647 | fi | 
|---|
|  | 5648 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
|  | 5649 | test "$ac_cv_c_inline" != no && break | 
|---|
|  | 5650 | done | 
|---|
|  | 5651 |  | 
|---|
|  | 5652 | fi | 
|---|
|  | 5653 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 | 
|---|
|  | 5654 | $as_echo "$ac_cv_c_inline" >&6; } | 
|---|
|  | 5655 |  | 
|---|
|  | 5656 | case $ac_cv_c_inline in | 
|---|
|  | 5657 | inline | yes) ;; | 
|---|
|  | 5658 | *) | 
|---|
|  | 5659 | case $ac_cv_c_inline in | 
|---|
|  | 5660 | no) ac_val=;; | 
|---|
|  | 5661 | *) ac_val=$ac_cv_c_inline;; | 
|---|
|  | 5662 | esac | 
|---|
|  | 5663 | cat >>confdefs.h <<_ACEOF | 
|---|
|  | 5664 | #ifndef __cplusplus | 
|---|
|  | 5665 | #define inline $ac_val | 
|---|
|  | 5666 | #endif | 
|---|
|  | 5667 | _ACEOF | 
|---|
|  | 5668 | ;; | 
|---|
|  | 5669 | esac | 
|---|
|  | 5670 |  | 
|---|
| [5d6ce1f] | 5671 | ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t" | 
|---|
|  | 5672 | case $ac_cv_c_int16_t in #( | 
|---|
|  | 5673 | no|yes) ;; #( | 
|---|
|  | 5674 | *) | 
|---|
|  | 5675 |  | 
|---|
|  | 5676 | cat >>confdefs.h <<_ACEOF | 
|---|
|  | 5677 | #define int16_t $ac_cv_c_int16_t | 
|---|
|  | 5678 | _ACEOF | 
|---|
|  | 5679 | ;; | 
|---|
|  | 5680 | esac | 
|---|
|  | 5681 |  | 
|---|
|  | 5682 | ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t" | 
|---|
|  | 5683 | case $ac_cv_c_int32_t in #( | 
|---|
|  | 5684 | no|yes) ;; #( | 
|---|
|  | 5685 | *) | 
|---|
|  | 5686 |  | 
|---|
|  | 5687 | cat >>confdefs.h <<_ACEOF | 
|---|
|  | 5688 | #define int32_t $ac_cv_c_int32_t | 
|---|
|  | 5689 | _ACEOF | 
|---|
|  | 5690 | ;; | 
|---|
|  | 5691 | esac | 
|---|
|  | 5692 |  | 
|---|
|  | 5693 | ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t" | 
|---|
|  | 5694 | case $ac_cv_c_int8_t in #( | 
|---|
|  | 5695 | no|yes) ;; #( | 
|---|
|  | 5696 | *) | 
|---|
|  | 5697 |  | 
|---|
|  | 5698 | cat >>confdefs.h <<_ACEOF | 
|---|
|  | 5699 | #define int8_t $ac_cv_c_int8_t | 
|---|
|  | 5700 | _ACEOF | 
|---|
|  | 5701 | ;; | 
|---|
|  | 5702 | esac | 
|---|
|  | 5703 |  | 
|---|
|  | 5704 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 | 
|---|
|  | 5705 | $as_echo_n "checking for C/C++ restrict keyword... " >&6; } | 
|---|
|  | 5706 | if ${ac_cv_c_restrict+:} false; then : | 
|---|
| [3b77289] | 5707 | $as_echo_n "(cached) " >&6 | 
|---|
|  | 5708 | else | 
|---|
| [5d6ce1f] | 5709 | ac_cv_c_restrict=no | 
|---|
|  | 5710 | # The order here caters to the fact that C++ does not require restrict. | 
|---|
|  | 5711 | for ac_kw in __restrict __restrict__ _Restrict restrict; do | 
|---|
|  | 5712 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| [3b77289] | 5713 | /* end confdefs.h.  */ | 
|---|
| [5d6ce1f] | 5714 | typedef int * int_ptr; | 
|---|
|  | 5715 | int foo (int_ptr $ac_kw ip) { | 
|---|
|  | 5716 | return ip[0]; | 
|---|
|  | 5717 | } | 
|---|
| [3b77289] | 5718 | int | 
|---|
|  | 5719 | main () | 
|---|
|  | 5720 | { | 
|---|
| [5d6ce1f] | 5721 | int s[1]; | 
|---|
|  | 5722 | int * $ac_kw t = s; | 
|---|
|  | 5723 | t[0] = 0; | 
|---|
|  | 5724 | return foo(t) | 
|---|
| [3b77289] | 5725 | ; | 
|---|
|  | 5726 | return 0; | 
|---|
|  | 5727 | } | 
|---|
|  | 5728 | _ACEOF | 
|---|
|  | 5729 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
| [5d6ce1f] | 5730 | ac_cv_c_restrict=$ac_kw | 
|---|
| [3b77289] | 5731 | fi | 
|---|
|  | 5732 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| [5d6ce1f] | 5733 | test "$ac_cv_c_restrict" != no && break | 
|---|
|  | 5734 | done | 
|---|
| [3b77289] | 5735 |  | 
|---|
|  | 5736 | fi | 
|---|
| [5d6ce1f] | 5737 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 | 
|---|
|  | 5738 | $as_echo "$ac_cv_c_restrict" >&6; } | 
|---|
|  | 5739 |  | 
|---|
|  | 5740 | case $ac_cv_c_restrict in | 
|---|
|  | 5741 | restrict) ;; | 
|---|
|  | 5742 | no) $as_echo "#define restrict /**/" >>confdefs.h | 
|---|
|  | 5743 | ;; | 
|---|
|  | 5744 | *)  cat >>confdefs.h <<_ACEOF | 
|---|
|  | 5745 | #define restrict $ac_cv_c_restrict | 
|---|
|  | 5746 | _ACEOF | 
|---|
|  | 5747 | ;; | 
|---|
|  | 5748 | esac | 
|---|
| [3b77289] | 5749 |  | 
|---|
| [5d6ce1f] | 5750 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" | 
|---|
|  | 5751 | if test "x$ac_cv_type_size_t" = xyes; then : | 
|---|
| [3b77289] | 5752 |  | 
|---|
| [5d6ce1f] | 5753 | else | 
|---|
| [3b77289] | 5754 |  | 
|---|
| [5d6ce1f] | 5755 | cat >>confdefs.h <<_ACEOF | 
|---|
|  | 5756 | #define size_t unsigned int | 
|---|
|  | 5757 | _ACEOF | 
|---|
| [3b77289] | 5758 |  | 
|---|
|  | 5759 | fi | 
|---|
|  | 5760 |  | 
|---|
| [5d6ce1f] | 5761 | ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t" | 
|---|
|  | 5762 | case $ac_cv_c_uint16_t in #( | 
|---|
|  | 5763 | no|yes) ;; #( | 
|---|
|  | 5764 | *) | 
|---|
| [3b77289] | 5765 |  | 
|---|
|  | 5766 |  | 
|---|
| [5d6ce1f] | 5767 | cat >>confdefs.h <<_ACEOF | 
|---|
|  | 5768 | #define uint16_t $ac_cv_c_uint16_t | 
|---|
|  | 5769 | _ACEOF | 
|---|
|  | 5770 | ;; | 
|---|
|  | 5771 | esac | 
|---|
| [3b77289] | 5772 |  | 
|---|
| [5d6ce1f] | 5773 | ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t" | 
|---|
|  | 5774 | case $ac_cv_c_uint32_t in #( | 
|---|
|  | 5775 | no|yes) ;; #( | 
|---|
|  | 5776 | *) | 
|---|
| [3b77289] | 5777 |  | 
|---|
| [5d6ce1f] | 5778 | $as_echo "#define _UINT32_T 1" >>confdefs.h | 
|---|
|  | 5779 |  | 
|---|
|  | 5780 |  | 
|---|
|  | 5781 | cat >>confdefs.h <<_ACEOF | 
|---|
|  | 5782 | #define uint32_t $ac_cv_c_uint32_t | 
|---|
| [3b77289] | 5783 | _ACEOF | 
|---|
| [5d6ce1f] | 5784 | ;; | 
|---|
|  | 5785 | esac | 
|---|
| [3b77289] | 5786 |  | 
|---|
| [5d6ce1f] | 5787 | ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t" | 
|---|
|  | 5788 | case $ac_cv_c_uint8_t in #( | 
|---|
|  | 5789 | no|yes) ;; #( | 
|---|
| [3b77289] | 5790 | *) | 
|---|
|  | 5791 |  | 
|---|
| [5d6ce1f] | 5792 | $as_echo "#define _UINT8_T 1" >>confdefs.h | 
|---|
| [3b77289] | 5793 |  | 
|---|
|  | 5794 |  | 
|---|
|  | 5795 | cat >>confdefs.h <<_ACEOF | 
|---|
| [5d6ce1f] | 5796 | #define uint8_t $ac_cv_c_uint8_t | 
|---|
| [3b77289] | 5797 | _ACEOF | 
|---|
| [5d6ce1f] | 5798 | ;; | 
|---|
|  | 5799 | esac | 
|---|
| [3b77289] | 5800 |  | 
|---|
|  | 5801 |  | 
|---|
| [5d6ce1f] | 5802 | # Checks for library functions. | 
|---|
|  | 5803 | for ac_func in memset putenv strchr strtol | 
|---|
|  | 5804 | do : | 
|---|
|  | 5805 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
|---|
|  | 5806 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 
|---|
|  | 5807 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 
|---|
|  | 5808 | cat >>confdefs.h <<_ACEOF | 
|---|
|  | 5809 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 
|---|
| [3b77289] | 5810 | _ACEOF | 
|---|
|  | 5811 |  | 
|---|
| [5d6ce1f] | 5812 | fi | 
|---|
|  | 5813 | done | 
|---|
| [3b77289] | 5814 |  | 
|---|
|  | 5815 |  | 
|---|
| [ef7d253] | 5816 | ac_config_files="$ac_config_files Makefile src/driver/Makefile src/Makefile src/examples/Makefile src/tests/Makefile src/libcfa/Makefile" | 
|---|
| [3b77289] | 5817 |  | 
|---|
| [5d6ce1f] | 5818 |  | 
|---|
| [3b77289] | 5819 | cat >confcache <<\_ACEOF | 
|---|
|  | 5820 | # This file is a shell script that caches the results of configure | 
|---|
|  | 5821 | # tests run on this system so they can be shared between configure | 
|---|
|  | 5822 | # scripts and configure runs, see configure's option --config-cache. | 
|---|
|  | 5823 | # It is not useful on other systems.  If it contains results you don't | 
|---|
|  | 5824 | # want to keep, you may remove or edit it. | 
|---|
|  | 5825 | # | 
|---|
|  | 5826 | # config.status only pays attention to the cache file if you give it | 
|---|
|  | 5827 | # the --recheck option to rerun configure. | 
|---|
|  | 5828 | # | 
|---|
|  | 5829 | # `ac_cv_env_foo' variables (set or unset) will be overridden when | 
|---|
|  | 5830 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | 
|---|
|  | 5831 | # following values. | 
|---|
|  | 5832 |  | 
|---|
|  | 5833 | _ACEOF | 
|---|
|  | 5834 |  | 
|---|
|  | 5835 | # The following way of writing the cache mishandles newlines in values, | 
|---|
|  | 5836 | # but we know of no workaround that is simple, portable, and efficient. | 
|---|
|  | 5837 | # So, we kill variables containing newlines. | 
|---|
|  | 5838 | # Ultrix sh set writes to stderr and can't be redirected directly, | 
|---|
|  | 5839 | # and sets the high bit in the cache file unless we assign to the vars. | 
|---|
|  | 5840 | ( | 
|---|
|  | 5841 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | 
|---|
|  | 5842 | eval ac_val=\$$ac_var | 
|---|
|  | 5843 | case $ac_val in #( | 
|---|
|  | 5844 | *${as_nl}*) | 
|---|
|  | 5845 | case $ac_var in #( | 
|---|
|  | 5846 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | 
|---|
|  | 5847 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | 
|---|
|  | 5848 | esac | 
|---|
|  | 5849 | case $ac_var in #( | 
|---|
|  | 5850 | _ | IFS | as_nl) ;; #( | 
|---|
|  | 5851 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 
|---|
|  | 5852 | *) { eval $ac_var=; unset $ac_var;} ;; | 
|---|
|  | 5853 | esac ;; | 
|---|
|  | 5854 | esac | 
|---|
|  | 5855 | done | 
|---|
|  | 5856 |  | 
|---|
|  | 5857 | (set) 2>&1 | | 
|---|
|  | 5858 | case $as_nl`(ac_space=' '; set) 2>&1` in #( | 
|---|
|  | 5859 | *${as_nl}ac_space=\ *) | 
|---|
|  | 5860 | # `set' does not quote correctly, so add quotes: double-quote | 
|---|
|  | 5861 | # substitution turns \\\\ into \\, and sed turns \\ into \. | 
|---|
|  | 5862 | sed -n \ | 
|---|
|  | 5863 | "s/'/'\\\\''/g; | 
|---|
|  | 5864 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 
|---|
|  | 5865 | ;; #( | 
|---|
|  | 5866 | *) | 
|---|
|  | 5867 | # `set' quotes correctly as required by POSIX, so do not add quotes. | 
|---|
|  | 5868 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | 
|---|
|  | 5869 | ;; | 
|---|
|  | 5870 | esac | | 
|---|
|  | 5871 | sort | 
|---|
|  | 5872 | ) | | 
|---|
|  | 5873 | sed ' | 
|---|
|  | 5874 | /^ac_cv_env_/b end | 
|---|
|  | 5875 | t clear | 
|---|
|  | 5876 | :clear | 
|---|
|  | 5877 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | 
|---|
|  | 5878 | t end | 
|---|
|  | 5879 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 
|---|
|  | 5880 | :end' >>confcache | 
|---|
|  | 5881 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | 
|---|
|  | 5882 | if test -w "$cache_file"; then | 
|---|
|  | 5883 | if test "x$cache_file" != "x/dev/null"; then | 
|---|
|  | 5884 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | 
|---|
|  | 5885 | $as_echo "$as_me: updating cache $cache_file" >&6;} | 
|---|
|  | 5886 | if test ! -f "$cache_file" || test -h "$cache_file"; then | 
|---|
|  | 5887 | cat confcache >"$cache_file" | 
|---|
|  | 5888 | else | 
|---|
|  | 5889 | case $cache_file in #( | 
|---|
|  | 5890 | */* | ?:*) | 
|---|
|  | 5891 | mv -f confcache "$cache_file"$$ && | 
|---|
|  | 5892 | mv -f "$cache_file"$$ "$cache_file" ;; #( | 
|---|
|  | 5893 | *) | 
|---|
|  | 5894 | mv -f confcache "$cache_file" ;; | 
|---|
|  | 5895 | esac | 
|---|
|  | 5896 | fi | 
|---|
|  | 5897 | fi | 
|---|
|  | 5898 | else | 
|---|
|  | 5899 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | 
|---|
|  | 5900 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | 
|---|
|  | 5901 | fi | 
|---|
|  | 5902 | fi | 
|---|
|  | 5903 | rm -f confcache | 
|---|
|  | 5904 |  | 
|---|
|  | 5905 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | 
|---|
|  | 5906 | # Let make expand exec_prefix. | 
|---|
|  | 5907 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | 
|---|
|  | 5908 |  | 
|---|
|  | 5909 | DEFS=-DHAVE_CONFIG_H | 
|---|
|  | 5910 |  | 
|---|
|  | 5911 | ac_libobjs= | 
|---|
|  | 5912 | ac_ltlibobjs= | 
|---|
|  | 5913 | U= | 
|---|
|  | 5914 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 
|---|
|  | 5915 | # 1. Remove the extension, and $U if already installed. | 
|---|
|  | 5916 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | 
|---|
|  | 5917 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | 
|---|
|  | 5918 | # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR | 
|---|
|  | 5919 | #    will be set to the directory where LIBOBJS objects are built. | 
|---|
|  | 5920 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | 
|---|
|  | 5921 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | 
|---|
|  | 5922 | done | 
|---|
|  | 5923 | LIBOBJS=$ac_libobjs | 
|---|
|  | 5924 |  | 
|---|
|  | 5925 | LTLIBOBJS=$ac_ltlibobjs | 
|---|
|  | 5926 |  | 
|---|
|  | 5927 |  | 
|---|
| [ef7d253] | 5928 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 | 
|---|
|  | 5929 | $as_echo_n "checking that generated files are newer than configure... " >&6; } | 
|---|
|  | 5930 | if test -n "$am_sleep_pid"; then | 
|---|
|  | 5931 | # Hide warnings about reused PIDs. | 
|---|
|  | 5932 | wait $am_sleep_pid 2>/dev/null | 
|---|
|  | 5933 | fi | 
|---|
|  | 5934 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 | 
|---|
|  | 5935 | $as_echo "done" >&6; } | 
|---|
| [3b77289] | 5936 | if test -n "$EXEEXT"; then | 
|---|
|  | 5937 | am__EXEEXT_TRUE= | 
|---|
|  | 5938 | am__EXEEXT_FALSE='#' | 
|---|
|  | 5939 | else | 
|---|
|  | 5940 | am__EXEEXT_TRUE='#' | 
|---|
|  | 5941 | am__EXEEXT_FALSE= | 
|---|
|  | 5942 | fi | 
|---|
|  | 5943 |  | 
|---|
| [6aa5ec0f] | 5944 | if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then | 
|---|
|  | 5945 | as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. | 
|---|
|  | 5946 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | 
|---|
|  | 5947 | fi | 
|---|
| [3b77289] | 5948 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | 
|---|
|  | 5949 | as_fn_error $? "conditional \"AMDEP\" was never defined. | 
|---|
|  | 5950 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | 
|---|
|  | 5951 | fi | 
|---|
|  | 5952 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then | 
|---|
|  | 5953 | as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. | 
|---|
|  | 5954 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | 
|---|
|  | 5955 | fi | 
|---|
|  | 5956 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | 
|---|
|  | 5957 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. | 
|---|
|  | 5958 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | 
|---|
|  | 5959 | fi | 
|---|
|  | 5960 |  | 
|---|
|  | 5961 | : "${CONFIG_STATUS=./config.status}" | 
|---|
|  | 5962 | ac_write_fail=0 | 
|---|
|  | 5963 | ac_clean_files_save=$ac_clean_files | 
|---|
|  | 5964 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 
|---|
|  | 5965 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | 
|---|
|  | 5966 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | 
|---|
|  | 5967 | as_write_fail=0 | 
|---|
|  | 5968 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | 
|---|
|  | 5969 | #! $SHELL | 
|---|
|  | 5970 | # Generated by $as_me. | 
|---|
|  | 5971 | # Run this file to recreate the current configuration. | 
|---|
|  | 5972 | # Compiler output produced by configure, useful for debugging | 
|---|
|  | 5973 | # configure, is in config.log if it exists. | 
|---|
|  | 5974 |  | 
|---|
|  | 5975 | debug=false | 
|---|
|  | 5976 | ac_cs_recheck=false | 
|---|
|  | 5977 | ac_cs_silent=false | 
|---|
|  | 5978 |  | 
|---|
|  | 5979 | SHELL=\${CONFIG_SHELL-$SHELL} | 
|---|
|  | 5980 | export SHELL | 
|---|
|  | 5981 | _ASEOF | 
|---|
|  | 5982 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 | 
|---|
|  | 5983 | ## -------------------- ## | 
|---|
|  | 5984 | ## M4sh Initialization. ## | 
|---|
|  | 5985 | ## -------------------- ## | 
|---|
|  | 5986 |  | 
|---|
|  | 5987 | # Be more Bourne compatible | 
|---|
|  | 5988 | DUALCASE=1; export DUALCASE # for MKS sh | 
|---|
|  | 5989 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | 
|---|
|  | 5990 | emulate sh | 
|---|
|  | 5991 | NULLCMD=: | 
|---|
|  | 5992 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | 
|---|
|  | 5993 | # is contrary to our usage.  Disable this feature. | 
|---|
|  | 5994 | alias -g '${1+"$@"}'='"$@"' | 
|---|
|  | 5995 | setopt NO_GLOB_SUBST | 
|---|
|  | 5996 | else | 
|---|
|  | 5997 | case `(set -o) 2>/dev/null` in #( | 
|---|
|  | 5998 | *posix*) : | 
|---|
|  | 5999 | set -o posix ;; #( | 
|---|
|  | 6000 | *) : | 
|---|
|  | 6001 | ;; | 
|---|
|  | 6002 | esac | 
|---|
|  | 6003 | fi | 
|---|
|  | 6004 |  | 
|---|
|  | 6005 |  | 
|---|
|  | 6006 | as_nl=' | 
|---|
|  | 6007 | ' | 
|---|
|  | 6008 | export as_nl | 
|---|
|  | 6009 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | 
|---|
|  | 6010 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 
|---|
|  | 6011 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | 
|---|
|  | 6012 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | 
|---|
|  | 6013 | # Prefer a ksh shell builtin over an external printf program on Solaris, | 
|---|
|  | 6014 | # but without wasting forks for bash or zsh. | 
|---|
|  | 6015 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | 
|---|
|  | 6016 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | 
|---|
|  | 6017 | as_echo='print -r --' | 
|---|
|  | 6018 | as_echo_n='print -rn --' | 
|---|
|  | 6019 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | 
|---|
|  | 6020 | as_echo='printf %s\n' | 
|---|
|  | 6021 | as_echo_n='printf %s' | 
|---|
|  | 6022 | else | 
|---|
|  | 6023 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | 
|---|
|  | 6024 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | 
|---|
|  | 6025 | as_echo_n='/usr/ucb/echo -n' | 
|---|
|  | 6026 | else | 
|---|
|  | 6027 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | 
|---|
|  | 6028 | as_echo_n_body='eval | 
|---|
|  | 6029 | arg=$1; | 
|---|
|  | 6030 | case $arg in #( | 
|---|
|  | 6031 | *"$as_nl"*) | 
|---|
|  | 6032 | expr "X$arg" : "X\\(.*\\)$as_nl"; | 
|---|
|  | 6033 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | 
|---|
|  | 6034 | esac; | 
|---|
|  | 6035 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | 
|---|
|  | 6036 | ' | 
|---|
|  | 6037 | export as_echo_n_body | 
|---|
|  | 6038 | as_echo_n='sh -c $as_echo_n_body as_echo' | 
|---|
|  | 6039 | fi | 
|---|
|  | 6040 | export as_echo_body | 
|---|
|  | 6041 | as_echo='sh -c $as_echo_body as_echo' | 
|---|
|  | 6042 | fi | 
|---|
|  | 6043 |  | 
|---|
|  | 6044 | # The user is always right. | 
|---|
|  | 6045 | if test "${PATH_SEPARATOR+set}" != set; then | 
|---|
|  | 6046 | PATH_SEPARATOR=: | 
|---|
|  | 6047 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | 
|---|
|  | 6048 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | 
|---|
|  | 6049 | PATH_SEPARATOR=';' | 
|---|
|  | 6050 | } | 
|---|
|  | 6051 | fi | 
|---|
|  | 6052 |  | 
|---|
|  | 6053 |  | 
|---|
|  | 6054 | # IFS | 
|---|
|  | 6055 | # We need space, tab and new line, in precisely that order.  Quoting is | 
|---|
|  | 6056 | # there to prevent editors from complaining about space-tab. | 
|---|
|  | 6057 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 
|---|
|  | 6058 | # splitting by setting IFS to empty value.) | 
|---|
|  | 6059 | IFS=" ""        $as_nl" | 
|---|
|  | 6060 |  | 
|---|
|  | 6061 | # Find who we are.  Look in the path if we contain no directory separator. | 
|---|
|  | 6062 | as_myself= | 
|---|
|  | 6063 | case $0 in #(( | 
|---|
|  | 6064 | *[\\/]* ) as_myself=$0 ;; | 
|---|
|  | 6065 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
|  | 6066 | for as_dir in $PATH | 
|---|
|  | 6067 | do | 
|---|
|  | 6068 | IFS=$as_save_IFS | 
|---|
|  | 6069 | test -z "$as_dir" && as_dir=. | 
|---|
|  | 6070 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 
|---|
|  | 6071 | done | 
|---|
|  | 6072 | IFS=$as_save_IFS | 
|---|
|  | 6073 |  | 
|---|
|  | 6074 | ;; | 
|---|
|  | 6075 | esac | 
|---|
|  | 6076 | # We did not find ourselves, most probably we were run as `sh COMMAND' | 
|---|
|  | 6077 | # in which case we are not to be found in the path. | 
|---|
|  | 6078 | if test "x$as_myself" = x; then | 
|---|
|  | 6079 | as_myself=$0 | 
|---|
|  | 6080 | fi | 
|---|
|  | 6081 | if test ! -f "$as_myself"; then | 
|---|
|  | 6082 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 
|---|
|  | 6083 | exit 1 | 
|---|
|  | 6084 | fi | 
|---|
|  | 6085 |  | 
|---|
|  | 6086 | # Unset variables that we do not need and which cause bugs (e.g. in | 
|---|
|  | 6087 | # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1" | 
|---|
|  | 6088 | # suppresses any "Segmentation fault" message there.  '((' could | 
|---|
|  | 6089 | # trigger a bug in pdksh 5.2.14. | 
|---|
|  | 6090 | for as_var in BASH_ENV ENV MAIL MAILPATH | 
|---|
|  | 6091 | do eval test x\${$as_var+set} = xset \ | 
|---|
|  | 6092 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | 
|---|
|  | 6093 | done | 
|---|
|  | 6094 | PS1='$ ' | 
|---|
|  | 6095 | PS2='> ' | 
|---|
|  | 6096 | PS4='+ ' | 
|---|
|  | 6097 |  | 
|---|
|  | 6098 | # NLS nuisances. | 
|---|
|  | 6099 | LC_ALL=C | 
|---|
|  | 6100 | export LC_ALL | 
|---|
|  | 6101 | LANGUAGE=C | 
|---|
|  | 6102 | export LANGUAGE | 
|---|
|  | 6103 |  | 
|---|
|  | 6104 | # CDPATH. | 
|---|
|  | 6105 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 
|---|
|  | 6106 |  | 
|---|
|  | 6107 |  | 
|---|
|  | 6108 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | 
|---|
|  | 6109 | # ---------------------------------------- | 
|---|
|  | 6110 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 
|---|
|  | 6111 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | 
|---|
|  | 6112 | # script with STATUS, using 1 if that was 0. | 
|---|
|  | 6113 | as_fn_error () | 
|---|
|  | 6114 | { | 
|---|
|  | 6115 | as_status=$1; test $as_status -eq 0 && as_status=1 | 
|---|
|  | 6116 | if test "$4"; then | 
|---|
|  | 6117 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
|---|
|  | 6118 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | 
|---|
|  | 6119 | fi | 
|---|
|  | 6120 | $as_echo "$as_me: error: $2" >&2 | 
|---|
|  | 6121 | as_fn_exit $as_status | 
|---|
|  | 6122 | } # as_fn_error | 
|---|
|  | 6123 |  | 
|---|
|  | 6124 |  | 
|---|
|  | 6125 | # as_fn_set_status STATUS | 
|---|
|  | 6126 | # ----------------------- | 
|---|
|  | 6127 | # Set $? to STATUS, without forking. | 
|---|
|  | 6128 | as_fn_set_status () | 
|---|
|  | 6129 | { | 
|---|
|  | 6130 | return $1 | 
|---|
|  | 6131 | } # as_fn_set_status | 
|---|
|  | 6132 |  | 
|---|
|  | 6133 | # as_fn_exit STATUS | 
|---|
|  | 6134 | # ----------------- | 
|---|
|  | 6135 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | 
|---|
|  | 6136 | as_fn_exit () | 
|---|
|  | 6137 | { | 
|---|
|  | 6138 | set +e | 
|---|
|  | 6139 | as_fn_set_status $1 | 
|---|
|  | 6140 | exit $1 | 
|---|
|  | 6141 | } # as_fn_exit | 
|---|
|  | 6142 |  | 
|---|
|  | 6143 | # as_fn_unset VAR | 
|---|
|  | 6144 | # --------------- | 
|---|
|  | 6145 | # Portably unset VAR. | 
|---|
|  | 6146 | as_fn_unset () | 
|---|
|  | 6147 | { | 
|---|
|  | 6148 | { eval $1=; unset $1;} | 
|---|
|  | 6149 | } | 
|---|
|  | 6150 | as_unset=as_fn_unset | 
|---|
|  | 6151 | # as_fn_append VAR VALUE | 
|---|
|  | 6152 | # ---------------------- | 
|---|
|  | 6153 | # Append the text in VALUE to the end of the definition contained in VAR. Take | 
|---|
|  | 6154 | # advantage of any shell optimizations that allow amortized linear growth over | 
|---|
|  | 6155 | # repeated appends, instead of the typical quadratic growth present in naive | 
|---|
|  | 6156 | # implementations. | 
|---|
|  | 6157 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | 
|---|
|  | 6158 | eval 'as_fn_append () | 
|---|
|  | 6159 | { | 
|---|
|  | 6160 | eval $1+=\$2 | 
|---|
|  | 6161 | }' | 
|---|
|  | 6162 | else | 
|---|
|  | 6163 | as_fn_append () | 
|---|
|  | 6164 | { | 
|---|
|  | 6165 | eval $1=\$$1\$2 | 
|---|
|  | 6166 | } | 
|---|
|  | 6167 | fi # as_fn_append | 
|---|
|  | 6168 |  | 
|---|
|  | 6169 | # as_fn_arith ARG... | 
|---|
|  | 6170 | # ------------------ | 
|---|
|  | 6171 | # Perform arithmetic evaluation on the ARGs, and store the result in the | 
|---|
|  | 6172 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | 
|---|
|  | 6173 | # must be portable across $(()) and expr. | 
|---|
|  | 6174 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | 
|---|
|  | 6175 | eval 'as_fn_arith () | 
|---|
|  | 6176 | { | 
|---|
|  | 6177 | as_val=$(( $* )) | 
|---|
|  | 6178 | }' | 
|---|
|  | 6179 | else | 
|---|
|  | 6180 | as_fn_arith () | 
|---|
|  | 6181 | { | 
|---|
|  | 6182 | as_val=`expr "$@" || test $? -eq 1` | 
|---|
|  | 6183 | } | 
|---|
|  | 6184 | fi # as_fn_arith | 
|---|
|  | 6185 |  | 
|---|
|  | 6186 |  | 
|---|
|  | 6187 | if expr a : '\(a\)' >/dev/null 2>&1 && | 
|---|
|  | 6188 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | 
|---|
|  | 6189 | as_expr=expr | 
|---|
|  | 6190 | else | 
|---|
|  | 6191 | as_expr=false | 
|---|
|  | 6192 | fi | 
|---|
|  | 6193 |  | 
|---|
|  | 6194 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | 
|---|
|  | 6195 | as_basename=basename | 
|---|
|  | 6196 | else | 
|---|
|  | 6197 | as_basename=false | 
|---|
|  | 6198 | fi | 
|---|
|  | 6199 |  | 
|---|
|  | 6200 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | 
|---|
|  | 6201 | as_dirname=dirname | 
|---|
|  | 6202 | else | 
|---|
|  | 6203 | as_dirname=false | 
|---|
|  | 6204 | fi | 
|---|
|  | 6205 |  | 
|---|
|  | 6206 | as_me=`$as_basename -- "$0" || | 
|---|
|  | 6207 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 
|---|
|  | 6208 | X"$0" : 'X\(//\)$' \| \ | 
|---|
|  | 6209 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | 
|---|
|  | 6210 | $as_echo X/"$0" | | 
|---|
|  | 6211 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | 
|---|
|  | 6212 | s//\1/ | 
|---|
|  | 6213 | q | 
|---|
|  | 6214 | } | 
|---|
|  | 6215 | /^X\/\(\/\/\)$/{ | 
|---|
|  | 6216 | s//\1/ | 
|---|
|  | 6217 | q | 
|---|
|  | 6218 | } | 
|---|
|  | 6219 | /^X\/\(\/\).*/{ | 
|---|
|  | 6220 | s//\1/ | 
|---|
|  | 6221 | q | 
|---|
|  | 6222 | } | 
|---|
|  | 6223 | s/.*/./; q'` | 
|---|
|  | 6224 |  | 
|---|
|  | 6225 | # Avoid depending upon Character Ranges. | 
|---|
|  | 6226 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 
|---|
|  | 6227 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 
|---|
|  | 6228 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 
|---|
|  | 6229 | as_cr_digits='0123456789' | 
|---|
|  | 6230 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 
|---|
|  | 6231 |  | 
|---|
|  | 6232 | ECHO_C= ECHO_N= ECHO_T= | 
|---|
|  | 6233 | case `echo -n x` in #((((( | 
|---|
|  | 6234 | -n*) | 
|---|
|  | 6235 | case `echo 'xy\c'` in | 
|---|
|  | 6236 | *c*) ECHO_T=' ';;     # ECHO_T is single tab character. | 
|---|
|  | 6237 | xy)  ECHO_C='\c';; | 
|---|
|  | 6238 | *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null | 
|---|
|  | 6239 | ECHO_T=' ';; | 
|---|
|  | 6240 | esac;; | 
|---|
|  | 6241 | *) | 
|---|
|  | 6242 | ECHO_N='-n';; | 
|---|
|  | 6243 | esac | 
|---|
|  | 6244 |  | 
|---|
|  | 6245 | rm -f conf$$ conf$$.exe conf$$.file | 
|---|
|  | 6246 | if test -d conf$$.dir; then | 
|---|
|  | 6247 | rm -f conf$$.dir/conf$$.file | 
|---|
|  | 6248 | else | 
|---|
|  | 6249 | rm -f conf$$.dir | 
|---|
|  | 6250 | mkdir conf$$.dir 2>/dev/null | 
|---|
|  | 6251 | fi | 
|---|
|  | 6252 | if (echo >conf$$.file) 2>/dev/null; then | 
|---|
|  | 6253 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 
|---|
|  | 6254 | as_ln_s='ln -s' | 
|---|
|  | 6255 | # ... but there are two gotchas: | 
|---|
|  | 6256 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | 
|---|
|  | 6257 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | 
|---|
| [ef7d253] | 6258 | # In both cases, we have to default to `cp -pR'. | 
|---|
| [3b77289] | 6259 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | 
|---|
| [ef7d253] | 6260 | as_ln_s='cp -pR' | 
|---|
| [3b77289] | 6261 | elif ln conf$$.file conf$$ 2>/dev/null; then | 
|---|
|  | 6262 | as_ln_s=ln | 
|---|
|  | 6263 | else | 
|---|
| [ef7d253] | 6264 | as_ln_s='cp -pR' | 
|---|
| [3b77289] | 6265 | fi | 
|---|
|  | 6266 | else | 
|---|
| [ef7d253] | 6267 | as_ln_s='cp -pR' | 
|---|
| [3b77289] | 6268 | fi | 
|---|
|  | 6269 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 
|---|
|  | 6270 | rmdir conf$$.dir 2>/dev/null | 
|---|
|  | 6271 |  | 
|---|
|  | 6272 |  | 
|---|
|  | 6273 | # as_fn_mkdir_p | 
|---|
|  | 6274 | # ------------- | 
|---|
|  | 6275 | # Create "$as_dir" as a directory, including parents if necessary. | 
|---|
|  | 6276 | as_fn_mkdir_p () | 
|---|
|  | 6277 | { | 
|---|
|  | 6278 |  | 
|---|
|  | 6279 | case $as_dir in #( | 
|---|
|  | 6280 | -*) as_dir=./$as_dir;; | 
|---|
|  | 6281 | esac | 
|---|
|  | 6282 | test -d "$as_dir" || eval $as_mkdir_p || { | 
|---|
|  | 6283 | as_dirs= | 
|---|
|  | 6284 | while :; do | 
|---|
|  | 6285 | case $as_dir in #( | 
|---|
|  | 6286 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | 
|---|
|  | 6287 | *) as_qdir=$as_dir;; | 
|---|
|  | 6288 | esac | 
|---|
|  | 6289 | as_dirs="'$as_qdir' $as_dirs" | 
|---|
|  | 6290 | as_dir=`$as_dirname -- "$as_dir" || | 
|---|
|  | 6291 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
|  | 6292 | X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
|  | 6293 | X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
|  | 6294 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | 
|---|
|  | 6295 | $as_echo X"$as_dir" | | 
|---|
|  | 6296 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 
|---|
|  | 6297 | s//\1/ | 
|---|
|  | 6298 | q | 
|---|
|  | 6299 | } | 
|---|
|  | 6300 | /^X\(\/\/\)[^/].*/{ | 
|---|
|  | 6301 | s//\1/ | 
|---|
|  | 6302 | q | 
|---|
|  | 6303 | } | 
|---|
|  | 6304 | /^X\(\/\/\)$/{ | 
|---|
|  | 6305 | s//\1/ | 
|---|
|  | 6306 | q | 
|---|
|  | 6307 | } | 
|---|
|  | 6308 | /^X\(\/\).*/{ | 
|---|
|  | 6309 | s//\1/ | 
|---|
|  | 6310 | q | 
|---|
|  | 6311 | } | 
|---|
|  | 6312 | s/.*/./; q'` | 
|---|
|  | 6313 | test -d "$as_dir" && break | 
|---|
|  | 6314 | done | 
|---|
|  | 6315 | test -z "$as_dirs" || eval "mkdir $as_dirs" | 
|---|
|  | 6316 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | 
|---|
|  | 6317 |  | 
|---|
|  | 6318 |  | 
|---|
|  | 6319 | } # as_fn_mkdir_p | 
|---|
|  | 6320 | if mkdir -p . 2>/dev/null; then | 
|---|
|  | 6321 | as_mkdir_p='mkdir -p "$as_dir"' | 
|---|
|  | 6322 | else | 
|---|
|  | 6323 | test -d ./-p && rmdir ./-p | 
|---|
|  | 6324 | as_mkdir_p=false | 
|---|
|  | 6325 | fi | 
|---|
|  | 6326 |  | 
|---|
| [ef7d253] | 6327 |  | 
|---|
|  | 6328 | # as_fn_executable_p FILE | 
|---|
|  | 6329 | # ----------------------- | 
|---|
|  | 6330 | # Test if FILE is an executable regular file. | 
|---|
|  | 6331 | as_fn_executable_p () | 
|---|
|  | 6332 | { | 
|---|
|  | 6333 | test -f "$1" && test -x "$1" | 
|---|
|  | 6334 | } # as_fn_executable_p | 
|---|
|  | 6335 | as_test_x='test -x' | 
|---|
|  | 6336 | as_executable_p=as_fn_executable_p | 
|---|
| [3b77289] | 6337 |  | 
|---|
|  | 6338 | # Sed expression to map a string onto a valid CPP name. | 
|---|
|  | 6339 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 
|---|
|  | 6340 |  | 
|---|
|  | 6341 | # Sed expression to map a string onto a valid variable name. | 
|---|
|  | 6342 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 
|---|
|  | 6343 |  | 
|---|
|  | 6344 |  | 
|---|
|  | 6345 | exec 6>&1 | 
|---|
|  | 6346 | ## ----------------------------------- ## | 
|---|
|  | 6347 | ## Main body of $CONFIG_STATUS script. ## | 
|---|
|  | 6348 | ## ----------------------------------- ## | 
|---|
|  | 6349 | _ASEOF | 
|---|
|  | 6350 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | 
|---|
|  | 6351 |  | 
|---|
|  | 6352 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
|---|
|  | 6353 | # Save the log message, to keep $0 and so on meaningful, and to | 
|---|
|  | 6354 | # report actual input values of CONFIG_FILES etc. instead of their | 
|---|
|  | 6355 | # values after options handling. | 
|---|
|  | 6356 | ac_log=" | 
|---|
| [5d6ce1f] | 6357 | This file was extended by cfa-cc $as_me 1.0.0, which was | 
|---|
| [ef7d253] | 6358 | generated by GNU Autoconf 2.69.  Invocation command line was | 
|---|
| [3b77289] | 6359 |  | 
|---|
|  | 6360 | CONFIG_FILES    = $CONFIG_FILES | 
|---|
|  | 6361 | CONFIG_HEADERS  = $CONFIG_HEADERS | 
|---|
|  | 6362 | CONFIG_LINKS    = $CONFIG_LINKS | 
|---|
|  | 6363 | CONFIG_COMMANDS = $CONFIG_COMMANDS | 
|---|
|  | 6364 | $ $0 $@ | 
|---|
|  | 6365 |  | 
|---|
|  | 6366 | on `(hostname || uname -n) 2>/dev/null | sed 1q` | 
|---|
|  | 6367 | " | 
|---|
|  | 6368 |  | 
|---|
|  | 6369 | _ACEOF | 
|---|
|  | 6370 |  | 
|---|
|  | 6371 | case $ac_config_files in *" | 
|---|
|  | 6372 | "*) set x $ac_config_files; shift; ac_config_files=$*;; | 
|---|
|  | 6373 | esac | 
|---|
|  | 6374 |  | 
|---|
|  | 6375 | case $ac_config_headers in *" | 
|---|
|  | 6376 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; | 
|---|
|  | 6377 | esac | 
|---|
|  | 6378 |  | 
|---|
|  | 6379 |  | 
|---|
|  | 6380 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
|---|
|  | 6381 | # Files that config.status was made for. | 
|---|
|  | 6382 | config_files="$ac_config_files" | 
|---|
|  | 6383 | config_headers="$ac_config_headers" | 
|---|
|  | 6384 | config_commands="$ac_config_commands" | 
|---|
|  | 6385 |  | 
|---|
|  | 6386 | _ACEOF | 
|---|
|  | 6387 |  | 
|---|
|  | 6388 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
|---|
|  | 6389 | ac_cs_usage="\ | 
|---|
|  | 6390 | \`$as_me' instantiates files and other configuration actions | 
|---|
|  | 6391 | from templates according to the current configuration.  Unless the files | 
|---|
|  | 6392 | and actions are specified as TAGs, all are instantiated by default. | 
|---|
|  | 6393 |  | 
|---|
|  | 6394 | Usage: $0 [OPTION]... [TAG]... | 
|---|
|  | 6395 |  | 
|---|
|  | 6396 | -h, --help       print this help, then exit | 
|---|
|  | 6397 | -V, --version    print version number and configuration settings, then exit | 
|---|
|  | 6398 | --config     print configuration, then exit | 
|---|
|  | 6399 | -q, --quiet, --silent | 
|---|
|  | 6400 | do not print progress messages | 
|---|
|  | 6401 | -d, --debug      don't remove temporary files | 
|---|
|  | 6402 | --recheck    update $as_me by reconfiguring in the same conditions | 
|---|
|  | 6403 | --file=FILE[:TEMPLATE] | 
|---|
|  | 6404 | instantiate the configuration file FILE | 
|---|
|  | 6405 | --header=FILE[:TEMPLATE] | 
|---|
|  | 6406 | instantiate the configuration header FILE | 
|---|
|  | 6407 |  | 
|---|
|  | 6408 | Configuration files: | 
|---|
|  | 6409 | $config_files | 
|---|
|  | 6410 |  | 
|---|
|  | 6411 | Configuration headers: | 
|---|
|  | 6412 | $config_headers | 
|---|
|  | 6413 |  | 
|---|
|  | 6414 | Configuration commands: | 
|---|
|  | 6415 | $config_commands | 
|---|
|  | 6416 |  | 
|---|
|  | 6417 | Report bugs to <cforall@plg.uwaterloo.ca>." | 
|---|
|  | 6418 |  | 
|---|
|  | 6419 | _ACEOF | 
|---|
|  | 6420 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
|---|
|  | 6421 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | 
|---|
|  | 6422 | ac_cs_version="\\ | 
|---|
| [5d6ce1f] | 6423 | cfa-cc config.status 1.0.0 | 
|---|
| [ef7d253] | 6424 | configured by $0, generated by GNU Autoconf 2.69, | 
|---|
| [3b77289] | 6425 | with options \\"\$ac_cs_config\\" | 
|---|
|  | 6426 |  | 
|---|
| [ef7d253] | 6427 | Copyright (C) 2012 Free Software Foundation, Inc. | 
|---|
| [3b77289] | 6428 | This config.status script is free software; the Free Software Foundation | 
|---|
|  | 6429 | gives unlimited permission to copy, distribute and modify it." | 
|---|
|  | 6430 |  | 
|---|
|  | 6431 | ac_pwd='$ac_pwd' | 
|---|
|  | 6432 | srcdir='$srcdir' | 
|---|
|  | 6433 | INSTALL='$INSTALL' | 
|---|
|  | 6434 | MKDIR_P='$MKDIR_P' | 
|---|
|  | 6435 | AWK='$AWK' | 
|---|
|  | 6436 | test -n "\$AWK" || AWK=awk | 
|---|
|  | 6437 | _ACEOF | 
|---|
|  | 6438 |  | 
|---|
|  | 6439 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
|---|
|  | 6440 | # The default lists apply if the user does not specify any file. | 
|---|
|  | 6441 | ac_need_defaults=: | 
|---|
|  | 6442 | while test $# != 0 | 
|---|
|  | 6443 | do | 
|---|
|  | 6444 | case $1 in | 
|---|
|  | 6445 | --*=?*) | 
|---|
|  | 6446 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | 
|---|
|  | 6447 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | 
|---|
|  | 6448 | ac_shift=: | 
|---|
|  | 6449 | ;; | 
|---|
|  | 6450 | --*=) | 
|---|
|  | 6451 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | 
|---|
|  | 6452 | ac_optarg= | 
|---|
|  | 6453 | ac_shift=: | 
|---|
|  | 6454 | ;; | 
|---|
|  | 6455 | *) | 
|---|
|  | 6456 | ac_option=$1 | 
|---|
|  | 6457 | ac_optarg=$2 | 
|---|
|  | 6458 | ac_shift=shift | 
|---|
|  | 6459 | ;; | 
|---|
|  | 6460 | esac | 
|---|
|  | 6461 |  | 
|---|
|  | 6462 | case $ac_option in | 
|---|
|  | 6463 | # Handling of the options. | 
|---|
|  | 6464 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 
|---|
|  | 6465 | ac_cs_recheck=: ;; | 
|---|
|  | 6466 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | 
|---|
|  | 6467 | $as_echo "$ac_cs_version"; exit ;; | 
|---|
|  | 6468 | --config | --confi | --conf | --con | --co | --c ) | 
|---|
|  | 6469 | $as_echo "$ac_cs_config"; exit ;; | 
|---|
|  | 6470 | --debug | --debu | --deb | --de | --d | -d ) | 
|---|
|  | 6471 | debug=: ;; | 
|---|
|  | 6472 | --file | --fil | --fi | --f ) | 
|---|
|  | 6473 | $ac_shift | 
|---|
|  | 6474 | case $ac_optarg in | 
|---|
|  | 6475 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | 
|---|
|  | 6476 | '') as_fn_error $? "missing file argument" ;; | 
|---|
|  | 6477 | esac | 
|---|
|  | 6478 | as_fn_append CONFIG_FILES " '$ac_optarg'" | 
|---|
|  | 6479 | ac_need_defaults=false;; | 
|---|
|  | 6480 | --header | --heade | --head | --hea ) | 
|---|
|  | 6481 | $ac_shift | 
|---|
|  | 6482 | case $ac_optarg in | 
|---|
|  | 6483 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | 
|---|
|  | 6484 | esac | 
|---|
|  | 6485 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" | 
|---|
|  | 6486 | ac_need_defaults=false;; | 
|---|
|  | 6487 | --he | --h) | 
|---|
|  | 6488 | # Conflict between --help and --header | 
|---|
|  | 6489 | as_fn_error $? "ambiguous option: \`$1' | 
|---|
|  | 6490 | Try \`$0 --help' for more information.";; | 
|---|
|  | 6491 | --help | --hel | -h ) | 
|---|
|  | 6492 | $as_echo "$ac_cs_usage"; exit ;; | 
|---|
|  | 6493 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
|---|
|  | 6494 | | -silent | --silent | --silen | --sile | --sil | --si | --s) | 
|---|
|  | 6495 | ac_cs_silent=: ;; | 
|---|
|  | 6496 |  | 
|---|
|  | 6497 | # This is an error. | 
|---|
|  | 6498 | -*) as_fn_error $? "unrecognized option: \`$1' | 
|---|
|  | 6499 | Try \`$0 --help' for more information." ;; | 
|---|
|  | 6500 |  | 
|---|
|  | 6501 | *) as_fn_append ac_config_targets " $1" | 
|---|
|  | 6502 | ac_need_defaults=false ;; | 
|---|
|  | 6503 |  | 
|---|
|  | 6504 | esac | 
|---|
|  | 6505 | shift | 
|---|
|  | 6506 | done | 
|---|
|  | 6507 |  | 
|---|
|  | 6508 | ac_configure_extra_args= | 
|---|
|  | 6509 |  | 
|---|
|  | 6510 | if $ac_cs_silent; then | 
|---|
|  | 6511 | exec 6>/dev/null | 
|---|
|  | 6512 | ac_configure_extra_args="$ac_configure_extra_args --silent" | 
|---|
|  | 6513 | fi | 
|---|
|  | 6514 |  | 
|---|
|  | 6515 | _ACEOF | 
|---|
|  | 6516 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
|---|
|  | 6517 | if \$ac_cs_recheck; then | 
|---|
| [ef7d253] | 6518 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | 
|---|
| [3b77289] | 6519 | shift | 
|---|
|  | 6520 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | 
|---|
|  | 6521 | CONFIG_SHELL='$SHELL' | 
|---|
|  | 6522 | export CONFIG_SHELL | 
|---|
|  | 6523 | exec "\$@" | 
|---|
|  | 6524 | fi | 
|---|
|  | 6525 |  | 
|---|
|  | 6526 | _ACEOF | 
|---|
|  | 6527 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
|---|
|  | 6528 | exec 5>>config.log | 
|---|
|  | 6529 | { | 
|---|
|  | 6530 | echo | 
|---|
|  | 6531 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | 
|---|
|  | 6532 | ## Running $as_me. ## | 
|---|
|  | 6533 | _ASBOX | 
|---|
|  | 6534 | $as_echo "$ac_log" | 
|---|
|  | 6535 | } >&5 | 
|---|
|  | 6536 |  | 
|---|
|  | 6537 | _ACEOF | 
|---|
|  | 6538 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
|---|
|  | 6539 | # | 
|---|
|  | 6540 | # INIT-COMMANDS | 
|---|
|  | 6541 | # | 
|---|
|  | 6542 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | 
|---|
|  | 6543 |  | 
|---|
|  | 6544 | _ACEOF | 
|---|
|  | 6545 |  | 
|---|
|  | 6546 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
|---|
|  | 6547 |  | 
|---|
|  | 6548 | # Handling of arguments. | 
|---|
|  | 6549 | for ac_config_target in $ac_config_targets | 
|---|
|  | 6550 | do | 
|---|
|  | 6551 | case $ac_config_target in | 
|---|
|  | 6552 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | 
|---|
|  | 6553 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | 
|---|
|  | 6554 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | 
|---|
| [6e7e2b36] | 6555 | "src/driver/Makefile") CONFIG_FILES="$CONFIG_FILES src/driver/Makefile" ;; | 
|---|
| [00cc023] | 6556 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; | 
|---|
| [76f2e97f] | 6557 | "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;; | 
|---|
| [ef7d253] | 6558 | "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;; | 
|---|
| [6e7e2b36] | 6559 | "src/libcfa/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcfa/Makefile" ;; | 
|---|
| [3b77289] | 6560 |  | 
|---|
|  | 6561 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | 
|---|
|  | 6562 | esac | 
|---|
|  | 6563 | done | 
|---|
|  | 6564 |  | 
|---|
|  | 6565 |  | 
|---|
|  | 6566 | # If the user did not use the arguments to specify the items to instantiate, | 
|---|
|  | 6567 | # then the envvar interface is used.  Set only those that are not. | 
|---|
|  | 6568 | # We use the long form for the default assignment because of an extremely | 
|---|
|  | 6569 | # bizarre bug on SunOS 4.1.3. | 
|---|
|  | 6570 | if $ac_need_defaults; then | 
|---|
|  | 6571 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | 
|---|
|  | 6572 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | 
|---|
|  | 6573 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | 
|---|
|  | 6574 | fi | 
|---|
|  | 6575 |  | 
|---|
|  | 6576 | # Have a temporary directory for convenience.  Make it in the build tree | 
|---|
|  | 6577 | # simply because there is no reason against having it here, and in addition, | 
|---|
|  | 6578 | # creating and moving files from /tmp can sometimes cause problems. | 
|---|
|  | 6579 | # Hook for its removal unless debugging. | 
|---|
|  | 6580 | # Note that there is a small window in which the directory will not be cleaned: | 
|---|
|  | 6581 | # after its creation but before its name has been assigned to `$tmp'. | 
|---|
|  | 6582 | $debug || | 
|---|
|  | 6583 | { | 
|---|
|  | 6584 | tmp= ac_tmp= | 
|---|
|  | 6585 | trap 'exit_status=$? | 
|---|
|  | 6586 | : "${ac_tmp:=$tmp}" | 
|---|
|  | 6587 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status | 
|---|
|  | 6588 | ' 0 | 
|---|
|  | 6589 | trap 'as_fn_exit 1' 1 2 13 15 | 
|---|
|  | 6590 | } | 
|---|
|  | 6591 | # Create a (secure) tmp directory for tmp files. | 
|---|
|  | 6592 |  | 
|---|
|  | 6593 | { | 
|---|
|  | 6594 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | 
|---|
|  | 6595 | test -d "$tmp" | 
|---|
|  | 6596 | }  || | 
|---|
|  | 6597 | { | 
|---|
|  | 6598 | tmp=./conf$$-$RANDOM | 
|---|
|  | 6599 | (umask 077 && mkdir "$tmp") | 
|---|
|  | 6600 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 | 
|---|
|  | 6601 | ac_tmp=$tmp | 
|---|
|  | 6602 |  | 
|---|
|  | 6603 | # Set up the scripts for CONFIG_FILES section. | 
|---|
|  | 6604 | # No need to generate them if there are no CONFIG_FILES. | 
|---|
|  | 6605 | # This happens for instance with `./config.status config.h'. | 
|---|
|  | 6606 | if test -n "$CONFIG_FILES"; then | 
|---|
|  | 6607 |  | 
|---|
|  | 6608 |  | 
|---|
|  | 6609 | ac_cr=`echo X | tr X '\015'` | 
|---|
|  | 6610 | # On cygwin, bash can eat \r inside `` if the user requested igncr. | 
|---|
|  | 6611 | # But we know of no other shell where ac_cr would be empty at this | 
|---|
|  | 6612 | # point, so we can use a bashism as a fallback. | 
|---|
|  | 6613 | if test "x$ac_cr" = x; then | 
|---|
|  | 6614 | eval ac_cr=\$\'\\r\' | 
|---|
|  | 6615 | fi | 
|---|
|  | 6616 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | 
|---|
|  | 6617 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | 
|---|
|  | 6618 | ac_cs_awk_cr='\\r' | 
|---|
|  | 6619 | else | 
|---|
|  | 6620 | ac_cs_awk_cr=$ac_cr | 
|---|
|  | 6621 | fi | 
|---|
|  | 6622 |  | 
|---|
|  | 6623 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && | 
|---|
|  | 6624 | _ACEOF | 
|---|
|  | 6625 |  | 
|---|
|  | 6626 |  | 
|---|
|  | 6627 | { | 
|---|
|  | 6628 | echo "cat >conf$$subs.awk <<_ACEOF" && | 
|---|
|  | 6629 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | 
|---|
|  | 6630 | echo "_ACEOF" | 
|---|
|  | 6631 | } >conf$$subs.sh || | 
|---|
|  | 6632 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 
|---|
|  | 6633 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | 
|---|
|  | 6634 | ac_delim='%!_!# ' | 
|---|
|  | 6635 | for ac_last_try in false false false false false :; do | 
|---|
|  | 6636 | . ./conf$$subs.sh || | 
|---|
|  | 6637 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 
|---|
|  | 6638 |  | 
|---|
|  | 6639 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | 
|---|
|  | 6640 | if test $ac_delim_n = $ac_delim_num; then | 
|---|
|  | 6641 | break | 
|---|
|  | 6642 | elif $ac_last_try; then | 
|---|
|  | 6643 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 
|---|
|  | 6644 | else | 
|---|
|  | 6645 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 
|---|
|  | 6646 | fi | 
|---|
|  | 6647 | done | 
|---|
|  | 6648 | rm -f conf$$subs.sh | 
|---|
|  | 6649 |  | 
|---|
|  | 6650 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
|---|
|  | 6651 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && | 
|---|
|  | 6652 | _ACEOF | 
|---|
|  | 6653 | sed -n ' | 
|---|
|  | 6654 | h | 
|---|
|  | 6655 | s/^/S["/; s/!.*/"]=/ | 
|---|
|  | 6656 | p | 
|---|
|  | 6657 | g | 
|---|
|  | 6658 | s/^[^!]*!// | 
|---|
|  | 6659 | :repl | 
|---|
|  | 6660 | t repl | 
|---|
|  | 6661 | s/'"$ac_delim"'$// | 
|---|
|  | 6662 | t delim | 
|---|
|  | 6663 | :nl | 
|---|
|  | 6664 | h | 
|---|
|  | 6665 | s/\(.\{148\}\)..*/\1/ | 
|---|
|  | 6666 | t more1 | 
|---|
|  | 6667 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | 
|---|
|  | 6668 | p | 
|---|
|  | 6669 | n | 
|---|
|  | 6670 | b repl | 
|---|
|  | 6671 | :more1 | 
|---|
|  | 6672 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | 
|---|
|  | 6673 | p | 
|---|
|  | 6674 | g | 
|---|
|  | 6675 | s/.\{148\}// | 
|---|
|  | 6676 | t nl | 
|---|
|  | 6677 | :delim | 
|---|
|  | 6678 | h | 
|---|
|  | 6679 | s/\(.\{148\}\)..*/\1/ | 
|---|
|  | 6680 | t more2 | 
|---|
|  | 6681 | s/["\\]/\\&/g; s/^/"/; s/$/"/ | 
|---|
|  | 6682 | p | 
|---|
|  | 6683 | b | 
|---|
|  | 6684 | :more2 | 
|---|
|  | 6685 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | 
|---|
|  | 6686 | p | 
|---|
|  | 6687 | g | 
|---|
|  | 6688 | s/.\{148\}// | 
|---|
|  | 6689 | t delim | 
|---|
|  | 6690 | ' <conf$$subs.awk | sed ' | 
|---|
|  | 6691 | /^[^""]/{ | 
|---|
|  | 6692 | N | 
|---|
|  | 6693 | s/\n// | 
|---|
|  | 6694 | } | 
|---|
|  | 6695 | ' >>$CONFIG_STATUS || ac_write_fail=1 | 
|---|
|  | 6696 | rm -f conf$$subs.awk | 
|---|
|  | 6697 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
|---|
|  | 6698 | _ACAWK | 
|---|
|  | 6699 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && | 
|---|
|  | 6700 | for (key in S) S_is_set[key] = 1 | 
|---|
|  | 6701 | FS = "" | 
|---|
|  | 6702 |  | 
|---|
|  | 6703 | } | 
|---|
|  | 6704 | { | 
|---|
|  | 6705 | line = $ 0 | 
|---|
|  | 6706 | nfields = split(line, field, "@") | 
|---|
|  | 6707 | substed = 0 | 
|---|
|  | 6708 | len = length(field[1]) | 
|---|
|  | 6709 | for (i = 2; i < nfields; i++) { | 
|---|
|  | 6710 | key = field[i] | 
|---|
|  | 6711 | keylen = length(key) | 
|---|
|  | 6712 | if (S_is_set[key]) { | 
|---|
|  | 6713 | value = S[key] | 
|---|
|  | 6714 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | 
|---|
|  | 6715 | len += length(value) + length(field[++i]) | 
|---|
|  | 6716 | substed = 1 | 
|---|
|  | 6717 | } else | 
|---|
|  | 6718 | len += 1 + keylen | 
|---|
|  | 6719 | } | 
|---|
|  | 6720 |  | 
|---|
|  | 6721 | print line | 
|---|
|  | 6722 | } | 
|---|
|  | 6723 |  | 
|---|
|  | 6724 | _ACAWK | 
|---|
|  | 6725 | _ACEOF | 
|---|
|  | 6726 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
|---|
|  | 6727 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | 
|---|
|  | 6728 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | 
|---|
|  | 6729 | else | 
|---|
|  | 6730 | cat | 
|---|
|  | 6731 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ | 
|---|
|  | 6732 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | 
|---|
|  | 6733 | _ACEOF | 
|---|
|  | 6734 |  | 
|---|
|  | 6735 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), | 
|---|
|  | 6736 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | 
|---|
|  | 6737 | # trailing colons and then remove the whole line if VPATH becomes empty | 
|---|
|  | 6738 | # (actually we leave an empty line to preserve line numbers). | 
|---|
|  | 6739 | if test "x$srcdir" = x.; then | 
|---|
|  | 6740 | ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{ | 
|---|
|  | 6741 | h | 
|---|
|  | 6742 | s/// | 
|---|
|  | 6743 | s/^/:/ | 
|---|
|  | 6744 | s/[      ]*$/:/ | 
|---|
|  | 6745 | s/:\$(srcdir):/:/g | 
|---|
|  | 6746 | s/:\${srcdir}:/:/g | 
|---|
|  | 6747 | s/:@srcdir@:/:/g | 
|---|
|  | 6748 | s/^:*// | 
|---|
|  | 6749 | s/:*$// | 
|---|
|  | 6750 | x | 
|---|
|  | 6751 | s/\(=[   ]*\).*/\1/ | 
|---|
|  | 6752 | G | 
|---|
|  | 6753 | s/\n// | 
|---|
|  | 6754 | s/^[^=]*=[       ]*$// | 
|---|
|  | 6755 | }' | 
|---|
|  | 6756 | fi | 
|---|
|  | 6757 |  | 
|---|
|  | 6758 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
|---|
|  | 6759 | fi # test -n "$CONFIG_FILES" | 
|---|
|  | 6760 |  | 
|---|
|  | 6761 | # Set up the scripts for CONFIG_HEADERS section. | 
|---|
|  | 6762 | # No need to generate them if there are no CONFIG_HEADERS. | 
|---|
|  | 6763 | # This happens for instance with `./config.status Makefile'. | 
|---|
|  | 6764 | if test -n "$CONFIG_HEADERS"; then | 
|---|
|  | 6765 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || | 
|---|
|  | 6766 | BEGIN { | 
|---|
|  | 6767 | _ACEOF | 
|---|
|  | 6768 |  | 
|---|
|  | 6769 | # Transform confdefs.h into an awk script `defines.awk', embedded as | 
|---|
|  | 6770 | # here-document in config.status, that substitutes the proper values into | 
|---|
|  | 6771 | # config.h.in to produce config.h. | 
|---|
|  | 6772 |  | 
|---|
|  | 6773 | # Create a delimiter string that does not exist in confdefs.h, to ease | 
|---|
|  | 6774 | # handling of long lines. | 
|---|
|  | 6775 | ac_delim='%!_!# ' | 
|---|
|  | 6776 | for ac_last_try in false false :; do | 
|---|
|  | 6777 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` | 
|---|
|  | 6778 | if test -z "$ac_tt"; then | 
|---|
|  | 6779 | break | 
|---|
|  | 6780 | elif $ac_last_try; then | 
|---|
|  | 6781 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 | 
|---|
|  | 6782 | else | 
|---|
|  | 6783 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 
|---|
|  | 6784 | fi | 
|---|
|  | 6785 | done | 
|---|
|  | 6786 |  | 
|---|
|  | 6787 | # For the awk script, D is an array of macro values keyed by name, | 
|---|
|  | 6788 | # likewise P contains macro parameters if any.  Preserve backslash | 
|---|
|  | 6789 | # newline sequences. | 
|---|
|  | 6790 |  | 
|---|
|  | 6791 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | 
|---|
|  | 6792 | sed -n ' | 
|---|
|  | 6793 | s/.\{148\}/&'"$ac_delim"'/g | 
|---|
|  | 6794 | t rset | 
|---|
|  | 6795 | :rset | 
|---|
|  | 6796 | s/^[     ]*#[    ]*define[       ][      ]*/ / | 
|---|
|  | 6797 | t def | 
|---|
|  | 6798 | d | 
|---|
|  | 6799 | :def | 
|---|
|  | 6800 | s/\\$// | 
|---|
|  | 6801 | t bsnl | 
|---|
|  | 6802 | s/["\\]/\\&/g | 
|---|
|  | 6803 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\ | 
|---|
|  | 6804 | D["\1"]=" \3"/p | 
|---|
|  | 6805 | s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p | 
|---|
|  | 6806 | d | 
|---|
|  | 6807 | :bsnl | 
|---|
|  | 6808 | s/["\\]/\\&/g | 
|---|
|  | 6809 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\ | 
|---|
|  | 6810 | D["\1"]=" \3\\\\\\n"\\/p | 
|---|
|  | 6811 | t cont | 
|---|
|  | 6812 | s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p | 
|---|
|  | 6813 | t cont | 
|---|
|  | 6814 | d | 
|---|
|  | 6815 | :cont | 
|---|
|  | 6816 | n | 
|---|
|  | 6817 | s/.\{148\}/&'"$ac_delim"'/g | 
|---|
|  | 6818 | t clear | 
|---|
|  | 6819 | :clear | 
|---|
|  | 6820 | s/\\$// | 
|---|
|  | 6821 | t bsnlc | 
|---|
|  | 6822 | s/["\\]/\\&/g; s/^/"/; s/$/"/p | 
|---|
|  | 6823 | d | 
|---|
|  | 6824 | :bsnlc | 
|---|
|  | 6825 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p | 
|---|
|  | 6826 | b cont | 
|---|
|  | 6827 | ' <confdefs.h | sed ' | 
|---|
|  | 6828 | s/'"$ac_delim"'/"\\\ | 
|---|
|  | 6829 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 | 
|---|
|  | 6830 |  | 
|---|
|  | 6831 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
|---|
|  | 6832 | for (key in D) D_is_set[key] = 1 | 
|---|
|  | 6833 | FS = "" | 
|---|
|  | 6834 | } | 
|---|
|  | 6835 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { | 
|---|
|  | 6836 | line = \$ 0 | 
|---|
|  | 6837 | split(line, arg, " ") | 
|---|
|  | 6838 | if (arg[1] == "#") { | 
|---|
|  | 6839 | defundef = arg[2] | 
|---|
|  | 6840 | mac1 = arg[3] | 
|---|
|  | 6841 | } else { | 
|---|
|  | 6842 | defundef = substr(arg[1], 2) | 
|---|
|  | 6843 | mac1 = arg[2] | 
|---|
|  | 6844 | } | 
|---|
|  | 6845 | split(mac1, mac2, "(") #) | 
|---|
|  | 6846 | macro = mac2[1] | 
|---|
|  | 6847 | prefix = substr(line, 1, index(line, defundef) - 1) | 
|---|
|  | 6848 | if (D_is_set[macro]) { | 
|---|
|  | 6849 | # Preserve the white space surrounding the "#". | 
|---|
|  | 6850 | print prefix "define", macro P[macro] D[macro] | 
|---|
|  | 6851 | next | 
|---|
|  | 6852 | } else { | 
|---|
|  | 6853 | # Replace #undef with comments.  This is necessary, for example, | 
|---|
|  | 6854 | # in the case of _POSIX_SOURCE, which is predefined and required | 
|---|
|  | 6855 | # on some systems where configure will not decide to define it. | 
|---|
|  | 6856 | if (defundef == "undef") { | 
|---|
|  | 6857 | print "/*", prefix defundef, macro, "*/" | 
|---|
|  | 6858 | next | 
|---|
|  | 6859 | } | 
|---|
|  | 6860 | } | 
|---|
|  | 6861 | } | 
|---|
|  | 6862 | { print } | 
|---|
|  | 6863 | _ACAWK | 
|---|
|  | 6864 | _ACEOF | 
|---|
|  | 6865 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
|---|
|  | 6866 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 | 
|---|
|  | 6867 | fi # test -n "$CONFIG_HEADERS" | 
|---|
|  | 6868 |  | 
|---|
|  | 6869 |  | 
|---|
|  | 6870 | eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS" | 
|---|
|  | 6871 | shift | 
|---|
|  | 6872 | for ac_tag | 
|---|
|  | 6873 | do | 
|---|
|  | 6874 | case $ac_tag in | 
|---|
|  | 6875 | :[FHLC]) ac_mode=$ac_tag; continue;; | 
|---|
|  | 6876 | esac | 
|---|
|  | 6877 | case $ac_mode$ac_tag in | 
|---|
|  | 6878 | :[FHL]*:*);; | 
|---|
|  | 6879 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; | 
|---|
|  | 6880 | :[FH]-) ac_tag=-:-;; | 
|---|
|  | 6881 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | 
|---|
|  | 6882 | esac | 
|---|
|  | 6883 | ac_save_IFS=$IFS | 
|---|
|  | 6884 | IFS=: | 
|---|
|  | 6885 | set x $ac_tag | 
|---|
|  | 6886 | IFS=$ac_save_IFS | 
|---|
|  | 6887 | shift | 
|---|
|  | 6888 | ac_file=$1 | 
|---|
|  | 6889 | shift | 
|---|
|  | 6890 |  | 
|---|
|  | 6891 | case $ac_mode in | 
|---|
|  | 6892 | :L) ac_source=$1;; | 
|---|
|  | 6893 | :[FH]) | 
|---|
|  | 6894 | ac_file_inputs= | 
|---|
|  | 6895 | for ac_f | 
|---|
|  | 6896 | do | 
|---|
|  | 6897 | case $ac_f in | 
|---|
|  | 6898 | -) ac_f="$ac_tmp/stdin";; | 
|---|
|  | 6899 | *) # Look for the file first in the build tree, then in the source tree | 
|---|
|  | 6900 | # (if the path is not absolute).  The absolute path cannot be DOS-style, | 
|---|
|  | 6901 | # because $ac_f cannot contain `:'. | 
|---|
|  | 6902 | test -f "$ac_f" || | 
|---|
|  | 6903 | case $ac_f in | 
|---|
|  | 6904 | [\\/$]*) false;; | 
|---|
|  | 6905 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | 
|---|
|  | 6906 | esac || | 
|---|
|  | 6907 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; | 
|---|
|  | 6908 | esac | 
|---|
|  | 6909 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | 
|---|
|  | 6910 | as_fn_append ac_file_inputs " '$ac_f'" | 
|---|
|  | 6911 | done | 
|---|
|  | 6912 |  | 
|---|
|  | 6913 | # Let's still pretend it is `configure' which instantiates (i.e., don't | 
|---|
|  | 6914 | # use $as_me), people would be surprised to read: | 
|---|
|  | 6915 | #    /* config.h.  Generated by config.status.  */ | 
|---|
|  | 6916 | configure_input='Generated from '` | 
|---|
|  | 6917 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | 
|---|
|  | 6918 | `' by configure.' | 
|---|
|  | 6919 | if test x"$ac_file" != x-; then | 
|---|
|  | 6920 | configure_input="$ac_file.  $configure_input" | 
|---|
|  | 6921 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | 
|---|
|  | 6922 | $as_echo "$as_me: creating $ac_file" >&6;} | 
|---|
|  | 6923 | fi | 
|---|
|  | 6924 | # Neutralize special characters interpreted by sed in replacement strings. | 
|---|
|  | 6925 | case $configure_input in #( | 
|---|
|  | 6926 | *\&* | *\|* | *\\* ) | 
|---|
|  | 6927 | ac_sed_conf_input=`$as_echo "$configure_input" | | 
|---|
|  | 6928 | sed 's/[\\\\&|]/\\\\&/g'`;; #( | 
|---|
|  | 6929 | *) ac_sed_conf_input=$configure_input;; | 
|---|
|  | 6930 | esac | 
|---|
|  | 6931 |  | 
|---|
|  | 6932 | case $ac_tag in | 
|---|
|  | 6933 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ | 
|---|
|  | 6934 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | 
|---|
|  | 6935 | esac | 
|---|
|  | 6936 | ;; | 
|---|
|  | 6937 | esac | 
|---|
|  | 6938 |  | 
|---|
|  | 6939 | ac_dir=`$as_dirname -- "$ac_file" || | 
|---|
|  | 6940 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
|  | 6941 | X"$ac_file" : 'X\(//\)[^/]' \| \ | 
|---|
|  | 6942 | X"$ac_file" : 'X\(//\)$' \| \ | 
|---|
|  | 6943 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | 
|---|
|  | 6944 | $as_echo X"$ac_file" | | 
|---|
|  | 6945 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 
|---|
|  | 6946 | s//\1/ | 
|---|
|  | 6947 | q | 
|---|
|  | 6948 | } | 
|---|
|  | 6949 | /^X\(\/\/\)[^/].*/{ | 
|---|
|  | 6950 | s//\1/ | 
|---|
|  | 6951 | q | 
|---|
|  | 6952 | } | 
|---|
|  | 6953 | /^X\(\/\/\)$/{ | 
|---|
|  | 6954 | s//\1/ | 
|---|
|  | 6955 | q | 
|---|
|  | 6956 | } | 
|---|
|  | 6957 | /^X\(\/\).*/{ | 
|---|
|  | 6958 | s//\1/ | 
|---|
|  | 6959 | q | 
|---|
|  | 6960 | } | 
|---|
|  | 6961 | s/.*/./; q'` | 
|---|
|  | 6962 | as_dir="$ac_dir"; as_fn_mkdir_p | 
|---|
|  | 6963 | ac_builddir=. | 
|---|
|  | 6964 |  | 
|---|
|  | 6965 | case "$ac_dir" in | 
|---|
|  | 6966 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 
|---|
|  | 6967 | *) | 
|---|
|  | 6968 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | 
|---|
|  | 6969 | # A ".." for each directory in $ac_dir_suffix. | 
|---|
|  | 6970 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | 
|---|
|  | 6971 | case $ac_top_builddir_sub in | 
|---|
|  | 6972 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | 
|---|
|  | 6973 | *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;; | 
|---|
|  | 6974 | esac ;; | 
|---|
|  | 6975 | esac | 
|---|
|  | 6976 | ac_abs_top_builddir=$ac_pwd | 
|---|
|  | 6977 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | 
|---|
|  | 6978 | # for backward compatibility: | 
|---|
|  | 6979 | ac_top_builddir=$ac_top_build_prefix | 
|---|
|  | 6980 |  | 
|---|
|  | 6981 | case $srcdir in | 
|---|
|  | 6982 | .)  # We are building in place. | 
|---|
|  | 6983 | ac_srcdir=. | 
|---|
|  | 6984 | ac_top_srcdir=$ac_top_builddir_sub | 
|---|
|  | 6985 | ac_abs_top_srcdir=$ac_pwd ;; | 
|---|
|  | 6986 | [\\/]* | ?:[\\/]* )  # Absolute name. | 
|---|
|  | 6987 | ac_srcdir=$srcdir$ac_dir_suffix; | 
|---|
|  | 6988 | ac_top_srcdir=$srcdir | 
|---|
|  | 6989 | ac_abs_top_srcdir=$srcdir ;; | 
|---|
|  | 6990 | *) # Relative name. | 
|---|
|  | 6991 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | 
|---|
|  | 6992 | ac_top_srcdir=$ac_top_build_prefix$srcdir | 
|---|
|  | 6993 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | 
|---|
|  | 6994 | esac | 
|---|
|  | 6995 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | 
|---|
|  | 6996 |  | 
|---|
|  | 6997 |  | 
|---|
|  | 6998 | case $ac_mode in | 
|---|
|  | 6999 | :F) | 
|---|
|  | 7000 | # | 
|---|
|  | 7001 | # CONFIG_FILE | 
|---|
|  | 7002 | # | 
|---|
|  | 7003 |  | 
|---|
|  | 7004 | case $INSTALL in | 
|---|
|  | 7005 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 
|---|
|  | 7006 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; | 
|---|
|  | 7007 | esac | 
|---|
|  | 7008 | ac_MKDIR_P=$MKDIR_P | 
|---|
|  | 7009 | case $MKDIR_P in | 
|---|
|  | 7010 | [\\/$]* | ?:[\\/]* ) ;; | 
|---|
|  | 7011 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; | 
|---|
|  | 7012 | esac | 
|---|
|  | 7013 | _ACEOF | 
|---|
|  | 7014 |  | 
|---|
|  | 7015 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
|---|
|  | 7016 | # If the template does not know about datarootdir, expand it. | 
|---|
|  | 7017 | # FIXME: This hack should be removed a few years after 2.60. | 
|---|
|  | 7018 | ac_datarootdir_hack=; ac_datarootdir_seen= | 
|---|
|  | 7019 | ac_sed_dataroot=' | 
|---|
|  | 7020 | /datarootdir/ { | 
|---|
|  | 7021 | p | 
|---|
|  | 7022 | q | 
|---|
|  | 7023 | } | 
|---|
|  | 7024 | /@datadir@/p | 
|---|
|  | 7025 | /@docdir@/p | 
|---|
|  | 7026 | /@infodir@/p | 
|---|
|  | 7027 | /@localedir@/p | 
|---|
|  | 7028 | /@mandir@/p' | 
|---|
|  | 7029 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | 
|---|
|  | 7030 | *datarootdir*) ac_datarootdir_seen=yes;; | 
|---|
|  | 7031 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | 
|---|
|  | 7032 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | 
|---|
|  | 7033 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | 
|---|
|  | 7034 | _ACEOF | 
|---|
|  | 7035 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
|---|
|  | 7036 | ac_datarootdir_hack=' | 
|---|
|  | 7037 | s&@datadir@&$datadir&g | 
|---|
|  | 7038 | s&@docdir@&$docdir&g | 
|---|
|  | 7039 | s&@infodir@&$infodir&g | 
|---|
|  | 7040 | s&@localedir@&$localedir&g | 
|---|
|  | 7041 | s&@mandir@&$mandir&g | 
|---|
|  | 7042 | s&\\\${datarootdir}&$datarootdir&g' ;; | 
|---|
|  | 7043 | esac | 
|---|
|  | 7044 | _ACEOF | 
|---|
|  | 7045 |  | 
|---|
|  | 7046 | # Neutralize VPATH when `$srcdir' = `.'. | 
|---|
|  | 7047 | # Shell code in configure.ac might set extrasub. | 
|---|
|  | 7048 | # FIXME: do we really want to maintain this feature? | 
|---|
|  | 7049 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
|---|
|  | 7050 | ac_sed_extra="$ac_vpsub | 
|---|
|  | 7051 | $extrasub | 
|---|
|  | 7052 | _ACEOF | 
|---|
|  | 7053 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
|---|
|  | 7054 | :t | 
|---|
|  | 7055 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 
|---|
|  | 7056 | s|@configure_input@|$ac_sed_conf_input|;t t | 
|---|
|  | 7057 | s&@top_builddir@&$ac_top_builddir_sub&;t t | 
|---|
|  | 7058 | s&@top_build_prefix@&$ac_top_build_prefix&;t t | 
|---|
|  | 7059 | s&@srcdir@&$ac_srcdir&;t t | 
|---|
|  | 7060 | s&@abs_srcdir@&$ac_abs_srcdir&;t t | 
|---|
|  | 7061 | s&@top_srcdir@&$ac_top_srcdir&;t t | 
|---|
|  | 7062 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | 
|---|
|  | 7063 | s&@builddir@&$ac_builddir&;t t | 
|---|
|  | 7064 | s&@abs_builddir@&$ac_abs_builddir&;t t | 
|---|
|  | 7065 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | 
|---|
|  | 7066 | s&@INSTALL@&$ac_INSTALL&;t t | 
|---|
|  | 7067 | s&@MKDIR_P@&$ac_MKDIR_P&;t t | 
|---|
|  | 7068 | $ac_datarootdir_hack | 
|---|
|  | 7069 | " | 
|---|
|  | 7070 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ | 
|---|
|  | 7071 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 
|---|
|  | 7072 |  | 
|---|
|  | 7073 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 
|---|
|  | 7074 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && | 
|---|
|  | 7075 | { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \ | 
|---|
|  | 7076 | "$ac_tmp/out"`; test -z "$ac_out"; } && | 
|---|
|  | 7077 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 
|---|
|  | 7078 | which seems to be undefined.  Please make sure it is defined" >&5 | 
|---|
|  | 7079 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 
|---|
|  | 7080 | which seems to be undefined.  Please make sure it is defined" >&2;} | 
|---|
|  | 7081 |  | 
|---|
|  | 7082 | rm -f "$ac_tmp/stdin" | 
|---|
|  | 7083 | case $ac_file in | 
|---|
|  | 7084 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; | 
|---|
|  | 7085 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; | 
|---|
|  | 7086 | esac \ | 
|---|
|  | 7087 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 
|---|
|  | 7088 | ;; | 
|---|
|  | 7089 | :H) | 
|---|
|  | 7090 | # | 
|---|
|  | 7091 | # CONFIG_HEADER | 
|---|
|  | 7092 | # | 
|---|
|  | 7093 | if test x"$ac_file" != x-; then | 
|---|
|  | 7094 | { | 
|---|
|  | 7095 | $as_echo "/* $configure_input  */" \ | 
|---|
|  | 7096 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" | 
|---|
|  | 7097 | } >"$ac_tmp/config.h" \ | 
|---|
|  | 7098 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 
|---|
|  | 7099 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then | 
|---|
|  | 7100 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | 
|---|
|  | 7101 | $as_echo "$as_me: $ac_file is unchanged" >&6;} | 
|---|
|  | 7102 | else | 
|---|
|  | 7103 | rm -f "$ac_file" | 
|---|
|  | 7104 | mv "$ac_tmp/config.h" "$ac_file" \ | 
|---|
|  | 7105 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 
|---|
|  | 7106 | fi | 
|---|
|  | 7107 | else | 
|---|
|  | 7108 | $as_echo "/* $configure_input  */" \ | 
|---|
|  | 7109 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ | 
|---|
|  | 7110 | || as_fn_error $? "could not create -" "$LINENO" 5 | 
|---|
|  | 7111 | fi | 
|---|
|  | 7112 | # Compute "$ac_file"'s index in $config_headers. | 
|---|
|  | 7113 | _am_arg="$ac_file" | 
|---|
|  | 7114 | _am_stamp_count=1 | 
|---|
|  | 7115 | for _am_header in $config_headers :; do | 
|---|
|  | 7116 | case $_am_header in | 
|---|
|  | 7117 | $_am_arg | $_am_arg:* ) | 
|---|
|  | 7118 | break ;; | 
|---|
|  | 7119 | * ) | 
|---|
|  | 7120 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; | 
|---|
|  | 7121 | esac | 
|---|
|  | 7122 | done | 
|---|
|  | 7123 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || | 
|---|
|  | 7124 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
|  | 7125 | X"$_am_arg" : 'X\(//\)[^/]' \| \ | 
|---|
|  | 7126 | X"$_am_arg" : 'X\(//\)$' \| \ | 
|---|
|  | 7127 | X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || | 
|---|
|  | 7128 | $as_echo X"$_am_arg" | | 
|---|
|  | 7129 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 
|---|
|  | 7130 | s//\1/ | 
|---|
|  | 7131 | q | 
|---|
|  | 7132 | } | 
|---|
|  | 7133 | /^X\(\/\/\)[^/].*/{ | 
|---|
|  | 7134 | s//\1/ | 
|---|
|  | 7135 | q | 
|---|
|  | 7136 | } | 
|---|
|  | 7137 | /^X\(\/\/\)$/{ | 
|---|
|  | 7138 | s//\1/ | 
|---|
|  | 7139 | q | 
|---|
|  | 7140 | } | 
|---|
|  | 7141 | /^X\(\/\).*/{ | 
|---|
|  | 7142 | s//\1/ | 
|---|
|  | 7143 | q | 
|---|
|  | 7144 | } | 
|---|
|  | 7145 | s/.*/./; q'`/stamp-h$_am_stamp_count | 
|---|
|  | 7146 | ;; | 
|---|
|  | 7147 |  | 
|---|
|  | 7148 | :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | 
|---|
|  | 7149 | $as_echo "$as_me: executing $ac_file commands" >&6;} | 
|---|
|  | 7150 | ;; | 
|---|
|  | 7151 | esac | 
|---|
|  | 7152 |  | 
|---|
|  | 7153 |  | 
|---|
|  | 7154 | case $ac_file$ac_mode in | 
|---|
|  | 7155 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { | 
|---|
| [ef7d253] | 7156 | # Older Autoconf quotes --file arguments for eval, but not when files | 
|---|
| [3b77289] | 7157 | # are listed without --file.  Let's play safe and only enable the eval | 
|---|
|  | 7158 | # if we detect the quoting. | 
|---|
|  | 7159 | case $CONFIG_FILES in | 
|---|
|  | 7160 | *\'*) eval set x "$CONFIG_FILES" ;; | 
|---|
|  | 7161 | *)   set x $CONFIG_FILES ;; | 
|---|
|  | 7162 | esac | 
|---|
|  | 7163 | shift | 
|---|
|  | 7164 | for mf | 
|---|
|  | 7165 | do | 
|---|
|  | 7166 | # Strip MF so we end up with the name of the file. | 
|---|
|  | 7167 | mf=`echo "$mf" | sed -e 's/:.*$//'` | 
|---|
|  | 7168 | # Check whether this is an Automake generated Makefile or not. | 
|---|
| [ef7d253] | 7169 | # We used to match only the files named 'Makefile.in', but | 
|---|
| [3b77289] | 7170 | # some people rename them; so instead we look at the file content. | 
|---|
|  | 7171 | # Grep'ing the first line is not enough: some people post-process | 
|---|
|  | 7172 | # each Makefile.in and add a new line on top of each file to say so. | 
|---|
|  | 7173 | # Grep'ing the whole file is not good either: AIX grep has a line | 
|---|
|  | 7174 | # limit of 2048, but all sed's we know have understand at least 4000. | 
|---|
|  | 7175 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | 
|---|
|  | 7176 | dirpart=`$as_dirname -- "$mf" || | 
|---|
|  | 7177 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
|  | 7178 | X"$mf" : 'X\(//\)[^/]' \| \ | 
|---|
|  | 7179 | X"$mf" : 'X\(//\)$' \| \ | 
|---|
|  | 7180 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || | 
|---|
|  | 7181 | $as_echo X"$mf" | | 
|---|
|  | 7182 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 
|---|
|  | 7183 | s//\1/ | 
|---|
|  | 7184 | q | 
|---|
|  | 7185 | } | 
|---|
|  | 7186 | /^X\(\/\/\)[^/].*/{ | 
|---|
|  | 7187 | s//\1/ | 
|---|
|  | 7188 | q | 
|---|
|  | 7189 | } | 
|---|
|  | 7190 | /^X\(\/\/\)$/{ | 
|---|
|  | 7191 | s//\1/ | 
|---|
|  | 7192 | q | 
|---|
|  | 7193 | } | 
|---|
|  | 7194 | /^X\(\/\).*/{ | 
|---|
|  | 7195 | s//\1/ | 
|---|
|  | 7196 | q | 
|---|
|  | 7197 | } | 
|---|
|  | 7198 | s/.*/./; q'` | 
|---|
|  | 7199 | else | 
|---|
|  | 7200 | continue | 
|---|
|  | 7201 | fi | 
|---|
|  | 7202 | # Extract the definition of DEPDIR, am__include, and am__quote | 
|---|
| [ef7d253] | 7203 | # from the Makefile without running 'make'. | 
|---|
| [3b77289] | 7204 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | 
|---|
|  | 7205 | test -z "$DEPDIR" && continue | 
|---|
|  | 7206 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | 
|---|
| [ef7d253] | 7207 | test -z "$am__include" && continue | 
|---|
| [3b77289] | 7208 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | 
|---|
|  | 7209 | # Find all dependency output files, they are included files with | 
|---|
|  | 7210 | # $(DEPDIR) in their names.  We invoke sed twice because it is the | 
|---|
|  | 7211 | # simplest approach to changing $(DEPDIR) to its actual value in the | 
|---|
|  | 7212 | # expansion. | 
|---|
|  | 7213 | for file in `sed -n " | 
|---|
|  | 7214 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | 
|---|
| [ef7d253] | 7215 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | 
|---|
| [3b77289] | 7216 | # Make sure the directory exists. | 
|---|
|  | 7217 | test -f "$dirpart/$file" && continue | 
|---|
|  | 7218 | fdir=`$as_dirname -- "$file" || | 
|---|
|  | 7219 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
|  | 7220 | X"$file" : 'X\(//\)[^/]' \| \ | 
|---|
|  | 7221 | X"$file" : 'X\(//\)$' \| \ | 
|---|
|  | 7222 | X"$file" : 'X\(/\)' \| . 2>/dev/null || | 
|---|
|  | 7223 | $as_echo X"$file" | | 
|---|
|  | 7224 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 
|---|
|  | 7225 | s//\1/ | 
|---|
|  | 7226 | q | 
|---|
|  | 7227 | } | 
|---|
|  | 7228 | /^X\(\/\/\)[^/].*/{ | 
|---|
|  | 7229 | s//\1/ | 
|---|
|  | 7230 | q | 
|---|
|  | 7231 | } | 
|---|
|  | 7232 | /^X\(\/\/\)$/{ | 
|---|
|  | 7233 | s//\1/ | 
|---|
|  | 7234 | q | 
|---|
|  | 7235 | } | 
|---|
|  | 7236 | /^X\(\/\).*/{ | 
|---|
|  | 7237 | s//\1/ | 
|---|
|  | 7238 | q | 
|---|
|  | 7239 | } | 
|---|
|  | 7240 | s/.*/./; q'` | 
|---|
|  | 7241 | as_dir=$dirpart/$fdir; as_fn_mkdir_p | 
|---|
|  | 7242 | # echo "creating $dirpart/$file" | 
|---|
|  | 7243 | echo '# dummy' > "$dirpart/$file" | 
|---|
|  | 7244 | done | 
|---|
|  | 7245 | done | 
|---|
|  | 7246 | } | 
|---|
|  | 7247 | ;; | 
|---|
|  | 7248 |  | 
|---|
|  | 7249 | esac | 
|---|
|  | 7250 | done # for ac_tag | 
|---|
|  | 7251 |  | 
|---|
|  | 7252 |  | 
|---|
|  | 7253 | as_fn_exit 0 | 
|---|
|  | 7254 | _ACEOF | 
|---|
|  | 7255 | ac_clean_files=$ac_clean_files_save | 
|---|
|  | 7256 |  | 
|---|
|  | 7257 | test $ac_write_fail = 0 || | 
|---|
|  | 7258 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | 
|---|
|  | 7259 |  | 
|---|
|  | 7260 |  | 
|---|
|  | 7261 | # configure is writing to config.log, and then calls config.status. | 
|---|
|  | 7262 | # config.status does its own redirection, appending to config.log. | 
|---|
|  | 7263 | # Unfortunately, on DOS this fails, as config.log is still kept open | 
|---|
|  | 7264 | # by configure, so config.status won't be able to write to it; its | 
|---|
|  | 7265 | # output is simply discarded.  So we exec the FD to /dev/null, | 
|---|
|  | 7266 | # effectively closing config.log, so it can be properly (re)opened and | 
|---|
|  | 7267 | # appended to by config.status.  When coming back to configure, we | 
|---|
|  | 7268 | # need to make the FD available again. | 
|---|
|  | 7269 | if test "$no_create" != yes; then | 
|---|
|  | 7270 | ac_cs_success=: | 
|---|
|  | 7271 | ac_config_status_args= | 
|---|
|  | 7272 | test "$silent" = yes && | 
|---|
|  | 7273 | ac_config_status_args="$ac_config_status_args --quiet" | 
|---|
|  | 7274 | exec 5>/dev/null | 
|---|
|  | 7275 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 
|---|
|  | 7276 | exec 5>>config.log | 
|---|
|  | 7277 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 
|---|
|  | 7278 | # would make configure fail if this is the last instruction. | 
|---|
|  | 7279 | $ac_cs_success || as_fn_exit 1 | 
|---|
|  | 7280 | fi | 
|---|
|  | 7281 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 
|---|
|  | 7282 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | 
|---|
|  | 7283 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | 
|---|
|  | 7284 | fi | 
|---|
|  | 7285 |  | 
|---|
| [7e91d4f] | 7286 |  | 
|---|
| [5d6ce1f] | 7287 | # Final text | 
|---|
|  | 7288 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: Cforall configuraton completed. Type \"make -j 8 install\"." >&5 | 
|---|
|  | 7289 | $as_echo "Cforall configuraton completed. Type \"make -j 8 install\"." >&6; } | 
|---|