| 1 | #! /bin/sh
 | 
|---|
| 2 | # Guess values for system-dependent variables and create Makefiles.
 | 
|---|
| 3 | # Generated by GNU Autoconf 2.69 for cfa-cc 1.0.0.0.
 | 
|---|
| 4 | #
 | 
|---|
| 5 | # Report bugs to <cforall@plg.uwaterloo.ca>.
 | 
|---|
| 6 | #
 | 
|---|
| 7 | #
 | 
|---|
| 8 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
 | 
|---|
| 9 | #
 | 
|---|
| 10 | #
 | 
|---|
| 11 | # This configure script is free software; the Free Software Foundation
 | 
|---|
| 12 | # gives unlimited permission to copy, distribute and modify it.
 | 
|---|
| 13 | ## -------------------- ##
 | 
|---|
| 14 | ## M4sh Initialization. ##
 | 
|---|
| 15 | ## -------------------- ##
 | 
|---|
| 16 | 
 | 
|---|
| 17 | # Be more Bourne compatible
 | 
|---|
| 18 | DUALCASE=1; export DUALCASE # for MKS sh
 | 
|---|
| 19 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 | 
|---|
| 20 |   emulate sh
 | 
|---|
| 21 |   NULLCMD=:
 | 
|---|
| 22 |   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 | 
|---|
| 23 |   # is contrary to our usage.  Disable this feature.
 | 
|---|
| 24 |   alias -g '${1+"$@"}'='"$@"'
 | 
|---|
| 25 |   setopt NO_GLOB_SUBST
 | 
|---|
| 26 | else
 | 
|---|
| 27 |   case `(set -o) 2>/dev/null` in #(
 | 
|---|
| 28 |   *posix*) :
 | 
|---|
| 29 |     set -o posix ;; #(
 | 
|---|
| 30 |   *) :
 | 
|---|
| 31 |      ;;
 | 
|---|
| 32 | esac
 | 
|---|
| 33 | fi
 | 
|---|
| 34 | 
 | 
|---|
| 35 | 
 | 
|---|
| 36 | as_nl='
 | 
|---|
| 37 | '
 | 
|---|
| 38 | export as_nl
 | 
|---|
| 39 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
 | 
|---|
| 40 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 | 
|---|
| 41 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 | 
|---|
| 42 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 | 
|---|
| 43 | # Prefer a ksh shell builtin over an external printf program on Solaris,
 | 
|---|
| 44 | # but without wasting forks for bash or zsh.
 | 
|---|
| 45 | if test -z "$BASH_VERSION$ZSH_VERSION" \
 | 
|---|
| 46 |     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 | 
|---|
| 47 |   as_echo='print -r --'
 | 
|---|
| 48 |   as_echo_n='print -rn --'
 | 
|---|
| 49 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 | 
|---|
| 50 |   as_echo='printf %s\n'
 | 
|---|
| 51 |   as_echo_n='printf %s'
 | 
|---|
| 52 | else
 | 
|---|
| 53 |   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 | 
|---|
| 54 |     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 | 
|---|
| 55 |     as_echo_n='/usr/ucb/echo -n'
 | 
|---|
| 56 |   else
 | 
|---|
| 57 |     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 | 
|---|
| 58 |     as_echo_n_body='eval
 | 
|---|
| 59 |       arg=$1;
 | 
|---|
| 60 |       case $arg in #(
 | 
|---|
| 61 |       *"$as_nl"*)
 | 
|---|
| 62 |         expr "X$arg" : "X\\(.*\\)$as_nl";
 | 
|---|
| 63 |         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 | 
|---|
| 64 |       esac;
 | 
|---|
| 65 |       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 | 
|---|
| 66 |     '
 | 
|---|
| 67 |     export as_echo_n_body
 | 
|---|
| 68 |     as_echo_n='sh -c $as_echo_n_body as_echo'
 | 
|---|
| 69 |   fi
 | 
|---|
| 70 |   export as_echo_body
 | 
|---|
| 71 |   as_echo='sh -c $as_echo_body as_echo'
 | 
|---|
| 72 | fi
 | 
|---|
| 73 | 
 | 
|---|
| 74 | # The user is always right.
 | 
|---|
| 75 | if test "${PATH_SEPARATOR+set}" != set; then
 | 
|---|
| 76 |   PATH_SEPARATOR=:
 | 
|---|
| 77 |   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 | 
|---|
| 78 |     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 | 
|---|
| 79 |       PATH_SEPARATOR=';'
 | 
|---|
| 80 |   }
 | 
|---|
| 81 | fi
 | 
|---|
| 82 | 
 | 
|---|
| 83 | 
 | 
|---|
| 84 | # IFS
 | 
|---|
| 85 | # We need space, tab and new line, in precisely that order.  Quoting is
 | 
|---|
| 86 | # there to prevent editors from complaining about space-tab.
 | 
|---|
| 87 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 | 
|---|
| 88 | # splitting by setting IFS to empty value.)
 | 
|---|
| 89 | IFS=" ""        $as_nl"
 | 
|---|
| 90 | 
 | 
|---|
| 91 | # Find who we are.  Look in the path if we contain no directory separator.
 | 
|---|
| 92 | as_myself=
 | 
|---|
| 93 | case $0 in #((
 | 
|---|
| 94 |   *[\\/]* ) as_myself=$0 ;;
 | 
|---|
| 95 |   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 96 | for as_dir in $PATH
 | 
|---|
| 97 | do
 | 
|---|
| 98 |   IFS=$as_save_IFS
 | 
|---|
| 99 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 100 |     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 | 
|---|
| 101 |   done
 | 
|---|
| 102 | IFS=$as_save_IFS
 | 
|---|
| 103 | 
 | 
|---|
| 104 |      ;;
 | 
|---|
| 105 | esac
 | 
|---|
| 106 | # We did not find ourselves, most probably we were run as `sh COMMAND'
 | 
|---|
| 107 | # in which case we are not to be found in the path.
 | 
|---|
| 108 | if test "x$as_myself" = x; then
 | 
|---|
| 109 |   as_myself=$0
 | 
|---|
| 110 | fi
 | 
|---|
| 111 | if test ! -f "$as_myself"; then
 | 
|---|
| 112 |   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 | 
|---|
| 113 |   exit 1
 | 
|---|
| 114 | fi
 | 
|---|
| 115 | 
 | 
|---|
| 116 | # Unset variables that we do not need and which cause bugs (e.g. in
 | 
|---|
| 117 | # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 | 
|---|
| 118 | # suppresses any "Segmentation fault" message there.  '((' could
 | 
|---|
| 119 | # trigger a bug in pdksh 5.2.14.
 | 
|---|
| 120 | for as_var in BASH_ENV ENV MAIL MAILPATH
 | 
|---|
| 121 | do eval test x\${$as_var+set} = xset \
 | 
|---|
| 122 |   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 | 
|---|
| 123 | done
 | 
|---|
| 124 | PS1='$ '
 | 
|---|
| 125 | PS2='> '
 | 
|---|
| 126 | PS4='+ '
 | 
|---|
| 127 | 
 | 
|---|
| 128 | # NLS nuisances.
 | 
|---|
| 129 | LC_ALL=C
 | 
|---|
| 130 | export LC_ALL
 | 
|---|
| 131 | LANGUAGE=C
 | 
|---|
| 132 | export LANGUAGE
 | 
|---|
| 133 | 
 | 
|---|
| 134 | # CDPATH.
 | 
|---|
| 135 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 | 
|---|
| 136 | 
 | 
|---|
| 137 | # Use a proper internal environment variable to ensure we don't fall
 | 
|---|
| 138 |   # into an infinite loop, continuously re-executing ourselves.
 | 
|---|
| 139 |   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
 | 
|---|
| 140 |     _as_can_reexec=no; export _as_can_reexec;
 | 
|---|
| 141 |     # We cannot yet assume a decent shell, so we have to provide a
 | 
|---|
| 142 | # neutralization value for shells without unset; and this also
 | 
|---|
| 143 | # works around shells that cannot unset nonexistent variables.
 | 
|---|
| 144 | # Preserve -v and -x to the replacement shell.
 | 
|---|
| 145 | BASH_ENV=/dev/null
 | 
|---|
| 146 | ENV=/dev/null
 | 
|---|
| 147 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 | 
|---|
| 148 | case $- in # ((((
 | 
|---|
| 149 |   *v*x* | *x*v* ) as_opts=-vx ;;
 | 
|---|
| 150 |   *v* ) as_opts=-v ;;
 | 
|---|
| 151 |   *x* ) as_opts=-x ;;
 | 
|---|
| 152 |   * ) as_opts= ;;
 | 
|---|
| 153 | esac
 | 
|---|
| 154 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 | 
|---|
| 155 | # Admittedly, this is quite paranoid, since all the known shells bail
 | 
|---|
| 156 | # out after a failed `exec'.
 | 
|---|
| 157 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 | 
|---|
| 158 | as_fn_exit 255
 | 
|---|
| 159 |   fi
 | 
|---|
| 160 |   # We don't want this to propagate to other subprocesses.
 | 
|---|
| 161 |           { _as_can_reexec=; unset _as_can_reexec;}
 | 
|---|
| 162 | if test "x$CONFIG_SHELL" = x; then
 | 
|---|
| 163 |   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 | 
|---|
| 164 |   emulate sh
 | 
|---|
| 165 |   NULLCMD=:
 | 
|---|
| 166 |   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 | 
|---|
| 167 |   # is contrary to our usage.  Disable this feature.
 | 
|---|
| 168 |   alias -g '\${1+\"\$@\"}'='\"\$@\"'
 | 
|---|
| 169 |   setopt NO_GLOB_SUBST
 | 
|---|
| 170 | else
 | 
|---|
| 171 |   case \`(set -o) 2>/dev/null\` in #(
 | 
|---|
| 172 |   *posix*) :
 | 
|---|
| 173 |     set -o posix ;; #(
 | 
|---|
| 174 |   *) :
 | 
|---|
| 175 |      ;;
 | 
|---|
| 176 | esac
 | 
|---|
| 177 | fi
 | 
|---|
| 178 | "
 | 
|---|
| 179 |   as_required="as_fn_return () { (exit \$1); }
 | 
|---|
| 180 | as_fn_success () { as_fn_return 0; }
 | 
|---|
| 181 | as_fn_failure () { as_fn_return 1; }
 | 
|---|
| 182 | as_fn_ret_success () { return 0; }
 | 
|---|
| 183 | as_fn_ret_failure () { return 1; }
 | 
|---|
| 184 | 
 | 
|---|
| 185 | exitcode=0
 | 
|---|
| 186 | as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 | 
|---|
| 187 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 | 
|---|
| 188 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 | 
|---|
| 189 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 | 
|---|
| 190 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 | 
|---|
| 191 | 
 | 
|---|
| 192 | else
 | 
|---|
| 193 |   exitcode=1; echo positional parameters were not saved.
 | 
|---|
| 194 | fi
 | 
|---|
| 195 | test x\$exitcode = x0 || exit 1
 | 
|---|
| 196 | test -x / || exit 1"
 | 
|---|
| 197 |   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 | 
|---|
| 198 |   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 | 
|---|
| 199 |   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 | 
|---|
| 200 |   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 | 
|---|
| 201 | test \$(( 1 + 1 )) = 2 || exit 1"
 | 
|---|
| 202 |   if (eval "$as_required") 2>/dev/null; then :
 | 
|---|
| 203 |   as_have_required=yes
 | 
|---|
| 204 | else
 | 
|---|
| 205 |   as_have_required=no
 | 
|---|
| 206 | fi
 | 
|---|
| 207 |   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 | 
|---|
| 208 | 
 | 
|---|
| 209 | else
 | 
|---|
| 210 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 211 | as_found=false
 | 
|---|
| 212 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 | 
|---|
| 213 | do
 | 
|---|
| 214 |   IFS=$as_save_IFS
 | 
|---|
| 215 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 216 |   as_found=:
 | 
|---|
| 217 |   case $as_dir in #(
 | 
|---|
| 218 |          /*)
 | 
|---|
| 219 |            for as_base in sh bash ksh sh5; do
 | 
|---|
| 220 |              # Try only shells that exist, to save several forks.
 | 
|---|
| 221 |              as_shell=$as_dir/$as_base
 | 
|---|
| 222 |              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 | 
|---|
| 223 |                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 | 
|---|
| 224 |   CONFIG_SHELL=$as_shell as_have_required=yes
 | 
|---|
| 225 |                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 | 
|---|
| 226 |   break 2
 | 
|---|
| 227 | fi
 | 
|---|
| 228 | fi
 | 
|---|
| 229 |            done;;
 | 
|---|
| 230 |        esac
 | 
|---|
| 231 |   as_found=false
 | 
|---|
| 232 | done
 | 
|---|
| 233 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 | 
|---|
| 234 |               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 | 
|---|
| 235 |   CONFIG_SHELL=$SHELL as_have_required=yes
 | 
|---|
| 236 | fi; }
 | 
|---|
| 237 | IFS=$as_save_IFS
 | 
|---|
| 238 | 
 | 
|---|
| 239 | 
 | 
|---|
| 240 |       if test "x$CONFIG_SHELL" != x; then :
 | 
|---|
| 241 |   export CONFIG_SHELL
 | 
|---|
| 242 |              # We cannot yet assume a decent shell, so we have to provide a
 | 
|---|
| 243 | # neutralization value for shells without unset; and this also
 | 
|---|
| 244 | # works around shells that cannot unset nonexistent variables.
 | 
|---|
| 245 | # Preserve -v and -x to the replacement shell.
 | 
|---|
| 246 | BASH_ENV=/dev/null
 | 
|---|
| 247 | ENV=/dev/null
 | 
|---|
| 248 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 | 
|---|
| 249 | case $- in # ((((
 | 
|---|
| 250 |   *v*x* | *x*v* ) as_opts=-vx ;;
 | 
|---|
| 251 |   *v* ) as_opts=-v ;;
 | 
|---|
| 252 |   *x* ) as_opts=-x ;;
 | 
|---|
| 253 |   * ) as_opts= ;;
 | 
|---|
| 254 | esac
 | 
|---|
| 255 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 | 
|---|
| 256 | # Admittedly, this is quite paranoid, since all the known shells bail
 | 
|---|
| 257 | # out after a failed `exec'.
 | 
|---|
| 258 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 | 
|---|
| 259 | exit 255
 | 
|---|
| 260 | fi
 | 
|---|
| 261 | 
 | 
|---|
| 262 |     if test x$as_have_required = xno; then :
 | 
|---|
| 263 |   $as_echo "$0: This script requires a shell more modern than all"
 | 
|---|
| 264 |   $as_echo "$0: the shells that I found on your system."
 | 
|---|
| 265 |   if test x${ZSH_VERSION+set} = xset ; then
 | 
|---|
| 266 |     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 | 
|---|
| 267 |     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 | 
|---|
| 268 |   else
 | 
|---|
| 269 |     $as_echo "$0: Please tell bug-autoconf@gnu.org and
 | 
|---|
| 270 | $0: cforall@plg.uwaterloo.ca about your system, including
 | 
|---|
| 271 | $0: any error possibly output before this message. Then
 | 
|---|
| 272 | $0: install a modern shell, or manually run the script
 | 
|---|
| 273 | $0: under such a shell if you do have one."
 | 
|---|
| 274 |   fi
 | 
|---|
| 275 |   exit 1
 | 
|---|
| 276 | fi
 | 
|---|
| 277 | fi
 | 
|---|
| 278 | fi
 | 
|---|
| 279 | SHELL=${CONFIG_SHELL-/bin/sh}
 | 
|---|
| 280 | export SHELL
 | 
|---|
| 281 | # Unset more variables known to interfere with behavior of common tools.
 | 
|---|
| 282 | CLICOLOR_FORCE= GREP_OPTIONS=
 | 
|---|
| 283 | unset CLICOLOR_FORCE GREP_OPTIONS
 | 
|---|
| 284 | 
 | 
|---|
| 285 | ## --------------------- ##
 | 
|---|
| 286 | ## M4sh Shell Functions. ##
 | 
|---|
| 287 | ## --------------------- ##
 | 
|---|
| 288 | # as_fn_unset VAR
 | 
|---|
| 289 | # ---------------
 | 
|---|
| 290 | # Portably unset VAR.
 | 
|---|
| 291 | as_fn_unset ()
 | 
|---|
| 292 | {
 | 
|---|
| 293 |   { eval $1=; unset $1;}
 | 
|---|
| 294 | }
 | 
|---|
| 295 | as_unset=as_fn_unset
 | 
|---|
| 296 | 
 | 
|---|
| 297 | # as_fn_set_status STATUS
 | 
|---|
| 298 | # -----------------------
 | 
|---|
| 299 | # Set $? to STATUS, without forking.
 | 
|---|
| 300 | as_fn_set_status ()
 | 
|---|
| 301 | {
 | 
|---|
| 302 |   return $1
 | 
|---|
| 303 | } # as_fn_set_status
 | 
|---|
| 304 | 
 | 
|---|
| 305 | # as_fn_exit STATUS
 | 
|---|
| 306 | # -----------------
 | 
|---|
| 307 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 | 
|---|
| 308 | as_fn_exit ()
 | 
|---|
| 309 | {
 | 
|---|
| 310 |   set +e
 | 
|---|
| 311 |   as_fn_set_status $1
 | 
|---|
| 312 |   exit $1
 | 
|---|
| 313 | } # as_fn_exit
 | 
|---|
| 314 | 
 | 
|---|
| 315 | # as_fn_mkdir_p
 | 
|---|
| 316 | # -------------
 | 
|---|
| 317 | # Create "$as_dir" as a directory, including parents if necessary.
 | 
|---|
| 318 | as_fn_mkdir_p ()
 | 
|---|
| 319 | {
 | 
|---|
| 320 | 
 | 
|---|
| 321 |   case $as_dir in #(
 | 
|---|
| 322 |   -*) as_dir=./$as_dir;;
 | 
|---|
| 323 |   esac
 | 
|---|
| 324 |   test -d "$as_dir" || eval $as_mkdir_p || {
 | 
|---|
| 325 |     as_dirs=
 | 
|---|
| 326 |     while :; do
 | 
|---|
| 327 |       case $as_dir in #(
 | 
|---|
| 328 |       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 | 
|---|
| 329 |       *) as_qdir=$as_dir;;
 | 
|---|
| 330 |       esac
 | 
|---|
| 331 |       as_dirs="'$as_qdir' $as_dirs"
 | 
|---|
| 332 |       as_dir=`$as_dirname -- "$as_dir" ||
 | 
|---|
| 333 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 | 
|---|
| 334 |          X"$as_dir" : 'X\(//\)[^/]' \| \
 | 
|---|
| 335 |          X"$as_dir" : 'X\(//\)$' \| \
 | 
|---|
| 336 |          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 337 | $as_echo X"$as_dir" |
 | 
|---|
| 338 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 | 
|---|
| 339 |             s//\1/
 | 
|---|
| 340 |             q
 | 
|---|
| 341 |           }
 | 
|---|
| 342 |           /^X\(\/\/\)[^/].*/{
 | 
|---|
| 343 |             s//\1/
 | 
|---|
| 344 |             q
 | 
|---|
| 345 |           }
 | 
|---|
| 346 |           /^X\(\/\/\)$/{
 | 
|---|
| 347 |             s//\1/
 | 
|---|
| 348 |             q
 | 
|---|
| 349 |           }
 | 
|---|
| 350 |           /^X\(\/\).*/{
 | 
|---|
| 351 |             s//\1/
 | 
|---|
| 352 |             q
 | 
|---|
| 353 |           }
 | 
|---|
| 354 |           s/.*/./; q'`
 | 
|---|
| 355 |       test -d "$as_dir" && break
 | 
|---|
| 356 |     done
 | 
|---|
| 357 |     test -z "$as_dirs" || eval "mkdir $as_dirs"
 | 
|---|
| 358 |   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 | 
|---|
| 359 | 
 | 
|---|
| 360 | 
 | 
|---|
| 361 | } # as_fn_mkdir_p
 | 
|---|
| 362 | 
 | 
|---|
| 363 | # as_fn_executable_p FILE
 | 
|---|
| 364 | # -----------------------
 | 
|---|
| 365 | # Test if FILE is an executable regular file.
 | 
|---|
| 366 | as_fn_executable_p ()
 | 
|---|
| 367 | {
 | 
|---|
| 368 |   test -f "$1" && test -x "$1"
 | 
|---|
| 369 | } # as_fn_executable_p
 | 
|---|
| 370 | # as_fn_append VAR VALUE
 | 
|---|
| 371 | # ----------------------
 | 
|---|
| 372 | # Append the text in VALUE to the end of the definition contained in VAR. Take
 | 
|---|
| 373 | # advantage of any shell optimizations that allow amortized linear growth over
 | 
|---|
| 374 | # repeated appends, instead of the typical quadratic growth present in naive
 | 
|---|
| 375 | # implementations.
 | 
|---|
| 376 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 | 
|---|
| 377 |   eval 'as_fn_append ()
 | 
|---|
| 378 |   {
 | 
|---|
| 379 |     eval $1+=\$2
 | 
|---|
| 380 |   }'
 | 
|---|
| 381 | else
 | 
|---|
| 382 |   as_fn_append ()
 | 
|---|
| 383 |   {
 | 
|---|
| 384 |     eval $1=\$$1\$2
 | 
|---|
| 385 |   }
 | 
|---|
| 386 | fi # as_fn_append
 | 
|---|
| 387 | 
 | 
|---|
| 388 | # as_fn_arith ARG...
 | 
|---|
| 389 | # ------------------
 | 
|---|
| 390 | # Perform arithmetic evaluation on the ARGs, and store the result in the
 | 
|---|
| 391 | # global $as_val. Take advantage of shells that can avoid forks. The arguments
 | 
|---|
| 392 | # must be portable across $(()) and expr.
 | 
|---|
| 393 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 | 
|---|
| 394 |   eval 'as_fn_arith ()
 | 
|---|
| 395 |   {
 | 
|---|
| 396 |     as_val=$(( $* ))
 | 
|---|
| 397 |   }'
 | 
|---|
| 398 | else
 | 
|---|
| 399 |   as_fn_arith ()
 | 
|---|
| 400 |   {
 | 
|---|
| 401 |     as_val=`expr "$@" || test $? -eq 1`
 | 
|---|
| 402 |   }
 | 
|---|
| 403 | fi # as_fn_arith
 | 
|---|
| 404 | 
 | 
|---|
| 405 | 
 | 
|---|
| 406 | # as_fn_error STATUS ERROR [LINENO LOG_FD]
 | 
|---|
| 407 | # ----------------------------------------
 | 
|---|
| 408 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 | 
|---|
| 409 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 | 
|---|
| 410 | # script with STATUS, using 1 if that was 0.
 | 
|---|
| 411 | as_fn_error ()
 | 
|---|
| 412 | {
 | 
|---|
| 413 |   as_status=$1; test $as_status -eq 0 && as_status=1
 | 
|---|
| 414 |   if test "$4"; then
 | 
|---|
| 415 |     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 416 |     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 | 
|---|
| 417 |   fi
 | 
|---|
| 418 |   $as_echo "$as_me: error: $2" >&2
 | 
|---|
| 419 |   as_fn_exit $as_status
 | 
|---|
| 420 | } # as_fn_error
 | 
|---|
| 421 | 
 | 
|---|
| 422 | if expr a : '\(a\)' >/dev/null 2>&1 &&
 | 
|---|
| 423 |    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 | 
|---|
| 424 |   as_expr=expr
 | 
|---|
| 425 | else
 | 
|---|
| 426 |   as_expr=false
 | 
|---|
| 427 | fi
 | 
|---|
| 428 | 
 | 
|---|
| 429 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 | 
|---|
| 430 |   as_basename=basename
 | 
|---|
| 431 | else
 | 
|---|
| 432 |   as_basename=false
 | 
|---|
| 433 | fi
 | 
|---|
| 434 | 
 | 
|---|
| 435 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 | 
|---|
| 436 |   as_dirname=dirname
 | 
|---|
| 437 | else
 | 
|---|
| 438 |   as_dirname=false
 | 
|---|
| 439 | fi
 | 
|---|
| 440 | 
 | 
|---|
| 441 | as_me=`$as_basename -- "$0" ||
 | 
|---|
| 442 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 | 
|---|
| 443 |          X"$0" : 'X\(//\)$' \| \
 | 
|---|
| 444 |          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 445 | $as_echo X/"$0" |
 | 
|---|
| 446 |     sed '/^.*\/\([^/][^/]*\)\/*$/{
 | 
|---|
| 447 |             s//\1/
 | 
|---|
| 448 |             q
 | 
|---|
| 449 |           }
 | 
|---|
| 450 |           /^X\/\(\/\/\)$/{
 | 
|---|
| 451 |             s//\1/
 | 
|---|
| 452 |             q
 | 
|---|
| 453 |           }
 | 
|---|
| 454 |           /^X\/\(\/\).*/{
 | 
|---|
| 455 |             s//\1/
 | 
|---|
| 456 |             q
 | 
|---|
| 457 |           }
 | 
|---|
| 458 |           s/.*/./; q'`
 | 
|---|
| 459 | 
 | 
|---|
| 460 | # Avoid depending upon Character Ranges.
 | 
|---|
| 461 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 | 
|---|
| 462 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 | 
|---|
| 463 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 | 
|---|
| 464 | as_cr_digits='0123456789'
 | 
|---|
| 465 | as_cr_alnum=$as_cr_Letters$as_cr_digits
 | 
|---|
| 466 | 
 | 
|---|
| 467 | 
 | 
|---|
| 468 |   as_lineno_1=$LINENO as_lineno_1a=$LINENO
 | 
|---|
| 469 |   as_lineno_2=$LINENO as_lineno_2a=$LINENO
 | 
|---|
| 470 |   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 | 
|---|
| 471 |   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 | 
|---|
| 472 |   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
 | 
|---|
| 473 |   sed -n '
 | 
|---|
| 474 |     p
 | 
|---|
| 475 |     /[$]LINENO/=
 | 
|---|
| 476 |   ' <$as_myself |
 | 
|---|
| 477 |     sed '
 | 
|---|
| 478 |       s/[$]LINENO.*/&-/
 | 
|---|
| 479 |       t lineno
 | 
|---|
| 480 |       b
 | 
|---|
| 481 |       :lineno
 | 
|---|
| 482 |       N
 | 
|---|
| 483 |       :loop
 | 
|---|
| 484 |       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 | 
|---|
| 485 |       t loop
 | 
|---|
| 486 |       s/-\n.*//
 | 
|---|
| 487 |     ' >$as_me.lineno &&
 | 
|---|
| 488 |   chmod +x "$as_me.lineno" ||
 | 
|---|
| 489 |     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 | 
|---|
| 490 | 
 | 
|---|
| 491 |   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
 | 
|---|
| 492 |   # already done that, so ensure we don't try to do so again and fall
 | 
|---|
| 493 |   # in an infinite loop.  This has already happened in practice.
 | 
|---|
| 494 |   _as_can_reexec=no; export _as_can_reexec
 | 
|---|
| 495 |   # Don't try to exec as it changes $[0], causing all sort of problems
 | 
|---|
| 496 |   # (the dirname of $[0] is not the place where we might find the
 | 
|---|
| 497 |   # original and so on.  Autoconf is especially sensitive to this).
 | 
|---|
| 498 |   . "./$as_me.lineno"
 | 
|---|
| 499 |   # Exit status is that of the last command.
 | 
|---|
| 500 |   exit
 | 
|---|
| 501 | }
 | 
|---|
| 502 | 
 | 
|---|
| 503 | ECHO_C= ECHO_N= ECHO_T=
 | 
|---|
| 504 | case `echo -n x` in #(((((
 | 
|---|
| 505 | -n*)
 | 
|---|
| 506 |   case `echo 'xy\c'` in
 | 
|---|
| 507 |   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 | 
|---|
| 508 |   xy)  ECHO_C='\c';;
 | 
|---|
| 509 |   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 | 
|---|
| 510 |        ECHO_T=' ';;
 | 
|---|
| 511 |   esac;;
 | 
|---|
| 512 | *)
 | 
|---|
| 513 |   ECHO_N='-n';;
 | 
|---|
| 514 | esac
 | 
|---|
| 515 | 
 | 
|---|
| 516 | rm -f conf$$ conf$$.exe conf$$.file
 | 
|---|
| 517 | if test -d conf$$.dir; then
 | 
|---|
| 518 |   rm -f conf$$.dir/conf$$.file
 | 
|---|
| 519 | else
 | 
|---|
| 520 |   rm -f conf$$.dir
 | 
|---|
| 521 |   mkdir conf$$.dir 2>/dev/null
 | 
|---|
| 522 | fi
 | 
|---|
| 523 | if (echo >conf$$.file) 2>/dev/null; then
 | 
|---|
| 524 |   if ln -s conf$$.file conf$$ 2>/dev/null; then
 | 
|---|
| 525 |     as_ln_s='ln -s'
 | 
|---|
| 526 |     # ... but there are two gotchas:
 | 
|---|
| 527 |     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 | 
|---|
| 528 |     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 | 
|---|
| 529 |     # In both cases, we have to default to `cp -pR'.
 | 
|---|
| 530 |     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 | 
|---|
| 531 |       as_ln_s='cp -pR'
 | 
|---|
| 532 |   elif ln conf$$.file conf$$ 2>/dev/null; then
 | 
|---|
| 533 |     as_ln_s=ln
 | 
|---|
| 534 |   else
 | 
|---|
| 535 |     as_ln_s='cp -pR'
 | 
|---|
| 536 |   fi
 | 
|---|
| 537 | else
 | 
|---|
| 538 |   as_ln_s='cp -pR'
 | 
|---|
| 539 | fi
 | 
|---|
| 540 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 | 
|---|
| 541 | rmdir conf$$.dir 2>/dev/null
 | 
|---|
| 542 | 
 | 
|---|
| 543 | if mkdir -p . 2>/dev/null; then
 | 
|---|
| 544 |   as_mkdir_p='mkdir -p "$as_dir"'
 | 
|---|
| 545 | else
 | 
|---|
| 546 |   test -d ./-p && rmdir ./-p
 | 
|---|
| 547 |   as_mkdir_p=false
 | 
|---|
| 548 | fi
 | 
|---|
| 549 | 
 | 
|---|
| 550 | as_test_x='test -x'
 | 
|---|
| 551 | as_executable_p=as_fn_executable_p
 | 
|---|
| 552 | 
 | 
|---|
| 553 | # Sed expression to map a string onto a valid CPP name.
 | 
|---|
| 554 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 | 
|---|
| 555 | 
 | 
|---|
| 556 | # Sed expression to map a string onto a valid variable name.
 | 
|---|
| 557 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 | 
|---|
| 558 | 
 | 
|---|
| 559 | 
 | 
|---|
| 560 | test -n "$DJDIR" || exec 7<&0 </dev/null
 | 
|---|
| 561 | exec 6>&1
 | 
|---|
| 562 | 
 | 
|---|
| 563 | # Name of the host.
 | 
|---|
| 564 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
 | 
|---|
| 565 | # so uname gets run too.
 | 
|---|
| 566 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 | 
|---|
| 567 | 
 | 
|---|
| 568 | #
 | 
|---|
| 569 | # Initializations.
 | 
|---|
| 570 | #
 | 
|---|
| 571 | ac_default_prefix=/usr/local
 | 
|---|
| 572 | ac_clean_files=
 | 
|---|
| 573 | ac_config_libobj_dir=.
 | 
|---|
| 574 | LIBOBJS=
 | 
|---|
| 575 | cross_compiling=no
 | 
|---|
| 576 | subdirs=
 | 
|---|
| 577 | MFLAGS=
 | 
|---|
| 578 | MAKEFLAGS=
 | 
|---|
| 579 | 
 | 
|---|
| 580 | # Identity of this package.
 | 
|---|
| 581 | PACKAGE_NAME='cfa-cc'
 | 
|---|
| 582 | PACKAGE_TARNAME='cfa-cc'
 | 
|---|
| 583 | PACKAGE_VERSION='1.0.0.0'
 | 
|---|
| 584 | PACKAGE_STRING='cfa-cc 1.0.0.0'
 | 
|---|
| 585 | PACKAGE_BUGREPORT='cforall@plg.uwaterloo.ca'
 | 
|---|
| 586 | PACKAGE_URL=''
 | 
|---|
| 587 | 
 | 
|---|
| 588 | # Factoring default headers for most tests.
 | 
|---|
| 589 | ac_includes_default="\
 | 
|---|
| 590 | #include <stdio.h>
 | 
|---|
| 591 | #ifdef HAVE_SYS_TYPES_H
 | 
|---|
| 592 | # include <sys/types.h>
 | 
|---|
| 593 | #endif
 | 
|---|
| 594 | #ifdef HAVE_SYS_STAT_H
 | 
|---|
| 595 | # include <sys/stat.h>
 | 
|---|
| 596 | #endif
 | 
|---|
| 597 | #ifdef STDC_HEADERS
 | 
|---|
| 598 | # include <stdlib.h>
 | 
|---|
| 599 | # include <stddef.h>
 | 
|---|
| 600 | #else
 | 
|---|
| 601 | # ifdef HAVE_STDLIB_H
 | 
|---|
| 602 | #  include <stdlib.h>
 | 
|---|
| 603 | # endif
 | 
|---|
| 604 | #endif
 | 
|---|
| 605 | #ifdef HAVE_STRING_H
 | 
|---|
| 606 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 | 
|---|
| 607 | #  include <memory.h>
 | 
|---|
| 608 | # endif
 | 
|---|
| 609 | # include <string.h>
 | 
|---|
| 610 | #endif
 | 
|---|
| 611 | #ifdef HAVE_STRINGS_H
 | 
|---|
| 612 | # include <strings.h>
 | 
|---|
| 613 | #endif
 | 
|---|
| 614 | #ifdef HAVE_INTTYPES_H
 | 
|---|
| 615 | # include <inttypes.h>
 | 
|---|
| 616 | #endif
 | 
|---|
| 617 | #ifdef HAVE_STDINT_H
 | 
|---|
| 618 | # include <stdint.h>
 | 
|---|
| 619 | #endif
 | 
|---|
| 620 | #ifdef HAVE_UNISTD_H
 | 
|---|
| 621 | # include <unistd.h>
 | 
|---|
| 622 | #endif"
 | 
|---|
| 623 | 
 | 
|---|
| 624 | ac_subst_vars='am__EXEEXT_FALSE
 | 
|---|
| 625 | am__EXEEXT_TRUE
 | 
|---|
| 626 | LTLIBOBJS
 | 
|---|
| 627 | LIBOBJS
 | 
|---|
| 628 | ALLOCA
 | 
|---|
| 629 | EGREP
 | 
|---|
| 630 | GREP
 | 
|---|
| 631 | CPP
 | 
|---|
| 632 | RANLIB
 | 
|---|
| 633 | LEXLIB
 | 
|---|
| 634 | LEX_OUTPUT_ROOT
 | 
|---|
| 635 | LEX
 | 
|---|
| 636 | YFLAGS
 | 
|---|
| 637 | YACC
 | 
|---|
| 638 | am__fastdepCCAS_FALSE
 | 
|---|
| 639 | am__fastdepCCAS_TRUE
 | 
|---|
| 640 | CCASDEPMODE
 | 
|---|
| 641 | CCASFLAGS
 | 
|---|
| 642 | CCAS
 | 
|---|
| 643 | am__fastdepCC_FALSE
 | 
|---|
| 644 | am__fastdepCC_TRUE
 | 
|---|
| 645 | CCDEPMODE
 | 
|---|
| 646 | ac_ct_CC
 | 
|---|
| 647 | CFLAGS
 | 
|---|
| 648 | CC
 | 
|---|
| 649 | am__fastdepCXX_FALSE
 | 
|---|
| 650 | am__fastdepCXX_TRUE
 | 
|---|
| 651 | CXXDEPMODE
 | 
|---|
| 652 | am__nodep
 | 
|---|
| 653 | AMDEPBACKSLASH
 | 
|---|
| 654 | AMDEP_FALSE
 | 
|---|
| 655 | AMDEP_TRUE
 | 
|---|
| 656 | am__quote
 | 
|---|
| 657 | am__include
 | 
|---|
| 658 | DEPDIR
 | 
|---|
| 659 | OBJEXT
 | 
|---|
| 660 | EXEEXT
 | 
|---|
| 661 | ac_ct_CXX
 | 
|---|
| 662 | CPPFLAGS
 | 
|---|
| 663 | LDFLAGS
 | 
|---|
| 664 | CXXFLAGS
 | 
|---|
| 665 | CXX
 | 
|---|
| 666 | CFA_FLAGS
 | 
|---|
| 667 | LIBCFA_TARGET_MAKEFILES
 | 
|---|
| 668 | LIBCFA_TARGET_DIRS
 | 
|---|
| 669 | TARGET_HOSTS
 | 
|---|
| 670 | HOST_FLAGS
 | 
|---|
| 671 | host_os
 | 
|---|
| 672 | host_vendor
 | 
|---|
| 673 | host_cpu
 | 
|---|
| 674 | host
 | 
|---|
| 675 | build_os
 | 
|---|
| 676 | build_vendor
 | 
|---|
| 677 | build_cpu
 | 
|---|
| 678 | build
 | 
|---|
| 679 | BUILD_IN_TREE_FLAGS
 | 
|---|
| 680 | CFACPP
 | 
|---|
| 681 | CFACC
 | 
|---|
| 682 | DRIVER_DIR
 | 
|---|
| 683 | CFA_LIBDIR
 | 
|---|
| 684 | CFA_BINDIR
 | 
|---|
| 685 | CFA_INCDIR
 | 
|---|
| 686 | CFA_PREFIX
 | 
|---|
| 687 | CFA_BACKEND_CC
 | 
|---|
| 688 | BACKEND_CC
 | 
|---|
| 689 | DOendif
 | 
|---|
| 690 | DOifskipcompile
 | 
|---|
| 691 | CFA_NAME
 | 
|---|
| 692 | am__untar
 | 
|---|
| 693 | am__tar
 | 
|---|
| 694 | AMTAR
 | 
|---|
| 695 | am__leading_dot
 | 
|---|
| 696 | SET_MAKE
 | 
|---|
| 697 | AWK
 | 
|---|
| 698 | mkdir_p
 | 
|---|
| 699 | MKDIR_P
 | 
|---|
| 700 | INSTALL_STRIP_PROGRAM
 | 
|---|
| 701 | STRIP
 | 
|---|
| 702 | install_sh
 | 
|---|
| 703 | MAKEINFO
 | 
|---|
| 704 | AUTOHEADER
 | 
|---|
| 705 | AUTOMAKE
 | 
|---|
| 706 | AUTOCONF
 | 
|---|
| 707 | ACLOCAL
 | 
|---|
| 708 | VERSION
 | 
|---|
| 709 | PACKAGE
 | 
|---|
| 710 | CYGPATH_W
 | 
|---|
| 711 | am__isrc
 | 
|---|
| 712 | INSTALL_DATA
 | 
|---|
| 713 | INSTALL_SCRIPT
 | 
|---|
| 714 | INSTALL_PROGRAM
 | 
|---|
| 715 | AM_BACKSLASH
 | 
|---|
| 716 | AM_DEFAULT_VERBOSITY
 | 
|---|
| 717 | AM_DEFAULT_V
 | 
|---|
| 718 | AM_V
 | 
|---|
| 719 | target_alias
 | 
|---|
| 720 | host_alias
 | 
|---|
| 721 | build_alias
 | 
|---|
| 722 | LIBS
 | 
|---|
| 723 | ECHO_T
 | 
|---|
| 724 | ECHO_N
 | 
|---|
| 725 | ECHO_C
 | 
|---|
| 726 | DEFS
 | 
|---|
| 727 | mandir
 | 
|---|
| 728 | localedir
 | 
|---|
| 729 | libdir
 | 
|---|
| 730 | psdir
 | 
|---|
| 731 | pdfdir
 | 
|---|
| 732 | dvidir
 | 
|---|
| 733 | htmldir
 | 
|---|
| 734 | infodir
 | 
|---|
| 735 | docdir
 | 
|---|
| 736 | oldincludedir
 | 
|---|
| 737 | includedir
 | 
|---|
| 738 | runstatedir
 | 
|---|
| 739 | localstatedir
 | 
|---|
| 740 | sharedstatedir
 | 
|---|
| 741 | sysconfdir
 | 
|---|
| 742 | datadir
 | 
|---|
| 743 | datarootdir
 | 
|---|
| 744 | libexecdir
 | 
|---|
| 745 | sbindir
 | 
|---|
| 746 | bindir
 | 
|---|
| 747 | program_transform_name
 | 
|---|
| 748 | prefix
 | 
|---|
| 749 | exec_prefix
 | 
|---|
| 750 | PACKAGE_URL
 | 
|---|
| 751 | PACKAGE_BUGREPORT
 | 
|---|
| 752 | PACKAGE_STRING
 | 
|---|
| 753 | PACKAGE_VERSION
 | 
|---|
| 754 | PACKAGE_TARNAME
 | 
|---|
| 755 | PACKAGE_NAME
 | 
|---|
| 756 | PATH_SEPARATOR
 | 
|---|
| 757 | SHELL'
 | 
|---|
| 758 | ac_subst_files=''
 | 
|---|
| 759 | ac_user_opts='
 | 
|---|
| 760 | enable_option_checking
 | 
|---|
| 761 | enable_silent_rules
 | 
|---|
| 762 | with_cfa_name
 | 
|---|
| 763 | with_backend_compiler
 | 
|---|
| 764 | with_target_hosts
 | 
|---|
| 765 | enable_dependency_tracking
 | 
|---|
| 766 | '
 | 
|---|
| 767 |       ac_precious_vars='build_alias
 | 
|---|
| 768 | host_alias
 | 
|---|
| 769 | target_alias
 | 
|---|
| 770 | CXX
 | 
|---|
| 771 | CXXFLAGS
 | 
|---|
| 772 | LDFLAGS
 | 
|---|
| 773 | LIBS
 | 
|---|
| 774 | CPPFLAGS
 | 
|---|
| 775 | CCC
 | 
|---|
| 776 | CC
 | 
|---|
| 777 | CFLAGS
 | 
|---|
| 778 | CCAS
 | 
|---|
| 779 | CCASFLAGS
 | 
|---|
| 780 | YACC
 | 
|---|
| 781 | YFLAGS
 | 
|---|
| 782 | CPP'
 | 
|---|
| 783 | 
 | 
|---|
| 784 | 
 | 
|---|
| 785 | # Initialize some variables set by options.
 | 
|---|
| 786 | ac_init_help=
 | 
|---|
| 787 | ac_init_version=false
 | 
|---|
| 788 | ac_unrecognized_opts=
 | 
|---|
| 789 | ac_unrecognized_sep=
 | 
|---|
| 790 | # The variables have the same names as the options, with
 | 
|---|
| 791 | # dashes changed to underlines.
 | 
|---|
| 792 | cache_file=/dev/null
 | 
|---|
| 793 | exec_prefix=NONE
 | 
|---|
| 794 | no_create=
 | 
|---|
| 795 | no_recursion=
 | 
|---|
| 796 | prefix=NONE
 | 
|---|
| 797 | program_prefix=NONE
 | 
|---|
| 798 | program_suffix=NONE
 | 
|---|
| 799 | program_transform_name=s,x,x,
 | 
|---|
| 800 | silent=
 | 
|---|
| 801 | site=
 | 
|---|
| 802 | srcdir=
 | 
|---|
| 803 | verbose=
 | 
|---|
| 804 | x_includes=NONE
 | 
|---|
| 805 | x_libraries=NONE
 | 
|---|
| 806 | 
 | 
|---|
| 807 | # Installation directory options.
 | 
|---|
| 808 | # These are left unexpanded so users can "make install exec_prefix=/foo"
 | 
|---|
| 809 | # and all the variables that are supposed to be based on exec_prefix
 | 
|---|
| 810 | # by default will actually change.
 | 
|---|
| 811 | # Use braces instead of parens because sh, perl, etc. also accept them.
 | 
|---|
| 812 | # (The list follows the same order as the GNU Coding Standards.)
 | 
|---|
| 813 | bindir='${exec_prefix}/bin'
 | 
|---|
| 814 | sbindir='${exec_prefix}/sbin'
 | 
|---|
| 815 | libexecdir='${exec_prefix}/libexec'
 | 
|---|
| 816 | datarootdir='${prefix}/share'
 | 
|---|
| 817 | datadir='${datarootdir}'
 | 
|---|
| 818 | sysconfdir='${prefix}/etc'
 | 
|---|
| 819 | sharedstatedir='${prefix}/com'
 | 
|---|
| 820 | localstatedir='${prefix}/var'
 | 
|---|
| 821 | runstatedir='${localstatedir}/run'
 | 
|---|
| 822 | includedir='${prefix}/include'
 | 
|---|
| 823 | oldincludedir='/usr/include'
 | 
|---|
| 824 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 | 
|---|
| 825 | infodir='${datarootdir}/info'
 | 
|---|
| 826 | htmldir='${docdir}'
 | 
|---|
| 827 | dvidir='${docdir}'
 | 
|---|
| 828 | pdfdir='${docdir}'
 | 
|---|
| 829 | psdir='${docdir}'
 | 
|---|
| 830 | libdir='${exec_prefix}/lib'
 | 
|---|
| 831 | localedir='${datarootdir}/locale'
 | 
|---|
| 832 | mandir='${datarootdir}/man'
 | 
|---|
| 833 | 
 | 
|---|
| 834 | ac_prev=
 | 
|---|
| 835 | ac_dashdash=
 | 
|---|
| 836 | for ac_option
 | 
|---|
| 837 | do
 | 
|---|
| 838 |   # If the previous option needs an argument, assign it.
 | 
|---|
| 839 |   if test -n "$ac_prev"; then
 | 
|---|
| 840 |     eval $ac_prev=\$ac_option
 | 
|---|
| 841 |     ac_prev=
 | 
|---|
| 842 |     continue
 | 
|---|
| 843 |   fi
 | 
|---|
| 844 | 
 | 
|---|
| 845 |   case $ac_option in
 | 
|---|
| 846 |   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 | 
|---|
| 847 |   *=)   ac_optarg= ;;
 | 
|---|
| 848 |   *)    ac_optarg=yes ;;
 | 
|---|
| 849 |   esac
 | 
|---|
| 850 | 
 | 
|---|
| 851 |   # Accept the important Cygnus configure options, so we can diagnose typos.
 | 
|---|
| 852 | 
 | 
|---|
| 853 |   case $ac_dashdash$ac_option in
 | 
|---|
| 854 |   --)
 | 
|---|
| 855 |     ac_dashdash=yes ;;
 | 
|---|
| 856 | 
 | 
|---|
| 857 |   -bindir | --bindir | --bindi | --bind | --bin | --bi)
 | 
|---|
| 858 |     ac_prev=bindir ;;
 | 
|---|
| 859 |   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 | 
|---|
| 860 |     bindir=$ac_optarg ;;
 | 
|---|
| 861 | 
 | 
|---|
| 862 |   -build | --build | --buil | --bui | --bu)
 | 
|---|
| 863 |     ac_prev=build_alias ;;
 | 
|---|
| 864 |   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 | 
|---|
| 865 |     build_alias=$ac_optarg ;;
 | 
|---|
| 866 | 
 | 
|---|
| 867 |   -cache-file | --cache-file | --cache-fil | --cache-fi \
 | 
|---|
| 868 |   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 | 
|---|
| 869 |     ac_prev=cache_file ;;
 | 
|---|
| 870 |   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 | 
|---|
| 871 |   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 | 
|---|
| 872 |     cache_file=$ac_optarg ;;
 | 
|---|
| 873 | 
 | 
|---|
| 874 |   --config-cache | -C)
 | 
|---|
| 875 |     cache_file=config.cache ;;
 | 
|---|
| 876 | 
 | 
|---|
| 877 |   -datadir | --datadir | --datadi | --datad)
 | 
|---|
| 878 |     ac_prev=datadir ;;
 | 
|---|
| 879 |   -datadir=* | --datadir=* | --datadi=* | --datad=*)
 | 
|---|
| 880 |     datadir=$ac_optarg ;;
 | 
|---|
| 881 | 
 | 
|---|
| 882 |   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 | 
|---|
| 883 |   | --dataroo | --dataro | --datar)
 | 
|---|
| 884 |     ac_prev=datarootdir ;;
 | 
|---|
| 885 |   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 | 
|---|
| 886 |   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 | 
|---|
| 887 |     datarootdir=$ac_optarg ;;
 | 
|---|
| 888 | 
 | 
|---|
| 889 |   -disable-* | --disable-*)
 | 
|---|
| 890 |     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 | 
|---|
| 891 |     # Reject names that are not valid shell variable names.
 | 
|---|
| 892 |     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 | 
|---|
| 893 |       as_fn_error $? "invalid feature name: $ac_useropt"
 | 
|---|
| 894 |     ac_useropt_orig=$ac_useropt
 | 
|---|
| 895 |     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 | 
|---|
| 896 |     case $ac_user_opts in
 | 
|---|
| 897 |       *"
 | 
|---|
| 898 | "enable_$ac_useropt"
 | 
|---|
| 899 | "*) ;;
 | 
|---|
| 900 |       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 | 
|---|
| 901 |          ac_unrecognized_sep=', ';;
 | 
|---|
| 902 |     esac
 | 
|---|
| 903 |     eval enable_$ac_useropt=no ;;
 | 
|---|
| 904 | 
 | 
|---|
| 905 |   -docdir | --docdir | --docdi | --doc | --do)
 | 
|---|
| 906 |     ac_prev=docdir ;;
 | 
|---|
| 907 |   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 | 
|---|
| 908 |     docdir=$ac_optarg ;;
 | 
|---|
| 909 | 
 | 
|---|
| 910 |   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 | 
|---|
| 911 |     ac_prev=dvidir ;;
 | 
|---|
| 912 |   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 | 
|---|
| 913 |     dvidir=$ac_optarg ;;
 | 
|---|
| 914 | 
 | 
|---|
| 915 |   -enable-* | --enable-*)
 | 
|---|
| 916 |     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 | 
|---|
| 917 |     # Reject names that are not valid shell variable names.
 | 
|---|
| 918 |     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 | 
|---|
| 919 |       as_fn_error $? "invalid feature name: $ac_useropt"
 | 
|---|
| 920 |     ac_useropt_orig=$ac_useropt
 | 
|---|
| 921 |     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 | 
|---|
| 922 |     case $ac_user_opts in
 | 
|---|
| 923 |       *"
 | 
|---|
| 924 | "enable_$ac_useropt"
 | 
|---|
| 925 | "*) ;;
 | 
|---|
| 926 |       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 | 
|---|
| 927 |          ac_unrecognized_sep=', ';;
 | 
|---|
| 928 |     esac
 | 
|---|
| 929 |     eval enable_$ac_useropt=\$ac_optarg ;;
 | 
|---|
| 930 | 
 | 
|---|
| 931 |   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 | 
|---|
| 932 |   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 | 
|---|
| 933 |   | --exec | --exe | --ex)
 | 
|---|
| 934 |     ac_prev=exec_prefix ;;
 | 
|---|
| 935 |   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 | 
|---|
| 936 |   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 | 
|---|
| 937 |   | --exec=* | --exe=* | --ex=*)
 | 
|---|
| 938 |     exec_prefix=$ac_optarg ;;
 | 
|---|
| 939 | 
 | 
|---|
| 940 |   -gas | --gas | --ga | --g)
 | 
|---|
| 941 |     # Obsolete; use --with-gas.
 | 
|---|
| 942 |     with_gas=yes ;;
 | 
|---|
| 943 | 
 | 
|---|
| 944 |   -help | --help | --hel | --he | -h)
 | 
|---|
| 945 |     ac_init_help=long ;;
 | 
|---|
| 946 |   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 | 
|---|
| 947 |     ac_init_help=recursive ;;
 | 
|---|
| 948 |   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 | 
|---|
| 949 |     ac_init_help=short ;;
 | 
|---|
| 950 | 
 | 
|---|
| 951 |   -host | --host | --hos | --ho)
 | 
|---|
| 952 |     ac_prev=host_alias ;;
 | 
|---|
| 953 |   -host=* | --host=* | --hos=* | --ho=*)
 | 
|---|
| 954 |     host_alias=$ac_optarg ;;
 | 
|---|
| 955 | 
 | 
|---|
| 956 |   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 | 
|---|
| 957 |     ac_prev=htmldir ;;
 | 
|---|
| 958 |   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 | 
|---|
| 959 |   | --ht=*)
 | 
|---|
| 960 |     htmldir=$ac_optarg ;;
 | 
|---|
| 961 | 
 | 
|---|
| 962 |   -includedir | --includedir | --includedi | --included | --include \
 | 
|---|
| 963 |   | --includ | --inclu | --incl | --inc)
 | 
|---|
| 964 |     ac_prev=includedir ;;
 | 
|---|
| 965 |   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 | 
|---|
| 966 |   | --includ=* | --inclu=* | --incl=* | --inc=*)
 | 
|---|
| 967 |     includedir=$ac_optarg ;;
 | 
|---|
| 968 | 
 | 
|---|
| 969 |   -infodir | --infodir | --infodi | --infod | --info | --inf)
 | 
|---|
| 970 |     ac_prev=infodir ;;
 | 
|---|
| 971 |   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 | 
|---|
| 972 |     infodir=$ac_optarg ;;
 | 
|---|
| 973 | 
 | 
|---|
| 974 |   -libdir | --libdir | --libdi | --libd)
 | 
|---|
| 975 |     ac_prev=libdir ;;
 | 
|---|
| 976 |   -libdir=* | --libdir=* | --libdi=* | --libd=*)
 | 
|---|
| 977 |     libdir=$ac_optarg ;;
 | 
|---|
| 978 | 
 | 
|---|
| 979 |   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 | 
|---|
| 980 |   | --libexe | --libex | --libe)
 | 
|---|
| 981 |     ac_prev=libexecdir ;;
 | 
|---|
| 982 |   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 | 
|---|
| 983 |   | --libexe=* | --libex=* | --libe=*)
 | 
|---|
| 984 |     libexecdir=$ac_optarg ;;
 | 
|---|
| 985 | 
 | 
|---|
| 986 |   -localedir | --localedir | --localedi | --localed | --locale)
 | 
|---|
| 987 |     ac_prev=localedir ;;
 | 
|---|
| 988 |   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 | 
|---|
| 989 |     localedir=$ac_optarg ;;
 | 
|---|
| 990 | 
 | 
|---|
| 991 |   -localstatedir | --localstatedir | --localstatedi | --localstated \
 | 
|---|
| 992 |   | --localstate | --localstat | --localsta | --localst | --locals)
 | 
|---|
| 993 |     ac_prev=localstatedir ;;
 | 
|---|
| 994 |   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 | 
|---|
| 995 |   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 | 
|---|
| 996 |     localstatedir=$ac_optarg ;;
 | 
|---|
| 997 | 
 | 
|---|
| 998 |   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 | 
|---|
| 999 |     ac_prev=mandir ;;
 | 
|---|
| 1000 |   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 | 
|---|
| 1001 |     mandir=$ac_optarg ;;
 | 
|---|
| 1002 | 
 | 
|---|
| 1003 |   -nfp | --nfp | --nf)
 | 
|---|
| 1004 |     # Obsolete; use --without-fp.
 | 
|---|
| 1005 |     with_fp=no ;;
 | 
|---|
| 1006 | 
 | 
|---|
| 1007 |   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 | 
|---|
| 1008 |   | --no-cr | --no-c | -n)
 | 
|---|
| 1009 |     no_create=yes ;;
 | 
|---|
| 1010 | 
 | 
|---|
| 1011 |   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 | 
|---|
| 1012 |   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 | 
|---|
| 1013 |     no_recursion=yes ;;
 | 
|---|
| 1014 | 
 | 
|---|
| 1015 |   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 | 
|---|
| 1016 |   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 | 
|---|
| 1017 |   | --oldin | --oldi | --old | --ol | --o)
 | 
|---|
| 1018 |     ac_prev=oldincludedir ;;
 | 
|---|
| 1019 |   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 | 
|---|
| 1020 |   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 | 
|---|
| 1021 |   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 | 
|---|
| 1022 |     oldincludedir=$ac_optarg ;;
 | 
|---|
| 1023 | 
 | 
|---|
| 1024 |   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 | 
|---|
| 1025 |     ac_prev=prefix ;;
 | 
|---|
| 1026 |   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 | 
|---|
| 1027 |     prefix=$ac_optarg ;;
 | 
|---|
| 1028 | 
 | 
|---|
| 1029 |   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 | 
|---|
| 1030 |   | --program-pre | --program-pr | --program-p)
 | 
|---|
| 1031 |     ac_prev=program_prefix ;;
 | 
|---|
| 1032 |   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 | 
|---|
| 1033 |   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 | 
|---|
| 1034 |     program_prefix=$ac_optarg ;;
 | 
|---|
| 1035 | 
 | 
|---|
| 1036 |   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 | 
|---|
| 1037 |   | --program-suf | --program-su | --program-s)
 | 
|---|
| 1038 |     ac_prev=program_suffix ;;
 | 
|---|
| 1039 |   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 | 
|---|
| 1040 |   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 | 
|---|
| 1041 |     program_suffix=$ac_optarg ;;
 | 
|---|
| 1042 | 
 | 
|---|
| 1043 |   -program-transform-name | --program-transform-name \
 | 
|---|
| 1044 |   | --program-transform-nam | --program-transform-na \
 | 
|---|
| 1045 |   | --program-transform-n | --program-transform- \
 | 
|---|
| 1046 |   | --program-transform | --program-transfor \
 | 
|---|
| 1047 |   | --program-transfo | --program-transf \
 | 
|---|
| 1048 |   | --program-trans | --program-tran \
 | 
|---|
| 1049 |   | --progr-tra | --program-tr | --program-t)
 | 
|---|
| 1050 |     ac_prev=program_transform_name ;;
 | 
|---|
| 1051 |   -program-transform-name=* | --program-transform-name=* \
 | 
|---|
| 1052 |   | --program-transform-nam=* | --program-transform-na=* \
 | 
|---|
| 1053 |   | --program-transform-n=* | --program-transform-=* \
 | 
|---|
| 1054 |   | --program-transform=* | --program-transfor=* \
 | 
|---|
| 1055 |   | --program-transfo=* | --program-transf=* \
 | 
|---|
| 1056 |   | --program-trans=* | --program-tran=* \
 | 
|---|
| 1057 |   | --progr-tra=* | --program-tr=* | --program-t=*)
 | 
|---|
| 1058 |     program_transform_name=$ac_optarg ;;
 | 
|---|
| 1059 | 
 | 
|---|
| 1060 |   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 | 
|---|
| 1061 |     ac_prev=pdfdir ;;
 | 
|---|
| 1062 |   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 | 
|---|
| 1063 |     pdfdir=$ac_optarg ;;
 | 
|---|
| 1064 | 
 | 
|---|
| 1065 |   -psdir | --psdir | --psdi | --psd | --ps)
 | 
|---|
| 1066 |     ac_prev=psdir ;;
 | 
|---|
| 1067 |   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 | 
|---|
| 1068 |     psdir=$ac_optarg ;;
 | 
|---|
| 1069 | 
 | 
|---|
| 1070 |   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 | 
|---|
| 1071 |   | -silent | --silent | --silen | --sile | --sil)
 | 
|---|
| 1072 |     silent=yes ;;
 | 
|---|
| 1073 | 
 | 
|---|
| 1074 |   -runstatedir | --runstatedir | --runstatedi | --runstated \
 | 
|---|
| 1075 |   | --runstate | --runstat | --runsta | --runst | --runs \
 | 
|---|
| 1076 |   | --run | --ru | --r)
 | 
|---|
| 1077 |     ac_prev=runstatedir ;;
 | 
|---|
| 1078 |   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
 | 
|---|
| 1079 |   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
 | 
|---|
| 1080 |   | --run=* | --ru=* | --r=*)
 | 
|---|
| 1081 |     runstatedir=$ac_optarg ;;
 | 
|---|
| 1082 | 
 | 
|---|
| 1083 |   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 | 
|---|
| 1084 |     ac_prev=sbindir ;;
 | 
|---|
| 1085 |   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 | 
|---|
| 1086 |   | --sbi=* | --sb=*)
 | 
|---|
| 1087 |     sbindir=$ac_optarg ;;
 | 
|---|
| 1088 | 
 | 
|---|
| 1089 |   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 | 
|---|
| 1090 |   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 | 
|---|
| 1091 |   | --sharedst | --shareds | --shared | --share | --shar \
 | 
|---|
| 1092 |   | --sha | --sh)
 | 
|---|
| 1093 |     ac_prev=sharedstatedir ;;
 | 
|---|
| 1094 |   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 | 
|---|
| 1095 |   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 | 
|---|
| 1096 |   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 | 
|---|
| 1097 |   | --sha=* | --sh=*)
 | 
|---|
| 1098 |     sharedstatedir=$ac_optarg ;;
 | 
|---|
| 1099 | 
 | 
|---|
| 1100 |   -site | --site | --sit)
 | 
|---|
| 1101 |     ac_prev=site ;;
 | 
|---|
| 1102 |   -site=* | --site=* | --sit=*)
 | 
|---|
| 1103 |     site=$ac_optarg ;;
 | 
|---|
| 1104 | 
 | 
|---|
| 1105 |   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 | 
|---|
| 1106 |     ac_prev=srcdir ;;
 | 
|---|
| 1107 |   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 | 
|---|
| 1108 |     srcdir=$ac_optarg ;;
 | 
|---|
| 1109 | 
 | 
|---|
| 1110 |   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 | 
|---|
| 1111 |   | --syscon | --sysco | --sysc | --sys | --sy)
 | 
|---|
| 1112 |     ac_prev=sysconfdir ;;
 | 
|---|
| 1113 |   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 | 
|---|
| 1114 |   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 | 
|---|
| 1115 |     sysconfdir=$ac_optarg ;;
 | 
|---|
| 1116 | 
 | 
|---|
| 1117 |   -target | --target | --targe | --targ | --tar | --ta | --t)
 | 
|---|
| 1118 |     ac_prev=target_alias ;;
 | 
|---|
| 1119 |   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 | 
|---|
| 1120 |     target_alias=$ac_optarg ;;
 | 
|---|
| 1121 | 
 | 
|---|
| 1122 |   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 | 
|---|
| 1123 |     verbose=yes ;;
 | 
|---|
| 1124 | 
 | 
|---|
| 1125 |   -version | --version | --versio | --versi | --vers | -V)
 | 
|---|
| 1126 |     ac_init_version=: ;;
 | 
|---|
| 1127 | 
 | 
|---|
| 1128 |   -with-* | --with-*)
 | 
|---|
| 1129 |     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 | 
|---|
| 1130 |     # Reject names that are not valid shell variable names.
 | 
|---|
| 1131 |     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 | 
|---|
| 1132 |       as_fn_error $? "invalid package name: $ac_useropt"
 | 
|---|
| 1133 |     ac_useropt_orig=$ac_useropt
 | 
|---|
| 1134 |     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 | 
|---|
| 1135 |     case $ac_user_opts in
 | 
|---|
| 1136 |       *"
 | 
|---|
| 1137 | "with_$ac_useropt"
 | 
|---|
| 1138 | "*) ;;
 | 
|---|
| 1139 |       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 | 
|---|
| 1140 |          ac_unrecognized_sep=', ';;
 | 
|---|
| 1141 |     esac
 | 
|---|
| 1142 |     eval with_$ac_useropt=\$ac_optarg ;;
 | 
|---|
| 1143 | 
 | 
|---|
| 1144 |   -without-* | --without-*)
 | 
|---|
| 1145 |     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 | 
|---|
| 1146 |     # Reject names that are not valid shell variable names.
 | 
|---|
| 1147 |     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 | 
|---|
| 1148 |       as_fn_error $? "invalid package name: $ac_useropt"
 | 
|---|
| 1149 |     ac_useropt_orig=$ac_useropt
 | 
|---|
| 1150 |     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 | 
|---|
| 1151 |     case $ac_user_opts in
 | 
|---|
| 1152 |       *"
 | 
|---|
| 1153 | "with_$ac_useropt"
 | 
|---|
| 1154 | "*) ;;
 | 
|---|
| 1155 |       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 | 
|---|
| 1156 |          ac_unrecognized_sep=', ';;
 | 
|---|
| 1157 |     esac
 | 
|---|
| 1158 |     eval with_$ac_useropt=no ;;
 | 
|---|
| 1159 | 
 | 
|---|
| 1160 |   --x)
 | 
|---|
| 1161 |     # Obsolete; use --with-x.
 | 
|---|
| 1162 |     with_x=yes ;;
 | 
|---|
| 1163 | 
 | 
|---|
| 1164 |   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 | 
|---|
| 1165 |   | --x-incl | --x-inc | --x-in | --x-i)
 | 
|---|
| 1166 |     ac_prev=x_includes ;;
 | 
|---|
| 1167 |   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 | 
|---|
| 1168 |   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 | 
|---|
| 1169 |     x_includes=$ac_optarg ;;
 | 
|---|
| 1170 | 
 | 
|---|
| 1171 |   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 | 
|---|
| 1172 |   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 | 
|---|
| 1173 |     ac_prev=x_libraries ;;
 | 
|---|
| 1174 |   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 | 
|---|
| 1175 |   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 | 
|---|
| 1176 |     x_libraries=$ac_optarg ;;
 | 
|---|
| 1177 | 
 | 
|---|
| 1178 |   -*) as_fn_error $? "unrecognized option: \`$ac_option'
 | 
|---|
| 1179 | Try \`$0 --help' for more information"
 | 
|---|
| 1180 |     ;;
 | 
|---|
| 1181 | 
 | 
|---|
| 1182 |   *=*)
 | 
|---|
| 1183 |     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 | 
|---|
| 1184 |     # Reject names that are not valid shell variable names.
 | 
|---|
| 1185 |     case $ac_envvar in #(
 | 
|---|
| 1186 |       '' | [0-9]* | *[!_$as_cr_alnum]* )
 | 
|---|
| 1187 |       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 | 
|---|
| 1188 |     esac
 | 
|---|
| 1189 |     eval $ac_envvar=\$ac_optarg
 | 
|---|
| 1190 |     export $ac_envvar ;;
 | 
|---|
| 1191 | 
 | 
|---|
| 1192 |   *)
 | 
|---|
| 1193 |     # FIXME: should be removed in autoconf 3.0.
 | 
|---|
| 1194 |     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 | 
|---|
| 1195 |     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 | 
|---|
| 1196 |       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 | 
|---|
| 1197 |     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 | 
|---|
| 1198 |     ;;
 | 
|---|
| 1199 | 
 | 
|---|
| 1200 |   esac
 | 
|---|
| 1201 | done
 | 
|---|
| 1202 | 
 | 
|---|
| 1203 | if test -n "$ac_prev"; then
 | 
|---|
| 1204 |   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 | 
|---|
| 1205 |   as_fn_error $? "missing argument to $ac_option"
 | 
|---|
| 1206 | fi
 | 
|---|
| 1207 | 
 | 
|---|
| 1208 | if test -n "$ac_unrecognized_opts"; then
 | 
|---|
| 1209 |   case $enable_option_checking in
 | 
|---|
| 1210 |     no) ;;
 | 
|---|
| 1211 |     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 | 
|---|
| 1212 |     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 | 
|---|
| 1213 |   esac
 | 
|---|
| 1214 | fi
 | 
|---|
| 1215 | 
 | 
|---|
| 1216 | # Check all directory arguments for consistency.
 | 
|---|
| 1217 | for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 | 
|---|
| 1218 |                 datadir sysconfdir sharedstatedir localstatedir includedir \
 | 
|---|
| 1219 |                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 | 
|---|
| 1220 |                 libdir localedir mandir runstatedir
 | 
|---|
| 1221 | do
 | 
|---|
| 1222 |   eval ac_val=\$$ac_var
 | 
|---|
| 1223 |   # Remove trailing slashes.
 | 
|---|
| 1224 |   case $ac_val in
 | 
|---|
| 1225 |     */ )
 | 
|---|
| 1226 |       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 | 
|---|
| 1227 |       eval $ac_var=\$ac_val;;
 | 
|---|
| 1228 |   esac
 | 
|---|
| 1229 |   # Be sure to have absolute directory names.
 | 
|---|
| 1230 |   case $ac_val in
 | 
|---|
| 1231 |     [\\/$]* | ?:[\\/]* )  continue;;
 | 
|---|
| 1232 |     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 | 
|---|
| 1233 |   esac
 | 
|---|
| 1234 |   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 | 
|---|
| 1235 | done
 | 
|---|
| 1236 | 
 | 
|---|
| 1237 | # There might be people who depend on the old broken behavior: `$host'
 | 
|---|
| 1238 | # used to hold the argument of --host etc.
 | 
|---|
| 1239 | # FIXME: To remove some day.
 | 
|---|
| 1240 | build=$build_alias
 | 
|---|
| 1241 | host=$host_alias
 | 
|---|
| 1242 | target=$target_alias
 | 
|---|
| 1243 | 
 | 
|---|
| 1244 | # FIXME: To remove some day.
 | 
|---|
| 1245 | if test "x$host_alias" != x; then
 | 
|---|
| 1246 |   if test "x$build_alias" = x; then
 | 
|---|
| 1247 |     cross_compiling=maybe
 | 
|---|
| 1248 |   elif test "x$build_alias" != "x$host_alias"; then
 | 
|---|
| 1249 |     cross_compiling=yes
 | 
|---|
| 1250 |   fi
 | 
|---|
| 1251 | fi
 | 
|---|
| 1252 | 
 | 
|---|
| 1253 | ac_tool_prefix=
 | 
|---|
| 1254 | test -n "$host_alias" && ac_tool_prefix=$host_alias-
 | 
|---|
| 1255 | 
 | 
|---|
| 1256 | test "$silent" = yes && exec 6>/dev/null
 | 
|---|
| 1257 | 
 | 
|---|
| 1258 | 
 | 
|---|
| 1259 | ac_pwd=`pwd` && test -n "$ac_pwd" &&
 | 
|---|
| 1260 | ac_ls_di=`ls -di .` &&
 | 
|---|
| 1261 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 | 
|---|
| 1262 |   as_fn_error $? "working directory cannot be determined"
 | 
|---|
| 1263 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 | 
|---|
| 1264 |   as_fn_error $? "pwd does not report name of working directory"
 | 
|---|
| 1265 | 
 | 
|---|
| 1266 | 
 | 
|---|
| 1267 | # Find the source files, if location was not specified.
 | 
|---|
| 1268 | if test -z "$srcdir"; then
 | 
|---|
| 1269 |   ac_srcdir_defaulted=yes
 | 
|---|
| 1270 |   # Try the directory containing this script, then the parent directory.
 | 
|---|
| 1271 |   ac_confdir=`$as_dirname -- "$as_myself" ||
 | 
|---|
| 1272 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 | 
|---|
| 1273 |          X"$as_myself" : 'X\(//\)[^/]' \| \
 | 
|---|
| 1274 |          X"$as_myself" : 'X\(//\)$' \| \
 | 
|---|
| 1275 |          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 1276 | $as_echo X"$as_myself" |
 | 
|---|
| 1277 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 | 
|---|
| 1278 |             s//\1/
 | 
|---|
| 1279 |             q
 | 
|---|
| 1280 |           }
 | 
|---|
| 1281 |           /^X\(\/\/\)[^/].*/{
 | 
|---|
| 1282 |             s//\1/
 | 
|---|
| 1283 |             q
 | 
|---|
| 1284 |           }
 | 
|---|
| 1285 |           /^X\(\/\/\)$/{
 | 
|---|
| 1286 |             s//\1/
 | 
|---|
| 1287 |             q
 | 
|---|
| 1288 |           }
 | 
|---|
| 1289 |           /^X\(\/\).*/{
 | 
|---|
| 1290 |             s//\1/
 | 
|---|
| 1291 |             q
 | 
|---|
| 1292 |           }
 | 
|---|
| 1293 |           s/.*/./; q'`
 | 
|---|
| 1294 |   srcdir=$ac_confdir
 | 
|---|
| 1295 |   if test ! -r "$srcdir/$ac_unique_file"; then
 | 
|---|
| 1296 |     srcdir=..
 | 
|---|
| 1297 |   fi
 | 
|---|
| 1298 | else
 | 
|---|
| 1299 |   ac_srcdir_defaulted=no
 | 
|---|
| 1300 | fi
 | 
|---|
| 1301 | if test ! -r "$srcdir/$ac_unique_file"; then
 | 
|---|
| 1302 |   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 | 
|---|
| 1303 |   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 | 
|---|
| 1304 | fi
 | 
|---|
| 1305 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 | 
|---|
| 1306 | ac_abs_confdir=`(
 | 
|---|
| 1307 |         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 | 
|---|
| 1308 |         pwd)`
 | 
|---|
| 1309 | # When building in place, set srcdir=.
 | 
|---|
| 1310 | if test "$ac_abs_confdir" = "$ac_pwd"; then
 | 
|---|
| 1311 |   srcdir=.
 | 
|---|
| 1312 | fi
 | 
|---|
| 1313 | # Remove unnecessary trailing slashes from srcdir.
 | 
|---|
| 1314 | # Double slashes in file names in object file debugging info
 | 
|---|
| 1315 | # mess up M-x gdb in Emacs.
 | 
|---|
| 1316 | case $srcdir in
 | 
|---|
| 1317 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 | 
|---|
| 1318 | esac
 | 
|---|
| 1319 | for ac_var in $ac_precious_vars; do
 | 
|---|
| 1320 |   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 | 
|---|
| 1321 |   eval ac_env_${ac_var}_value=\$${ac_var}
 | 
|---|
| 1322 |   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 | 
|---|
| 1323 |   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 | 
|---|
| 1324 | done
 | 
|---|
| 1325 | 
 | 
|---|
| 1326 | #
 | 
|---|
| 1327 | # Report the --help message.
 | 
|---|
| 1328 | #
 | 
|---|
| 1329 | if test "$ac_init_help" = "long"; then
 | 
|---|
| 1330 |   # Omit some internal or obsolete options to make the list less imposing.
 | 
|---|
| 1331 |   # This message is too long to be a string in the A/UX 3.1 sh.
 | 
|---|
| 1332 |   cat <<_ACEOF
 | 
|---|
| 1333 | \`configure' configures cfa-cc 1.0.0.0 to adapt to many kinds of systems.
 | 
|---|
| 1334 | 
 | 
|---|
| 1335 | Usage: $0 [OPTION]... [VAR=VALUE]...
 | 
|---|
| 1336 | 
 | 
|---|
| 1337 | To assign environment variables (e.g., CC, CFLAGS...), specify them as
 | 
|---|
| 1338 | VAR=VALUE.  See below for descriptions of some of the useful variables.
 | 
|---|
| 1339 | 
 | 
|---|
| 1340 | Defaults for the options are specified in brackets.
 | 
|---|
| 1341 | 
 | 
|---|
| 1342 | Configuration:
 | 
|---|
| 1343 |   -h, --help              display this help and exit
 | 
|---|
| 1344 |       --help=short        display options specific to this package
 | 
|---|
| 1345 |       --help=recursive    display the short help of all the included packages
 | 
|---|
| 1346 |   -V, --version           display version information and exit
 | 
|---|
| 1347 |   -q, --quiet, --silent   do not print \`checking ...' messages
 | 
|---|
| 1348 |       --cache-file=FILE   cache test results in FILE [disabled]
 | 
|---|
| 1349 |   -C, --config-cache      alias for \`--cache-file=config.cache'
 | 
|---|
| 1350 |   -n, --no-create         do not create output files
 | 
|---|
| 1351 |       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 | 
|---|
| 1352 | 
 | 
|---|
| 1353 | Installation directories:
 | 
|---|
| 1354 |   --prefix=PREFIX         install architecture-independent files in PREFIX
 | 
|---|
| 1355 |                           [$ac_default_prefix]
 | 
|---|
| 1356 |   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 | 
|---|
| 1357 |                           [PREFIX]
 | 
|---|
| 1358 | 
 | 
|---|
| 1359 | By default, \`make install' will install all the files in
 | 
|---|
| 1360 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 | 
|---|
| 1361 | an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 | 
|---|
| 1362 | for instance \`--prefix=\$HOME'.
 | 
|---|
| 1363 | 
 | 
|---|
| 1364 | For better control, use the options below.
 | 
|---|
| 1365 | 
 | 
|---|
| 1366 | Fine tuning of the installation directories:
 | 
|---|
| 1367 |   --bindir=DIR            user executables [EPREFIX/bin]
 | 
|---|
| 1368 |   --sbindir=DIR           system admin executables [EPREFIX/sbin]
 | 
|---|
| 1369 |   --libexecdir=DIR        program executables [EPREFIX/libexec]
 | 
|---|
| 1370 |   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 | 
|---|
| 1371 |   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 | 
|---|
| 1372 |   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 | 
|---|
| 1373 |   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
 | 
|---|
| 1374 |   --libdir=DIR            object code libraries [EPREFIX/lib]
 | 
|---|
| 1375 |   --includedir=DIR        C header files [PREFIX/include]
 | 
|---|
| 1376 |   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 | 
|---|
| 1377 |   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 | 
|---|
| 1378 |   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 | 
|---|
| 1379 |   --infodir=DIR           info documentation [DATAROOTDIR/info]
 | 
|---|
| 1380 |   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 | 
|---|
| 1381 |   --mandir=DIR            man documentation [DATAROOTDIR/man]
 | 
|---|
| 1382 |   --docdir=DIR            documentation root [DATAROOTDIR/doc/cfa-cc]
 | 
|---|
| 1383 |   --htmldir=DIR           html documentation [DOCDIR]
 | 
|---|
| 1384 |   --dvidir=DIR            dvi documentation [DOCDIR]
 | 
|---|
| 1385 |   --pdfdir=DIR            pdf documentation [DOCDIR]
 | 
|---|
| 1386 |   --psdir=DIR             ps documentation [DOCDIR]
 | 
|---|
| 1387 | _ACEOF
 | 
|---|
| 1388 | 
 | 
|---|
| 1389 |   cat <<\_ACEOF
 | 
|---|
| 1390 | 
 | 
|---|
| 1391 | Program names:
 | 
|---|
| 1392 |   --program-prefix=PREFIX            prepend PREFIX to installed program names
 | 
|---|
| 1393 |   --program-suffix=SUFFIX            append SUFFIX to installed program names
 | 
|---|
| 1394 |   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 | 
|---|
| 1395 | 
 | 
|---|
| 1396 | System types:
 | 
|---|
| 1397 |   --build=BUILD     configure for building on BUILD [guessed]
 | 
|---|
| 1398 |   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 | 
|---|
| 1399 | _ACEOF
 | 
|---|
| 1400 | fi
 | 
|---|
| 1401 | 
 | 
|---|
| 1402 | if test -n "$ac_init_help"; then
 | 
|---|
| 1403 |   case $ac_init_help in
 | 
|---|
| 1404 |      short | recursive ) echo "Configuration of cfa-cc 1.0.0.0:";;
 | 
|---|
| 1405 |    esac
 | 
|---|
| 1406 |   cat <<\_ACEOF
 | 
|---|
| 1407 | 
 | 
|---|
| 1408 | Optional Features:
 | 
|---|
| 1409 |   --disable-option-checking  ignore unrecognized --enable/--with options
 | 
|---|
| 1410 |   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 | 
|---|
| 1411 |   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 | 
|---|
| 1412 |   --enable-silent-rules   less verbose build output (undo: "make V=1")
 | 
|---|
| 1413 |   --disable-silent-rules  verbose build output (undo: "make V=0")
 | 
|---|
| 1414 |   --enable-dependency-tracking
 | 
|---|
| 1415 |                           do not reject slow dependency extractors
 | 
|---|
| 1416 |   --disable-dependency-tracking
 | 
|---|
| 1417 |                           speeds up one-time build
 | 
|---|
| 1418 | 
 | 
|---|
| 1419 | Optional Packages:
 | 
|---|
| 1420 |   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 | 
|---|
| 1421 |   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 | 
|---|
| 1422 |   --with-cfa-name=NAME     NAME too which cfa will be installed
 | 
|---|
| 1423 |   --with-backend-compiler=PROGRAM     PROGRAM that performs the final code compilation (must be gcc-compatible)
 | 
|---|
| 1424 |   --with-target-hosts=HOSTS     HOSTS comma seperated list of hosts to build for, format ARCH:debug|nodebug|nolib
 | 
|---|
| 1425 | 
 | 
|---|
| 1426 | Some influential environment variables:
 | 
|---|
| 1427 |   CXX         C++ compiler command
 | 
|---|
| 1428 |   CXXFLAGS    C++ compiler flags
 | 
|---|
| 1429 |   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 | 
|---|
| 1430 |               nonstandard directory <lib dir>
 | 
|---|
| 1431 |   LIBS        libraries to pass to the linker, e.g. -l<library>
 | 
|---|
| 1432 |   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 | 
|---|
| 1433 |               you have headers in a nonstandard directory <include dir>
 | 
|---|
| 1434 |   CC          C compiler command
 | 
|---|
| 1435 |   CFLAGS      C compiler flags
 | 
|---|
| 1436 |   CCAS        assembler compiler command (defaults to CC)
 | 
|---|
| 1437 |   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
 | 
|---|
| 1438 |   YACC        The `Yet Another Compiler Compiler' implementation to use.
 | 
|---|
| 1439 |               Defaults to the first program found out of: `bison -y', `byacc',
 | 
|---|
| 1440 |               `yacc'.
 | 
|---|
| 1441 |   YFLAGS      The list of arguments that will be passed by default to $YACC.
 | 
|---|
| 1442 |               This script will default YFLAGS to the empty string to avoid a
 | 
|---|
| 1443 |               default value of `-d' given by some make applications.
 | 
|---|
| 1444 |   CPP         C preprocessor
 | 
|---|
| 1445 | 
 | 
|---|
| 1446 | Use these variables to override the choices made by `configure' or to help
 | 
|---|
| 1447 | it to find libraries and programs with nonstandard names/locations.
 | 
|---|
| 1448 | 
 | 
|---|
| 1449 | Report bugs to <cforall@plg.uwaterloo.ca>.
 | 
|---|
| 1450 | _ACEOF
 | 
|---|
| 1451 | ac_status=$?
 | 
|---|
| 1452 | fi
 | 
|---|
| 1453 | 
 | 
|---|
| 1454 | if test "$ac_init_help" = "recursive"; then
 | 
|---|
| 1455 |   # If there are subdirs, report their specific --help.
 | 
|---|
| 1456 |   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 | 
|---|
| 1457 |     test -d "$ac_dir" ||
 | 
|---|
| 1458 |       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 | 
|---|
| 1459 |       continue
 | 
|---|
| 1460 |     ac_builddir=.
 | 
|---|
| 1461 | 
 | 
|---|
| 1462 | case "$ac_dir" in
 | 
|---|
| 1463 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 | 
|---|
| 1464 | *)
 | 
|---|
| 1465 |   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 | 
|---|
| 1466 |   # A ".." for each directory in $ac_dir_suffix.
 | 
|---|
| 1467 |   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 | 
|---|
| 1468 |   case $ac_top_builddir_sub in
 | 
|---|
| 1469 |   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 | 
|---|
| 1470 |   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 | 
|---|
| 1471 |   esac ;;
 | 
|---|
| 1472 | esac
 | 
|---|
| 1473 | ac_abs_top_builddir=$ac_pwd
 | 
|---|
| 1474 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
 | 
|---|
| 1475 | # for backward compatibility:
 | 
|---|
| 1476 | ac_top_builddir=$ac_top_build_prefix
 | 
|---|
| 1477 | 
 | 
|---|
| 1478 | case $srcdir in
 | 
|---|
| 1479 |   .)  # We are building in place.
 | 
|---|
| 1480 |     ac_srcdir=.
 | 
|---|
| 1481 |     ac_top_srcdir=$ac_top_builddir_sub
 | 
|---|
| 1482 |     ac_abs_top_srcdir=$ac_pwd ;;
 | 
|---|
| 1483 |   [\\/]* | ?:[\\/]* )  # Absolute name.
 | 
|---|
| 1484 |     ac_srcdir=$srcdir$ac_dir_suffix;
 | 
|---|
| 1485 |     ac_top_srcdir=$srcdir
 | 
|---|
| 1486 |     ac_abs_top_srcdir=$srcdir ;;
 | 
|---|
| 1487 |   *) # Relative name.
 | 
|---|
| 1488 |     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 | 
|---|
| 1489 |     ac_top_srcdir=$ac_top_build_prefix$srcdir
 | 
|---|
| 1490 |     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 | 
|---|
| 1491 | esac
 | 
|---|
| 1492 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 | 
|---|
| 1493 | 
 | 
|---|
| 1494 |     cd "$ac_dir" || { ac_status=$?; continue; }
 | 
|---|
| 1495 |     # Check for guested configure.
 | 
|---|
| 1496 |     if test -f "$ac_srcdir/configure.gnu"; then
 | 
|---|
| 1497 |       echo &&
 | 
|---|
| 1498 |       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 | 
|---|
| 1499 |     elif test -f "$ac_srcdir/configure"; then
 | 
|---|
| 1500 |       echo &&
 | 
|---|
| 1501 |       $SHELL "$ac_srcdir/configure" --help=recursive
 | 
|---|
| 1502 |     else
 | 
|---|
| 1503 |       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 | 
|---|
| 1504 |     fi || ac_status=$?
 | 
|---|
| 1505 |     cd "$ac_pwd" || { ac_status=$?; break; }
 | 
|---|
| 1506 |   done
 | 
|---|
| 1507 | fi
 | 
|---|
| 1508 | 
 | 
|---|
| 1509 | test -n "$ac_init_help" && exit $ac_status
 | 
|---|
| 1510 | if $ac_init_version; then
 | 
|---|
| 1511 |   cat <<\_ACEOF
 | 
|---|
| 1512 | cfa-cc configure 1.0.0.0
 | 
|---|
| 1513 | generated by GNU Autoconf 2.69
 | 
|---|
| 1514 | 
 | 
|---|
| 1515 | Copyright (C) 2012 Free Software Foundation, Inc.
 | 
|---|
| 1516 | This configure script is free software; the Free Software Foundation
 | 
|---|
| 1517 | gives unlimited permission to copy, distribute and modify it.
 | 
|---|
| 1518 | _ACEOF
 | 
|---|
| 1519 |   exit
 | 
|---|
| 1520 | fi
 | 
|---|
| 1521 | 
 | 
|---|
| 1522 | ## ------------------------ ##
 | 
|---|
| 1523 | ## Autoconf initialization. ##
 | 
|---|
| 1524 | ## ------------------------ ##
 | 
|---|
| 1525 | 
 | 
|---|
| 1526 | # ac_fn_cxx_try_compile LINENO
 | 
|---|
| 1527 | # ----------------------------
 | 
|---|
| 1528 | # Try to compile conftest.$ac_ext, and return whether this succeeded.
 | 
|---|
| 1529 | ac_fn_cxx_try_compile ()
 | 
|---|
| 1530 | {
 | 
|---|
| 1531 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1532 |   rm -f conftest.$ac_objext
 | 
|---|
| 1533 |   if { { ac_try="$ac_compile"
 | 
|---|
| 1534 | case "(($ac_try" in
 | 
|---|
| 1535 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 1536 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 1537 | esac
 | 
|---|
| 1538 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 1539 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 1540 |   (eval "$ac_compile") 2>conftest.err
 | 
|---|
| 1541 |   ac_status=$?
 | 
|---|
| 1542 |   if test -s conftest.err; then
 | 
|---|
| 1543 |     grep -v '^ *+' conftest.err >conftest.er1
 | 
|---|
| 1544 |     cat conftest.er1 >&5
 | 
|---|
| 1545 |     mv -f conftest.er1 conftest.err
 | 
|---|
| 1546 |   fi
 | 
|---|
| 1547 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 1548 |   test $ac_status = 0; } && {
 | 
|---|
| 1549 |          test -z "$ac_cxx_werror_flag" ||
 | 
|---|
| 1550 |          test ! -s conftest.err
 | 
|---|
| 1551 |        } && test -s conftest.$ac_objext; then :
 | 
|---|
| 1552 |   ac_retval=0
 | 
|---|
| 1553 | else
 | 
|---|
| 1554 |   $as_echo "$as_me: failed program was:" >&5
 | 
|---|
| 1555 | sed 's/^/| /' conftest.$ac_ext >&5
 | 
|---|
| 1556 | 
 | 
|---|
| 1557 |         ac_retval=1
 | 
|---|
| 1558 | fi
 | 
|---|
| 1559 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1560 |   as_fn_set_status $ac_retval
 | 
|---|
| 1561 | 
 | 
|---|
| 1562 | } # ac_fn_cxx_try_compile
 | 
|---|
| 1563 | 
 | 
|---|
| 1564 | # ac_fn_c_try_compile LINENO
 | 
|---|
| 1565 | # --------------------------
 | 
|---|
| 1566 | # Try to compile conftest.$ac_ext, and return whether this succeeded.
 | 
|---|
| 1567 | ac_fn_c_try_compile ()
 | 
|---|
| 1568 | {
 | 
|---|
| 1569 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1570 |   rm -f conftest.$ac_objext
 | 
|---|
| 1571 |   if { { ac_try="$ac_compile"
 | 
|---|
| 1572 | case "(($ac_try" in
 | 
|---|
| 1573 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 1574 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 1575 | esac
 | 
|---|
| 1576 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 1577 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 1578 |   (eval "$ac_compile") 2>conftest.err
 | 
|---|
| 1579 |   ac_status=$?
 | 
|---|
| 1580 |   if test -s conftest.err; then
 | 
|---|
| 1581 |     grep -v '^ *+' conftest.err >conftest.er1
 | 
|---|
| 1582 |     cat conftest.er1 >&5
 | 
|---|
| 1583 |     mv -f conftest.er1 conftest.err
 | 
|---|
| 1584 |   fi
 | 
|---|
| 1585 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 1586 |   test $ac_status = 0; } && {
 | 
|---|
| 1587 |          test -z "$ac_c_werror_flag" ||
 | 
|---|
| 1588 |          test ! -s conftest.err
 | 
|---|
| 1589 |        } && test -s conftest.$ac_objext; then :
 | 
|---|
| 1590 |   ac_retval=0
 | 
|---|
| 1591 | else
 | 
|---|
| 1592 |   $as_echo "$as_me: failed program was:" >&5
 | 
|---|
| 1593 | sed 's/^/| /' conftest.$ac_ext >&5
 | 
|---|
| 1594 | 
 | 
|---|
| 1595 |         ac_retval=1
 | 
|---|
| 1596 | fi
 | 
|---|
| 1597 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1598 |   as_fn_set_status $ac_retval
 | 
|---|
| 1599 | 
 | 
|---|
| 1600 | } # ac_fn_c_try_compile
 | 
|---|
| 1601 | 
 | 
|---|
| 1602 | # ac_fn_c_try_link LINENO
 | 
|---|
| 1603 | # -----------------------
 | 
|---|
| 1604 | # Try to link conftest.$ac_ext, and return whether this succeeded.
 | 
|---|
| 1605 | ac_fn_c_try_link ()
 | 
|---|
| 1606 | {
 | 
|---|
| 1607 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1608 |   rm -f conftest.$ac_objext conftest$ac_exeext
 | 
|---|
| 1609 |   if { { ac_try="$ac_link"
 | 
|---|
| 1610 | case "(($ac_try" in
 | 
|---|
| 1611 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 1612 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 1613 | esac
 | 
|---|
| 1614 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 1615 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 1616 |   (eval "$ac_link") 2>conftest.err
 | 
|---|
| 1617 |   ac_status=$?
 | 
|---|
| 1618 |   if test -s conftest.err; then
 | 
|---|
| 1619 |     grep -v '^ *+' conftest.err >conftest.er1
 | 
|---|
| 1620 |     cat conftest.er1 >&5
 | 
|---|
| 1621 |     mv -f conftest.er1 conftest.err
 | 
|---|
| 1622 |   fi
 | 
|---|
| 1623 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 1624 |   test $ac_status = 0; } && {
 | 
|---|
| 1625 |          test -z "$ac_c_werror_flag" ||
 | 
|---|
| 1626 |          test ! -s conftest.err
 | 
|---|
| 1627 |        } && test -s conftest$ac_exeext && {
 | 
|---|
| 1628 |          test "$cross_compiling" = yes ||
 | 
|---|
| 1629 |          test -x conftest$ac_exeext
 | 
|---|
| 1630 |        }; then :
 | 
|---|
| 1631 |   ac_retval=0
 | 
|---|
| 1632 | else
 | 
|---|
| 1633 |   $as_echo "$as_me: failed program was:" >&5
 | 
|---|
| 1634 | sed 's/^/| /' conftest.$ac_ext >&5
 | 
|---|
| 1635 | 
 | 
|---|
| 1636 |         ac_retval=1
 | 
|---|
| 1637 | fi
 | 
|---|
| 1638 |   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 | 
|---|
| 1639 |   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 | 
|---|
| 1640 |   # interfere with the next link command; also delete a directory that is
 | 
|---|
| 1641 |   # left behind by Apple's compiler.  We do this before executing the actions.
 | 
|---|
| 1642 |   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 | 
|---|
| 1643 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1644 |   as_fn_set_status $ac_retval
 | 
|---|
| 1645 | 
 | 
|---|
| 1646 | } # ac_fn_c_try_link
 | 
|---|
| 1647 | 
 | 
|---|
| 1648 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 | 
|---|
| 1649 | # -------------------------------------------
 | 
|---|
| 1650 | # Tests whether TYPE exists after having included INCLUDES, setting cache
 | 
|---|
| 1651 | # variable VAR accordingly.
 | 
|---|
| 1652 | ac_fn_c_check_type ()
 | 
|---|
| 1653 | {
 | 
|---|
| 1654 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1655 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 | 
|---|
| 1656 | $as_echo_n "checking for $2... " >&6; }
 | 
|---|
| 1657 | if eval \${$3+:} false; then :
 | 
|---|
| 1658 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 1659 | else
 | 
|---|
| 1660 |   eval "$3=no"
 | 
|---|
| 1661 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 1662 | /* end confdefs.h.  */
 | 
|---|
| 1663 | $4
 | 
|---|
| 1664 | int
 | 
|---|
| 1665 | main ()
 | 
|---|
| 1666 | {
 | 
|---|
| 1667 | if (sizeof ($2))
 | 
|---|
| 1668 |          return 0;
 | 
|---|
| 1669 |   ;
 | 
|---|
| 1670 |   return 0;
 | 
|---|
| 1671 | }
 | 
|---|
| 1672 | _ACEOF
 | 
|---|
| 1673 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 1674 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 1675 | /* end confdefs.h.  */
 | 
|---|
| 1676 | $4
 | 
|---|
| 1677 | int
 | 
|---|
| 1678 | main ()
 | 
|---|
| 1679 | {
 | 
|---|
| 1680 | if (sizeof (($2)))
 | 
|---|
| 1681 |             return 0;
 | 
|---|
| 1682 |   ;
 | 
|---|
| 1683 |   return 0;
 | 
|---|
| 1684 | }
 | 
|---|
| 1685 | _ACEOF
 | 
|---|
| 1686 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 1687 | 
 | 
|---|
| 1688 | else
 | 
|---|
| 1689 |   eval "$3=yes"
 | 
|---|
| 1690 | fi
 | 
|---|
| 1691 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 1692 | fi
 | 
|---|
| 1693 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 1694 | fi
 | 
|---|
| 1695 | eval ac_res=\$$3
 | 
|---|
| 1696 |                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 | 
|---|
| 1697 | $as_echo "$ac_res" >&6; }
 | 
|---|
| 1698 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1699 | 
 | 
|---|
| 1700 | } # ac_fn_c_check_type
 | 
|---|
| 1701 | 
 | 
|---|
| 1702 | # ac_fn_c_try_cpp LINENO
 | 
|---|
| 1703 | # ----------------------
 | 
|---|
| 1704 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 | 
|---|
| 1705 | ac_fn_c_try_cpp ()
 | 
|---|
| 1706 | {
 | 
|---|
| 1707 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1708 |   if { { ac_try="$ac_cpp conftest.$ac_ext"
 | 
|---|
| 1709 | case "(($ac_try" in
 | 
|---|
| 1710 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 1711 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 1712 | esac
 | 
|---|
| 1713 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 1714 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 1715 |   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 | 
|---|
| 1716 |   ac_status=$?
 | 
|---|
| 1717 |   if test -s conftest.err; then
 | 
|---|
| 1718 |     grep -v '^ *+' conftest.err >conftest.er1
 | 
|---|
| 1719 |     cat conftest.er1 >&5
 | 
|---|
| 1720 |     mv -f conftest.er1 conftest.err
 | 
|---|
| 1721 |   fi
 | 
|---|
| 1722 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 1723 |   test $ac_status = 0; } > conftest.i && {
 | 
|---|
| 1724 |          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 | 
|---|
| 1725 |          test ! -s conftest.err
 | 
|---|
| 1726 |        }; then :
 | 
|---|
| 1727 |   ac_retval=0
 | 
|---|
| 1728 | else
 | 
|---|
| 1729 |   $as_echo "$as_me: failed program was:" >&5
 | 
|---|
| 1730 | sed 's/^/| /' conftest.$ac_ext >&5
 | 
|---|
| 1731 | 
 | 
|---|
| 1732 |     ac_retval=1
 | 
|---|
| 1733 | fi
 | 
|---|
| 1734 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1735 |   as_fn_set_status $ac_retval
 | 
|---|
| 1736 | 
 | 
|---|
| 1737 | } # ac_fn_c_try_cpp
 | 
|---|
| 1738 | 
 | 
|---|
| 1739 | # ac_fn_c_try_run LINENO
 | 
|---|
| 1740 | # ----------------------
 | 
|---|
| 1741 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 | 
|---|
| 1742 | # that executables *can* be run.
 | 
|---|
| 1743 | ac_fn_c_try_run ()
 | 
|---|
| 1744 | {
 | 
|---|
| 1745 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1746 |   if { { ac_try="$ac_link"
 | 
|---|
| 1747 | case "(($ac_try" in
 | 
|---|
| 1748 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 1749 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 1750 | esac
 | 
|---|
| 1751 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 1752 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 1753 |   (eval "$ac_link") 2>&5
 | 
|---|
| 1754 |   ac_status=$?
 | 
|---|
| 1755 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 1756 |   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 | 
|---|
| 1757 |   { { case "(($ac_try" in
 | 
|---|
| 1758 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 1759 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 1760 | esac
 | 
|---|
| 1761 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 1762 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 1763 |   (eval "$ac_try") 2>&5
 | 
|---|
| 1764 |   ac_status=$?
 | 
|---|
| 1765 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 1766 |   test $ac_status = 0; }; }; then :
 | 
|---|
| 1767 |   ac_retval=0
 | 
|---|
| 1768 | else
 | 
|---|
| 1769 |   $as_echo "$as_me: program exited with status $ac_status" >&5
 | 
|---|
| 1770 |        $as_echo "$as_me: failed program was:" >&5
 | 
|---|
| 1771 | sed 's/^/| /' conftest.$ac_ext >&5
 | 
|---|
| 1772 | 
 | 
|---|
| 1773 |        ac_retval=$ac_status
 | 
|---|
| 1774 | fi
 | 
|---|
| 1775 |   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 | 
|---|
| 1776 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1777 |   as_fn_set_status $ac_retval
 | 
|---|
| 1778 | 
 | 
|---|
| 1779 | } # ac_fn_c_try_run
 | 
|---|
| 1780 | 
 | 
|---|
| 1781 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 | 
|---|
| 1782 | # -------------------------------------------------------
 | 
|---|
| 1783 | # Tests whether HEADER exists and can be compiled using the include files in
 | 
|---|
| 1784 | # INCLUDES, setting the cache variable VAR accordingly.
 | 
|---|
| 1785 | ac_fn_c_check_header_compile ()
 | 
|---|
| 1786 | {
 | 
|---|
| 1787 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1788 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 | 
|---|
| 1789 | $as_echo_n "checking for $2... " >&6; }
 | 
|---|
| 1790 | if eval \${$3+:} false; then :
 | 
|---|
| 1791 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 1792 | else
 | 
|---|
| 1793 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 1794 | /* end confdefs.h.  */
 | 
|---|
| 1795 | $4
 | 
|---|
| 1796 | #include <$2>
 | 
|---|
| 1797 | _ACEOF
 | 
|---|
| 1798 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 1799 |   eval "$3=yes"
 | 
|---|
| 1800 | else
 | 
|---|
| 1801 |   eval "$3=no"
 | 
|---|
| 1802 | fi
 | 
|---|
| 1803 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 1804 | fi
 | 
|---|
| 1805 | eval ac_res=\$$3
 | 
|---|
| 1806 |                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 | 
|---|
| 1807 | $as_echo "$ac_res" >&6; }
 | 
|---|
| 1808 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1809 | 
 | 
|---|
| 1810 | } # ac_fn_c_check_header_compile
 | 
|---|
| 1811 | 
 | 
|---|
| 1812 | # ac_fn_c_check_func LINENO FUNC VAR
 | 
|---|
| 1813 | # ----------------------------------
 | 
|---|
| 1814 | # Tests whether FUNC exists, setting the cache variable VAR accordingly
 | 
|---|
| 1815 | ac_fn_c_check_func ()
 | 
|---|
| 1816 | {
 | 
|---|
| 1817 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1818 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 | 
|---|
| 1819 | $as_echo_n "checking for $2... " >&6; }
 | 
|---|
| 1820 | if eval \${$3+:} false; then :
 | 
|---|
| 1821 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 1822 | else
 | 
|---|
| 1823 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 1824 | /* end confdefs.h.  */
 | 
|---|
| 1825 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 | 
|---|
| 1826 |    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 | 
|---|
| 1827 | #define $2 innocuous_$2
 | 
|---|
| 1828 | 
 | 
|---|
| 1829 | /* System header to define __stub macros and hopefully few prototypes,
 | 
|---|
| 1830 |     which can conflict with char $2 (); below.
 | 
|---|
| 1831 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 | 
|---|
| 1832 |     <limits.h> exists even on freestanding compilers.  */
 | 
|---|
| 1833 | 
 | 
|---|
| 1834 | #ifdef __STDC__
 | 
|---|
| 1835 | # include <limits.h>
 | 
|---|
| 1836 | #else
 | 
|---|
| 1837 | # include <assert.h>
 | 
|---|
| 1838 | #endif
 | 
|---|
| 1839 | 
 | 
|---|
| 1840 | #undef $2
 | 
|---|
| 1841 | 
 | 
|---|
| 1842 | /* Override any GCC internal prototype to avoid an error.
 | 
|---|
| 1843 |    Use char because int might match the return type of a GCC
 | 
|---|
| 1844 |    builtin and then its argument prototype would still apply.  */
 | 
|---|
| 1845 | #ifdef __cplusplus
 | 
|---|
| 1846 | extern "C"
 | 
|---|
| 1847 | #endif
 | 
|---|
| 1848 | char $2 ();
 | 
|---|
| 1849 | /* The GNU C library defines this for functions which it implements
 | 
|---|
| 1850 |     to always fail with ENOSYS.  Some functions are actually named
 | 
|---|
| 1851 |     something starting with __ and the normal name is an alias.  */
 | 
|---|
| 1852 | #if defined __stub_$2 || defined __stub___$2
 | 
|---|
| 1853 | choke me
 | 
|---|
| 1854 | #endif
 | 
|---|
| 1855 | 
 | 
|---|
| 1856 | int
 | 
|---|
| 1857 | main ()
 | 
|---|
| 1858 | {
 | 
|---|
| 1859 | return $2 ();
 | 
|---|
| 1860 |   ;
 | 
|---|
| 1861 |   return 0;
 | 
|---|
| 1862 | }
 | 
|---|
| 1863 | _ACEOF
 | 
|---|
| 1864 | if ac_fn_c_try_link "$LINENO"; then :
 | 
|---|
| 1865 |   eval "$3=yes"
 | 
|---|
| 1866 | else
 | 
|---|
| 1867 |   eval "$3=no"
 | 
|---|
| 1868 | fi
 | 
|---|
| 1869 | rm -f core conftest.err conftest.$ac_objext \
 | 
|---|
| 1870 |     conftest$ac_exeext conftest.$ac_ext
 | 
|---|
| 1871 | fi
 | 
|---|
| 1872 | eval ac_res=\$$3
 | 
|---|
| 1873 |                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 | 
|---|
| 1874 | $as_echo "$ac_res" >&6; }
 | 
|---|
| 1875 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1876 | 
 | 
|---|
| 1877 | } # ac_fn_c_check_func
 | 
|---|
| 1878 | 
 | 
|---|
| 1879 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 | 
|---|
| 1880 | # -------------------------------------------------------
 | 
|---|
| 1881 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using
 | 
|---|
| 1882 | # the include files in INCLUDES and setting the cache variable VAR
 | 
|---|
| 1883 | # accordingly.
 | 
|---|
| 1884 | ac_fn_c_check_header_mongrel ()
 | 
|---|
| 1885 | {
 | 
|---|
| 1886 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1887 |   if eval \${$3+:} false; then :
 | 
|---|
| 1888 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 | 
|---|
| 1889 | $as_echo_n "checking for $2... " >&6; }
 | 
|---|
| 1890 | if eval \${$3+:} false; then :
 | 
|---|
| 1891 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 1892 | fi
 | 
|---|
| 1893 | eval ac_res=\$$3
 | 
|---|
| 1894 |                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 | 
|---|
| 1895 | $as_echo "$ac_res" >&6; }
 | 
|---|
| 1896 | else
 | 
|---|
| 1897 |   # Is the header compilable?
 | 
|---|
| 1898 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 | 
|---|
| 1899 | $as_echo_n "checking $2 usability... " >&6; }
 | 
|---|
| 1900 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 1901 | /* end confdefs.h.  */
 | 
|---|
| 1902 | $4
 | 
|---|
| 1903 | #include <$2>
 | 
|---|
| 1904 | _ACEOF
 | 
|---|
| 1905 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 1906 |   ac_header_compiler=yes
 | 
|---|
| 1907 | else
 | 
|---|
| 1908 |   ac_header_compiler=no
 | 
|---|
| 1909 | fi
 | 
|---|
| 1910 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 1911 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 | 
|---|
| 1912 | $as_echo "$ac_header_compiler" >&6; }
 | 
|---|
| 1913 | 
 | 
|---|
| 1914 | # Is the header present?
 | 
|---|
| 1915 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 | 
|---|
| 1916 | $as_echo_n "checking $2 presence... " >&6; }
 | 
|---|
| 1917 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 1918 | /* end confdefs.h.  */
 | 
|---|
| 1919 | #include <$2>
 | 
|---|
| 1920 | _ACEOF
 | 
|---|
| 1921 | if ac_fn_c_try_cpp "$LINENO"; then :
 | 
|---|
| 1922 |   ac_header_preproc=yes
 | 
|---|
| 1923 | else
 | 
|---|
| 1924 |   ac_header_preproc=no
 | 
|---|
| 1925 | fi
 | 
|---|
| 1926 | rm -f conftest.err conftest.i conftest.$ac_ext
 | 
|---|
| 1927 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 | 
|---|
| 1928 | $as_echo "$ac_header_preproc" >&6; }
 | 
|---|
| 1929 | 
 | 
|---|
| 1930 | # So?  What about this header?
 | 
|---|
| 1931 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 | 
|---|
| 1932 |   yes:no: )
 | 
|---|
| 1933 |     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 | 
|---|
| 1934 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 | 
|---|
| 1935 |     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 | 
|---|
| 1936 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 | 
|---|
| 1937 |     ;;
 | 
|---|
| 1938 |   no:yes:* )
 | 
|---|
| 1939 |     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 | 
|---|
| 1940 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 | 
|---|
| 1941 |     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 | 
|---|
| 1942 | $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 | 
|---|
| 1943 |     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 | 
|---|
| 1944 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 | 
|---|
| 1945 |     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 | 
|---|
| 1946 | $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 | 
|---|
| 1947 |     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 | 
|---|
| 1948 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 | 
|---|
| 1949 | ( $as_echo "## --------------------------------------- ##
 | 
|---|
| 1950 | ## Report this to cforall@plg.uwaterloo.ca ##
 | 
|---|
| 1951 | ## --------------------------------------- ##"
 | 
|---|
| 1952 |      ) | sed "s/^/$as_me: WARNING:     /" >&2
 | 
|---|
| 1953 |     ;;
 | 
|---|
| 1954 | esac
 | 
|---|
| 1955 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 | 
|---|
| 1956 | $as_echo_n "checking for $2... " >&6; }
 | 
|---|
| 1957 | if eval \${$3+:} false; then :
 | 
|---|
| 1958 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 1959 | else
 | 
|---|
| 1960 |   eval "$3=\$ac_header_compiler"
 | 
|---|
| 1961 | fi
 | 
|---|
| 1962 | eval ac_res=\$$3
 | 
|---|
| 1963 |                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 | 
|---|
| 1964 | $as_echo "$ac_res" >&6; }
 | 
|---|
| 1965 | fi
 | 
|---|
| 1966 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1967 | 
 | 
|---|
| 1968 | } # ac_fn_c_check_header_mongrel
 | 
|---|
| 1969 | 
 | 
|---|
| 1970 | # ac_fn_c_find_intX_t LINENO BITS VAR
 | 
|---|
| 1971 | # -----------------------------------
 | 
|---|
| 1972 | # Finds a signed integer type with width BITS, setting cache variable VAR
 | 
|---|
| 1973 | # accordingly.
 | 
|---|
| 1974 | ac_fn_c_find_intX_t ()
 | 
|---|
| 1975 | {
 | 
|---|
| 1976 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1977 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
 | 
|---|
| 1978 | $as_echo_n "checking for int$2_t... " >&6; }
 | 
|---|
| 1979 | if eval \${$3+:} false; then :
 | 
|---|
| 1980 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 1981 | else
 | 
|---|
| 1982 |   eval "$3=no"
 | 
|---|
| 1983 |      # Order is important - never check a type that is potentially smaller
 | 
|---|
| 1984 |      # than half of the expected target width.
 | 
|---|
| 1985 |      for ac_type in int$2_t 'int' 'long int' \
 | 
|---|
| 1986 |          'long long int' 'short int' 'signed char'; do
 | 
|---|
| 1987 |        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 1988 | /* end confdefs.h.  */
 | 
|---|
| 1989 | $ac_includes_default
 | 
|---|
| 1990 |              enum { N = $2 / 2 - 1 };
 | 
|---|
| 1991 | int
 | 
|---|
| 1992 | main ()
 | 
|---|
| 1993 | {
 | 
|---|
| 1994 | static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
 | 
|---|
| 1995 | test_array [0] = 0;
 | 
|---|
| 1996 | return test_array [0];
 | 
|---|
| 1997 | 
 | 
|---|
| 1998 |   ;
 | 
|---|
| 1999 |   return 0;
 | 
|---|
| 2000 | }
 | 
|---|
| 2001 | _ACEOF
 | 
|---|
| 2002 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 2003 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 2004 | /* end confdefs.h.  */
 | 
|---|
| 2005 | $ac_includes_default
 | 
|---|
| 2006 |                 enum { N = $2 / 2 - 1 };
 | 
|---|
| 2007 | int
 | 
|---|
| 2008 | main ()
 | 
|---|
| 2009 | {
 | 
|---|
| 2010 | static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
 | 
|---|
| 2011 |                  < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
 | 
|---|
| 2012 | test_array [0] = 0;
 | 
|---|
| 2013 | return test_array [0];
 | 
|---|
| 2014 | 
 | 
|---|
| 2015 |   ;
 | 
|---|
| 2016 |   return 0;
 | 
|---|
| 2017 | }
 | 
|---|
| 2018 | _ACEOF
 | 
|---|
| 2019 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 2020 | 
 | 
|---|
| 2021 | else
 | 
|---|
| 2022 |   case $ac_type in #(
 | 
|---|
| 2023 |   int$2_t) :
 | 
|---|
| 2024 |     eval "$3=yes" ;; #(
 | 
|---|
| 2025 |   *) :
 | 
|---|
| 2026 |     eval "$3=\$ac_type" ;;
 | 
|---|
| 2027 | esac
 | 
|---|
| 2028 | fi
 | 
|---|
| 2029 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 2030 | fi
 | 
|---|
| 2031 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 2032 |        if eval test \"x\$"$3"\" = x"no"; then :
 | 
|---|
| 2033 | 
 | 
|---|
| 2034 | else
 | 
|---|
| 2035 |   break
 | 
|---|
| 2036 | fi
 | 
|---|
| 2037 |      done
 | 
|---|
| 2038 | fi
 | 
|---|
| 2039 | eval ac_res=\$$3
 | 
|---|
| 2040 |                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 | 
|---|
| 2041 | $as_echo "$ac_res" >&6; }
 | 
|---|
| 2042 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 2043 | 
 | 
|---|
| 2044 | } # ac_fn_c_find_intX_t
 | 
|---|
| 2045 | 
 | 
|---|
| 2046 | # ac_fn_c_find_uintX_t LINENO BITS VAR
 | 
|---|
| 2047 | # ------------------------------------
 | 
|---|
| 2048 | # Finds an unsigned integer type with width BITS, setting cache variable VAR
 | 
|---|
| 2049 | # accordingly.
 | 
|---|
| 2050 | ac_fn_c_find_uintX_t ()
 | 
|---|
| 2051 | {
 | 
|---|
| 2052 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 2053 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
 | 
|---|
| 2054 | $as_echo_n "checking for uint$2_t... " >&6; }
 | 
|---|
| 2055 | if eval \${$3+:} false; then :
 | 
|---|
| 2056 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 2057 | else
 | 
|---|
| 2058 |   eval "$3=no"
 | 
|---|
| 2059 |      # Order is important - never check a type that is potentially smaller
 | 
|---|
| 2060 |      # than half of the expected target width.
 | 
|---|
| 2061 |      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
 | 
|---|
| 2062 |          'unsigned long long int' 'unsigned short int' 'unsigned char'; do
 | 
|---|
| 2063 |        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 2064 | /* end confdefs.h.  */
 | 
|---|
| 2065 | $ac_includes_default
 | 
|---|
| 2066 | int
 | 
|---|
| 2067 | main ()
 | 
|---|
| 2068 | {
 | 
|---|
| 2069 | static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
 | 
|---|
| 2070 | test_array [0] = 0;
 | 
|---|
| 2071 | return test_array [0];
 | 
|---|
| 2072 | 
 | 
|---|
| 2073 |   ;
 | 
|---|
| 2074 |   return 0;
 | 
|---|
| 2075 | }
 | 
|---|
| 2076 | _ACEOF
 | 
|---|
| 2077 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 2078 |   case $ac_type in #(
 | 
|---|
| 2079 |   uint$2_t) :
 | 
|---|
| 2080 |     eval "$3=yes" ;; #(
 | 
|---|
| 2081 |   *) :
 | 
|---|
| 2082 |     eval "$3=\$ac_type" ;;
 | 
|---|
| 2083 | esac
 | 
|---|
| 2084 | fi
 | 
|---|
| 2085 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 2086 |        if eval test \"x\$"$3"\" = x"no"; then :
 | 
|---|
| 2087 | 
 | 
|---|
| 2088 | else
 | 
|---|
| 2089 |   break
 | 
|---|
| 2090 | fi
 | 
|---|
| 2091 |      done
 | 
|---|
| 2092 | fi
 | 
|---|
| 2093 | eval ac_res=\$$3
 | 
|---|
| 2094 |                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 | 
|---|
| 2095 | $as_echo "$ac_res" >&6; }
 | 
|---|
| 2096 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 2097 | 
 | 
|---|
| 2098 | } # ac_fn_c_find_uintX_t
 | 
|---|
| 2099 | cat >config.log <<_ACEOF
 | 
|---|
| 2100 | This file contains any messages produced by compilers while
 | 
|---|
| 2101 | running configure, to aid debugging if configure makes a mistake.
 | 
|---|
| 2102 | 
 | 
|---|
| 2103 | It was created by cfa-cc $as_me 1.0.0.0, which was
 | 
|---|
| 2104 | generated by GNU Autoconf 2.69.  Invocation command line was
 | 
|---|
| 2105 | 
 | 
|---|
| 2106 |   $ $0 $@
 | 
|---|
| 2107 | 
 | 
|---|
| 2108 | _ACEOF
 | 
|---|
| 2109 | exec 5>>config.log
 | 
|---|
| 2110 | {
 | 
|---|
| 2111 | cat <<_ASUNAME
 | 
|---|
| 2112 | ## --------- ##
 | 
|---|
| 2113 | ## Platform. ##
 | 
|---|
| 2114 | ## --------- ##
 | 
|---|
| 2115 | 
 | 
|---|
| 2116 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 | 
|---|
| 2117 | uname -m = `(uname -m) 2>/dev/null || echo unknown`
 | 
|---|
| 2118 | uname -r = `(uname -r) 2>/dev/null || echo unknown`
 | 
|---|
| 2119 | uname -s = `(uname -s) 2>/dev/null || echo unknown`
 | 
|---|
| 2120 | uname -v = `(uname -v) 2>/dev/null || echo unknown`
 | 
|---|
| 2121 | 
 | 
|---|
| 2122 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 | 
|---|
| 2123 | /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 | 
|---|
| 2124 | 
 | 
|---|
| 2125 | /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 | 
|---|
| 2126 | /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 | 
|---|
| 2127 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 | 
|---|
| 2128 | /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 | 
|---|
| 2129 | /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 | 
|---|
| 2130 | /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 | 
|---|
| 2131 | /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 | 
|---|
| 2132 | 
 | 
|---|
| 2133 | _ASUNAME
 | 
|---|
| 2134 | 
 | 
|---|
| 2135 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 2136 | for as_dir in $PATH
 | 
|---|
| 2137 | do
 | 
|---|
| 2138 |   IFS=$as_save_IFS
 | 
|---|
| 2139 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 2140 |     $as_echo "PATH: $as_dir"
 | 
|---|
| 2141 |   done
 | 
|---|
| 2142 | IFS=$as_save_IFS
 | 
|---|
| 2143 | 
 | 
|---|
| 2144 | } >&5
 | 
|---|
| 2145 | 
 | 
|---|
| 2146 | cat >&5 <<_ACEOF
 | 
|---|
| 2147 | 
 | 
|---|
| 2148 | 
 | 
|---|
| 2149 | ## ----------- ##
 | 
|---|
| 2150 | ## Core tests. ##
 | 
|---|
| 2151 | ## ----------- ##
 | 
|---|
| 2152 | 
 | 
|---|
| 2153 | _ACEOF
 | 
|---|
| 2154 | 
 | 
|---|
| 2155 | 
 | 
|---|
| 2156 | # Keep a trace of the command line.
 | 
|---|
| 2157 | # Strip out --no-create and --no-recursion so they do not pile up.
 | 
|---|
| 2158 | # Strip out --silent because we don't want to record it for future runs.
 | 
|---|
| 2159 | # Also quote any args containing shell meta-characters.
 | 
|---|
| 2160 | # Make two passes to allow for proper duplicate-argument suppression.
 | 
|---|
| 2161 | ac_configure_args=
 | 
|---|
| 2162 | ac_configure_args0=
 | 
|---|
| 2163 | ac_configure_args1=
 | 
|---|
| 2164 | ac_must_keep_next=false
 | 
|---|
| 2165 | for ac_pass in 1 2
 | 
|---|
| 2166 | do
 | 
|---|
| 2167 |   for ac_arg
 | 
|---|
| 2168 |   do
 | 
|---|
| 2169 |     case $ac_arg in
 | 
|---|
| 2170 |     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 | 
|---|
| 2171 |     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 | 
|---|
| 2172 |     | -silent | --silent | --silen | --sile | --sil)
 | 
|---|
| 2173 |       continue ;;
 | 
|---|
| 2174 |     *\'*)
 | 
|---|
| 2175 |       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 | 
|---|
| 2176 |     esac
 | 
|---|
| 2177 |     case $ac_pass in
 | 
|---|
| 2178 |     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 | 
|---|
| 2179 |     2)
 | 
|---|
| 2180 |       as_fn_append ac_configure_args1 " '$ac_arg'"
 | 
|---|
| 2181 |       if test $ac_must_keep_next = true; then
 | 
|---|
| 2182 |         ac_must_keep_next=false # Got value, back to normal.
 | 
|---|
| 2183 |       else
 | 
|---|
| 2184 |         case $ac_arg in
 | 
|---|
| 2185 |           *=* | --config-cache | -C | -disable-* | --disable-* \
 | 
|---|
| 2186 |           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 | 
|---|
| 2187 |           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 | 
|---|
| 2188 |           | -with-* | --with-* | -without-* | --without-* | --x)
 | 
|---|
| 2189 |             case "$ac_configure_args0 " in
 | 
|---|
| 2190 |               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 | 
|---|
| 2191 |             esac
 | 
|---|
| 2192 |             ;;
 | 
|---|
| 2193 |           -* ) ac_must_keep_next=true ;;
 | 
|---|
| 2194 |         esac
 | 
|---|
| 2195 |       fi
 | 
|---|
| 2196 |       as_fn_append ac_configure_args " '$ac_arg'"
 | 
|---|
| 2197 |       ;;
 | 
|---|
| 2198 |     esac
 | 
|---|
| 2199 |   done
 | 
|---|
| 2200 | done
 | 
|---|
| 2201 | { ac_configure_args0=; unset ac_configure_args0;}
 | 
|---|
| 2202 | { ac_configure_args1=; unset ac_configure_args1;}
 | 
|---|
| 2203 | 
 | 
|---|
| 2204 | # When interrupted or exit'd, cleanup temporary files, and complete
 | 
|---|
| 2205 | # config.log.  We remove comments because anyway the quotes in there
 | 
|---|
| 2206 | # would cause problems or look ugly.
 | 
|---|
| 2207 | # WARNING: Use '\'' to represent an apostrophe within the trap.
 | 
|---|
| 2208 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 | 
|---|
| 2209 | trap 'exit_status=$?
 | 
|---|
| 2210 |   # Save into config.log some information that might help in debugging.
 | 
|---|
| 2211 |   {
 | 
|---|
| 2212 |     echo
 | 
|---|
| 2213 | 
 | 
|---|
| 2214 |     $as_echo "## ---------------- ##
 | 
|---|
| 2215 | ## Cache variables. ##
 | 
|---|
| 2216 | ## ---------------- ##"
 | 
|---|
| 2217 |     echo
 | 
|---|
| 2218 |     # The following way of writing the cache mishandles newlines in values,
 | 
|---|
| 2219 | (
 | 
|---|
| 2220 |   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 | 
|---|
| 2221 |     eval ac_val=\$$ac_var
 | 
|---|
| 2222 |     case $ac_val in #(
 | 
|---|
| 2223 |     *${as_nl}*)
 | 
|---|
| 2224 |       case $ac_var in #(
 | 
|---|
| 2225 |       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 | 
|---|
| 2226 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 | 
|---|
| 2227 |       esac
 | 
|---|
| 2228 |       case $ac_var in #(
 | 
|---|
| 2229 |       _ | IFS | as_nl) ;; #(
 | 
|---|
| 2230 |       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 | 
|---|
| 2231 |       *) { eval $ac_var=; unset $ac_var;} ;;
 | 
|---|
| 2232 |       esac ;;
 | 
|---|
| 2233 |     esac
 | 
|---|
| 2234 |   done
 | 
|---|
| 2235 |   (set) 2>&1 |
 | 
|---|
| 2236 |     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 | 
|---|
| 2237 |     *${as_nl}ac_space=\ *)
 | 
|---|
| 2238 |       sed -n \
 | 
|---|
| 2239 |         "s/'\''/'\''\\\\'\'''\''/g;
 | 
|---|
| 2240 |           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 | 
|---|
| 2241 |       ;; #(
 | 
|---|
| 2242 |     *)
 | 
|---|
| 2243 |       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 | 
|---|
| 2244 |       ;;
 | 
|---|
| 2245 |     esac |
 | 
|---|
| 2246 |     sort
 | 
|---|
| 2247 | )
 | 
|---|
| 2248 |     echo
 | 
|---|
| 2249 | 
 | 
|---|
| 2250 |     $as_echo "## ----------------- ##
 | 
|---|
| 2251 | ## Output variables. ##
 | 
|---|
| 2252 | ## ----------------- ##"
 | 
|---|
| 2253 |     echo
 | 
|---|
| 2254 |     for ac_var in $ac_subst_vars
 | 
|---|
| 2255 |     do
 | 
|---|
| 2256 |       eval ac_val=\$$ac_var
 | 
|---|
| 2257 |       case $ac_val in
 | 
|---|
| 2258 |       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 | 
|---|
| 2259 |       esac
 | 
|---|
| 2260 |       $as_echo "$ac_var='\''$ac_val'\''"
 | 
|---|
| 2261 |     done | sort
 | 
|---|
| 2262 |     echo
 | 
|---|
| 2263 | 
 | 
|---|
| 2264 |     if test -n "$ac_subst_files"; then
 | 
|---|
| 2265 |       $as_echo "## ------------------- ##
 | 
|---|
| 2266 | ## File substitutions. ##
 | 
|---|
| 2267 | ## ------------------- ##"
 | 
|---|
| 2268 |       echo
 | 
|---|
| 2269 |       for ac_var in $ac_subst_files
 | 
|---|
| 2270 |       do
 | 
|---|
| 2271 |         eval ac_val=\$$ac_var
 | 
|---|
| 2272 |         case $ac_val in
 | 
|---|
| 2273 |         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 | 
|---|
| 2274 |         esac
 | 
|---|
| 2275 |         $as_echo "$ac_var='\''$ac_val'\''"
 | 
|---|
| 2276 |       done | sort
 | 
|---|
| 2277 |       echo
 | 
|---|
| 2278 |     fi
 | 
|---|
| 2279 | 
 | 
|---|
| 2280 |     if test -s confdefs.h; then
 | 
|---|
| 2281 |       $as_echo "## ----------- ##
 | 
|---|
| 2282 | ## confdefs.h. ##
 | 
|---|
| 2283 | ## ----------- ##"
 | 
|---|
| 2284 |       echo
 | 
|---|
| 2285 |       cat confdefs.h
 | 
|---|
| 2286 |       echo
 | 
|---|
| 2287 |     fi
 | 
|---|
| 2288 |     test "$ac_signal" != 0 &&
 | 
|---|
| 2289 |       $as_echo "$as_me: caught signal $ac_signal"
 | 
|---|
| 2290 |     $as_echo "$as_me: exit $exit_status"
 | 
|---|
| 2291 |   } >&5
 | 
|---|
| 2292 |   rm -f core *.core core.conftest.* &&
 | 
|---|
| 2293 |     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 | 
|---|
| 2294 |     exit $exit_status
 | 
|---|
| 2295 | ' 0
 | 
|---|
| 2296 | for ac_signal in 1 2 13 15; do
 | 
|---|
| 2297 |   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 | 
|---|
| 2298 | done
 | 
|---|
| 2299 | ac_signal=0
 | 
|---|
| 2300 | 
 | 
|---|
| 2301 | # confdefs.h avoids OS command line length limits that DEFS can exceed.
 | 
|---|
| 2302 | rm -f -r conftest* confdefs.h
 | 
|---|
| 2303 | 
 | 
|---|
| 2304 | $as_echo "/* confdefs.h */" > confdefs.h
 | 
|---|
| 2305 | 
 | 
|---|
| 2306 | # Predefined preprocessor variables.
 | 
|---|
| 2307 | 
 | 
|---|
| 2308 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2309 | #define PACKAGE_NAME "$PACKAGE_NAME"
 | 
|---|
| 2310 | _ACEOF
 | 
|---|
| 2311 | 
 | 
|---|
| 2312 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2313 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 | 
|---|
| 2314 | _ACEOF
 | 
|---|
| 2315 | 
 | 
|---|
| 2316 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2317 | #define PACKAGE_VERSION "$PACKAGE_VERSION"
 | 
|---|
| 2318 | _ACEOF
 | 
|---|
| 2319 | 
 | 
|---|
| 2320 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2321 | #define PACKAGE_STRING "$PACKAGE_STRING"
 | 
|---|
| 2322 | _ACEOF
 | 
|---|
| 2323 | 
 | 
|---|
| 2324 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2325 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 | 
|---|
| 2326 | _ACEOF
 | 
|---|
| 2327 | 
 | 
|---|
| 2328 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2329 | #define PACKAGE_URL "$PACKAGE_URL"
 | 
|---|
| 2330 | _ACEOF
 | 
|---|
| 2331 | 
 | 
|---|
| 2332 | 
 | 
|---|
| 2333 | # Let the site file select an alternate cache file if it wants to.
 | 
|---|
| 2334 | # Prefer an explicitly selected file to automatically selected ones.
 | 
|---|
| 2335 | ac_site_file1=NONE
 | 
|---|
| 2336 | ac_site_file2=NONE
 | 
|---|
| 2337 | if test -n "$CONFIG_SITE"; then
 | 
|---|
| 2338 |   # We do not want a PATH search for config.site.
 | 
|---|
| 2339 |   case $CONFIG_SITE in #((
 | 
|---|
| 2340 |     -*)  ac_site_file1=./$CONFIG_SITE;;
 | 
|---|
| 2341 |     */*) ac_site_file1=$CONFIG_SITE;;
 | 
|---|
| 2342 |     *)   ac_site_file1=./$CONFIG_SITE;;
 | 
|---|
| 2343 |   esac
 | 
|---|
| 2344 | elif test "x$prefix" != xNONE; then
 | 
|---|
| 2345 |   ac_site_file1=$prefix/share/config.site
 | 
|---|
| 2346 |   ac_site_file2=$prefix/etc/config.site
 | 
|---|
| 2347 | else
 | 
|---|
| 2348 |   ac_site_file1=$ac_default_prefix/share/config.site
 | 
|---|
| 2349 |   ac_site_file2=$ac_default_prefix/etc/config.site
 | 
|---|
| 2350 | fi
 | 
|---|
| 2351 | for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 | 
|---|
| 2352 | do
 | 
|---|
| 2353 |   test "x$ac_site_file" = xNONE && continue
 | 
|---|
| 2354 |   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 | 
|---|
| 2355 |     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 | 
|---|
| 2356 | $as_echo "$as_me: loading site script $ac_site_file" >&6;}
 | 
|---|
| 2357 |     sed 's/^/| /' "$ac_site_file" >&5
 | 
|---|
| 2358 |     . "$ac_site_file" \
 | 
|---|
| 2359 |       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 2360 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 2361 | as_fn_error $? "failed to load site script $ac_site_file
 | 
|---|
| 2362 | See \`config.log' for more details" "$LINENO" 5; }
 | 
|---|
| 2363 |   fi
 | 
|---|
| 2364 | done
 | 
|---|
| 2365 | 
 | 
|---|
| 2366 | if test -r "$cache_file"; then
 | 
|---|
| 2367 |   # Some versions of bash will fail to source /dev/null (special files
 | 
|---|
| 2368 |   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 | 
|---|
| 2369 |   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 | 
|---|
| 2370 |     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 | 
|---|
| 2371 | $as_echo "$as_me: loading cache $cache_file" >&6;}
 | 
|---|
| 2372 |     case $cache_file in
 | 
|---|
| 2373 |       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 | 
|---|
| 2374 |       *)                      . "./$cache_file";;
 | 
|---|
| 2375 |     esac
 | 
|---|
| 2376 |   fi
 | 
|---|
| 2377 | else
 | 
|---|
| 2378 |   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 | 
|---|
| 2379 | $as_echo "$as_me: creating cache $cache_file" >&6;}
 | 
|---|
| 2380 |   >$cache_file
 | 
|---|
| 2381 | fi
 | 
|---|
| 2382 | 
 | 
|---|
| 2383 | # Check that the precious variables saved in the cache have kept the same
 | 
|---|
| 2384 | # value.
 | 
|---|
| 2385 | ac_cache_corrupted=false
 | 
|---|
| 2386 | for ac_var in $ac_precious_vars; do
 | 
|---|
| 2387 |   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 | 
|---|
| 2388 |   eval ac_new_set=\$ac_env_${ac_var}_set
 | 
|---|
| 2389 |   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 | 
|---|
| 2390 |   eval ac_new_val=\$ac_env_${ac_var}_value
 | 
|---|
| 2391 |   case $ac_old_set,$ac_new_set in
 | 
|---|
| 2392 |     set,)
 | 
|---|
| 2393 |       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 | 
|---|
| 2394 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 | 
|---|
| 2395 |       ac_cache_corrupted=: ;;
 | 
|---|
| 2396 |     ,set)
 | 
|---|
| 2397 |       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 | 
|---|
| 2398 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 | 
|---|
| 2399 |       ac_cache_corrupted=: ;;
 | 
|---|
| 2400 |     ,);;
 | 
|---|
| 2401 |     *)
 | 
|---|
| 2402 |       if test "x$ac_old_val" != "x$ac_new_val"; then
 | 
|---|
| 2403 |         # differences in whitespace do not lead to failure.
 | 
|---|
| 2404 |         ac_old_val_w=`echo x $ac_old_val`
 | 
|---|
| 2405 |         ac_new_val_w=`echo x $ac_new_val`
 | 
|---|
| 2406 |         if test "$ac_old_val_w" != "$ac_new_val_w"; then
 | 
|---|
| 2407 |           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 | 
|---|
| 2408 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 | 
|---|
| 2409 |           ac_cache_corrupted=:
 | 
|---|
| 2410 |         else
 | 
|---|
| 2411 |           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 | 
|---|
| 2412 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 | 
|---|
| 2413 |           eval $ac_var=\$ac_old_val
 | 
|---|
| 2414 |         fi
 | 
|---|
| 2415 |         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 | 
|---|
| 2416 | $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 | 
|---|
| 2417 |         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 | 
|---|
| 2418 | $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 | 
|---|
| 2419 |       fi;;
 | 
|---|
| 2420 |   esac
 | 
|---|
| 2421 |   # Pass precious variables to config.status.
 | 
|---|
| 2422 |   if test "$ac_new_set" = set; then
 | 
|---|
| 2423 |     case $ac_new_val in
 | 
|---|
| 2424 |     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 | 
|---|
| 2425 |     *) ac_arg=$ac_var=$ac_new_val ;;
 | 
|---|
| 2426 |     esac
 | 
|---|
| 2427 |     case " $ac_configure_args " in
 | 
|---|
| 2428 |       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 | 
|---|
| 2429 |       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 | 
|---|
| 2430 |     esac
 | 
|---|
| 2431 |   fi
 | 
|---|
| 2432 | done
 | 
|---|
| 2433 | if $ac_cache_corrupted; then
 | 
|---|
| 2434 |   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 2435 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 2436 |   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 | 
|---|
| 2437 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 | 
|---|
| 2438 |   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 | 
|---|
| 2439 | fi
 | 
|---|
| 2440 | ## -------------------- ##
 | 
|---|
| 2441 | ## Main body of script. ##
 | 
|---|
| 2442 | ## -------------------- ##
 | 
|---|
| 2443 | 
 | 
|---|
| 2444 | ac_ext=c
 | 
|---|
| 2445 | ac_cpp='$CPP $CPPFLAGS'
 | 
|---|
| 2446 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 2447 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 2448 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
 | 
|---|
| 2449 | 
 | 
|---|
| 2450 | 
 | 
|---|
| 2451 | ac_aux_dir=
 | 
|---|
| 2452 | for ac_dir in automake "$srcdir"/automake; do
 | 
|---|
| 2453 |   if test -f "$ac_dir/install-sh"; then
 | 
|---|
| 2454 |     ac_aux_dir=$ac_dir
 | 
|---|
| 2455 |     ac_install_sh="$ac_aux_dir/install-sh -c"
 | 
|---|
| 2456 |     break
 | 
|---|
| 2457 |   elif test -f "$ac_dir/install.sh"; then
 | 
|---|
| 2458 |     ac_aux_dir=$ac_dir
 | 
|---|
| 2459 |     ac_install_sh="$ac_aux_dir/install.sh -c"
 | 
|---|
| 2460 |     break
 | 
|---|
| 2461 |   elif test -f "$ac_dir/shtool"; then
 | 
|---|
| 2462 |     ac_aux_dir=$ac_dir
 | 
|---|
| 2463 |     ac_install_sh="$ac_aux_dir/shtool install -c"
 | 
|---|
| 2464 |     break
 | 
|---|
| 2465 |   fi
 | 
|---|
| 2466 | done
 | 
|---|
| 2467 | if test -z "$ac_aux_dir"; then
 | 
|---|
| 2468 |   as_fn_error $? "cannot find install-sh, install.sh, or shtool in automake \"$srcdir\"/automake" "$LINENO" 5
 | 
|---|
| 2469 | fi
 | 
|---|
| 2470 | 
 | 
|---|
| 2471 | # These three variables are undocumented and unsupported,
 | 
|---|
| 2472 | # and are intended to be withdrawn in a future Autoconf release.
 | 
|---|
| 2473 | # They can cause serious problems if a builder's source tree is in a directory
 | 
|---|
| 2474 | # whose full name contains unusual characters.
 | 
|---|
| 2475 | ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 | 
|---|
| 2476 | ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 | 
|---|
| 2477 | ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 | 
|---|
| 2478 | 
 | 
|---|
| 2479 | 
 | 
|---|
| 2480 | #AC_CONFIG_SRCDIR([src/main.cc])
 | 
|---|
| 2481 | ac_config_headers="$ac_config_headers config.h:src/config.h.in"
 | 
|---|
| 2482 | 
 | 
|---|
| 2483 | # Check whether --enable-silent-rules was given.
 | 
|---|
| 2484 | if test "${enable_silent_rules+set}" = set; then :
 | 
|---|
| 2485 |   enableval=$enable_silent_rules;
 | 
|---|
| 2486 | fi
 | 
|---|
| 2487 | 
 | 
|---|
| 2488 | case $enable_silent_rules in # (((
 | 
|---|
| 2489 |   yes) AM_DEFAULT_VERBOSITY=0;;
 | 
|---|
| 2490 |    no) AM_DEFAULT_VERBOSITY=1;;
 | 
|---|
| 2491 |     *) AM_DEFAULT_VERBOSITY=0;;
 | 
|---|
| 2492 | esac
 | 
|---|
| 2493 | am_make=${MAKE-make}
 | 
|---|
| 2494 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 | 
|---|
| 2495 | $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 | 
|---|
| 2496 | if ${am_cv_make_support_nested_variables+:} false; then :
 | 
|---|
| 2497 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 2498 | else
 | 
|---|
| 2499 |   if $as_echo 'TRUE=$(BAR$(V))
 | 
|---|
| 2500 | BAR0=false
 | 
|---|
| 2501 | BAR1=true
 | 
|---|
| 2502 | V=1
 | 
|---|
| 2503 | am__doit:
 | 
|---|
| 2504 |         @$(TRUE)
 | 
|---|
| 2505 | .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 | 
|---|
| 2506 |   am_cv_make_support_nested_variables=yes
 | 
|---|
| 2507 | else
 | 
|---|
| 2508 |   am_cv_make_support_nested_variables=no
 | 
|---|
| 2509 | fi
 | 
|---|
| 2510 | fi
 | 
|---|
| 2511 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 | 
|---|
| 2512 | $as_echo "$am_cv_make_support_nested_variables" >&6; }
 | 
|---|
| 2513 | if test $am_cv_make_support_nested_variables = yes; then
 | 
|---|
| 2514 |     AM_V='$(V)'
 | 
|---|
| 2515 |   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 | 
|---|
| 2516 | else
 | 
|---|
| 2517 |   AM_V=$AM_DEFAULT_VERBOSITY
 | 
|---|
| 2518 |   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 | 
|---|
| 2519 | fi
 | 
|---|
| 2520 | AM_BACKSLASH='\'
 | 
|---|
| 2521 | 
 | 
|---|
| 2522 | 
 | 
|---|
| 2523 | 
 | 
|---|
| 2524 | 
 | 
|---|
| 2525 | 
 | 
|---|
| 2526 | 
 | 
|---|
| 2527 | 
 | 
|---|
| 2528 | 
 | 
|---|
| 2529 | 
 | 
|---|
| 2530 | 
 | 
|---|
| 2531 | # don't use the default CFLAGS as they unconditonnaly add -O2
 | 
|---|
| 2532 | : ${CFLAGS=""}
 | 
|---|
| 2533 | 
 | 
|---|
| 2534 | am__api_version='1.15'
 | 
|---|
| 2535 | 
 | 
|---|
| 2536 | # Find a good install program.  We prefer a C program (faster),
 | 
|---|
| 2537 | # so one script is as good as another.  But avoid the broken or
 | 
|---|
| 2538 | # incompatible versions:
 | 
|---|
| 2539 | # SysV /etc/install, /usr/sbin/install
 | 
|---|
| 2540 | # SunOS /usr/etc/install
 | 
|---|
| 2541 | # IRIX /sbin/install
 | 
|---|
| 2542 | # AIX /bin/install
 | 
|---|
| 2543 | # AmigaOS /C/install, which installs bootblocks on floppy discs
 | 
|---|
| 2544 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 | 
|---|
| 2545 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 | 
|---|
| 2546 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 | 
|---|
| 2547 | # OS/2's system install, which has a completely different semantic
 | 
|---|
| 2548 | # ./install, which can be erroneously created by make from ./install.sh.
 | 
|---|
| 2549 | # Reject install programs that cannot install multiple files.
 | 
|---|
| 2550 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 | 
|---|
| 2551 | $as_echo_n "checking for a BSD-compatible install... " >&6; }
 | 
|---|
| 2552 | if test -z "$INSTALL"; then
 | 
|---|
| 2553 | if ${ac_cv_path_install+:} false; then :
 | 
|---|
| 2554 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 2555 | else
 | 
|---|
| 2556 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 2557 | for as_dir in $PATH
 | 
|---|
| 2558 | do
 | 
|---|
| 2559 |   IFS=$as_save_IFS
 | 
|---|
| 2560 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 2561 |     # Account for people who put trailing slashes in PATH elements.
 | 
|---|
| 2562 | case $as_dir/ in #((
 | 
|---|
| 2563 |   ./ | .// | /[cC]/* | \
 | 
|---|
| 2564 |   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 | 
|---|
| 2565 |   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 | 
|---|
| 2566 |   /usr/ucb/* ) ;;
 | 
|---|
| 2567 |   *)
 | 
|---|
| 2568 |     # OSF1 and SCO ODT 3.0 have their own names for install.
 | 
|---|
| 2569 |     # Don't use installbsd from OSF since it installs stuff as root
 | 
|---|
| 2570 |     # by default.
 | 
|---|
| 2571 |     for ac_prog in ginstall scoinst install; do
 | 
|---|
| 2572 |       for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 2573 |         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 | 
|---|
| 2574 |           if test $ac_prog = install &&
 | 
|---|
| 2575 |             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 | 
|---|
| 2576 |             # AIX install.  It has an incompatible calling convention.
 | 
|---|
| 2577 |             :
 | 
|---|
| 2578 |           elif test $ac_prog = install &&
 | 
|---|
| 2579 |             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 | 
|---|
| 2580 |             # program-specific install script used by HP pwplus--don't use.
 | 
|---|
| 2581 |             :
 | 
|---|
| 2582 |           else
 | 
|---|
| 2583 |             rm -rf conftest.one conftest.two conftest.dir
 | 
|---|
| 2584 |             echo one > conftest.one
 | 
|---|
| 2585 |             echo two > conftest.two
 | 
|---|
| 2586 |             mkdir conftest.dir
 | 
|---|
| 2587 |             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 | 
|---|
| 2588 |               test -s conftest.one && test -s conftest.two &&
 | 
|---|
| 2589 |               test -s conftest.dir/conftest.one &&
 | 
|---|
| 2590 |               test -s conftest.dir/conftest.two
 | 
|---|
| 2591 |             then
 | 
|---|
| 2592 |               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 | 
|---|
| 2593 |               break 3
 | 
|---|
| 2594 |             fi
 | 
|---|
| 2595 |           fi
 | 
|---|
| 2596 |         fi
 | 
|---|
| 2597 |       done
 | 
|---|
| 2598 |     done
 | 
|---|
| 2599 |     ;;
 | 
|---|
| 2600 | esac
 | 
|---|
| 2601 | 
 | 
|---|
| 2602 |   done
 | 
|---|
| 2603 | IFS=$as_save_IFS
 | 
|---|
| 2604 | 
 | 
|---|
| 2605 | rm -rf conftest.one conftest.two conftest.dir
 | 
|---|
| 2606 | 
 | 
|---|
| 2607 | fi
 | 
|---|
| 2608 |   if test "${ac_cv_path_install+set}" = set; then
 | 
|---|
| 2609 |     INSTALL=$ac_cv_path_install
 | 
|---|
| 2610 |   else
 | 
|---|
| 2611 |     # As a last resort, use the slow shell script.  Don't cache a
 | 
|---|
| 2612 |     # value for INSTALL within a source directory, because that will
 | 
|---|
| 2613 |     # break other packages using the cache if that directory is
 | 
|---|
| 2614 |     # removed, or if the value is a relative name.
 | 
|---|
| 2615 |     INSTALL=$ac_install_sh
 | 
|---|
| 2616 |   fi
 | 
|---|
| 2617 | fi
 | 
|---|
| 2618 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 | 
|---|
| 2619 | $as_echo "$INSTALL" >&6; }
 | 
|---|
| 2620 | 
 | 
|---|
| 2621 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 | 
|---|
| 2622 | # It thinks the first close brace ends the variable substitution.
 | 
|---|
| 2623 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 | 
|---|
| 2624 | 
 | 
|---|
| 2625 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 | 
|---|
| 2626 | 
 | 
|---|
| 2627 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 | 
|---|
| 2628 | 
 | 
|---|
| 2629 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 | 
|---|
| 2630 | $as_echo_n "checking whether build environment is sane... " >&6; }
 | 
|---|
| 2631 | # Reject unsafe characters in $srcdir or the absolute working directory
 | 
|---|
| 2632 | # name.  Accept space and tab only in the latter.
 | 
|---|
| 2633 | am_lf='
 | 
|---|
| 2634 | '
 | 
|---|
| 2635 | case `pwd` in
 | 
|---|
| 2636 |   *[\\\"\#\$\&\'\`$am_lf]*)
 | 
|---|
| 2637 |     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 | 
|---|
| 2638 | esac
 | 
|---|
| 2639 | case $srcdir in
 | 
|---|
| 2640 |   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 | 
|---|
| 2641 |     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
 | 
|---|
| 2642 | esac
 | 
|---|
| 2643 | 
 | 
|---|
| 2644 | # Do 'set' in a subshell so we don't clobber the current shell's
 | 
|---|
| 2645 | # arguments.  Must try -L first in case configure is actually a
 | 
|---|
| 2646 | # symlink; some systems play weird games with the mod time of symlinks
 | 
|---|
| 2647 | # (eg FreeBSD returns the mod time of the symlink's containing
 | 
|---|
| 2648 | # directory).
 | 
|---|
| 2649 | if (
 | 
|---|
| 2650 |    am_has_slept=no
 | 
|---|
| 2651 |    for am_try in 1 2; do
 | 
|---|
| 2652 |      echo "timestamp, slept: $am_has_slept" > conftest.file
 | 
|---|
| 2653 |      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 | 
|---|
| 2654 |      if test "$*" = "X"; then
 | 
|---|
| 2655 |         # -L didn't work.
 | 
|---|
| 2656 |         set X `ls -t "$srcdir/configure" conftest.file`
 | 
|---|
| 2657 |      fi
 | 
|---|
| 2658 |      if test "$*" != "X $srcdir/configure conftest.file" \
 | 
|---|
| 2659 |         && test "$*" != "X conftest.file $srcdir/configure"; then
 | 
|---|
| 2660 | 
 | 
|---|
| 2661 |         # If neither matched, then we have a broken ls.  This can happen
 | 
|---|
| 2662 |         # if, for instance, CONFIG_SHELL is bash and it inherits a
 | 
|---|
| 2663 |         # broken ls alias from the environment.  This has actually
 | 
|---|
| 2664 |         # happened.  Such a system could not be considered "sane".
 | 
|---|
| 2665 |         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 | 
|---|
| 2666 |   alias in your environment" "$LINENO" 5
 | 
|---|
| 2667 |      fi
 | 
|---|
| 2668 |      if test "$2" = conftest.file || test $am_try -eq 2; then
 | 
|---|
| 2669 |        break
 | 
|---|
| 2670 |      fi
 | 
|---|
| 2671 |      # Just in case.
 | 
|---|
| 2672 |      sleep 1
 | 
|---|
| 2673 |      am_has_slept=yes
 | 
|---|
| 2674 |    done
 | 
|---|
| 2675 |    test "$2" = conftest.file
 | 
|---|
| 2676 |    )
 | 
|---|
| 2677 | then
 | 
|---|
| 2678 |    # Ok.
 | 
|---|
| 2679 |    :
 | 
|---|
| 2680 | else
 | 
|---|
| 2681 |    as_fn_error $? "newly created file is older than distributed files!
 | 
|---|
| 2682 | Check your system clock" "$LINENO" 5
 | 
|---|
| 2683 | fi
 | 
|---|
| 2684 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 | 
|---|
| 2685 | $as_echo "yes" >&6; }
 | 
|---|
| 2686 | # If we didn't sleep, we still need to ensure time stamps of config.status and
 | 
|---|
| 2687 | # generated files are strictly newer.
 | 
|---|
| 2688 | am_sleep_pid=
 | 
|---|
| 2689 | if grep 'slept: no' conftest.file >/dev/null 2>&1; then
 | 
|---|
| 2690 |   ( sleep 1 ) &
 | 
|---|
| 2691 |   am_sleep_pid=$!
 | 
|---|
| 2692 | fi
 | 
|---|
| 2693 | 
 | 
|---|
| 2694 | rm -f conftest.file
 | 
|---|
| 2695 | 
 | 
|---|
| 2696 | test "$program_prefix" != NONE &&
 | 
|---|
| 2697 |   program_transform_name="s&^&$program_prefix&;$program_transform_name"
 | 
|---|
| 2698 | # Use a double $ so make ignores it.
 | 
|---|
| 2699 | test "$program_suffix" != NONE &&
 | 
|---|
| 2700 |   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 | 
|---|
| 2701 | # Double any \ or $.
 | 
|---|
| 2702 | # By default was `s,x,x', remove it if useless.
 | 
|---|
| 2703 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 | 
|---|
| 2704 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 | 
|---|
| 2705 | 
 | 
|---|
| 2706 | # Expand $ac_aux_dir to an absolute path.
 | 
|---|
| 2707 | am_aux_dir=`cd "$ac_aux_dir" && pwd`
 | 
|---|
| 2708 | 
 | 
|---|
| 2709 | if test x"${MISSING+set}" != xset; then
 | 
|---|
| 2710 |   case $am_aux_dir in
 | 
|---|
| 2711 |   *\ * | *\     *)
 | 
|---|
| 2712 |     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 | 
|---|
| 2713 |   *)
 | 
|---|
| 2714 |     MISSING="\${SHELL} $am_aux_dir/missing" ;;
 | 
|---|
| 2715 |   esac
 | 
|---|
| 2716 | fi
 | 
|---|
| 2717 | # Use eval to expand $SHELL
 | 
|---|
| 2718 | if eval "$MISSING --is-lightweight"; then
 | 
|---|
| 2719 |   am_missing_run="$MISSING "
 | 
|---|
| 2720 | else
 | 
|---|
| 2721 |   am_missing_run=
 | 
|---|
| 2722 |   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
 | 
|---|
| 2723 | $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
 | 
|---|
| 2724 | fi
 | 
|---|
| 2725 | 
 | 
|---|
| 2726 | if test x"${install_sh+set}" != xset; then
 | 
|---|
| 2727 |   case $am_aux_dir in
 | 
|---|
| 2728 |   *\ * | *\     *)
 | 
|---|
| 2729 |     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 | 
|---|
| 2730 |   *)
 | 
|---|
| 2731 |     install_sh="\${SHELL} $am_aux_dir/install-sh"
 | 
|---|
| 2732 |   esac
 | 
|---|
| 2733 | fi
 | 
|---|
| 2734 | 
 | 
|---|
| 2735 | # Installed binaries are usually stripped using 'strip' when the user
 | 
|---|
| 2736 | # run "make install-strip".  However 'strip' might not be the right
 | 
|---|
| 2737 | # tool to use in cross-compilation environments, therefore Automake
 | 
|---|
| 2738 | # will honor the 'STRIP' environment variable to overrule this program.
 | 
|---|
| 2739 | if test "$cross_compiling" != no; then
 | 
|---|
| 2740 |   if test -n "$ac_tool_prefix"; then
 | 
|---|
| 2741 |   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 | 
|---|
| 2742 | set dummy ${ac_tool_prefix}strip; ac_word=$2
 | 
|---|
| 2743 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 2744 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 2745 | if ${ac_cv_prog_STRIP+:} false; then :
 | 
|---|
| 2746 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 2747 | else
 | 
|---|
| 2748 |   if test -n "$STRIP"; then
 | 
|---|
| 2749 |   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 | 
|---|
| 2750 | else
 | 
|---|
| 2751 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 2752 | for as_dir in $PATH
 | 
|---|
| 2753 | do
 | 
|---|
| 2754 |   IFS=$as_save_IFS
 | 
|---|
| 2755 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 2756 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 2757 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 2758 |     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 | 
|---|
| 2759 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 2760 |     break 2
 | 
|---|
| 2761 |   fi
 | 
|---|
| 2762 | done
 | 
|---|
| 2763 |   done
 | 
|---|
| 2764 | IFS=$as_save_IFS
 | 
|---|
| 2765 | 
 | 
|---|
| 2766 | fi
 | 
|---|
| 2767 | fi
 | 
|---|
| 2768 | STRIP=$ac_cv_prog_STRIP
 | 
|---|
| 2769 | if test -n "$STRIP"; then
 | 
|---|
| 2770 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 | 
|---|
| 2771 | $as_echo "$STRIP" >&6; }
 | 
|---|
| 2772 | else
 | 
|---|
| 2773 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 2774 | $as_echo "no" >&6; }
 | 
|---|
| 2775 | fi
 | 
|---|
| 2776 | 
 | 
|---|
| 2777 | 
 | 
|---|
| 2778 | fi
 | 
|---|
| 2779 | if test -z "$ac_cv_prog_STRIP"; then
 | 
|---|
| 2780 |   ac_ct_STRIP=$STRIP
 | 
|---|
| 2781 |   # Extract the first word of "strip", so it can be a program name with args.
 | 
|---|
| 2782 | set dummy strip; ac_word=$2
 | 
|---|
| 2783 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 2784 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 2785 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 | 
|---|
| 2786 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 2787 | else
 | 
|---|
| 2788 |   if test -n "$ac_ct_STRIP"; then
 | 
|---|
| 2789 |   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 | 
|---|
| 2790 | else
 | 
|---|
| 2791 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 2792 | for as_dir in $PATH
 | 
|---|
| 2793 | do
 | 
|---|
| 2794 |   IFS=$as_save_IFS
 | 
|---|
| 2795 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 2796 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 2797 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 2798 |     ac_cv_prog_ac_ct_STRIP="strip"
 | 
|---|
| 2799 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 2800 |     break 2
 | 
|---|
| 2801 |   fi
 | 
|---|
| 2802 | done
 | 
|---|
| 2803 |   done
 | 
|---|
| 2804 | IFS=$as_save_IFS
 | 
|---|
| 2805 | 
 | 
|---|
| 2806 | fi
 | 
|---|
| 2807 | fi
 | 
|---|
| 2808 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 | 
|---|
| 2809 | if test -n "$ac_ct_STRIP"; then
 | 
|---|
| 2810 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 | 
|---|
| 2811 | $as_echo "$ac_ct_STRIP" >&6; }
 | 
|---|
| 2812 | else
 | 
|---|
| 2813 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 2814 | $as_echo "no" >&6; }
 | 
|---|
| 2815 | fi
 | 
|---|
| 2816 | 
 | 
|---|
| 2817 |   if test "x$ac_ct_STRIP" = x; then
 | 
|---|
| 2818 |     STRIP=":"
 | 
|---|
| 2819 |   else
 | 
|---|
| 2820 |     case $cross_compiling:$ac_tool_warned in
 | 
|---|
| 2821 | yes:)
 | 
|---|
| 2822 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 | 
|---|
| 2823 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 | 
|---|
| 2824 | ac_tool_warned=yes ;;
 | 
|---|
| 2825 | esac
 | 
|---|
| 2826 |     STRIP=$ac_ct_STRIP
 | 
|---|
| 2827 |   fi
 | 
|---|
| 2828 | else
 | 
|---|
| 2829 |   STRIP="$ac_cv_prog_STRIP"
 | 
|---|
| 2830 | fi
 | 
|---|
| 2831 | 
 | 
|---|
| 2832 | fi
 | 
|---|
| 2833 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 | 
|---|
| 2834 | 
 | 
|---|
| 2835 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 | 
|---|
| 2836 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 | 
|---|
| 2837 | if test -z "$MKDIR_P"; then
 | 
|---|
| 2838 |   if ${ac_cv_path_mkdir+:} false; then :
 | 
|---|
| 2839 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 2840 | else
 | 
|---|
| 2841 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 2842 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 | 
|---|
| 2843 | do
 | 
|---|
| 2844 |   IFS=$as_save_IFS
 | 
|---|
| 2845 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 2846 |     for ac_prog in mkdir gmkdir; do
 | 
|---|
| 2847 |          for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 2848 |            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
 | 
|---|
| 2849 |            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 | 
|---|
| 2850 |              'mkdir (GNU coreutils) '* | \
 | 
|---|
| 2851 |              'mkdir (coreutils) '* | \
 | 
|---|
| 2852 |              'mkdir (fileutils) '4.1*)
 | 
|---|
| 2853 |                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 | 
|---|
| 2854 |                break 3;;
 | 
|---|
| 2855 |            esac
 | 
|---|
| 2856 |          done
 | 
|---|
| 2857 |        done
 | 
|---|
| 2858 |   done
 | 
|---|
| 2859 | IFS=$as_save_IFS
 | 
|---|
| 2860 | 
 | 
|---|
| 2861 | fi
 | 
|---|
| 2862 | 
 | 
|---|
| 2863 |   test -d ./--version && rmdir ./--version
 | 
|---|
| 2864 |   if test "${ac_cv_path_mkdir+set}" = set; then
 | 
|---|
| 2865 |     MKDIR_P="$ac_cv_path_mkdir -p"
 | 
|---|
| 2866 |   else
 | 
|---|
| 2867 |     # As a last resort, use the slow shell script.  Don't cache a
 | 
|---|
| 2868 |     # value for MKDIR_P within a source directory, because that will
 | 
|---|
| 2869 |     # break other packages using the cache if that directory is
 | 
|---|
| 2870 |     # removed, or if the value is a relative name.
 | 
|---|
| 2871 |     MKDIR_P="$ac_install_sh -d"
 | 
|---|
| 2872 |   fi
 | 
|---|
| 2873 | fi
 | 
|---|
| 2874 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 | 
|---|
| 2875 | $as_echo "$MKDIR_P" >&6; }
 | 
|---|
| 2876 | 
 | 
|---|
| 2877 | for ac_prog in gawk mawk nawk awk
 | 
|---|
| 2878 | do
 | 
|---|
| 2879 |   # Extract the first word of "$ac_prog", so it can be a program name with args.
 | 
|---|
| 2880 | set dummy $ac_prog; ac_word=$2
 | 
|---|
| 2881 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 2882 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 2883 | if ${ac_cv_prog_AWK+:} false; then :
 | 
|---|
| 2884 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 2885 | else
 | 
|---|
| 2886 |   if test -n "$AWK"; then
 | 
|---|
| 2887 |   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 | 
|---|
| 2888 | else
 | 
|---|
| 2889 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 2890 | for as_dir in $PATH
 | 
|---|
| 2891 | do
 | 
|---|
| 2892 |   IFS=$as_save_IFS
 | 
|---|
| 2893 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 2894 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 2895 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 2896 |     ac_cv_prog_AWK="$ac_prog"
 | 
|---|
| 2897 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 2898 |     break 2
 | 
|---|
| 2899 |   fi
 | 
|---|
| 2900 | done
 | 
|---|
| 2901 |   done
 | 
|---|
| 2902 | IFS=$as_save_IFS
 | 
|---|
| 2903 | 
 | 
|---|
| 2904 | fi
 | 
|---|
| 2905 | fi
 | 
|---|
| 2906 | AWK=$ac_cv_prog_AWK
 | 
|---|
| 2907 | if test -n "$AWK"; then
 | 
|---|
| 2908 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 | 
|---|
| 2909 | $as_echo "$AWK" >&6; }
 | 
|---|
| 2910 | else
 | 
|---|
| 2911 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 2912 | $as_echo "no" >&6; }
 | 
|---|
| 2913 | fi
 | 
|---|
| 2914 | 
 | 
|---|
| 2915 | 
 | 
|---|
| 2916 |   test -n "$AWK" && break
 | 
|---|
| 2917 | done
 | 
|---|
| 2918 | 
 | 
|---|
| 2919 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 | 
|---|
| 2920 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 | 
|---|
| 2921 | set x ${MAKE-make}
 | 
|---|
| 2922 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 | 
|---|
| 2923 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 | 
|---|
| 2924 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 2925 | else
 | 
|---|
| 2926 |   cat >conftest.make <<\_ACEOF
 | 
|---|
| 2927 | SHELL = /bin/sh
 | 
|---|
| 2928 | all:
 | 
|---|
| 2929 |         @echo '@@@%%%=$(MAKE)=@@@%%%'
 | 
|---|
| 2930 | _ACEOF
 | 
|---|
| 2931 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 | 
|---|
| 2932 | case `${MAKE-make} -f conftest.make 2>/dev/null` in
 | 
|---|
| 2933 |   *@@@%%%=?*=@@@%%%*)
 | 
|---|
| 2934 |     eval ac_cv_prog_make_${ac_make}_set=yes;;
 | 
|---|
| 2935 |   *)
 | 
|---|
| 2936 |     eval ac_cv_prog_make_${ac_make}_set=no;;
 | 
|---|
| 2937 | esac
 | 
|---|
| 2938 | rm -f conftest.make
 | 
|---|
| 2939 | fi
 | 
|---|
| 2940 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 | 
|---|
| 2941 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 | 
|---|
| 2942 | $as_echo "yes" >&6; }
 | 
|---|
| 2943 |   SET_MAKE=
 | 
|---|
| 2944 | else
 | 
|---|
| 2945 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 2946 | $as_echo "no" >&6; }
 | 
|---|
| 2947 |   SET_MAKE="MAKE=${MAKE-make}"
 | 
|---|
| 2948 | fi
 | 
|---|
| 2949 | 
 | 
|---|
| 2950 | rm -rf .tst 2>/dev/null
 | 
|---|
| 2951 | mkdir .tst 2>/dev/null
 | 
|---|
| 2952 | if test -d .tst; then
 | 
|---|
| 2953 |   am__leading_dot=.
 | 
|---|
| 2954 | else
 | 
|---|
| 2955 |   am__leading_dot=_
 | 
|---|
| 2956 | fi
 | 
|---|
| 2957 | rmdir .tst 2>/dev/null
 | 
|---|
| 2958 | 
 | 
|---|
| 2959 | if test "`cd $srcdir && pwd`" != "`pwd`"; then
 | 
|---|
| 2960 |   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 | 
|---|
| 2961 |   # is not polluted with repeated "-I."
 | 
|---|
| 2962 |   am__isrc=' -I$(srcdir)'
 | 
|---|
| 2963 |   # test to see if srcdir already configured
 | 
|---|
| 2964 |   if test -f $srcdir/config.status; then
 | 
|---|
| 2965 |     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 | 
|---|
| 2966 |   fi
 | 
|---|
| 2967 | fi
 | 
|---|
| 2968 | 
 | 
|---|
| 2969 | # test whether we have cygpath
 | 
|---|
| 2970 | if test -z "$CYGPATH_W"; then
 | 
|---|
| 2971 |   if (cygpath --version) >/dev/null 2>/dev/null; then
 | 
|---|
| 2972 |     CYGPATH_W='cygpath -w'
 | 
|---|
| 2973 |   else
 | 
|---|
| 2974 |     CYGPATH_W=echo
 | 
|---|
| 2975 |   fi
 | 
|---|
| 2976 | fi
 | 
|---|
| 2977 | 
 | 
|---|
| 2978 | 
 | 
|---|
| 2979 | # Define the identity of the package.
 | 
|---|
| 2980 |  PACKAGE='cfa-cc'
 | 
|---|
| 2981 |  VERSION='1.0.0.0'
 | 
|---|
| 2982 | 
 | 
|---|
| 2983 | 
 | 
|---|
| 2984 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2985 | #define PACKAGE "$PACKAGE"
 | 
|---|
| 2986 | _ACEOF
 | 
|---|
| 2987 | 
 | 
|---|
| 2988 | 
 | 
|---|
| 2989 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2990 | #define VERSION "$VERSION"
 | 
|---|
| 2991 | _ACEOF
 | 
|---|
| 2992 | 
 | 
|---|
| 2993 | # Some tools Automake needs.
 | 
|---|
| 2994 | 
 | 
|---|
| 2995 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 | 
|---|
| 2996 | 
 | 
|---|
| 2997 | 
 | 
|---|
| 2998 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 | 
|---|
| 2999 | 
 | 
|---|
| 3000 | 
 | 
|---|
| 3001 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 | 
|---|
| 3002 | 
 | 
|---|
| 3003 | 
 | 
|---|
| 3004 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 | 
|---|
| 3005 | 
 | 
|---|
| 3006 | 
 | 
|---|
| 3007 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 | 
|---|
| 3008 | 
 | 
|---|
| 3009 | # For better backward compatibility.  To be removed once Automake 1.9.x
 | 
|---|
| 3010 | # dies out for good.  For more background, see:
 | 
|---|
| 3011 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
 | 
|---|
| 3012 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
 | 
|---|
| 3013 | mkdir_p='$(MKDIR_P)'
 | 
|---|
| 3014 | 
 | 
|---|
| 3015 | # We need awk for the "check" target (and possibly the TAP driver).  The
 | 
|---|
| 3016 | # system "awk" is bad on some platforms.
 | 
|---|
| 3017 | # Always define AMTAR for backward compatibility.  Yes, it's still used
 | 
|---|
| 3018 | # in the wild :-(  We should find a proper way to deprecate it ...
 | 
|---|
| 3019 | AMTAR='$${TAR-tar}'
 | 
|---|
| 3020 | 
 | 
|---|
| 3021 | 
 | 
|---|
| 3022 | # We'll loop over all known methods to create a tar archive until one works.
 | 
|---|
| 3023 | _am_tools='gnutar  pax cpio none'
 | 
|---|
| 3024 | 
 | 
|---|
| 3025 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
 | 
|---|
| 3026 | 
 | 
|---|
| 3027 | 
 | 
|---|
| 3028 | 
 | 
|---|
| 3029 | 
 | 
|---|
| 3030 | 
 | 
|---|
| 3031 | 
 | 
|---|
| 3032 | # POSIX will say in a future version that running "rm -f" with no argument
 | 
|---|
| 3033 | # is OK; and we want to be able to make that assumption in our Makefile
 | 
|---|
| 3034 | # recipes.  So use an aggressive probe to check that the usage we want is
 | 
|---|
| 3035 | # actually supported "in the wild" to an acceptable degree.
 | 
|---|
| 3036 | # See automake bug#10828.
 | 
|---|
| 3037 | # To make any issue more visible, cause the running configure to be aborted
 | 
|---|
| 3038 | # by default if the 'rm' program in use doesn't match our expectations; the
 | 
|---|
| 3039 | # user can still override this though.
 | 
|---|
| 3040 | if rm -f && rm -fr && rm -rf; then : OK; else
 | 
|---|
| 3041 |   cat >&2 <<'END'
 | 
|---|
| 3042 | Oops!
 | 
|---|
| 3043 | 
 | 
|---|
| 3044 | Your 'rm' program seems unable to run without file operands specified
 | 
|---|
| 3045 | on the command line, even when the '-f' option is present.  This is contrary
 | 
|---|
| 3046 | to the behaviour of most rm programs out there, and not conforming with
 | 
|---|
| 3047 | the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
 | 
|---|
| 3048 | 
 | 
|---|
| 3049 | Please tell bug-automake@gnu.org about your system, including the value
 | 
|---|
| 3050 | of your $PATH and any error possibly output before this message.  This
 | 
|---|
| 3051 | can help us improve future automake versions.
 | 
|---|
| 3052 | 
 | 
|---|
| 3053 | END
 | 
|---|
| 3054 |   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
 | 
|---|
| 3055 |     echo 'Configuration will proceed anyway, since you have set the' >&2
 | 
|---|
| 3056 |     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
 | 
|---|
| 3057 |     echo >&2
 | 
|---|
| 3058 |   else
 | 
|---|
| 3059 |     cat >&2 <<'END'
 | 
|---|
| 3060 | Aborting the configuration process, to ensure you take notice of the issue.
 | 
|---|
| 3061 | 
 | 
|---|
| 3062 | You can download and install GNU coreutils to get an 'rm' implementation
 | 
|---|
| 3063 | that behaves properly: <http://www.gnu.org/software/coreutils/>.
 | 
|---|
| 3064 | 
 | 
|---|
| 3065 | If you want to complete the configuration process using your problematic
 | 
|---|
| 3066 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
 | 
|---|
| 3067 | to "yes", and re-run configure.
 | 
|---|
| 3068 | 
 | 
|---|
| 3069 | END
 | 
|---|
| 3070 |     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
 | 
|---|
| 3071 |   fi
 | 
|---|
| 3072 | fi
 | 
|---|
| 3073 | 
 | 
|---|
| 3074 | 
 | 
|---|
| 3075 | # Allow program name tansformation
 | 
|---|
| 3076 | # will fill program_transform_name with appropriate sed regex
 | 
|---|
| 3077 | 
 | 
|---|
| 3078 | 
 | 
|---|
| 3079 | #==============================================================================
 | 
|---|
| 3080 | #Trasforming cc1 will break compilation
 | 
|---|
| 3081 | 
 | 
|---|
| 3082 |         if test "${program_transform_name}" = ""; then
 | 
|---|
| 3083 |         as_fn_error $? "Program transform not supported.
 | 
|---|
| 3084 |                         Use --with-cfa-name='[Desired name here]' instead" "$LINENO" 5
 | 
|---|
| 3085 |         fi
 | 
|---|
| 3086 | 
 | 
|---|
| 3087 |         #Define the new name of the installed command
 | 
|---|
| 3088 | 
 | 
|---|
| 3089 | # Check whether --with-cfa-name was given.
 | 
|---|
| 3090 | if test "${with_cfa_name+set}" = set; then :
 | 
|---|
| 3091 |   withval=$with_cfa_name; cfa_name=$withval
 | 
|---|
| 3092 | else
 | 
|---|
| 3093 |   cfa_name="cfa"
 | 
|---|
| 3094 | fi
 | 
|---|
| 3095 | 
 | 
|---|
| 3096 | 
 | 
|---|
| 3097 |         CFA_NAME=${cfa_name}
 | 
|---|
| 3098 | 
 | 
|---|
| 3099 | 
 | 
|---|
| 3100 | 
 | 
|---|
| 3101 | #==============================================================================
 | 
|---|
| 3102 | # version information
 | 
|---|
| 3103 | 
 | 
|---|
| 3104 | rm -f version
 | 
|---|
| 3105 | echo ${PACKAGE_VERSION} > version               # file containing version number for other tools
 | 
|---|
| 3106 | chmod ugo-w version
 | 
|---|
| 3107 | ver_major=`cut -d '.' -f1 version`              # subdivide version number into components at periods
 | 
|---|
| 3108 | ver_minor=`cut -d '.' -f2 version`
 | 
|---|
| 3109 | ver_patch=`cut -d '.' -f3 version`
 | 
|---|
| 3110 | ver_build=`cut -d '.' -f4 version`
 | 
|---|
| 3111 | 
 | 
|---|
| 3112 | # AC_SUBST([CONFIG_STATUS_DEPENDENCIES], ['$(top_srcdir)/version'])
 | 
|---|
| 3113 | 
 | 
|---|
| 3114 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3115 | #define CFA_VERSION_MAJOR ${ver_major}
 | 
|---|
| 3116 | _ACEOF
 | 
|---|
| 3117 | 
 | 
|---|
| 3118 | 
 | 
|---|
| 3119 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3120 | #define CFA_VERSION_MINOR ${ver_minor}
 | 
|---|
| 3121 | _ACEOF
 | 
|---|
| 3122 | 
 | 
|---|
| 3123 | 
 | 
|---|
| 3124 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3125 | #define CFA_VERSION_PATCH ${ver_patch}
 | 
|---|
| 3126 | _ACEOF
 | 
|---|
| 3127 | 
 | 
|---|
| 3128 | 
 | 
|---|
| 3129 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3130 | #define CFA_VERSION_BUILD ${ver_build}
 | 
|---|
| 3131 | _ACEOF
 | 
|---|
| 3132 | 
 | 
|---|
| 3133 | 
 | 
|---|
| 3134 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3135 | #define CFA_VERSION_SHORT "${ver_major}"
 | 
|---|
| 3136 | _ACEOF
 | 
|---|
| 3137 | 
 | 
|---|
| 3138 | 
 | 
|---|
| 3139 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3140 | #define CFA_VERSION "${ver_major}.${ver_minor}"
 | 
|---|
| 3141 | _ACEOF
 | 
|---|
| 3142 | 
 | 
|---|
| 3143 | 
 | 
|---|
| 3144 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3145 | #define CFA_VERSION_LONG "${ver_major}.${ver_minor}.${ver_patch}"
 | 
|---|
| 3146 | _ACEOF
 | 
|---|
| 3147 | 
 | 
|---|
| 3148 | 
 | 
|---|
| 3149 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3150 | #define CFA_VERSION_FULL "${ver_major}.${ver_minor}.${ver_patch}.${ver_build}"
 | 
|---|
| 3151 | _ACEOF
 | 
|---|
| 3152 | 
 | 
|---|
| 3153 | 
 | 
|---|
| 3154 | #==============================================================================
 | 
|---|
| 3155 | # HACK to be able to use conditionnals inside makefiles
 | 
|---|
| 3156 | DOifskipcompile='ifeq ($(skipcompile),yes)
 | 
|---|
| 3157 | else'
 | 
|---|
| 3158 | 
 | 
|---|
| 3159 | 
 | 
|---|
| 3160 | 
 | 
|---|
| 3161 | DOendif='endif'
 | 
|---|
| 3162 | 
 | 
|---|
| 3163 | 
 | 
|---|
| 3164 | 
 | 
|---|
| 3165 | #==============================================================================
 | 
|---|
| 3166 | # backend compiler implementation
 | 
|---|
| 3167 | 
 | 
|---|
| 3168 | # Check whether --with-backend-compiler was given.
 | 
|---|
| 3169 | if test "${with_backend_compiler+set}" = set; then :
 | 
|---|
| 3170 |   withval=$with_backend_compiler; backendcompiler=$withval
 | 
|---|
| 3171 | else
 | 
|---|
| 3172 |   backendcompiler=""
 | 
|---|
| 3173 | fi
 | 
|---|
| 3174 | 
 | 
|---|
| 3175 | if test "x$backendcompiler" != "x"; then
 | 
|---|
| 3176 |        BACKEND_CC=${backendcompiler}
 | 
|---|
| 3177 | else
 | 
|---|
| 3178 |        # Extract the first word of "gcc", so it can be a program name with args.
 | 
|---|
| 3179 | set dummy gcc; ac_word=$2
 | 
|---|
| 3180 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 3181 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 3182 | if ${ac_cv_path_BACKEND_CC+:} false; then :
 | 
|---|
| 3183 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3184 | else
 | 
|---|
| 3185 |   case $BACKEND_CC in
 | 
|---|
| 3186 |   [\\/]* | ?:[\\/]*)
 | 
|---|
| 3187 |   ac_cv_path_BACKEND_CC="$BACKEND_CC" # Let the user override the test with a path.
 | 
|---|
| 3188 |   ;;
 | 
|---|
| 3189 |   *)
 | 
|---|
| 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
 | 
|---|
| 3196 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 3197 |     ac_cv_path_BACKEND_CC="$as_dir/$ac_word$ac_exec_ext"
 | 
|---|
| 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 |   ;;
 | 
|---|
| 3206 | esac
 | 
|---|
| 3207 | fi
 | 
|---|
| 3208 | BACKEND_CC=$ac_cv_path_BACKEND_CC
 | 
|---|
| 3209 | if test -n "$BACKEND_CC"; then
 | 
|---|
| 3210 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKEND_CC" >&5
 | 
|---|
| 3211 | $as_echo "$BACKEND_CC" >&6; }
 | 
|---|
| 3212 | else
 | 
|---|
| 3213 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 3214 | $as_echo "no" >&6; }
 | 
|---|
| 3215 | fi
 | 
|---|
| 3216 | 
 | 
|---|
| 3217 |        # check gcc installed
 | 
|---|
| 3218 |        if test "x$BACKEND_CC" = "x"; then
 | 
|---|
| 3219 |                as_fn_error $? "some version of gcc is needed. Get it at ftp://ftp.gnu.org" "$LINENO" 5
 | 
|---|
| 3220 |                exit 1
 | 
|---|
| 3221 |        fi
 | 
|---|
| 3222 | fi
 | 
|---|
| 3223 | 
 | 
|---|
| 3224 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3225 | #define CFA_BACKEND_CC "${BACKEND_CC}"
 | 
|---|
| 3226 | _ACEOF
 | 
|---|
| 3227 | 
 | 
|---|
| 3228 | 
 | 
|---|
| 3229 | 
 | 
|---|
| 3230 | #==============================================================================
 | 
|---|
| 3231 | # Installation paths
 | 
|---|
| 3232 | 
 | 
|---|
| 3233 |         if test "x$prefix" = "xNONE"; then
 | 
|---|
| 3234 |                 cfa_prefix=${ac_default_prefix}
 | 
|---|
| 3235 |         else
 | 
|---|
| 3236 |                 cfa_prefix=${prefix}
 | 
|---|
| 3237 |         fi
 | 
|---|
| 3238 |         cfa_prefix="$(readlink -m ${cfa_prefix})/"
 | 
|---|
| 3239 | 
 | 
|---|
| 3240 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3241 | #define CFA_PREFIX "${cfa_prefix}"
 | 
|---|
| 3242 | _ACEOF
 | 
|---|
| 3243 | 
 | 
|---|
| 3244 |         CFA_PREFIX=${cfa_prefix}
 | 
|---|
| 3245 | 
 | 
|---|
| 3246 | 
 | 
|---|
| 3247 |         if test "$includedir" = '${prefix}/include'; then
 | 
|---|
| 3248 |                 cfa_incdir="${cfa_prefix}include/${cfa_name}"
 | 
|---|
| 3249 |         else
 | 
|---|
| 3250 |                 cfa_incdir=${includedir}
 | 
|---|
| 3251 |         fi
 | 
|---|
| 3252 |         cfa_incdir="$(readlink -m ${cfa_incdir})/"
 | 
|---|
| 3253 | 
 | 
|---|
| 3254 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3255 | #define CFA_INCDIR "${cfa_incdir}"
 | 
|---|
| 3256 | _ACEOF
 | 
|---|
| 3257 | 
 | 
|---|
| 3258 |         CFA_INCDIR=${cfa_incdir}
 | 
|---|
| 3259 | 
 | 
|---|
| 3260 | 
 | 
|---|
| 3261 |         if test "$bindir" = '${exec_prefix}/bin'; then
 | 
|---|
| 3262 |                 cfa_bindir="${cfa_prefix}bin"
 | 
|---|
| 3263 |         else
 | 
|---|
| 3264 |                 cfa_bindir=${bindir}
 | 
|---|
| 3265 |         fi
 | 
|---|
| 3266 |         cfa_bindir="$(readlink -m ${cfa_bindir})/"
 | 
|---|
| 3267 | 
 | 
|---|
| 3268 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3269 | #define CFA_BINDIR "${cfa_bindir}"
 | 
|---|
| 3270 | _ACEOF
 | 
|---|
| 3271 | 
 | 
|---|
| 3272 |         CFA_BINDIR=${cfa_bindir}
 | 
|---|
| 3273 | 
 | 
|---|
| 3274 | 
 | 
|---|
| 3275 |         if test "$libdir" = '${exec_prefix}/lib'; then
 | 
|---|
| 3276 |                 if test "${ARCHITECTURE}" != ""; then
 | 
|---|
| 3277 |                         cfa_libdir="${cfa_prefix}lib/${cfa_name}/${ARCHITECTURE}-${CONFIGURATION}/"
 | 
|---|
| 3278 |                 else
 | 
|---|
| 3279 |                         cfa_libdir="${cfa_prefix}lib/${cfa_name}/"
 | 
|---|
| 3280 |                 fi
 | 
|---|
| 3281 |         else
 | 
|---|
| 3282 |                 cfa_libdir="${libdir}/${ARCHITECTURE}${CONFIGURATION}"
 | 
|---|
| 3283 |         fi
 | 
|---|
| 3284 |         cfa_libdir="$(readlink -m ${cfa_libdir})/"
 | 
|---|
| 3285 | 
 | 
|---|
| 3286 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3287 | #define CFA_LIBDIR "${cfa_libdir}"
 | 
|---|
| 3288 | _ACEOF
 | 
|---|
| 3289 | 
 | 
|---|
| 3290 |         CFA_LIBDIR=${cfa_libdir}
 | 
|---|
| 3291 | 
 | 
|---|
| 3292 | 
 | 
|---|
| 3293 | 
 | 
|---|
| 3294 | #==============================================================================
 | 
|---|
| 3295 | # Create variables for commonly used targets
 | 
|---|
| 3296 | 
 | 
|---|
| 3297 | TOP_SRCDIR="$(readlink -m $ac_confdir/)/"
 | 
|---|
| 3298 | TOP_BUILDDIR="$(readlink -m $ac_pwd/)/"
 | 
|---|
| 3299 | 
 | 
|---|
| 3300 | 
 | 
|---|
| 3301 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3302 | #define TOP_SRCDIR "$TOP_SRCDIR"
 | 
|---|
| 3303 | _ACEOF
 | 
|---|
| 3304 | 
 | 
|---|
| 3305 | 
 | 
|---|
| 3306 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3307 | #define TOP_BUILDDIR "$TOP_BUILDDIR"
 | 
|---|
| 3308 | _ACEOF
 | 
|---|
| 3309 | 
 | 
|---|
| 3310 | 
 | 
|---|
| 3311 | DRIVER_DIR=${TOP_BUILDDIR}driver/
 | 
|---|
| 3312 | CFACC=${DRIVER_DIR}cfa
 | 
|---|
| 3313 | CFACPP=${DRIVER_DIR}cfa-cpp
 | 
|---|
| 3314 | 
 | 
|---|
| 3315 | 
 | 
|---|
| 3316 | 
 | 
|---|
| 3317 | 
 | 
|---|
| 3318 | #==============================================================================
 | 
|---|
| 3319 | # Flag variables needed to build in tree
 | 
|---|
| 3320 | LIBCFA_SRC='${TOP_SRCDIR}/libcfa/src'
 | 
|---|
| 3321 | BUILD_IN_TREE_FLAGS="-XCFA -t -B${DRIVER_DIR}"
 | 
|---|
| 3322 | 
 | 
|---|
| 3323 | 
 | 
|---|
| 3324 | #==============================================================================
 | 
|---|
| 3325 | # handle the list of hosts to build for
 | 
|---|
| 3326 | for var in $ac_configure_args
 | 
|---|
| 3327 | do
 | 
|---|
| 3328 |         #strip quotes surrouding values
 | 
|---|
| 3329 |         case $var in
 | 
|---|
| 3330 |                 # skip cross compilation related arguments
 | 
|---|
| 3331 |                 \'--host=*) ;; \'host_alias=*) ;; \'--build=*) ;; \'build_alias=*) ;; \'--target=*) ;; \'target_alias=*) ;;
 | 
|---|
| 3332 | 
 | 
|---|
| 3333 |                 # skip the target hosts
 | 
|---|
| 3334 |                 \'--with-target-hosts=*) ;;
 | 
|---|
| 3335 | 
 | 
|---|
| 3336 |                 # append all other arguments to the sub configure arguments
 | 
|---|
| 3337 |                 *) LIBCFA_GENERAL_ARGS="${LIBCFA_GENERAL_ARGS} $var";;
 | 
|---|
| 3338 |         esac
 | 
|---|
| 3339 | done
 | 
|---|
| 3340 | 
 | 
|---|
| 3341 | #==============================================================================
 | 
|---|
| 3342 | # handle the list of hosts to build for
 | 
|---|
| 3343 | # Make sure we can run config.sub.
 | 
|---|
| 3344 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 | 
|---|
| 3345 |   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 | 
|---|
| 3346 | 
 | 
|---|
| 3347 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 | 
|---|
| 3348 | $as_echo_n "checking build system type... " >&6; }
 | 
|---|
| 3349 | if ${ac_cv_build+:} false; then :
 | 
|---|
| 3350 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3351 | else
 | 
|---|
| 3352 |   ac_build_alias=$build_alias
 | 
|---|
| 3353 | test "x$ac_build_alias" = x &&
 | 
|---|
| 3354 |   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 | 
|---|
| 3355 | test "x$ac_build_alias" = x &&
 | 
|---|
| 3356 |   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 | 
|---|
| 3357 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 | 
|---|
| 3358 |   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 | 
|---|
| 3359 | 
 | 
|---|
| 3360 | fi
 | 
|---|
| 3361 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 | 
|---|
| 3362 | $as_echo "$ac_cv_build" >&6; }
 | 
|---|
| 3363 | case $ac_cv_build in
 | 
|---|
| 3364 | *-*-*) ;;
 | 
|---|
| 3365 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 | 
|---|
| 3366 | esac
 | 
|---|
| 3367 | build=$ac_cv_build
 | 
|---|
| 3368 | ac_save_IFS=$IFS; IFS='-'
 | 
|---|
| 3369 | set x $ac_cv_build
 | 
|---|
| 3370 | shift
 | 
|---|
| 3371 | build_cpu=$1
 | 
|---|
| 3372 | build_vendor=$2
 | 
|---|
| 3373 | shift; shift
 | 
|---|
| 3374 | # Remember, the first character of IFS is used to create $*,
 | 
|---|
| 3375 | # except with old shells:
 | 
|---|
| 3376 | build_os=$*
 | 
|---|
| 3377 | IFS=$ac_save_IFS
 | 
|---|
| 3378 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 | 
|---|
| 3379 | 
 | 
|---|
| 3380 | 
 | 
|---|
| 3381 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 | 
|---|
| 3382 | $as_echo_n "checking host system type... " >&6; }
 | 
|---|
| 3383 | if ${ac_cv_host+:} false; then :
 | 
|---|
| 3384 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3385 | else
 | 
|---|
| 3386 |   if test "x$host_alias" = x; then
 | 
|---|
| 3387 |   ac_cv_host=$ac_cv_build
 | 
|---|
| 3388 | else
 | 
|---|
| 3389 |   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 | 
|---|
| 3390 |     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 | 
|---|
| 3391 | fi
 | 
|---|
| 3392 | 
 | 
|---|
| 3393 | fi
 | 
|---|
| 3394 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 | 
|---|
| 3395 | $as_echo "$ac_cv_host" >&6; }
 | 
|---|
| 3396 | case $ac_cv_host in
 | 
|---|
| 3397 | *-*-*) ;;
 | 
|---|
| 3398 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 | 
|---|
| 3399 | esac
 | 
|---|
| 3400 | host=$ac_cv_host
 | 
|---|
| 3401 | ac_save_IFS=$IFS; IFS='-'
 | 
|---|
| 3402 | set x $ac_cv_host
 | 
|---|
| 3403 | shift
 | 
|---|
| 3404 | host_cpu=$1
 | 
|---|
| 3405 | host_vendor=$2
 | 
|---|
| 3406 | shift; shift
 | 
|---|
| 3407 | # Remember, the first character of IFS is used to create $*,
 | 
|---|
| 3408 | # except with old shells:
 | 
|---|
| 3409 | host_os=$*
 | 
|---|
| 3410 | IFS=$ac_save_IFS
 | 
|---|
| 3411 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 | 
|---|
| 3412 | 
 | 
|---|
| 3413 | 
 | 
|---|
| 3414 | 
 | 
|---|
| 3415 | if ! test "$host_cpu" = "$build_cpu"; then
 | 
|---|
| 3416 |         case $host_cpu in
 | 
|---|
| 3417 |                 i386)
 | 
|---|
| 3418 |                         HOST_FLAGS="-m32"
 | 
|---|
| 3419 |                         ;;
 | 
|---|
| 3420 |                 i686)
 | 
|---|
| 3421 |                         HOST_FLAGS="-m32"
 | 
|---|
| 3422 |                         ;;
 | 
|---|
| 3423 |                 x86_64)
 | 
|---|
| 3424 |                         HOST_FLAGS="-m64"
 | 
|---|
| 3425 |                         ;;
 | 
|---|
| 3426 |         esac
 | 
|---|
| 3427 | fi
 | 
|---|
| 3428 | 
 | 
|---|
| 3429 | 
 | 
|---|
| 3430 | default_target="${host_cpu}:debug, ${host_cpu}:nodebug"
 | 
|---|
| 3431 | 
 | 
|---|
| 3432 | # Check whether --with-target-hosts was given.
 | 
|---|
| 3433 | if test "${with_target_hosts+set}" = set; then :
 | 
|---|
| 3434 |   withval=$with_target_hosts; target_hosts=$withval
 | 
|---|
| 3435 | else
 | 
|---|
| 3436 |   target_hosts=${default_target}
 | 
|---|
| 3437 | fi
 | 
|---|
| 3438 | 
 | 
|---|
| 3439 | 
 | 
|---|
| 3440 | TARGET_HOSTS=${target_hosts}
 | 
|---|
| 3441 | 
 | 
|---|
| 3442 | 
 | 
|---|
| 3443 | LIBCFA_PATHS="DRIVER_DIR=${DRIVER_DIR}"
 | 
|---|
| 3444 | 
 | 
|---|
| 3445 | for i in $(echo $target_hosts | sed "s/,/ /g")
 | 
|---|
| 3446 | do
 | 
|---|
| 3447 |         # call your procedure/other scripts here below
 | 
|---|
| 3448 |         arch_name=$(echo $i | sed -r "s/:(.*)//g")
 | 
|---|
| 3449 |         lib_config=$(echo $i | sed -r "s/(.*)://g")
 | 
|---|
| 3450 | 
 | 
|---|
| 3451 |         case $lib_config in
 | 
|---|
| 3452 |                 "nodebug") ;;
 | 
|---|
| 3453 |                 "debug") ;;
 | 
|---|
| 3454 |                 "nolib") ;;
 | 
|---|
| 3455 |                 *)
 | 
|---|
| 3456 |                         >&2 echo "Configuration must be 'debug', 'nodebug' or 'nolib'"
 | 
|---|
| 3457 |                         exit 1
 | 
|---|
| 3458 |                 ;;
 | 
|---|
| 3459 |         esac
 | 
|---|
| 3460 | 
 | 
|---|
| 3461 | 
 | 
|---|
| 3462 |         case ${arch_name} in
 | 
|---|
| 3463 |                 "host") arch_name=${host_cpu};;
 | 
|---|
| 3464 |                 *) arch_name=${arch_name};;
 | 
|---|
| 3465 |         esac
 | 
|---|
| 3466 | 
 | 
|---|
| 3467 |         case $arch_name in
 | 
|---|
| 3468 |                 "x64"        ) cannon_arch_name="x64";;
 | 
|---|
| 3469 |                 "x86-64"     ) cannon_arch_name="x64";;
 | 
|---|
| 3470 |                 "x86_64"     ) cannon_arch_name="x64";;
 | 
|---|
| 3471 |                 "x86"        ) cannon_arch_name="x86";;
 | 
|---|
| 3472 |                 "i386"       ) cannon_arch_name="x86";;
 | 
|---|
| 3473 |                 "i486"       ) cannon_arch_name="x86";;
 | 
|---|
| 3474 |                 "i686"       ) cannon_arch_name="x86";;
 | 
|---|
| 3475 |                 "Intel 80386") cannon_arch_name="x86";;
 | 
|---|
| 3476 |                 "arm"        ) cannon_arch_name="arm";;
 | 
|---|
| 3477 |                 "ARM"        ) cannon_arch_name="arm";;
 | 
|---|
| 3478 |                 *)
 | 
|---|
| 3479 |                 >&2 echo "Unkown architecture " $arch_name;
 | 
|---|
| 3480 |                 exit 1
 | 
|---|
| 3481 |                 ;;
 | 
|---|
| 3482 |         esac
 | 
|---|
| 3483 | 
 | 
|---|
| 3484 |         lib_arch=${cannon_arch_name}
 | 
|---|
| 3485 |         lib_dir="libcfa/${lib_arch}-${lib_config}"
 | 
|---|
| 3486 | 
 | 
|---|
| 3487 |         LIBCFA_TARGET_DIRS="${LIBCFA_TARGET_DIRS} ${lib_dir}"
 | 
|---|
| 3488 |         LIBCFA_TARGET_MAKEFILES="${LIBCFA_TARGET_MAKEFILES} ${lib_dir}/Makefile"
 | 
|---|
| 3489 | 
 | 
|---|
| 3490 |         mkdir -p ${lib_dir}
 | 
|---|
| 3491 |         echo -n "${LIBCFA_GENERAL_ARGS} " > ${lib_dir}/config.data
 | 
|---|
| 3492 |         echo -n "${LIBCFA_PATHS} " >> ${lib_dir}/config.data
 | 
|---|
| 3493 |         echo -n "ARCHITECTURE=${lib_arch} " >> ${lib_dir}/config.data
 | 
|---|
| 3494 |         echo -n "CONFIGURATION=${lib_config}" >> ${lib_dir}/config.data
 | 
|---|
| 3495 | done
 | 
|---|
| 3496 | 
 | 
|---|
| 3497 | 
 | 
|---|
| 3498 | 
 | 
|---|
| 3499 | 
 | 
|---|
| 3500 | 
 | 
|---|
| 3501 |         case ${host_cpu} in
 | 
|---|
| 3502 |                 "host") arch_name=${host_cpu};;
 | 
|---|
| 3503 |                 *) arch_name=${host_cpu};;
 | 
|---|
| 3504 |         esac
 | 
|---|
| 3505 | 
 | 
|---|
| 3506 |         case $arch_name in
 | 
|---|
| 3507 |                 "x64"        ) cannon_arch_name="x64";;
 | 
|---|
| 3508 |                 "x86-64"     ) cannon_arch_name="x64";;
 | 
|---|
| 3509 |                 "x86_64"     ) cannon_arch_name="x64";;
 | 
|---|
| 3510 |                 "x86"        ) cannon_arch_name="x86";;
 | 
|---|
| 3511 |                 "i386"       ) cannon_arch_name="x86";;
 | 
|---|
| 3512 |                 "i486"       ) cannon_arch_name="x86";;
 | 
|---|
| 3513 |                 "i686"       ) cannon_arch_name="x86";;
 | 
|---|
| 3514 |                 "Intel 80386") cannon_arch_name="x86";;
 | 
|---|
| 3515 |                 "arm"        ) cannon_arch_name="arm";;
 | 
|---|
| 3516 |                 "ARM"        ) cannon_arch_name="arm";;
 | 
|---|
| 3517 |                 *)
 | 
|---|
| 3518 |                 >&2 echo "Unkown architecture " $arch_name;
 | 
|---|
| 3519 |                 exit 1
 | 
|---|
| 3520 |                 ;;
 | 
|---|
| 3521 |         esac
 | 
|---|
| 3522 | 
 | 
|---|
| 3523 | 
 | 
|---|
| 3524 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3525 | #define CFA_DEFAULT_CPU "$cannon_arch_name"
 | 
|---|
| 3526 | _ACEOF
 | 
|---|
| 3527 | 
 | 
|---|
| 3528 | 
 | 
|---|
| 3529 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3530 | #define CFA_64_CPU "x64"
 | 
|---|
| 3531 | _ACEOF
 | 
|---|
| 3532 | 
 | 
|---|
| 3533 | 
 | 
|---|
| 3534 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3535 | #define CFA_32_CPU "x86"
 | 
|---|
| 3536 | _ACEOF
 | 
|---|
| 3537 | 
 | 
|---|
| 3538 | 
 | 
|---|
| 3539 | #==============================================================================
 | 
|---|
| 3540 | # CAFLAGS
 | 
|---|
| 3541 | 
 | 
|---|
| 3542 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3543 | #define CFA_FLAGS "${CFAFLAGS}"
 | 
|---|
| 3544 | _ACEOF
 | 
|---|
| 3545 | 
 | 
|---|
| 3546 | CFA_FLAGS=${CFAFLAGS}
 | 
|---|
| 3547 | 
 | 
|---|
| 3548 | 
 | 
|---|
| 3549 | #==============================================================================
 | 
|---|
| 3550 | # Checks for programs.
 | 
|---|
| 3551 | ac_ext=cpp
 | 
|---|
| 3552 | ac_cpp='$CXXCPP $CPPFLAGS'
 | 
|---|
| 3553 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 3554 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 3555 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 | 
|---|
| 3556 | if test -z "$CXX"; then
 | 
|---|
| 3557 |   if test -n "$CCC"; then
 | 
|---|
| 3558 |     CXX=$CCC
 | 
|---|
| 3559 |   else
 | 
|---|
| 3560 |     if test -n "$ac_tool_prefix"; then
 | 
|---|
| 3561 |   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 | 
|---|
| 3562 |   do
 | 
|---|
| 3563 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 | 
|---|
| 3564 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 | 
|---|
| 3565 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 3566 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 3567 | if ${ac_cv_prog_CXX+:} false; then :
 | 
|---|
| 3568 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3569 | else
 | 
|---|
| 3570 |   if test -n "$CXX"; then
 | 
|---|
| 3571 |   ac_cv_prog_CXX="$CXX" # Let the user override the test.
 | 
|---|
| 3572 | else
 | 
|---|
| 3573 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 3574 | for as_dir in $PATH
 | 
|---|
| 3575 | do
 | 
|---|
| 3576 |   IFS=$as_save_IFS
 | 
|---|
| 3577 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 3578 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 3579 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 3580 |     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 | 
|---|
| 3581 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 3582 |     break 2
 | 
|---|
| 3583 |   fi
 | 
|---|
| 3584 | done
 | 
|---|
| 3585 |   done
 | 
|---|
| 3586 | IFS=$as_save_IFS
 | 
|---|
| 3587 | 
 | 
|---|
| 3588 | fi
 | 
|---|
| 3589 | fi
 | 
|---|
| 3590 | CXX=$ac_cv_prog_CXX
 | 
|---|
| 3591 | if test -n "$CXX"; then
 | 
|---|
| 3592 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 | 
|---|
| 3593 | $as_echo "$CXX" >&6; }
 | 
|---|
| 3594 | else
 | 
|---|
| 3595 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 3596 | $as_echo "no" >&6; }
 | 
|---|
| 3597 | fi
 | 
|---|
| 3598 | 
 | 
|---|
| 3599 | 
 | 
|---|
| 3600 |     test -n "$CXX" && break
 | 
|---|
| 3601 |   done
 | 
|---|
| 3602 | fi
 | 
|---|
| 3603 | if test -z "$CXX"; then
 | 
|---|
| 3604 |   ac_ct_CXX=$CXX
 | 
|---|
| 3605 |   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 | 
|---|
| 3606 | do
 | 
|---|
| 3607 |   # Extract the first word of "$ac_prog", so it can be a program name with args.
 | 
|---|
| 3608 | set dummy $ac_prog; ac_word=$2
 | 
|---|
| 3609 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 3610 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 3611 | if ${ac_cv_prog_ac_ct_CXX+:} false; then :
 | 
|---|
| 3612 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3613 | else
 | 
|---|
| 3614 |   if test -n "$ac_ct_CXX"; then
 | 
|---|
| 3615 |   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 | 
|---|
| 3616 | else
 | 
|---|
| 3617 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 3618 | for as_dir in $PATH
 | 
|---|
| 3619 | do
 | 
|---|
| 3620 |   IFS=$as_save_IFS
 | 
|---|
| 3621 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 3622 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 3623 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 3624 |     ac_cv_prog_ac_ct_CXX="$ac_prog"
 | 
|---|
| 3625 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 3626 |     break 2
 | 
|---|
| 3627 |   fi
 | 
|---|
| 3628 | done
 | 
|---|
| 3629 |   done
 | 
|---|
| 3630 | IFS=$as_save_IFS
 | 
|---|
| 3631 | 
 | 
|---|
| 3632 | fi
 | 
|---|
| 3633 | fi
 | 
|---|
| 3634 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 | 
|---|
| 3635 | if test -n "$ac_ct_CXX"; then
 | 
|---|
| 3636 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 | 
|---|
| 3637 | $as_echo "$ac_ct_CXX" >&6; }
 | 
|---|
| 3638 | else
 | 
|---|
| 3639 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 3640 | $as_echo "no" >&6; }
 | 
|---|
| 3641 | fi
 | 
|---|
| 3642 | 
 | 
|---|
| 3643 | 
 | 
|---|
| 3644 |   test -n "$ac_ct_CXX" && break
 | 
|---|
| 3645 | done
 | 
|---|
| 3646 | 
 | 
|---|
| 3647 |   if test "x$ac_ct_CXX" = x; then
 | 
|---|
| 3648 |     CXX="g++"
 | 
|---|
| 3649 |   else
 | 
|---|
| 3650 |     case $cross_compiling:$ac_tool_warned in
 | 
|---|
| 3651 | yes:)
 | 
|---|
| 3652 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 | 
|---|
| 3653 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 | 
|---|
| 3654 | ac_tool_warned=yes ;;
 | 
|---|
| 3655 | esac
 | 
|---|
| 3656 |     CXX=$ac_ct_CXX
 | 
|---|
| 3657 |   fi
 | 
|---|
| 3658 | fi
 | 
|---|
| 3659 | 
 | 
|---|
| 3660 |   fi
 | 
|---|
| 3661 | fi
 | 
|---|
| 3662 | # Provide some information about the compiler.
 | 
|---|
| 3663 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 | 
|---|
| 3664 | set X $ac_compile
 | 
|---|
| 3665 | ac_compiler=$2
 | 
|---|
| 3666 | for ac_option in --version -v -V -qversion; do
 | 
|---|
| 3667 |   { { ac_try="$ac_compiler $ac_option >&5"
 | 
|---|
| 3668 | case "(($ac_try" in
 | 
|---|
| 3669 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 3670 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 3671 | esac
 | 
|---|
| 3672 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 3673 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 3674 |   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 | 
|---|
| 3675 |   ac_status=$?
 | 
|---|
| 3676 |   if test -s conftest.err; then
 | 
|---|
| 3677 |     sed '10a\
 | 
|---|
| 3678 | ... rest of stderr output deleted ...
 | 
|---|
| 3679 |          10q' conftest.err >conftest.er1
 | 
|---|
| 3680 |     cat conftest.er1 >&5
 | 
|---|
| 3681 |   fi
 | 
|---|
| 3682 |   rm -f conftest.er1 conftest.err
 | 
|---|
| 3683 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 3684 |   test $ac_status = 0; }
 | 
|---|
| 3685 | done
 | 
|---|
| 3686 | 
 | 
|---|
| 3687 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 3688 | /* end confdefs.h.  */
 | 
|---|
| 3689 | 
 | 
|---|
| 3690 | int
 | 
|---|
| 3691 | main ()
 | 
|---|
| 3692 | {
 | 
|---|
| 3693 | 
 | 
|---|
| 3694 |   ;
 | 
|---|
| 3695 |   return 0;
 | 
|---|
| 3696 | }
 | 
|---|
| 3697 | _ACEOF
 | 
|---|
| 3698 | ac_clean_files_save=$ac_clean_files
 | 
|---|
| 3699 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 | 
|---|
| 3700 | # Try to create an executable without -o first, disregard a.out.
 | 
|---|
| 3701 | # It will help us diagnose broken compilers, and finding out an intuition
 | 
|---|
| 3702 | # of exeext.
 | 
|---|
| 3703 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
 | 
|---|
| 3704 | $as_echo_n "checking whether the C++ compiler works... " >&6; }
 | 
|---|
| 3705 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 | 
|---|
| 3706 | 
 | 
|---|
| 3707 | # The possible output files:
 | 
|---|
| 3708 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 | 
|---|
| 3709 | 
 | 
|---|
| 3710 | ac_rmfiles=
 | 
|---|
| 3711 | for ac_file in $ac_files
 | 
|---|
| 3712 | do
 | 
|---|
| 3713 |   case $ac_file in
 | 
|---|
| 3714 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 | 
|---|
| 3715 |     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 | 
|---|
| 3716 |   esac
 | 
|---|
| 3717 | done
 | 
|---|
| 3718 | rm -f $ac_rmfiles
 | 
|---|
| 3719 | 
 | 
|---|
| 3720 | if { { ac_try="$ac_link_default"
 | 
|---|
| 3721 | case "(($ac_try" in
 | 
|---|
| 3722 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 3723 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 3724 | esac
 | 
|---|
| 3725 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 3726 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 3727 |   (eval "$ac_link_default") 2>&5
 | 
|---|
| 3728 |   ac_status=$?
 | 
|---|
| 3729 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 3730 |   test $ac_status = 0; }; then :
 | 
|---|
| 3731 |   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 | 
|---|
| 3732 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 | 
|---|
| 3733 | # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 | 
|---|
| 3734 | # so that the user can short-circuit this test for compilers unknown to
 | 
|---|
| 3735 | # Autoconf.
 | 
|---|
| 3736 | for ac_file in $ac_files ''
 | 
|---|
| 3737 | do
 | 
|---|
| 3738 |   test -f "$ac_file" || continue
 | 
|---|
| 3739 |   case $ac_file in
 | 
|---|
| 3740 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 | 
|---|
| 3741 |         ;;
 | 
|---|
| 3742 |     [ab].out )
 | 
|---|
| 3743 |         # We found the default executable, but exeext='' is most
 | 
|---|
| 3744 |         # certainly right.
 | 
|---|
| 3745 |         break;;
 | 
|---|
| 3746 |     *.* )
 | 
|---|
| 3747 |         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 | 
|---|
| 3748 |         then :; else
 | 
|---|
| 3749 |            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 | 
|---|
| 3750 |         fi
 | 
|---|
| 3751 |         # We set ac_cv_exeext here because the later test for it is not
 | 
|---|
| 3752 |         # safe: cross compilers may not add the suffix if given an `-o'
 | 
|---|
| 3753 |         # argument, so we may need to know it at that point already.
 | 
|---|
| 3754 |         # Even if this section looks crufty: it has the advantage of
 | 
|---|
| 3755 |         # actually working.
 | 
|---|
| 3756 |         break;;
 | 
|---|
| 3757 |     * )
 | 
|---|
| 3758 |         break;;
 | 
|---|
| 3759 |   esac
 | 
|---|
| 3760 | done
 | 
|---|
| 3761 | test "$ac_cv_exeext" = no && ac_cv_exeext=
 | 
|---|
| 3762 | 
 | 
|---|
| 3763 | else
 | 
|---|
| 3764 |   ac_file=''
 | 
|---|
| 3765 | fi
 | 
|---|
| 3766 | if test -z "$ac_file"; then :
 | 
|---|
| 3767 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 3768 | $as_echo "no" >&6; }
 | 
|---|
| 3769 | $as_echo "$as_me: failed program was:" >&5
 | 
|---|
| 3770 | sed 's/^/| /' conftest.$ac_ext >&5
 | 
|---|
| 3771 | 
 | 
|---|
| 3772 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 3773 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 3774 | as_fn_error 77 "C++ compiler cannot create executables
 | 
|---|
| 3775 | See \`config.log' for more details" "$LINENO" 5; }
 | 
|---|
| 3776 | else
 | 
|---|
| 3777 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 | 
|---|
| 3778 | $as_echo "yes" >&6; }
 | 
|---|
| 3779 | fi
 | 
|---|
| 3780 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
 | 
|---|
| 3781 | $as_echo_n "checking for C++ compiler default output file name... " >&6; }
 | 
|---|
| 3782 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 | 
|---|
| 3783 | $as_echo "$ac_file" >&6; }
 | 
|---|
| 3784 | ac_exeext=$ac_cv_exeext
 | 
|---|
| 3785 | 
 | 
|---|
| 3786 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 | 
|---|
| 3787 | ac_clean_files=$ac_clean_files_save
 | 
|---|
| 3788 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 | 
|---|
| 3789 | $as_echo_n "checking for suffix of executables... " >&6; }
 | 
|---|
| 3790 | if { { ac_try="$ac_link"
 | 
|---|
| 3791 | case "(($ac_try" in
 | 
|---|
| 3792 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 3793 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 3794 | esac
 | 
|---|
| 3795 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 3796 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 3797 |   (eval "$ac_link") 2>&5
 | 
|---|
| 3798 |   ac_status=$?
 | 
|---|
| 3799 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 3800 |   test $ac_status = 0; }; then :
 | 
|---|
| 3801 |   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 | 
|---|
| 3802 | # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 | 
|---|
| 3803 | # work properly (i.e., refer to `conftest.exe'), while it won't with
 | 
|---|
| 3804 | # `rm'.
 | 
|---|
| 3805 | for ac_file in conftest.exe conftest conftest.*; do
 | 
|---|
| 3806 |   test -f "$ac_file" || continue
 | 
|---|
| 3807 |   case $ac_file in
 | 
|---|
| 3808 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 | 
|---|
| 3809 |     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 | 
|---|
| 3810 |           break;;
 | 
|---|
| 3811 |     * ) break;;
 | 
|---|
| 3812 |   esac
 | 
|---|
| 3813 | done
 | 
|---|
| 3814 | else
 | 
|---|
| 3815 |   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 3816 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 3817 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 | 
|---|
| 3818 | See \`config.log' for more details" "$LINENO" 5; }
 | 
|---|
| 3819 | fi
 | 
|---|
| 3820 | rm -f conftest conftest$ac_cv_exeext
 | 
|---|
| 3821 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 | 
|---|
| 3822 | $as_echo "$ac_cv_exeext" >&6; }
 | 
|---|
| 3823 | 
 | 
|---|
| 3824 | rm -f conftest.$ac_ext
 | 
|---|
| 3825 | EXEEXT=$ac_cv_exeext
 | 
|---|
| 3826 | ac_exeext=$EXEEXT
 | 
|---|
| 3827 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 3828 | /* end confdefs.h.  */
 | 
|---|
| 3829 | #include <stdio.h>
 | 
|---|
| 3830 | int
 | 
|---|
| 3831 | main ()
 | 
|---|
| 3832 | {
 | 
|---|
| 3833 | FILE *f = fopen ("conftest.out", "w");
 | 
|---|
| 3834 |  return ferror (f) || fclose (f) != 0;
 | 
|---|
| 3835 | 
 | 
|---|
| 3836 |   ;
 | 
|---|
| 3837 |   return 0;
 | 
|---|
| 3838 | }
 | 
|---|
| 3839 | _ACEOF
 | 
|---|
| 3840 | ac_clean_files="$ac_clean_files conftest.out"
 | 
|---|
| 3841 | # Check that the compiler produces executables we can run.  If not, either
 | 
|---|
| 3842 | # the compiler is broken, or we cross compile.
 | 
|---|
| 3843 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 | 
|---|
| 3844 | $as_echo_n "checking whether we are cross compiling... " >&6; }
 | 
|---|
| 3845 | if test "$cross_compiling" != yes; then
 | 
|---|
| 3846 |   { { ac_try="$ac_link"
 | 
|---|
| 3847 | case "(($ac_try" in
 | 
|---|
| 3848 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 3849 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 3850 | esac
 | 
|---|
| 3851 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 3852 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 3853 |   (eval "$ac_link") 2>&5
 | 
|---|
| 3854 |   ac_status=$?
 | 
|---|
| 3855 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 3856 |   test $ac_status = 0; }
 | 
|---|
| 3857 |   if { ac_try='./conftest$ac_cv_exeext'
 | 
|---|
| 3858 |   { { case "(($ac_try" in
 | 
|---|
| 3859 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 3860 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 3861 | esac
 | 
|---|
| 3862 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 3863 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 3864 |   (eval "$ac_try") 2>&5
 | 
|---|
| 3865 |   ac_status=$?
 | 
|---|
| 3866 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 3867 |   test $ac_status = 0; }; }; then
 | 
|---|
| 3868 |     cross_compiling=no
 | 
|---|
| 3869 |   else
 | 
|---|
| 3870 |     if test "$cross_compiling" = maybe; then
 | 
|---|
| 3871 |         cross_compiling=yes
 | 
|---|
| 3872 |     else
 | 
|---|
| 3873 |         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 3874 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 3875 | as_fn_error $? "cannot run C++ compiled programs.
 | 
|---|
| 3876 | If you meant to cross compile, use \`--host'.
 | 
|---|
| 3877 | See \`config.log' for more details" "$LINENO" 5; }
 | 
|---|
| 3878 |     fi
 | 
|---|
| 3879 |   fi
 | 
|---|
| 3880 | fi
 | 
|---|
| 3881 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 | 
|---|
| 3882 | $as_echo "$cross_compiling" >&6; }
 | 
|---|
| 3883 | 
 | 
|---|
| 3884 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 | 
|---|
| 3885 | ac_clean_files=$ac_clean_files_save
 | 
|---|
| 3886 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 | 
|---|
| 3887 | $as_echo_n "checking for suffix of object files... " >&6; }
 | 
|---|
| 3888 | if ${ac_cv_objext+:} false; then :
 | 
|---|
| 3889 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3890 | else
 | 
|---|
| 3891 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 3892 | /* end confdefs.h.  */
 | 
|---|
| 3893 | 
 | 
|---|
| 3894 | int
 | 
|---|
| 3895 | main ()
 | 
|---|
| 3896 | {
 | 
|---|
| 3897 | 
 | 
|---|
| 3898 |   ;
 | 
|---|
| 3899 |   return 0;
 | 
|---|
| 3900 | }
 | 
|---|
| 3901 | _ACEOF
 | 
|---|
| 3902 | rm -f conftest.o conftest.obj
 | 
|---|
| 3903 | if { { ac_try="$ac_compile"
 | 
|---|
| 3904 | case "(($ac_try" in
 | 
|---|
| 3905 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 3906 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 3907 | esac
 | 
|---|
| 3908 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 3909 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 3910 |   (eval "$ac_compile") 2>&5
 | 
|---|
| 3911 |   ac_status=$?
 | 
|---|
| 3912 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 3913 |   test $ac_status = 0; }; then :
 | 
|---|
| 3914 |   for ac_file in conftest.o conftest.obj conftest.*; do
 | 
|---|
| 3915 |   test -f "$ac_file" || continue;
 | 
|---|
| 3916 |   case $ac_file in
 | 
|---|
| 3917 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 | 
|---|
| 3918 |     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 | 
|---|
| 3919 |        break;;
 | 
|---|
| 3920 |   esac
 | 
|---|
| 3921 | done
 | 
|---|
| 3922 | else
 | 
|---|
| 3923 |   $as_echo "$as_me: failed program was:" >&5
 | 
|---|
| 3924 | sed 's/^/| /' conftest.$ac_ext >&5
 | 
|---|
| 3925 | 
 | 
|---|
| 3926 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 3927 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 3928 | as_fn_error $? "cannot compute suffix of object files: cannot compile
 | 
|---|
| 3929 | See \`config.log' for more details" "$LINENO" 5; }
 | 
|---|
| 3930 | fi
 | 
|---|
| 3931 | rm -f conftest.$ac_cv_objext conftest.$ac_ext
 | 
|---|
| 3932 | fi
 | 
|---|
| 3933 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 | 
|---|
| 3934 | $as_echo "$ac_cv_objext" >&6; }
 | 
|---|
| 3935 | OBJEXT=$ac_cv_objext
 | 
|---|
| 3936 | ac_objext=$OBJEXT
 | 
|---|
| 3937 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 | 
|---|
| 3938 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 | 
|---|
| 3939 | if ${ac_cv_cxx_compiler_gnu+:} false; then :
 | 
|---|
| 3940 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3941 | else
 | 
|---|
| 3942 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 3943 | /* end confdefs.h.  */
 | 
|---|
| 3944 | 
 | 
|---|
| 3945 | int
 | 
|---|
| 3946 | main ()
 | 
|---|
| 3947 | {
 | 
|---|
| 3948 | #ifndef __GNUC__
 | 
|---|
| 3949 |        choke me
 | 
|---|
| 3950 | #endif
 | 
|---|
| 3951 | 
 | 
|---|
| 3952 |   ;
 | 
|---|
| 3953 |   return 0;
 | 
|---|
| 3954 | }
 | 
|---|
| 3955 | _ACEOF
 | 
|---|
| 3956 | if ac_fn_cxx_try_compile "$LINENO"; then :
 | 
|---|
| 3957 |   ac_compiler_gnu=yes
 | 
|---|
| 3958 | else
 | 
|---|
| 3959 |   ac_compiler_gnu=no
 | 
|---|
| 3960 | fi
 | 
|---|
| 3961 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 3962 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 | 
|---|
| 3963 | 
 | 
|---|
| 3964 | fi
 | 
|---|
| 3965 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 | 
|---|
| 3966 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 | 
|---|
| 3967 | if test $ac_compiler_gnu = yes; then
 | 
|---|
| 3968 |   GXX=yes
 | 
|---|
| 3969 | else
 | 
|---|
| 3970 |   GXX=
 | 
|---|
| 3971 | fi
 | 
|---|
| 3972 | ac_test_CXXFLAGS=${CXXFLAGS+set}
 | 
|---|
| 3973 | ac_save_CXXFLAGS=$CXXFLAGS
 | 
|---|
| 3974 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 | 
|---|
| 3975 | $as_echo_n "checking whether $CXX accepts -g... " >&6; }
 | 
|---|
| 3976 | if ${ac_cv_prog_cxx_g+:} false; then :
 | 
|---|
| 3977 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3978 | else
 | 
|---|
| 3979 |   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 | 
|---|
| 3980 |    ac_cxx_werror_flag=yes
 | 
|---|
| 3981 |    ac_cv_prog_cxx_g=no
 | 
|---|
| 3982 |    CXXFLAGS="-g"
 | 
|---|
| 3983 |    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 3984 | /* end confdefs.h.  */
 | 
|---|
| 3985 | 
 | 
|---|
| 3986 | int
 | 
|---|
| 3987 | main ()
 | 
|---|
| 3988 | {
 | 
|---|
| 3989 | 
 | 
|---|
| 3990 |   ;
 | 
|---|
| 3991 |   return 0;
 | 
|---|
| 3992 | }
 | 
|---|
| 3993 | _ACEOF
 | 
|---|
| 3994 | if ac_fn_cxx_try_compile "$LINENO"; then :
 | 
|---|
| 3995 |   ac_cv_prog_cxx_g=yes
 | 
|---|
| 3996 | else
 | 
|---|
| 3997 |   CXXFLAGS=""
 | 
|---|
| 3998 |       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 3999 | /* end confdefs.h.  */
 | 
|---|
| 4000 | 
 | 
|---|
| 4001 | int
 | 
|---|
| 4002 | main ()
 | 
|---|
| 4003 | {
 | 
|---|
| 4004 | 
 | 
|---|
| 4005 |   ;
 | 
|---|
| 4006 |   return 0;
 | 
|---|
| 4007 | }
 | 
|---|
| 4008 | _ACEOF
 | 
|---|
| 4009 | if ac_fn_cxx_try_compile "$LINENO"; then :
 | 
|---|
| 4010 | 
 | 
|---|
| 4011 | else
 | 
|---|
| 4012 |   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 | 
|---|
| 4013 |          CXXFLAGS="-g"
 | 
|---|
| 4014 |          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 4015 | /* end confdefs.h.  */
 | 
|---|
| 4016 | 
 | 
|---|
| 4017 | int
 | 
|---|
| 4018 | main ()
 | 
|---|
| 4019 | {
 | 
|---|
| 4020 | 
 | 
|---|
| 4021 |   ;
 | 
|---|
| 4022 |   return 0;
 | 
|---|
| 4023 | }
 | 
|---|
| 4024 | _ACEOF
 | 
|---|
| 4025 | if ac_fn_cxx_try_compile "$LINENO"; then :
 | 
|---|
| 4026 |   ac_cv_prog_cxx_g=yes
 | 
|---|
| 4027 | fi
 | 
|---|
| 4028 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 4029 | fi
 | 
|---|
| 4030 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 4031 | fi
 | 
|---|
| 4032 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 4033 |    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 | 
|---|
| 4034 | fi
 | 
|---|
| 4035 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 | 
|---|
| 4036 | $as_echo "$ac_cv_prog_cxx_g" >&6; }
 | 
|---|
| 4037 | if test "$ac_test_CXXFLAGS" = set; then
 | 
|---|
| 4038 |   CXXFLAGS=$ac_save_CXXFLAGS
 | 
|---|
| 4039 | elif test $ac_cv_prog_cxx_g = yes; then
 | 
|---|
| 4040 |   if test "$GXX" = yes; then
 | 
|---|
| 4041 |     CXXFLAGS="-g -O2"
 | 
|---|
| 4042 |   else
 | 
|---|
| 4043 |     CXXFLAGS="-g"
 | 
|---|
| 4044 |   fi
 | 
|---|
| 4045 | else
 | 
|---|
| 4046 |   if test "$GXX" = yes; then
 | 
|---|
| 4047 |     CXXFLAGS="-O2"
 | 
|---|
| 4048 |   else
 | 
|---|
| 4049 |     CXXFLAGS=
 | 
|---|
| 4050 |   fi
 | 
|---|
| 4051 | fi
 | 
|---|
| 4052 | ac_ext=c
 | 
|---|
| 4053 | ac_cpp='$CPP $CPPFLAGS'
 | 
|---|
| 4054 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 4055 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 4056 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
 | 
|---|
| 4057 | DEPDIR="${am__leading_dot}deps"
 | 
|---|
| 4058 | 
 | 
|---|
| 4059 | ac_config_commands="$ac_config_commands depfiles"
 | 
|---|
| 4060 | 
 | 
|---|
| 4061 | 
 | 
|---|
| 4062 | am_make=${MAKE-make}
 | 
|---|
| 4063 | cat > confinc << 'END'
 | 
|---|
| 4064 | am__doit:
 | 
|---|
| 4065 |         @echo this is the am__doit target
 | 
|---|
| 4066 | .PHONY: am__doit
 | 
|---|
| 4067 | END
 | 
|---|
| 4068 | # If we don't find an include directive, just comment out the code.
 | 
|---|
| 4069 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 | 
|---|
| 4070 | $as_echo_n "checking for style of include used by $am_make... " >&6; }
 | 
|---|
| 4071 | am__include="#"
 | 
|---|
| 4072 | am__quote=
 | 
|---|
| 4073 | _am_result=none
 | 
|---|
| 4074 | # First try GNU make style include.
 | 
|---|
| 4075 | echo "include confinc" > confmf
 | 
|---|
| 4076 | # Ignore all kinds of additional output from 'make'.
 | 
|---|
| 4077 | case `$am_make -s -f confmf 2> /dev/null` in #(
 | 
|---|
| 4078 | *the\ am__doit\ target*)
 | 
|---|
| 4079 |   am__include=include
 | 
|---|
| 4080 |   am__quote=
 | 
|---|
| 4081 |   _am_result=GNU
 | 
|---|
| 4082 |   ;;
 | 
|---|
| 4083 | esac
 | 
|---|
| 4084 | # Now try BSD make style include.
 | 
|---|
| 4085 | if test "$am__include" = "#"; then
 | 
|---|
| 4086 |    echo '.include "confinc"' > confmf
 | 
|---|
| 4087 |    case `$am_make -s -f confmf 2> /dev/null` in #(
 | 
|---|
| 4088 |    *the\ am__doit\ target*)
 | 
|---|
| 4089 |      am__include=.include
 | 
|---|
| 4090 |      am__quote="\""
 | 
|---|
| 4091 |      _am_result=BSD
 | 
|---|
| 4092 |      ;;
 | 
|---|
| 4093 |    esac
 | 
|---|
| 4094 | fi
 | 
|---|
| 4095 | 
 | 
|---|
| 4096 | 
 | 
|---|
| 4097 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 | 
|---|
| 4098 | $as_echo "$_am_result" >&6; }
 | 
|---|
| 4099 | rm -f confinc confmf
 | 
|---|
| 4100 | 
 | 
|---|
| 4101 | # Check whether --enable-dependency-tracking was given.
 | 
|---|
| 4102 | if test "${enable_dependency_tracking+set}" = set; then :
 | 
|---|
| 4103 |   enableval=$enable_dependency_tracking;
 | 
|---|
| 4104 | fi
 | 
|---|
| 4105 | 
 | 
|---|
| 4106 | if test "x$enable_dependency_tracking" != xno; then
 | 
|---|
| 4107 |   am_depcomp="$ac_aux_dir/depcomp"
 | 
|---|
| 4108 |   AMDEPBACKSLASH='\'
 | 
|---|
| 4109 |   am__nodep='_no'
 | 
|---|
| 4110 | fi
 | 
|---|
| 4111 |  if test "x$enable_dependency_tracking" != xno; then
 | 
|---|
| 4112 |   AMDEP_TRUE=
 | 
|---|
| 4113 |   AMDEP_FALSE='#'
 | 
|---|
| 4114 | else
 | 
|---|
| 4115 |   AMDEP_TRUE='#'
 | 
|---|
| 4116 |   AMDEP_FALSE=
 | 
|---|
| 4117 | fi
 | 
|---|
| 4118 | 
 | 
|---|
| 4119 | 
 | 
|---|
| 4120 | 
 | 
|---|
| 4121 | depcc="$CXX"  am_compiler_list=
 | 
|---|
| 4122 | 
 | 
|---|
| 4123 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 | 
|---|
| 4124 | $as_echo_n "checking dependency style of $depcc... " >&6; }
 | 
|---|
| 4125 | if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
 | 
|---|
| 4126 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4127 | else
 | 
|---|
| 4128 |   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 | 
|---|
| 4129 |   # We make a subdir and do the tests there.  Otherwise we can end up
 | 
|---|
| 4130 |   # making bogus files that we don't know about and never remove.  For
 | 
|---|
| 4131 |   # instance it was reported that on HP-UX the gcc test will end up
 | 
|---|
| 4132 |   # making a dummy file named 'D' -- because '-MD' means "put the output
 | 
|---|
| 4133 |   # in D".
 | 
|---|
| 4134 |   rm -rf conftest.dir
 | 
|---|
| 4135 |   mkdir conftest.dir
 | 
|---|
| 4136 |   # Copy depcomp to subdir because otherwise we won't find it if we're
 | 
|---|
| 4137 |   # using a relative directory.
 | 
|---|
| 4138 |   cp "$am_depcomp" conftest.dir
 | 
|---|
| 4139 |   cd conftest.dir
 | 
|---|
| 4140 |   # We will build objects and dependencies in a subdirectory because
 | 
|---|
| 4141 |   # it helps to detect inapplicable dependency modes.  For instance
 | 
|---|
| 4142 |   # both Tru64's cc and ICC support -MD to output dependencies as a
 | 
|---|
| 4143 |   # side effect of compilation, but ICC will put the dependencies in
 | 
|---|
| 4144 |   # the current directory while Tru64 will put them in the object
 | 
|---|
| 4145 |   # directory.
 | 
|---|
| 4146 |   mkdir sub
 | 
|---|
| 4147 | 
 | 
|---|
| 4148 |   am_cv_CXX_dependencies_compiler_type=none
 | 
|---|
| 4149 |   if test "$am_compiler_list" = ""; then
 | 
|---|
| 4150 |      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 | 
|---|
| 4151 |   fi
 | 
|---|
| 4152 |   am__universal=false
 | 
|---|
| 4153 |   case " $depcc " in #(
 | 
|---|
| 4154 |      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 | 
|---|
| 4155 |      esac
 | 
|---|
| 4156 | 
 | 
|---|
| 4157 |   for depmode in $am_compiler_list; do
 | 
|---|
| 4158 |     # Setup a source with many dependencies, because some compilers
 | 
|---|
| 4159 |     # like to wrap large dependency lists on column 80 (with \), and
 | 
|---|
| 4160 |     # we should not choose a depcomp mode which is confused by this.
 | 
|---|
| 4161 |     #
 | 
|---|
| 4162 |     # We need to recreate these files for each test, as the compiler may
 | 
|---|
| 4163 |     # overwrite some of them when testing with obscure command lines.
 | 
|---|
| 4164 |     # This happens at least with the AIX C compiler.
 | 
|---|
| 4165 |     : > sub/conftest.c
 | 
|---|
| 4166 |     for i in 1 2 3 4 5 6; do
 | 
|---|
| 4167 |       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 | 
|---|
| 4168 |       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 | 
|---|
| 4169 |       # Solaris 10 /bin/sh.
 | 
|---|
| 4170 |       echo '/* dummy */' > sub/conftst$i.h
 | 
|---|
| 4171 |     done
 | 
|---|
| 4172 |     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 | 
|---|
| 4173 | 
 | 
|---|
| 4174 |     # We check with '-c' and '-o' for the sake of the "dashmstdout"
 | 
|---|
| 4175 |     # mode.  It turns out that the SunPro C++ compiler does not properly
 | 
|---|
| 4176 |     # handle '-M -o', and we need to detect this.  Also, some Intel
 | 
|---|
| 4177 |     # versions had trouble with output in subdirs.
 | 
|---|
| 4178 |     am__obj=sub/conftest.${OBJEXT-o}
 | 
|---|
| 4179 |     am__minus_obj="-o $am__obj"
 | 
|---|
| 4180 |     case $depmode in
 | 
|---|
| 4181 |     gcc)
 | 
|---|
| 4182 |       # This depmode causes a compiler race in universal mode.
 | 
|---|
| 4183 |       test "$am__universal" = false || continue
 | 
|---|
| 4184 |       ;;
 | 
|---|
| 4185 |     nosideeffect)
 | 
|---|
| 4186 |       # After this tag, mechanisms are not by side-effect, so they'll
 | 
|---|
| 4187 |       # only be used when explicitly requested.
 | 
|---|
| 4188 |       if test "x$enable_dependency_tracking" = xyes; then
 | 
|---|
| 4189 |         continue
 | 
|---|
| 4190 |       else
 | 
|---|
| 4191 |         break
 | 
|---|
| 4192 |       fi
 | 
|---|
| 4193 |       ;;
 | 
|---|
| 4194 |     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 | 
|---|
| 4195 |       # This compiler won't grok '-c -o', but also, the minuso test has
 | 
|---|
| 4196 |       # not run yet.  These depmodes are late enough in the game, and
 | 
|---|
| 4197 |       # so weak that their functioning should not be impacted.
 | 
|---|
| 4198 |       am__obj=conftest.${OBJEXT-o}
 | 
|---|
| 4199 |       am__minus_obj=
 | 
|---|
| 4200 |       ;;
 | 
|---|
| 4201 |     none) break ;;
 | 
|---|
| 4202 |     esac
 | 
|---|
| 4203 |     if depmode=$depmode \
 | 
|---|
| 4204 |        source=sub/conftest.c object=$am__obj \
 | 
|---|
| 4205 |        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 | 
|---|
| 4206 |        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 | 
|---|
| 4207 |          >/dev/null 2>conftest.err &&
 | 
|---|
| 4208 |        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 4209 |        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 4210 |        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 4211 |        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 | 
|---|
| 4212 |       # icc doesn't choke on unknown options, it will just issue warnings
 | 
|---|
| 4213 |       # or remarks (even with -Werror).  So we grep stderr for any message
 | 
|---|
| 4214 |       # that says an option was ignored or not supported.
 | 
|---|
| 4215 |       # When given -MP, icc 7.0 and 7.1 complain thusly:
 | 
|---|
| 4216 |       #   icc: Command line warning: ignoring option '-M'; no argument required
 | 
|---|
| 4217 |       # The diagnosis changed in icc 8.0:
 | 
|---|
| 4218 |       #   icc: Command line remark: option '-MP' not supported
 | 
|---|
| 4219 |       if (grep 'ignoring option' conftest.err ||
 | 
|---|
| 4220 |           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 | 
|---|
| 4221 |         am_cv_CXX_dependencies_compiler_type=$depmode
 | 
|---|
| 4222 |         break
 | 
|---|
| 4223 |       fi
 | 
|---|
| 4224 |     fi
 | 
|---|
| 4225 |   done
 | 
|---|
| 4226 | 
 | 
|---|
| 4227 |   cd ..
 | 
|---|
| 4228 |   rm -rf conftest.dir
 | 
|---|
| 4229 | else
 | 
|---|
| 4230 |   am_cv_CXX_dependencies_compiler_type=none
 | 
|---|
| 4231 | fi
 | 
|---|
| 4232 | 
 | 
|---|
| 4233 | fi
 | 
|---|
| 4234 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 | 
|---|
| 4235 | $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 | 
|---|
| 4236 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 | 
|---|
| 4237 | 
 | 
|---|
| 4238 |  if
 | 
|---|
| 4239 |   test "x$enable_dependency_tracking" != xno \
 | 
|---|
| 4240 |   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 | 
|---|
| 4241 |   am__fastdepCXX_TRUE=
 | 
|---|
| 4242 |   am__fastdepCXX_FALSE='#'
 | 
|---|
| 4243 | else
 | 
|---|
| 4244 |   am__fastdepCXX_TRUE='#'
 | 
|---|
| 4245 |   am__fastdepCXX_FALSE=
 | 
|---|
| 4246 | fi
 | 
|---|
| 4247 | 
 | 
|---|
| 4248 | 
 | 
|---|
| 4249 | ac_ext=c
 | 
|---|
| 4250 | ac_cpp='$CPP $CPPFLAGS'
 | 
|---|
| 4251 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 4252 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 4253 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
 | 
|---|
| 4254 | if test -n "$ac_tool_prefix"; then
 | 
|---|
| 4255 |   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 | 
|---|
| 4256 | set dummy ${ac_tool_prefix}gcc; ac_word=$2
 | 
|---|
| 4257 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 4258 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 4259 | if ${ac_cv_prog_CC+:} false; then :
 | 
|---|
| 4260 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4261 | else
 | 
|---|
| 4262 |   if test -n "$CC"; then
 | 
|---|
| 4263 |   ac_cv_prog_CC="$CC" # Let the user override the test.
 | 
|---|
| 4264 | else
 | 
|---|
| 4265 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 4266 | for as_dir in $PATH
 | 
|---|
| 4267 | do
 | 
|---|
| 4268 |   IFS=$as_save_IFS
 | 
|---|
| 4269 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 4270 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 4271 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 4272 |     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 | 
|---|
| 4273 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 4274 |     break 2
 | 
|---|
| 4275 |   fi
 | 
|---|
| 4276 | done
 | 
|---|
| 4277 |   done
 | 
|---|
| 4278 | IFS=$as_save_IFS
 | 
|---|
| 4279 | 
 | 
|---|
| 4280 | fi
 | 
|---|
| 4281 | fi
 | 
|---|
| 4282 | CC=$ac_cv_prog_CC
 | 
|---|
| 4283 | if test -n "$CC"; then
 | 
|---|
| 4284 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 | 
|---|
| 4285 | $as_echo "$CC" >&6; }
 | 
|---|
| 4286 | else
 | 
|---|
| 4287 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 4288 | $as_echo "no" >&6; }
 | 
|---|
| 4289 | fi
 | 
|---|
| 4290 | 
 | 
|---|
| 4291 | 
 | 
|---|
| 4292 | fi
 | 
|---|
| 4293 | if test -z "$ac_cv_prog_CC"; then
 | 
|---|
| 4294 |   ac_ct_CC=$CC
 | 
|---|
| 4295 |   # Extract the first word of "gcc", so it can be a program name with args.
 | 
|---|
| 4296 | set dummy gcc; ac_word=$2
 | 
|---|
| 4297 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 4298 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 4299 | if ${ac_cv_prog_ac_ct_CC+:} false; then :
 | 
|---|
| 4300 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4301 | else
 | 
|---|
| 4302 |   if test -n "$ac_ct_CC"; then
 | 
|---|
| 4303 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 | 
|---|
| 4304 | else
 | 
|---|
| 4305 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 4306 | for as_dir in $PATH
 | 
|---|
| 4307 | do
 | 
|---|
| 4308 |   IFS=$as_save_IFS
 | 
|---|
| 4309 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 4310 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 4311 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 4312 |     ac_cv_prog_ac_ct_CC="gcc"
 | 
|---|
| 4313 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 4314 |     break 2
 | 
|---|
| 4315 |   fi
 | 
|---|
| 4316 | done
 | 
|---|
| 4317 |   done
 | 
|---|
| 4318 | IFS=$as_save_IFS
 | 
|---|
| 4319 | 
 | 
|---|
| 4320 | fi
 | 
|---|
| 4321 | fi
 | 
|---|
| 4322 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
 | 
|---|
| 4323 | if test -n "$ac_ct_CC"; then
 | 
|---|
| 4324 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 | 
|---|
| 4325 | $as_echo "$ac_ct_CC" >&6; }
 | 
|---|
| 4326 | else
 | 
|---|
| 4327 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 4328 | $as_echo "no" >&6; }
 | 
|---|
| 4329 | fi
 | 
|---|
| 4330 | 
 | 
|---|
| 4331 |   if test "x$ac_ct_CC" = x; then
 | 
|---|
| 4332 |     CC=""
 | 
|---|
| 4333 |   else
 | 
|---|
| 4334 |     case $cross_compiling:$ac_tool_warned in
 | 
|---|
| 4335 | yes:)
 | 
|---|
| 4336 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 | 
|---|
| 4337 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 | 
|---|
| 4338 | ac_tool_warned=yes ;;
 | 
|---|
| 4339 | esac
 | 
|---|
| 4340 |     CC=$ac_ct_CC
 | 
|---|
| 4341 |   fi
 | 
|---|
| 4342 | else
 | 
|---|
| 4343 |   CC="$ac_cv_prog_CC"
 | 
|---|
| 4344 | fi
 | 
|---|
| 4345 | 
 | 
|---|
| 4346 | if test -z "$CC"; then
 | 
|---|
| 4347 |           if test -n "$ac_tool_prefix"; then
 | 
|---|
| 4348 |     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 | 
|---|
| 4349 | set dummy ${ac_tool_prefix}cc; ac_word=$2
 | 
|---|
| 4350 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 4351 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 4352 | if ${ac_cv_prog_CC+:} false; then :
 | 
|---|
| 4353 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4354 | else
 | 
|---|
| 4355 |   if test -n "$CC"; then
 | 
|---|
| 4356 |   ac_cv_prog_CC="$CC" # Let the user override the test.
 | 
|---|
| 4357 | else
 | 
|---|
| 4358 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 4359 | for as_dir in $PATH
 | 
|---|
| 4360 | do
 | 
|---|
| 4361 |   IFS=$as_save_IFS
 | 
|---|
| 4362 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 4363 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 4364 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 4365 |     ac_cv_prog_CC="${ac_tool_prefix}cc"
 | 
|---|
| 4366 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 4367 |     break 2
 | 
|---|
| 4368 |   fi
 | 
|---|
| 4369 | done
 | 
|---|
| 4370 |   done
 | 
|---|
| 4371 | IFS=$as_save_IFS
 | 
|---|
| 4372 | 
 | 
|---|
| 4373 | fi
 | 
|---|
| 4374 | fi
 | 
|---|
| 4375 | CC=$ac_cv_prog_CC
 | 
|---|
| 4376 | if test -n "$CC"; then
 | 
|---|
| 4377 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 | 
|---|
| 4378 | $as_echo "$CC" >&6; }
 | 
|---|
| 4379 | else
 | 
|---|
| 4380 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 4381 | $as_echo "no" >&6; }
 | 
|---|
| 4382 | fi
 | 
|---|
| 4383 | 
 | 
|---|
| 4384 | 
 | 
|---|
| 4385 |   fi
 | 
|---|
| 4386 | fi
 | 
|---|
| 4387 | if test -z "$CC"; then
 | 
|---|
| 4388 |   # Extract the first word of "cc", so it can be a program name with args.
 | 
|---|
| 4389 | set dummy cc; ac_word=$2
 | 
|---|
| 4390 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 4391 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 4392 | if ${ac_cv_prog_CC+:} false; then :
 | 
|---|
| 4393 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4394 | else
 | 
|---|
| 4395 |   if test -n "$CC"; then
 | 
|---|
| 4396 |   ac_cv_prog_CC="$CC" # Let the user override the test.
 | 
|---|
| 4397 | else
 | 
|---|
| 4398 |   ac_prog_rejected=no
 | 
|---|
| 4399 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 4400 | for as_dir in $PATH
 | 
|---|
| 4401 | do
 | 
|---|
| 4402 |   IFS=$as_save_IFS
 | 
|---|
| 4403 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 4404 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 4405 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 4406 |     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 | 
|---|
| 4407 |        ac_prog_rejected=yes
 | 
|---|
| 4408 |        continue
 | 
|---|
| 4409 |      fi
 | 
|---|
| 4410 |     ac_cv_prog_CC="cc"
 | 
|---|
| 4411 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 4412 |     break 2
 | 
|---|
| 4413 |   fi
 | 
|---|
| 4414 | done
 | 
|---|
| 4415 |   done
 | 
|---|
| 4416 | IFS=$as_save_IFS
 | 
|---|
| 4417 | 
 | 
|---|
| 4418 | if test $ac_prog_rejected = yes; then
 | 
|---|
| 4419 |   # We found a bogon in the path, so make sure we never use it.
 | 
|---|
| 4420 |   set dummy $ac_cv_prog_CC
 | 
|---|
| 4421 |   shift
 | 
|---|
| 4422 |   if test $# != 0; then
 | 
|---|
| 4423 |     # We chose a different compiler from the bogus one.
 | 
|---|
| 4424 |     # However, it has the same basename, so the bogon will be chosen
 | 
|---|
| 4425 |     # first if we set CC to just the basename; use the full file name.
 | 
|---|
| 4426 |     shift
 | 
|---|
| 4427 |     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 | 
|---|
| 4428 |   fi
 | 
|---|
| 4429 | fi
 | 
|---|
| 4430 | fi
 | 
|---|
| 4431 | fi
 | 
|---|
| 4432 | CC=$ac_cv_prog_CC
 | 
|---|
| 4433 | if test -n "$CC"; then
 | 
|---|
| 4434 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 | 
|---|
| 4435 | $as_echo "$CC" >&6; }
 | 
|---|
| 4436 | else
 | 
|---|
| 4437 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 4438 | $as_echo "no" >&6; }
 | 
|---|
| 4439 | fi
 | 
|---|
| 4440 | 
 | 
|---|
| 4441 | 
 | 
|---|
| 4442 | fi
 | 
|---|
| 4443 | if test -z "$CC"; then
 | 
|---|
| 4444 |   if test -n "$ac_tool_prefix"; then
 | 
|---|
| 4445 |   for ac_prog in cl.exe
 | 
|---|
| 4446 |   do
 | 
|---|
| 4447 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 | 
|---|
| 4448 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 | 
|---|
| 4449 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 4450 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 4451 | if ${ac_cv_prog_CC+:} false; then :
 | 
|---|
| 4452 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4453 | else
 | 
|---|
| 4454 |   if test -n "$CC"; then
 | 
|---|
| 4455 |   ac_cv_prog_CC="$CC" # Let the user override the test.
 | 
|---|
| 4456 | else
 | 
|---|
| 4457 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 4458 | for as_dir in $PATH
 | 
|---|
| 4459 | do
 | 
|---|
| 4460 |   IFS=$as_save_IFS
 | 
|---|
| 4461 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 4462 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 4463 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 4464 |     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 | 
|---|
| 4465 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 4466 |     break 2
 | 
|---|
| 4467 |   fi
 | 
|---|
| 4468 | done
 | 
|---|
| 4469 |   done
 | 
|---|
| 4470 | IFS=$as_save_IFS
 | 
|---|
| 4471 | 
 | 
|---|
| 4472 | fi
 | 
|---|
| 4473 | fi
 | 
|---|
| 4474 | CC=$ac_cv_prog_CC
 | 
|---|
| 4475 | if test -n "$CC"; then
 | 
|---|
| 4476 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 | 
|---|
| 4477 | $as_echo "$CC" >&6; }
 | 
|---|
| 4478 | else
 | 
|---|
| 4479 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 4480 | $as_echo "no" >&6; }
 | 
|---|
| 4481 | fi
 | 
|---|
| 4482 | 
 | 
|---|
| 4483 | 
 | 
|---|
| 4484 |     test -n "$CC" && break
 | 
|---|
| 4485 |   done
 | 
|---|
| 4486 | fi
 | 
|---|
| 4487 | if test -z "$CC"; then
 | 
|---|
| 4488 |   ac_ct_CC=$CC
 | 
|---|
| 4489 |   for ac_prog in cl.exe
 | 
|---|
| 4490 | do
 | 
|---|
| 4491 |   # Extract the first word of "$ac_prog", so it can be a program name with args.
 | 
|---|
| 4492 | set dummy $ac_prog; ac_word=$2
 | 
|---|
| 4493 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 4494 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 4495 | if ${ac_cv_prog_ac_ct_CC+:} false; then :
 | 
|---|
| 4496 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4497 | else
 | 
|---|
| 4498 |   if test -n "$ac_ct_CC"; then
 | 
|---|
| 4499 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 | 
|---|
| 4500 | else
 | 
|---|
| 4501 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 4502 | for as_dir in $PATH
 | 
|---|
| 4503 | do
 | 
|---|
| 4504 |   IFS=$as_save_IFS
 | 
|---|
| 4505 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 4506 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 4507 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 4508 |     ac_cv_prog_ac_ct_CC="$ac_prog"
 | 
|---|
| 4509 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 4510 |     break 2
 | 
|---|
| 4511 |   fi
 | 
|---|
| 4512 | done
 | 
|---|
| 4513 |   done
 | 
|---|
| 4514 | IFS=$as_save_IFS
 | 
|---|
| 4515 | 
 | 
|---|
| 4516 | fi
 | 
|---|
| 4517 | fi
 | 
|---|
| 4518 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
 | 
|---|
| 4519 | if test -n "$ac_ct_CC"; then
 | 
|---|
| 4520 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 | 
|---|
| 4521 | $as_echo "$ac_ct_CC" >&6; }
 | 
|---|
| 4522 | else
 | 
|---|
| 4523 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 4524 | $as_echo "no" >&6; }
 | 
|---|
| 4525 | fi
 | 
|---|
| 4526 | 
 | 
|---|
| 4527 | 
 | 
|---|
| 4528 |   test -n "$ac_ct_CC" && break
 | 
|---|
| 4529 | done
 | 
|---|
| 4530 | 
 | 
|---|
| 4531 |   if test "x$ac_ct_CC" = x; then
 | 
|---|
| 4532 |     CC=""
 | 
|---|
| 4533 |   else
 | 
|---|
| 4534 |     case $cross_compiling:$ac_tool_warned in
 | 
|---|
| 4535 | yes:)
 | 
|---|
| 4536 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 | 
|---|
| 4537 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 | 
|---|
| 4538 | ac_tool_warned=yes ;;
 | 
|---|
| 4539 | esac
 | 
|---|
| 4540 |     CC=$ac_ct_CC
 | 
|---|
| 4541 |   fi
 | 
|---|
| 4542 | fi
 | 
|---|
| 4543 | 
 | 
|---|
| 4544 | fi
 | 
|---|
| 4545 | 
 | 
|---|
| 4546 | 
 | 
|---|
| 4547 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 4548 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 4549 | as_fn_error $? "no acceptable C compiler found in \$PATH
 | 
|---|
| 4550 | See \`config.log' for more details" "$LINENO" 5; }
 | 
|---|
| 4551 | 
 | 
|---|
| 4552 | # Provide some information about the compiler.
 | 
|---|
| 4553 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 | 
|---|
| 4554 | set X $ac_compile
 | 
|---|
| 4555 | ac_compiler=$2
 | 
|---|
| 4556 | for ac_option in --version -v -V -qversion; do
 | 
|---|
| 4557 |   { { ac_try="$ac_compiler $ac_option >&5"
 | 
|---|
| 4558 | case "(($ac_try" in
 | 
|---|
| 4559 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 4560 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 4561 | esac
 | 
|---|
| 4562 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 4563 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 4564 |   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 | 
|---|
| 4565 |   ac_status=$?
 | 
|---|
| 4566 |   if test -s conftest.err; then
 | 
|---|
| 4567 |     sed '10a\
 | 
|---|
| 4568 | ... rest of stderr output deleted ...
 | 
|---|
| 4569 |          10q' conftest.err >conftest.er1
 | 
|---|
| 4570 |     cat conftest.er1 >&5
 | 
|---|
| 4571 |   fi
 | 
|---|
| 4572 |   rm -f conftest.er1 conftest.err
 | 
|---|
| 4573 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 4574 |   test $ac_status = 0; }
 | 
|---|
| 4575 | done
 | 
|---|
| 4576 | 
 | 
|---|
| 4577 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 | 
|---|
| 4578 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 | 
|---|
| 4579 | if ${ac_cv_c_compiler_gnu+:} false; then :
 | 
|---|
| 4580 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4581 | else
 | 
|---|
| 4582 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 4583 | /* end confdefs.h.  */
 | 
|---|
| 4584 | 
 | 
|---|
| 4585 | int
 | 
|---|
| 4586 | main ()
 | 
|---|
| 4587 | {
 | 
|---|
| 4588 | #ifndef __GNUC__
 | 
|---|
| 4589 |        choke me
 | 
|---|
| 4590 | #endif
 | 
|---|
| 4591 | 
 | 
|---|
| 4592 |   ;
 | 
|---|
| 4593 |   return 0;
 | 
|---|
| 4594 | }
 | 
|---|
| 4595 | _ACEOF
 | 
|---|
| 4596 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 4597 |   ac_compiler_gnu=yes
 | 
|---|
| 4598 | else
 | 
|---|
| 4599 |   ac_compiler_gnu=no
 | 
|---|
| 4600 | fi
 | 
|---|
| 4601 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 4602 | ac_cv_c_compiler_gnu=$ac_compiler_gnu
 | 
|---|
| 4603 | 
 | 
|---|
| 4604 | fi
 | 
|---|
| 4605 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 | 
|---|
| 4606 | $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 | 
|---|
| 4607 | if test $ac_compiler_gnu = yes; then
 | 
|---|
| 4608 |   GCC=yes
 | 
|---|
| 4609 | else
 | 
|---|
| 4610 |   GCC=
 | 
|---|
| 4611 | fi
 | 
|---|
| 4612 | ac_test_CFLAGS=${CFLAGS+set}
 | 
|---|
| 4613 | ac_save_CFLAGS=$CFLAGS
 | 
|---|
| 4614 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 | 
|---|
| 4615 | $as_echo_n "checking whether $CC accepts -g... " >&6; }
 | 
|---|
| 4616 | if ${ac_cv_prog_cc_g+:} false; then :
 | 
|---|
| 4617 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4618 | else
 | 
|---|
| 4619 |   ac_save_c_werror_flag=$ac_c_werror_flag
 | 
|---|
| 4620 |    ac_c_werror_flag=yes
 | 
|---|
| 4621 |    ac_cv_prog_cc_g=no
 | 
|---|
| 4622 |    CFLAGS="-g"
 | 
|---|
| 4623 |    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 4624 | /* end confdefs.h.  */
 | 
|---|
| 4625 | 
 | 
|---|
| 4626 | int
 | 
|---|
| 4627 | main ()
 | 
|---|
| 4628 | {
 | 
|---|
| 4629 | 
 | 
|---|
| 4630 |   ;
 | 
|---|
| 4631 |   return 0;
 | 
|---|
| 4632 | }
 | 
|---|
| 4633 | _ACEOF
 | 
|---|
| 4634 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 4635 |   ac_cv_prog_cc_g=yes
 | 
|---|
| 4636 | else
 | 
|---|
| 4637 |   CFLAGS=""
 | 
|---|
| 4638 |       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 4639 | /* end confdefs.h.  */
 | 
|---|
| 4640 | 
 | 
|---|
| 4641 | int
 | 
|---|
| 4642 | main ()
 | 
|---|
| 4643 | {
 | 
|---|
| 4644 | 
 | 
|---|
| 4645 |   ;
 | 
|---|
| 4646 |   return 0;
 | 
|---|
| 4647 | }
 | 
|---|
| 4648 | _ACEOF
 | 
|---|
| 4649 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 4650 | 
 | 
|---|
| 4651 | else
 | 
|---|
| 4652 |   ac_c_werror_flag=$ac_save_c_werror_flag
 | 
|---|
| 4653 |          CFLAGS="-g"
 | 
|---|
| 4654 |          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 4655 | /* end confdefs.h.  */
 | 
|---|
| 4656 | 
 | 
|---|
| 4657 | int
 | 
|---|
| 4658 | main ()
 | 
|---|
| 4659 | {
 | 
|---|
| 4660 | 
 | 
|---|
| 4661 |   ;
 | 
|---|
| 4662 |   return 0;
 | 
|---|
| 4663 | }
 | 
|---|
| 4664 | _ACEOF
 | 
|---|
| 4665 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 4666 |   ac_cv_prog_cc_g=yes
 | 
|---|
| 4667 | fi
 | 
|---|
| 4668 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 4669 | fi
 | 
|---|
| 4670 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 4671 | fi
 | 
|---|
| 4672 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 4673 |    ac_c_werror_flag=$ac_save_c_werror_flag
 | 
|---|
| 4674 | fi
 | 
|---|
| 4675 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 | 
|---|
| 4676 | $as_echo "$ac_cv_prog_cc_g" >&6; }
 | 
|---|
| 4677 | if test "$ac_test_CFLAGS" = set; then
 | 
|---|
| 4678 |   CFLAGS=$ac_save_CFLAGS
 | 
|---|
| 4679 | elif test $ac_cv_prog_cc_g = yes; then
 | 
|---|
| 4680 |   if test "$GCC" = yes; then
 | 
|---|
| 4681 |     CFLAGS="-g -O2"
 | 
|---|
| 4682 |   else
 | 
|---|
| 4683 |     CFLAGS="-g"
 | 
|---|
| 4684 |   fi
 | 
|---|
| 4685 | else
 | 
|---|
| 4686 |   if test "$GCC" = yes; then
 | 
|---|
| 4687 |     CFLAGS="-O2"
 | 
|---|
| 4688 |   else
 | 
|---|
| 4689 |     CFLAGS=
 | 
|---|
| 4690 |   fi
 | 
|---|
| 4691 | fi
 | 
|---|
| 4692 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 | 
|---|
| 4693 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 | 
|---|
| 4694 | if ${ac_cv_prog_cc_c89+:} false; then :
 | 
|---|
| 4695 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4696 | else
 | 
|---|
| 4697 |   ac_cv_prog_cc_c89=no
 | 
|---|
| 4698 | ac_save_CC=$CC
 | 
|---|
| 4699 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 4700 | /* end confdefs.h.  */
 | 
|---|
| 4701 | #include <stdarg.h>
 | 
|---|
| 4702 | #include <stdio.h>
 | 
|---|
| 4703 | struct stat;
 | 
|---|
| 4704 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 | 
|---|
| 4705 | struct buf { int x; };
 | 
|---|
| 4706 | FILE * (*rcsopen) (struct buf *, struct stat *, int);
 | 
|---|
| 4707 | static char *e (p, i)
 | 
|---|
| 4708 |      char **p;
 | 
|---|
| 4709 |      int i;
 | 
|---|
| 4710 | {
 | 
|---|
| 4711 |   return p[i];
 | 
|---|
| 4712 | }
 | 
|---|
| 4713 | static char *f (char * (*g) (char **, int), char **p, ...)
 | 
|---|
| 4714 | {
 | 
|---|
| 4715 |   char *s;
 | 
|---|
| 4716 |   va_list v;
 | 
|---|
| 4717 |   va_start (v,p);
 | 
|---|
| 4718 |   s = g (p, va_arg (v,int));
 | 
|---|
| 4719 |   va_end (v);
 | 
|---|
| 4720 |   return s;
 | 
|---|
| 4721 | }
 | 
|---|
| 4722 | 
 | 
|---|
| 4723 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 | 
|---|
| 4724 |    function prototypes and stuff, but not '\xHH' hex character constants.
 | 
|---|
| 4725 |    These don't provoke an error unfortunately, instead are silently treated
 | 
|---|
| 4726 |    as 'x'.  The following induces an error, until -std is added to get
 | 
|---|
| 4727 |    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 | 
|---|
| 4728 |    array size at least.  It's necessary to write '\x00'==0 to get something
 | 
|---|
| 4729 |    that's true only with -std.  */
 | 
|---|
| 4730 | int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 | 
|---|
| 4731 | 
 | 
|---|
| 4732 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 | 
|---|
| 4733 |    inside strings and character constants.  */
 | 
|---|
| 4734 | #define FOO(x) 'x'
 | 
|---|
| 4735 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 | 
|---|
| 4736 | 
 | 
|---|
| 4737 | int test (int i, double x);
 | 
|---|
| 4738 | struct s1 {int (*f) (int a);};
 | 
|---|
| 4739 | struct s2 {int (*f) (double a);};
 | 
|---|
| 4740 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 | 
|---|
| 4741 | int argc;
 | 
|---|
| 4742 | char **argv;
 | 
|---|
| 4743 | int
 | 
|---|
| 4744 | main ()
 | 
|---|
| 4745 | {
 | 
|---|
| 4746 | return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 | 
|---|
| 4747 |   ;
 | 
|---|
| 4748 |   return 0;
 | 
|---|
| 4749 | }
 | 
|---|
| 4750 | _ACEOF
 | 
|---|
| 4751 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 | 
|---|
| 4752 |         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 | 
|---|
| 4753 | do
 | 
|---|
| 4754 |   CC="$ac_save_CC $ac_arg"
 | 
|---|
| 4755 |   if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 4756 |   ac_cv_prog_cc_c89=$ac_arg
 | 
|---|
| 4757 | fi
 | 
|---|
| 4758 | rm -f core conftest.err conftest.$ac_objext
 | 
|---|
| 4759 |   test "x$ac_cv_prog_cc_c89" != "xno" && break
 | 
|---|
| 4760 | done
 | 
|---|
| 4761 | rm -f conftest.$ac_ext
 | 
|---|
| 4762 | CC=$ac_save_CC
 | 
|---|
| 4763 | 
 | 
|---|
| 4764 | fi
 | 
|---|
| 4765 | # AC_CACHE_VAL
 | 
|---|
| 4766 | case "x$ac_cv_prog_cc_c89" in
 | 
|---|
| 4767 |   x)
 | 
|---|
| 4768 |     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 | 
|---|
| 4769 | $as_echo "none needed" >&6; } ;;
 | 
|---|
| 4770 |   xno)
 | 
|---|
| 4771 |     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 | 
|---|
| 4772 | $as_echo "unsupported" >&6; } ;;
 | 
|---|
| 4773 |   *)
 | 
|---|
| 4774 |     CC="$CC $ac_cv_prog_cc_c89"
 | 
|---|
| 4775 |     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 | 
|---|
| 4776 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 | 
|---|
| 4777 | esac
 | 
|---|
| 4778 | if test "x$ac_cv_prog_cc_c89" != xno; then :
 | 
|---|
| 4779 | 
 | 
|---|
| 4780 | fi
 | 
|---|
| 4781 | 
 | 
|---|
| 4782 | ac_ext=c
 | 
|---|
| 4783 | ac_cpp='$CPP $CPPFLAGS'
 | 
|---|
| 4784 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 4785 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 4786 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
 | 
|---|
| 4787 | 
 | 
|---|
| 4788 | ac_ext=c
 | 
|---|
| 4789 | ac_cpp='$CPP $CPPFLAGS'
 | 
|---|
| 4790 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 4791 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 4792 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
 | 
|---|
| 4793 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
 | 
|---|
| 4794 | $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
 | 
|---|
| 4795 | if ${am_cv_prog_cc_c_o+:} false; then :
 | 
|---|
| 4796 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4797 | else
 | 
|---|
| 4798 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 4799 | /* end confdefs.h.  */
 | 
|---|
| 4800 | 
 | 
|---|
| 4801 | int
 | 
|---|
| 4802 | main ()
 | 
|---|
| 4803 | {
 | 
|---|
| 4804 | 
 | 
|---|
| 4805 |   ;
 | 
|---|
| 4806 |   return 0;
 | 
|---|
| 4807 | }
 | 
|---|
| 4808 | _ACEOF
 | 
|---|
| 4809 |   # Make sure it works both with $CC and with simple cc.
 | 
|---|
| 4810 |   # Following AC_PROG_CC_C_O, we do the test twice because some
 | 
|---|
| 4811 |   # compilers refuse to overwrite an existing .o file with -o,
 | 
|---|
| 4812 |   # though they will create one.
 | 
|---|
| 4813 |   am_cv_prog_cc_c_o=yes
 | 
|---|
| 4814 |   for am_i in 1 2; do
 | 
|---|
| 4815 |     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
 | 
|---|
| 4816 |    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
 | 
|---|
| 4817 |    ac_status=$?
 | 
|---|
| 4818 |    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 | 
|---|
| 4819 |    (exit $ac_status); } \
 | 
|---|
| 4820 |          && test -f conftest2.$ac_objext; then
 | 
|---|
| 4821 |       : OK
 | 
|---|
| 4822 |     else
 | 
|---|
| 4823 |       am_cv_prog_cc_c_o=no
 | 
|---|
| 4824 |       break
 | 
|---|
| 4825 |     fi
 | 
|---|
| 4826 |   done
 | 
|---|
| 4827 |   rm -f core conftest*
 | 
|---|
| 4828 |   unset am_i
 | 
|---|
| 4829 | fi
 | 
|---|
| 4830 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
 | 
|---|
| 4831 | $as_echo "$am_cv_prog_cc_c_o" >&6; }
 | 
|---|
| 4832 | if test "$am_cv_prog_cc_c_o" != yes; then
 | 
|---|
| 4833 |    # Losing compiler, so override with the script.
 | 
|---|
| 4834 |    # FIXME: It is wrong to rewrite CC.
 | 
|---|
| 4835 |    # But if we don't then we get into trouble of one sort or another.
 | 
|---|
| 4836 |    # A longer-term fix would be to have automake use am__CC in this case,
 | 
|---|
| 4837 |    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 | 
|---|
| 4838 |    CC="$am_aux_dir/compile $CC"
 | 
|---|
| 4839 | fi
 | 
|---|
| 4840 | ac_ext=c
 | 
|---|
| 4841 | ac_cpp='$CPP $CPPFLAGS'
 | 
|---|
| 4842 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 4843 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 4844 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
 | 
|---|
| 4845 | 
 | 
|---|
| 4846 | 
 | 
|---|
| 4847 | depcc="$CC"   am_compiler_list=
 | 
|---|
| 4848 | 
 | 
|---|
| 4849 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 | 
|---|
| 4850 | $as_echo_n "checking dependency style of $depcc... " >&6; }
 | 
|---|
| 4851 | if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 | 
|---|
| 4852 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4853 | else
 | 
|---|
| 4854 |   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 | 
|---|
| 4855 |   # We make a subdir and do the tests there.  Otherwise we can end up
 | 
|---|
| 4856 |   # making bogus files that we don't know about and never remove.  For
 | 
|---|
| 4857 |   # instance it was reported that on HP-UX the gcc test will end up
 | 
|---|
| 4858 |   # making a dummy file named 'D' -- because '-MD' means "put the output
 | 
|---|
| 4859 |   # in D".
 | 
|---|
| 4860 |   rm -rf conftest.dir
 | 
|---|
| 4861 |   mkdir conftest.dir
 | 
|---|
| 4862 |   # Copy depcomp to subdir because otherwise we won't find it if we're
 | 
|---|
| 4863 |   # using a relative directory.
 | 
|---|
| 4864 |   cp "$am_depcomp" conftest.dir
 | 
|---|
| 4865 |   cd conftest.dir
 | 
|---|
| 4866 |   # We will build objects and dependencies in a subdirectory because
 | 
|---|
| 4867 |   # it helps to detect inapplicable dependency modes.  For instance
 | 
|---|
| 4868 |   # both Tru64's cc and ICC support -MD to output dependencies as a
 | 
|---|
| 4869 |   # side effect of compilation, but ICC will put the dependencies in
 | 
|---|
| 4870 |   # the current directory while Tru64 will put them in the object
 | 
|---|
| 4871 |   # directory.
 | 
|---|
| 4872 |   mkdir sub
 | 
|---|
| 4873 | 
 | 
|---|
| 4874 |   am_cv_CC_dependencies_compiler_type=none
 | 
|---|
| 4875 |   if test "$am_compiler_list" = ""; then
 | 
|---|
| 4876 |      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 | 
|---|
| 4877 |   fi
 | 
|---|
| 4878 |   am__universal=false
 | 
|---|
| 4879 |   case " $depcc " in #(
 | 
|---|
| 4880 |      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 | 
|---|
| 4881 |      esac
 | 
|---|
| 4882 | 
 | 
|---|
| 4883 |   for depmode in $am_compiler_list; do
 | 
|---|
| 4884 |     # Setup a source with many dependencies, because some compilers
 | 
|---|
| 4885 |     # like to wrap large dependency lists on column 80 (with \), and
 | 
|---|
| 4886 |     # we should not choose a depcomp mode which is confused by this.
 | 
|---|
| 4887 |     #
 | 
|---|
| 4888 |     # We need to recreate these files for each test, as the compiler may
 | 
|---|
| 4889 |     # overwrite some of them when testing with obscure command lines.
 | 
|---|
| 4890 |     # This happens at least with the AIX C compiler.
 | 
|---|
| 4891 |     : > sub/conftest.c
 | 
|---|
| 4892 |     for i in 1 2 3 4 5 6; do
 | 
|---|
| 4893 |       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 | 
|---|
| 4894 |       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 | 
|---|
| 4895 |       # Solaris 10 /bin/sh.
 | 
|---|
| 4896 |       echo '/* dummy */' > sub/conftst$i.h
 | 
|---|
| 4897 |     done
 | 
|---|
| 4898 |     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 | 
|---|
| 4899 | 
 | 
|---|
| 4900 |     # We check with '-c' and '-o' for the sake of the "dashmstdout"
 | 
|---|
| 4901 |     # mode.  It turns out that the SunPro C++ compiler does not properly
 | 
|---|
| 4902 |     # handle '-M -o', and we need to detect this.  Also, some Intel
 | 
|---|
| 4903 |     # versions had trouble with output in subdirs.
 | 
|---|
| 4904 |     am__obj=sub/conftest.${OBJEXT-o}
 | 
|---|
| 4905 |     am__minus_obj="-o $am__obj"
 | 
|---|
| 4906 |     case $depmode in
 | 
|---|
| 4907 |     gcc)
 | 
|---|
| 4908 |       # This depmode causes a compiler race in universal mode.
 | 
|---|
| 4909 |       test "$am__universal" = false || continue
 | 
|---|
| 4910 |       ;;
 | 
|---|
| 4911 |     nosideeffect)
 | 
|---|
| 4912 |       # After this tag, mechanisms are not by side-effect, so they'll
 | 
|---|
| 4913 |       # only be used when explicitly requested.
 | 
|---|
| 4914 |       if test "x$enable_dependency_tracking" = xyes; then
 | 
|---|
| 4915 |         continue
 | 
|---|
| 4916 |       else
 | 
|---|
| 4917 |         break
 | 
|---|
| 4918 |       fi
 | 
|---|
| 4919 |       ;;
 | 
|---|
| 4920 |     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 | 
|---|
| 4921 |       # This compiler won't grok '-c -o', but also, the minuso test has
 | 
|---|
| 4922 |       # not run yet.  These depmodes are late enough in the game, and
 | 
|---|
| 4923 |       # so weak that their functioning should not be impacted.
 | 
|---|
| 4924 |       am__obj=conftest.${OBJEXT-o}
 | 
|---|
| 4925 |       am__minus_obj=
 | 
|---|
| 4926 |       ;;
 | 
|---|
| 4927 |     none) break ;;
 | 
|---|
| 4928 |     esac
 | 
|---|
| 4929 |     if depmode=$depmode \
 | 
|---|
| 4930 |        source=sub/conftest.c object=$am__obj \
 | 
|---|
| 4931 |        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 | 
|---|
| 4932 |        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 | 
|---|
| 4933 |          >/dev/null 2>conftest.err &&
 | 
|---|
| 4934 |        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 4935 |        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 4936 |        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 4937 |        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 | 
|---|
| 4938 |       # icc doesn't choke on unknown options, it will just issue warnings
 | 
|---|
| 4939 |       # or remarks (even with -Werror).  So we grep stderr for any message
 | 
|---|
| 4940 |       # that says an option was ignored or not supported.
 | 
|---|
| 4941 |       # When given -MP, icc 7.0 and 7.1 complain thusly:
 | 
|---|
| 4942 |       #   icc: Command line warning: ignoring option '-M'; no argument required
 | 
|---|
| 4943 |       # The diagnosis changed in icc 8.0:
 | 
|---|
| 4944 |       #   icc: Command line remark: option '-MP' not supported
 | 
|---|
| 4945 |       if (grep 'ignoring option' conftest.err ||
 | 
|---|
| 4946 |           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 | 
|---|
| 4947 |         am_cv_CC_dependencies_compiler_type=$depmode
 | 
|---|
| 4948 |         break
 | 
|---|
| 4949 |       fi
 | 
|---|
| 4950 |     fi
 | 
|---|
| 4951 |   done
 | 
|---|
| 4952 | 
 | 
|---|
| 4953 |   cd ..
 | 
|---|
| 4954 |   rm -rf conftest.dir
 | 
|---|
| 4955 | else
 | 
|---|
| 4956 |   am_cv_CC_dependencies_compiler_type=none
 | 
|---|
| 4957 | fi
 | 
|---|
| 4958 | 
 | 
|---|
| 4959 | fi
 | 
|---|
| 4960 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 | 
|---|
| 4961 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 | 
|---|
| 4962 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 | 
|---|
| 4963 | 
 | 
|---|
| 4964 |  if
 | 
|---|
| 4965 |   test "x$enable_dependency_tracking" != xno \
 | 
|---|
| 4966 |   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 | 
|---|
| 4967 |   am__fastdepCC_TRUE=
 | 
|---|
| 4968 |   am__fastdepCC_FALSE='#'
 | 
|---|
| 4969 | else
 | 
|---|
| 4970 |   am__fastdepCC_TRUE='#'
 | 
|---|
| 4971 |   am__fastdepCC_FALSE=
 | 
|---|
| 4972 | fi
 | 
|---|
| 4973 | 
 | 
|---|
| 4974 | 
 | 
|---|
| 4975 | # By default we simply use the C compiler to build assembly code.
 | 
|---|
| 4976 | 
 | 
|---|
| 4977 | test "${CCAS+set}" = set || CCAS=$CC
 | 
|---|
| 4978 | test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
 | 
|---|
| 4979 | 
 | 
|---|
| 4980 | 
 | 
|---|
| 4981 | 
 | 
|---|
| 4982 | depcc="$CCAS"   am_compiler_list=
 | 
|---|
| 4983 | 
 | 
|---|
| 4984 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 | 
|---|
| 4985 | $as_echo_n "checking dependency style of $depcc... " >&6; }
 | 
|---|
| 4986 | if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
 | 
|---|
| 4987 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4988 | else
 | 
|---|
| 4989 |   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 | 
|---|
| 4990 |   # We make a subdir and do the tests there.  Otherwise we can end up
 | 
|---|
| 4991 |   # making bogus files that we don't know about and never remove.  For
 | 
|---|
| 4992 |   # instance it was reported that on HP-UX the gcc test will end up
 | 
|---|
| 4993 |   # making a dummy file named 'D' -- because '-MD' means "put the output
 | 
|---|
| 4994 |   # in D".
 | 
|---|
| 4995 |   rm -rf conftest.dir
 | 
|---|
| 4996 |   mkdir conftest.dir
 | 
|---|
| 4997 |   # Copy depcomp to subdir because otherwise we won't find it if we're
 | 
|---|
| 4998 |   # using a relative directory.
 | 
|---|
| 4999 |   cp "$am_depcomp" conftest.dir
 | 
|---|
| 5000 |   cd conftest.dir
 | 
|---|
| 5001 |   # We will build objects and dependencies in a subdirectory because
 | 
|---|
| 5002 |   # it helps to detect inapplicable dependency modes.  For instance
 | 
|---|
| 5003 |   # both Tru64's cc and ICC support -MD to output dependencies as a
 | 
|---|
| 5004 |   # side effect of compilation, but ICC will put the dependencies in
 | 
|---|
| 5005 |   # the current directory while Tru64 will put them in the object
 | 
|---|
| 5006 |   # directory.
 | 
|---|
| 5007 |   mkdir sub
 | 
|---|
| 5008 | 
 | 
|---|
| 5009 |   am_cv_CCAS_dependencies_compiler_type=none
 | 
|---|
| 5010 |   if test "$am_compiler_list" = ""; then
 | 
|---|
| 5011 |      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 | 
|---|
| 5012 |   fi
 | 
|---|
| 5013 |   am__universal=false
 | 
|---|
| 5014 | 
 | 
|---|
| 5015 | 
 | 
|---|
| 5016 |   for depmode in $am_compiler_list; do
 | 
|---|
| 5017 |     # Setup a source with many dependencies, because some compilers
 | 
|---|
| 5018 |     # like to wrap large dependency lists on column 80 (with \), and
 | 
|---|
| 5019 |     # we should not choose a depcomp mode which is confused by this.
 | 
|---|
| 5020 |     #
 | 
|---|
| 5021 |     # We need to recreate these files for each test, as the compiler may
 | 
|---|
| 5022 |     # overwrite some of them when testing with obscure command lines.
 | 
|---|
| 5023 |     # This happens at least with the AIX C compiler.
 | 
|---|
| 5024 |     : > sub/conftest.c
 | 
|---|
| 5025 |     for i in 1 2 3 4 5 6; do
 | 
|---|
| 5026 |       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 | 
|---|
| 5027 |       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 | 
|---|
| 5028 |       # Solaris 10 /bin/sh.
 | 
|---|
| 5029 |       echo '/* dummy */' > sub/conftst$i.h
 | 
|---|
| 5030 |     done
 | 
|---|
| 5031 |     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 | 
|---|
| 5032 | 
 | 
|---|
| 5033 |     # We check with '-c' and '-o' for the sake of the "dashmstdout"
 | 
|---|
| 5034 |     # mode.  It turns out that the SunPro C++ compiler does not properly
 | 
|---|
| 5035 |     # handle '-M -o', and we need to detect this.  Also, some Intel
 | 
|---|
| 5036 |     # versions had trouble with output in subdirs.
 | 
|---|
| 5037 |     am__obj=sub/conftest.${OBJEXT-o}
 | 
|---|
| 5038 |     am__minus_obj="-o $am__obj"
 | 
|---|
| 5039 |     case $depmode in
 | 
|---|
| 5040 |     gcc)
 | 
|---|
| 5041 |       # This depmode causes a compiler race in universal mode.
 | 
|---|
| 5042 |       test "$am__universal" = false || continue
 | 
|---|
| 5043 |       ;;
 | 
|---|
| 5044 |     nosideeffect)
 | 
|---|
| 5045 |       # After this tag, mechanisms are not by side-effect, so they'll
 | 
|---|
| 5046 |       # only be used when explicitly requested.
 | 
|---|
| 5047 |       if test "x$enable_dependency_tracking" = xyes; then
 | 
|---|
| 5048 |         continue
 | 
|---|
| 5049 |       else
 | 
|---|
| 5050 |         break
 | 
|---|
| 5051 |       fi
 | 
|---|
| 5052 |       ;;
 | 
|---|
| 5053 |     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 | 
|---|
| 5054 |       # This compiler won't grok '-c -o', but also, the minuso test has
 | 
|---|
| 5055 |       # not run yet.  These depmodes are late enough in the game, and
 | 
|---|
| 5056 |       # so weak that their functioning should not be impacted.
 | 
|---|
| 5057 |       am__obj=conftest.${OBJEXT-o}
 | 
|---|
| 5058 |       am__minus_obj=
 | 
|---|
| 5059 |       ;;
 | 
|---|
| 5060 |     none) break ;;
 | 
|---|
| 5061 |     esac
 | 
|---|
| 5062 |     if depmode=$depmode \
 | 
|---|
| 5063 |        source=sub/conftest.c object=$am__obj \
 | 
|---|
| 5064 |        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 | 
|---|
| 5065 |        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 | 
|---|
| 5066 |          >/dev/null 2>conftest.err &&
 | 
|---|
| 5067 |        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 5068 |        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 5069 |        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 5070 |        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 | 
|---|
| 5071 |       # icc doesn't choke on unknown options, it will just issue warnings
 | 
|---|
| 5072 |       # or remarks (even with -Werror).  So we grep stderr for any message
 | 
|---|
| 5073 |       # that says an option was ignored or not supported.
 | 
|---|
| 5074 |       # When given -MP, icc 7.0 and 7.1 complain thusly:
 | 
|---|
| 5075 |       #   icc: Command line warning: ignoring option '-M'; no argument required
 | 
|---|
| 5076 |       # The diagnosis changed in icc 8.0:
 | 
|---|
| 5077 |       #   icc: Command line remark: option '-MP' not supported
 | 
|---|
| 5078 |       if (grep 'ignoring option' conftest.err ||
 | 
|---|
| 5079 |           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 | 
|---|
| 5080 |         am_cv_CCAS_dependencies_compiler_type=$depmode
 | 
|---|
| 5081 |         break
 | 
|---|
| 5082 |       fi
 | 
|---|
| 5083 |     fi
 | 
|---|
| 5084 |   done
 | 
|---|
| 5085 | 
 | 
|---|
| 5086 |   cd ..
 | 
|---|
| 5087 |   rm -rf conftest.dir
 | 
|---|
| 5088 | else
 | 
|---|
| 5089 |   am_cv_CCAS_dependencies_compiler_type=none
 | 
|---|
| 5090 | fi
 | 
|---|
| 5091 | 
 | 
|---|
| 5092 | fi
 | 
|---|
| 5093 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
 | 
|---|
| 5094 | $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
 | 
|---|
| 5095 | CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
 | 
|---|
| 5096 | 
 | 
|---|
| 5097 |  if
 | 
|---|
| 5098 |   test "x$enable_dependency_tracking" != xno \
 | 
|---|
| 5099 |   && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
 | 
|---|
| 5100 |   am__fastdepCCAS_TRUE=
 | 
|---|
| 5101 |   am__fastdepCCAS_FALSE='#'
 | 
|---|
| 5102 | else
 | 
|---|
| 5103 |   am__fastdepCCAS_TRUE='#'
 | 
|---|
| 5104 |   am__fastdepCCAS_FALSE=
 | 
|---|
| 5105 | fi
 | 
|---|
| 5106 | 
 | 
|---|
| 5107 | 
 | 
|---|
| 5108 |         # deprecated
 | 
|---|
| 5109 | # These are often not installed and people miss seeing the "no", so stop the configure.
 | 
|---|
| 5110 | for ac_prog in 'bison -y' byacc
 | 
|---|
| 5111 | do
 | 
|---|
| 5112 |   # Extract the first word of "$ac_prog", so it can be a program name with args.
 | 
|---|
| 5113 | set dummy $ac_prog; ac_word=$2
 | 
|---|
| 5114 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 5115 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 5116 | if ${ac_cv_prog_YACC+:} false; then :
 | 
|---|
| 5117 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5118 | else
 | 
|---|
| 5119 |   if test -n "$YACC"; then
 | 
|---|
| 5120 |   ac_cv_prog_YACC="$YACC" # Let the user override the test.
 | 
|---|
| 5121 | else
 | 
|---|
| 5122 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 5123 | for as_dir in $PATH
 | 
|---|
| 5124 | do
 | 
|---|
| 5125 |   IFS=$as_save_IFS
 | 
|---|
| 5126 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 5127 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 5128 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 5129 |     ac_cv_prog_YACC="$ac_prog"
 | 
|---|
| 5130 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 5131 |     break 2
 | 
|---|
| 5132 |   fi
 | 
|---|
| 5133 | done
 | 
|---|
| 5134 |   done
 | 
|---|
| 5135 | IFS=$as_save_IFS
 | 
|---|
| 5136 | 
 | 
|---|
| 5137 | fi
 | 
|---|
| 5138 | fi
 | 
|---|
| 5139 | YACC=$ac_cv_prog_YACC
 | 
|---|
| 5140 | if test -n "$YACC"; then
 | 
|---|
| 5141 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
 | 
|---|
| 5142 | $as_echo "$YACC" >&6; }
 | 
|---|
| 5143 | else
 | 
|---|
| 5144 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 5145 | $as_echo "no" >&6; }
 | 
|---|
| 5146 | fi
 | 
|---|
| 5147 | 
 | 
|---|
| 5148 | 
 | 
|---|
| 5149 |   test -n "$YACC" && break
 | 
|---|
| 5150 | done
 | 
|---|
| 5151 | test -n "$YACC" || YACC="yacc"
 | 
|---|
| 5152 | 
 | 
|---|
| 5153 | if test "${YACC}" = "yacc" ; then echo "Error: bison required." ; exit 1 ; fi
 | 
|---|
| 5154 | 
 | 
|---|
| 5155 | for ac_prog in flex lex
 | 
|---|
| 5156 | do
 | 
|---|
| 5157 |   # Extract the first word of "$ac_prog", so it can be a program name with args.
 | 
|---|
| 5158 | set dummy $ac_prog; ac_word=$2
 | 
|---|
| 5159 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 5160 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 5161 | if ${ac_cv_prog_LEX+:} false; then :
 | 
|---|
| 5162 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5163 | else
 | 
|---|
| 5164 |   if test -n "$LEX"; then
 | 
|---|
| 5165 |   ac_cv_prog_LEX="$LEX" # Let the user override the test.
 | 
|---|
| 5166 | else
 | 
|---|
| 5167 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 5168 | for as_dir in $PATH
 | 
|---|
| 5169 | do
 | 
|---|
| 5170 |   IFS=$as_save_IFS
 | 
|---|
| 5171 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 5172 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 5173 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 5174 |     ac_cv_prog_LEX="$ac_prog"
 | 
|---|
| 5175 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 5176 |     break 2
 | 
|---|
| 5177 |   fi
 | 
|---|
| 5178 | done
 | 
|---|
| 5179 |   done
 | 
|---|
| 5180 | IFS=$as_save_IFS
 | 
|---|
| 5181 | 
 | 
|---|
| 5182 | fi
 | 
|---|
| 5183 | fi
 | 
|---|
| 5184 | LEX=$ac_cv_prog_LEX
 | 
|---|
| 5185 | if test -n "$LEX"; then
 | 
|---|
| 5186 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
 | 
|---|
| 5187 | $as_echo "$LEX" >&6; }
 | 
|---|
| 5188 | else
 | 
|---|
| 5189 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 5190 | $as_echo "no" >&6; }
 | 
|---|
| 5191 | fi
 | 
|---|
| 5192 | 
 | 
|---|
| 5193 | 
 | 
|---|
| 5194 |   test -n "$LEX" && break
 | 
|---|
| 5195 | done
 | 
|---|
| 5196 | test -n "$LEX" || LEX=":"
 | 
|---|
| 5197 | 
 | 
|---|
| 5198 | if test "x$LEX" != "x:"; then
 | 
|---|
| 5199 |   cat >conftest.l <<_ACEOF
 | 
|---|
| 5200 | %%
 | 
|---|
| 5201 | a { ECHO; }
 | 
|---|
| 5202 | b { REJECT; }
 | 
|---|
| 5203 | c { yymore (); }
 | 
|---|
| 5204 | d { yyless (1); }
 | 
|---|
| 5205 | e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
 | 
|---|
| 5206 |     yyless ((input () != 0)); }
 | 
|---|
| 5207 | f { unput (yytext[0]); }
 | 
|---|
| 5208 | . { BEGIN INITIAL; }
 | 
|---|
| 5209 | %%
 | 
|---|
| 5210 | #ifdef YYTEXT_POINTER
 | 
|---|
| 5211 | extern char *yytext;
 | 
|---|
| 5212 | #endif
 | 
|---|
| 5213 | int
 | 
|---|
| 5214 | main (void)
 | 
|---|
| 5215 | {
 | 
|---|
| 5216 |   return ! yylex () + ! yywrap ();
 | 
|---|
| 5217 | }
 | 
|---|
| 5218 | _ACEOF
 | 
|---|
| 5219 | { { ac_try="$LEX conftest.l"
 | 
|---|
| 5220 | case "(($ac_try" in
 | 
|---|
| 5221 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 5222 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 5223 | esac
 | 
|---|
| 5224 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 5225 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 5226 |   (eval "$LEX conftest.l") 2>&5
 | 
|---|
| 5227 |   ac_status=$?
 | 
|---|
| 5228 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 5229 |   test $ac_status = 0; }
 | 
|---|
| 5230 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
 | 
|---|
| 5231 | $as_echo_n "checking lex output file root... " >&6; }
 | 
|---|
| 5232 | if ${ac_cv_prog_lex_root+:} false; then :
 | 
|---|
| 5233 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5234 | else
 | 
|---|
| 5235 | 
 | 
|---|
| 5236 | if test -f lex.yy.c; then
 | 
|---|
| 5237 |   ac_cv_prog_lex_root=lex.yy
 | 
|---|
| 5238 | elif test -f lexyy.c; then
 | 
|---|
| 5239 |   ac_cv_prog_lex_root=lexyy
 | 
|---|
| 5240 | else
 | 
|---|
| 5241 |   as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
 | 
|---|
| 5242 | fi
 | 
|---|
| 5243 | fi
 | 
|---|
| 5244 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
 | 
|---|
| 5245 | $as_echo "$ac_cv_prog_lex_root" >&6; }
 | 
|---|
| 5246 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
 | 
|---|
| 5247 | 
 | 
|---|
| 5248 | if test -z "${LEXLIB+set}"; then
 | 
|---|
| 5249 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
 | 
|---|
| 5250 | $as_echo_n "checking lex library... " >&6; }
 | 
|---|
| 5251 | if ${ac_cv_lib_lex+:} false; then :
 | 
|---|
| 5252 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5253 | else
 | 
|---|
| 5254 | 
 | 
|---|
| 5255 |     ac_save_LIBS=$LIBS
 | 
|---|
| 5256 |     ac_cv_lib_lex='none needed'
 | 
|---|
| 5257 |     for ac_lib in '' -lfl -ll; do
 | 
|---|
| 5258 |       LIBS="$ac_lib $ac_save_LIBS"
 | 
|---|
| 5259 |       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5260 | /* end confdefs.h.  */
 | 
|---|
| 5261 | `cat $LEX_OUTPUT_ROOT.c`
 | 
|---|
| 5262 | _ACEOF
 | 
|---|
| 5263 | if ac_fn_c_try_link "$LINENO"; then :
 | 
|---|
| 5264 |   ac_cv_lib_lex=$ac_lib
 | 
|---|
| 5265 | fi
 | 
|---|
| 5266 | rm -f core conftest.err conftest.$ac_objext \
 | 
|---|
| 5267 |     conftest$ac_exeext conftest.$ac_ext
 | 
|---|
| 5268 |       test "$ac_cv_lib_lex" != 'none needed' && break
 | 
|---|
| 5269 |     done
 | 
|---|
| 5270 |     LIBS=$ac_save_LIBS
 | 
|---|
| 5271 | 
 | 
|---|
| 5272 | fi
 | 
|---|
| 5273 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
 | 
|---|
| 5274 | $as_echo "$ac_cv_lib_lex" >&6; }
 | 
|---|
| 5275 |   test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
 | 
|---|
| 5276 | fi
 | 
|---|
| 5277 | 
 | 
|---|
| 5278 | 
 | 
|---|
| 5279 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
 | 
|---|
| 5280 | $as_echo_n "checking whether yytext is a pointer... " >&6; }
 | 
|---|
| 5281 | if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
 | 
|---|
| 5282 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5283 | else
 | 
|---|
| 5284 |   # POSIX says lex can declare yytext either as a pointer or an array; the
 | 
|---|
| 5285 | # default is implementation-dependent.  Figure out which it is, since
 | 
|---|
| 5286 | # not all implementations provide the %pointer and %array declarations.
 | 
|---|
| 5287 | ac_cv_prog_lex_yytext_pointer=no
 | 
|---|
| 5288 | ac_save_LIBS=$LIBS
 | 
|---|
| 5289 | LIBS="$LEXLIB $ac_save_LIBS"
 | 
|---|
| 5290 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5291 | /* end confdefs.h.  */
 | 
|---|
| 5292 | 
 | 
|---|
| 5293 |   #define YYTEXT_POINTER 1
 | 
|---|
| 5294 | `cat $LEX_OUTPUT_ROOT.c`
 | 
|---|
| 5295 | _ACEOF
 | 
|---|
| 5296 | if ac_fn_c_try_link "$LINENO"; then :
 | 
|---|
| 5297 |   ac_cv_prog_lex_yytext_pointer=yes
 | 
|---|
| 5298 | fi
 | 
|---|
| 5299 | rm -f core conftest.err conftest.$ac_objext \
 | 
|---|
| 5300 |     conftest$ac_exeext conftest.$ac_ext
 | 
|---|
| 5301 | LIBS=$ac_save_LIBS
 | 
|---|
| 5302 | 
 | 
|---|
| 5303 | fi
 | 
|---|
| 5304 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
 | 
|---|
| 5305 | $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
 | 
|---|
| 5306 | if test $ac_cv_prog_lex_yytext_pointer = yes; then
 | 
|---|
| 5307 | 
 | 
|---|
| 5308 | $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
 | 
|---|
| 5309 | 
 | 
|---|
| 5310 | fi
 | 
|---|
| 5311 | rm -f conftest.l $LEX_OUTPUT_ROOT.c
 | 
|---|
| 5312 | 
 | 
|---|
| 5313 | fi
 | 
|---|
| 5314 | if test "${LEX}" = "lex" ; then echo "Error: flex required." ; exit 1 ; fi
 | 
|---|
| 5315 | 
 | 
|---|
| 5316 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 | 
|---|
| 5317 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 | 
|---|
| 5318 | set x ${MAKE-make}
 | 
|---|
| 5319 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 | 
|---|
| 5320 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 | 
|---|
| 5321 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5322 | else
 | 
|---|
| 5323 |   cat >conftest.make <<\_ACEOF
 | 
|---|
| 5324 | SHELL = /bin/sh
 | 
|---|
| 5325 | all:
 | 
|---|
| 5326 |         @echo '@@@%%%=$(MAKE)=@@@%%%'
 | 
|---|
| 5327 | _ACEOF
 | 
|---|
| 5328 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 | 
|---|
| 5329 | case `${MAKE-make} -f conftest.make 2>/dev/null` in
 | 
|---|
| 5330 |   *@@@%%%=?*=@@@%%%*)
 | 
|---|
| 5331 |     eval ac_cv_prog_make_${ac_make}_set=yes;;
 | 
|---|
| 5332 |   *)
 | 
|---|
| 5333 |     eval ac_cv_prog_make_${ac_make}_set=no;;
 | 
|---|
| 5334 | esac
 | 
|---|
| 5335 | rm -f conftest.make
 | 
|---|
| 5336 | fi
 | 
|---|
| 5337 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 | 
|---|
| 5338 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 | 
|---|
| 5339 | $as_echo "yes" >&6; }
 | 
|---|
| 5340 |   SET_MAKE=
 | 
|---|
| 5341 | else
 | 
|---|
| 5342 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 5343 | $as_echo "no" >&6; }
 | 
|---|
| 5344 |   SET_MAKE="MAKE=${MAKE-make}"
 | 
|---|
| 5345 | fi
 | 
|---|
| 5346 | 
 | 
|---|
| 5347 | if test -n "$ac_tool_prefix"; then
 | 
|---|
| 5348 |   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 | 
|---|
| 5349 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 | 
|---|
| 5350 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 5351 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 5352 | if ${ac_cv_prog_RANLIB+:} false; then :
 | 
|---|
| 5353 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5354 | else
 | 
|---|
| 5355 |   if test -n "$RANLIB"; then
 | 
|---|
| 5356 |   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 | 
|---|
| 5357 | else
 | 
|---|
| 5358 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 5359 | for as_dir in $PATH
 | 
|---|
| 5360 | do
 | 
|---|
| 5361 |   IFS=$as_save_IFS
 | 
|---|
| 5362 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 5363 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 5364 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 5365 |     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 | 
|---|
| 5366 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 5367 |     break 2
 | 
|---|
| 5368 |   fi
 | 
|---|
| 5369 | done
 | 
|---|
| 5370 |   done
 | 
|---|
| 5371 | IFS=$as_save_IFS
 | 
|---|
| 5372 | 
 | 
|---|
| 5373 | fi
 | 
|---|
| 5374 | fi
 | 
|---|
| 5375 | RANLIB=$ac_cv_prog_RANLIB
 | 
|---|
| 5376 | if test -n "$RANLIB"; then
 | 
|---|
| 5377 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 | 
|---|
| 5378 | $as_echo "$RANLIB" >&6; }
 | 
|---|
| 5379 | else
 | 
|---|
| 5380 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 5381 | $as_echo "no" >&6; }
 | 
|---|
| 5382 | fi
 | 
|---|
| 5383 | 
 | 
|---|
| 5384 | 
 | 
|---|
| 5385 | fi
 | 
|---|
| 5386 | if test -z "$ac_cv_prog_RANLIB"; then
 | 
|---|
| 5387 |   ac_ct_RANLIB=$RANLIB
 | 
|---|
| 5388 |   # Extract the first word of "ranlib", so it can be a program name with args.
 | 
|---|
| 5389 | set dummy ranlib; ac_word=$2
 | 
|---|
| 5390 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 5391 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 5392 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 | 
|---|
| 5393 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5394 | else
 | 
|---|
| 5395 |   if test -n "$ac_ct_RANLIB"; then
 | 
|---|
| 5396 |   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 | 
|---|
| 5397 | else
 | 
|---|
| 5398 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 5399 | for as_dir in $PATH
 | 
|---|
| 5400 | do
 | 
|---|
| 5401 |   IFS=$as_save_IFS
 | 
|---|
| 5402 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 5403 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 5404 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 5405 |     ac_cv_prog_ac_ct_RANLIB="ranlib"
 | 
|---|
| 5406 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 5407 |     break 2
 | 
|---|
| 5408 |   fi
 | 
|---|
| 5409 | done
 | 
|---|
| 5410 |   done
 | 
|---|
| 5411 | IFS=$as_save_IFS
 | 
|---|
| 5412 | 
 | 
|---|
| 5413 | fi
 | 
|---|
| 5414 | fi
 | 
|---|
| 5415 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 | 
|---|
| 5416 | if test -n "$ac_ct_RANLIB"; then
 | 
|---|
| 5417 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 | 
|---|
| 5418 | $as_echo "$ac_ct_RANLIB" >&6; }
 | 
|---|
| 5419 | else
 | 
|---|
| 5420 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 5421 | $as_echo "no" >&6; }
 | 
|---|
| 5422 | fi
 | 
|---|
| 5423 | 
 | 
|---|
| 5424 |   if test "x$ac_ct_RANLIB" = x; then
 | 
|---|
| 5425 |     RANLIB=":"
 | 
|---|
| 5426 |   else
 | 
|---|
| 5427 |     case $cross_compiling:$ac_tool_warned in
 | 
|---|
| 5428 | yes:)
 | 
|---|
| 5429 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 | 
|---|
| 5430 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 | 
|---|
| 5431 | ac_tool_warned=yes ;;
 | 
|---|
| 5432 | esac
 | 
|---|
| 5433 |     RANLIB=$ac_ct_RANLIB
 | 
|---|
| 5434 |   fi
 | 
|---|
| 5435 | else
 | 
|---|
| 5436 |   RANLIB="$ac_cv_prog_RANLIB"
 | 
|---|
| 5437 | fi
 | 
|---|
| 5438 | 
 | 
|---|
| 5439 | 
 | 
|---|
| 5440 | # Checks for libraries.
 | 
|---|
| 5441 | 
 | 
|---|
| 5442 | # Checks for header files.
 | 
|---|
| 5443 | ac_ext=c
 | 
|---|
| 5444 | ac_cpp='$CPP $CPPFLAGS'
 | 
|---|
| 5445 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 5446 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 5447 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
 | 
|---|
| 5448 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 | 
|---|
| 5449 | $as_echo_n "checking how to run the C preprocessor... " >&6; }
 | 
|---|
| 5450 | # On Suns, sometimes $CPP names a directory.
 | 
|---|
| 5451 | if test -n "$CPP" && test -d "$CPP"; then
 | 
|---|
| 5452 |   CPP=
 | 
|---|
| 5453 | fi
 | 
|---|
| 5454 | if test -z "$CPP"; then
 | 
|---|
| 5455 |   if ${ac_cv_prog_CPP+:} false; then :
 | 
|---|
| 5456 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5457 | else
 | 
|---|
| 5458 |       # Double quotes because CPP needs to be expanded
 | 
|---|
| 5459 |     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 | 
|---|
| 5460 |     do
 | 
|---|
| 5461 |       ac_preproc_ok=false
 | 
|---|
| 5462 | for ac_c_preproc_warn_flag in '' yes
 | 
|---|
| 5463 | do
 | 
|---|
| 5464 |   # Use a header file that comes with gcc, so configuring glibc
 | 
|---|
| 5465 |   # with a fresh cross-compiler works.
 | 
|---|
| 5466 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 | 
|---|
| 5467 |   # <limits.h> exists even on freestanding compilers.
 | 
|---|
| 5468 |   # On the NeXT, cc -E runs the code through the compiler's parser,
 | 
|---|
| 5469 |   # not just through cpp. "Syntax error" is here to catch this case.
 | 
|---|
| 5470 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5471 | /* end confdefs.h.  */
 | 
|---|
| 5472 | #ifdef __STDC__
 | 
|---|
| 5473 | # include <limits.h>
 | 
|---|
| 5474 | #else
 | 
|---|
| 5475 | # include <assert.h>
 | 
|---|
| 5476 | #endif
 | 
|---|
| 5477 |                      Syntax error
 | 
|---|
| 5478 | _ACEOF
 | 
|---|
| 5479 | if ac_fn_c_try_cpp "$LINENO"; then :
 | 
|---|
| 5480 | 
 | 
|---|
| 5481 | else
 | 
|---|
| 5482 |   # Broken: fails on valid input.
 | 
|---|
| 5483 | continue
 | 
|---|
| 5484 | fi
 | 
|---|
| 5485 | rm -f conftest.err conftest.i conftest.$ac_ext
 | 
|---|
| 5486 | 
 | 
|---|
| 5487 |   # OK, works on sane cases.  Now check whether nonexistent headers
 | 
|---|
| 5488 |   # can be detected and how.
 | 
|---|
| 5489 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5490 | /* end confdefs.h.  */
 | 
|---|
| 5491 | #include <ac_nonexistent.h>
 | 
|---|
| 5492 | _ACEOF
 | 
|---|
| 5493 | if ac_fn_c_try_cpp "$LINENO"; then :
 | 
|---|
| 5494 |   # Broken: success on invalid input.
 | 
|---|
| 5495 | continue
 | 
|---|
| 5496 | else
 | 
|---|
| 5497 |   # Passes both tests.
 | 
|---|
| 5498 | ac_preproc_ok=:
 | 
|---|
| 5499 | break
 | 
|---|
| 5500 | fi
 | 
|---|
| 5501 | rm -f conftest.err conftest.i conftest.$ac_ext
 | 
|---|
| 5502 | 
 | 
|---|
| 5503 | done
 | 
|---|
| 5504 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 | 
|---|
| 5505 | rm -f conftest.i conftest.err conftest.$ac_ext
 | 
|---|
| 5506 | if $ac_preproc_ok; then :
 | 
|---|
| 5507 |   break
 | 
|---|
| 5508 | fi
 | 
|---|
| 5509 | 
 | 
|---|
| 5510 |     done
 | 
|---|
| 5511 |     ac_cv_prog_CPP=$CPP
 | 
|---|
| 5512 | 
 | 
|---|
| 5513 | fi
 | 
|---|
| 5514 |   CPP=$ac_cv_prog_CPP
 | 
|---|
| 5515 | else
 | 
|---|
| 5516 |   ac_cv_prog_CPP=$CPP
 | 
|---|
| 5517 | fi
 | 
|---|
| 5518 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 | 
|---|
| 5519 | $as_echo "$CPP" >&6; }
 | 
|---|
| 5520 | ac_preproc_ok=false
 | 
|---|
| 5521 | for ac_c_preproc_warn_flag in '' yes
 | 
|---|
| 5522 | do
 | 
|---|
| 5523 |   # Use a header file that comes with gcc, so configuring glibc
 | 
|---|
| 5524 |   # with a fresh cross-compiler works.
 | 
|---|
| 5525 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 | 
|---|
| 5526 |   # <limits.h> exists even on freestanding compilers.
 | 
|---|
| 5527 |   # On the NeXT, cc -E runs the code through the compiler's parser,
 | 
|---|
| 5528 |   # not just through cpp. "Syntax error" is here to catch this case.
 | 
|---|
| 5529 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5530 | /* end confdefs.h.  */
 | 
|---|
| 5531 | #ifdef __STDC__
 | 
|---|
| 5532 | # include <limits.h>
 | 
|---|
| 5533 | #else
 | 
|---|
| 5534 | # include <assert.h>
 | 
|---|
| 5535 | #endif
 | 
|---|
| 5536 |                      Syntax error
 | 
|---|
| 5537 | _ACEOF
 | 
|---|
| 5538 | if ac_fn_c_try_cpp "$LINENO"; then :
 | 
|---|
| 5539 | 
 | 
|---|
| 5540 | else
 | 
|---|
| 5541 |   # Broken: fails on valid input.
 | 
|---|
| 5542 | continue
 | 
|---|
| 5543 | fi
 | 
|---|
| 5544 | rm -f conftest.err conftest.i conftest.$ac_ext
 | 
|---|
| 5545 | 
 | 
|---|
| 5546 |   # OK, works on sane cases.  Now check whether nonexistent headers
 | 
|---|
| 5547 |   # can be detected and how.
 | 
|---|
| 5548 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5549 | /* end confdefs.h.  */
 | 
|---|
| 5550 | #include <ac_nonexistent.h>
 | 
|---|
| 5551 | _ACEOF
 | 
|---|
| 5552 | if ac_fn_c_try_cpp "$LINENO"; then :
 | 
|---|
| 5553 |   # Broken: success on invalid input.
 | 
|---|
| 5554 | continue
 | 
|---|
| 5555 | else
 | 
|---|
| 5556 |   # Passes both tests.
 | 
|---|
| 5557 | ac_preproc_ok=:
 | 
|---|
| 5558 | break
 | 
|---|
| 5559 | fi
 | 
|---|
| 5560 | rm -f conftest.err conftest.i conftest.$ac_ext
 | 
|---|
| 5561 | 
 | 
|---|
| 5562 | done
 | 
|---|
| 5563 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 | 
|---|
| 5564 | rm -f conftest.i conftest.err conftest.$ac_ext
 | 
|---|
| 5565 | if $ac_preproc_ok; then :
 | 
|---|
| 5566 | 
 | 
|---|
| 5567 | else
 | 
|---|
| 5568 |   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 5569 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 5570 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 | 
|---|
| 5571 | See \`config.log' for more details" "$LINENO" 5; }
 | 
|---|
| 5572 | fi
 | 
|---|
| 5573 | 
 | 
|---|
| 5574 | ac_ext=c
 | 
|---|
| 5575 | ac_cpp='$CPP $CPPFLAGS'
 | 
|---|
| 5576 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 5577 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 5578 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
 | 
|---|
| 5579 | 
 | 
|---|
| 5580 | 
 | 
|---|
| 5581 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 | 
|---|
| 5582 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 | 
|---|
| 5583 | if ${ac_cv_path_GREP+:} false; then :
 | 
|---|
| 5584 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5585 | else
 | 
|---|
| 5586 |   if test -z "$GREP"; then
 | 
|---|
| 5587 |   ac_path_GREP_found=false
 | 
|---|
| 5588 |   # Loop through the user's path and test for each of PROGNAME-LIST
 | 
|---|
| 5589 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 5590 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 | 
|---|
| 5591 | do
 | 
|---|
| 5592 |   IFS=$as_save_IFS
 | 
|---|
| 5593 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 5594 |     for ac_prog in grep ggrep; do
 | 
|---|
| 5595 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 5596 |       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 | 
|---|
| 5597 |       as_fn_executable_p "$ac_path_GREP" || continue
 | 
|---|
| 5598 | # Check for GNU ac_path_GREP and select it if it is found.
 | 
|---|
| 5599 |   # Check for GNU $ac_path_GREP
 | 
|---|
| 5600 | case `"$ac_path_GREP" --version 2>&1` in
 | 
|---|
| 5601 | *GNU*)
 | 
|---|
| 5602 |   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 | 
|---|
| 5603 | *)
 | 
|---|
| 5604 |   ac_count=0
 | 
|---|
| 5605 |   $as_echo_n 0123456789 >"conftest.in"
 | 
|---|
| 5606 |   while :
 | 
|---|
| 5607 |   do
 | 
|---|
| 5608 |     cat "conftest.in" "conftest.in" >"conftest.tmp"
 | 
|---|
| 5609 |     mv "conftest.tmp" "conftest.in"
 | 
|---|
| 5610 |     cp "conftest.in" "conftest.nl"
 | 
|---|
| 5611 |     $as_echo 'GREP' >> "conftest.nl"
 | 
|---|
| 5612 |     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 | 
|---|
| 5613 |     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 | 
|---|
| 5614 |     as_fn_arith $ac_count + 1 && ac_count=$as_val
 | 
|---|
| 5615 |     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 | 
|---|
| 5616 |       # Best one so far, save it but keep looking for a better one
 | 
|---|
| 5617 |       ac_cv_path_GREP="$ac_path_GREP"
 | 
|---|
| 5618 |       ac_path_GREP_max=$ac_count
 | 
|---|
| 5619 |     fi
 | 
|---|
| 5620 |     # 10*(2^10) chars as input seems more than enough
 | 
|---|
| 5621 |     test $ac_count -gt 10 && break
 | 
|---|
| 5622 |   done
 | 
|---|
| 5623 |   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 | 
|---|
| 5624 | esac
 | 
|---|
| 5625 | 
 | 
|---|
| 5626 |       $ac_path_GREP_found && break 3
 | 
|---|
| 5627 |     done
 | 
|---|
| 5628 |   done
 | 
|---|
| 5629 |   done
 | 
|---|
| 5630 | IFS=$as_save_IFS
 | 
|---|
| 5631 |   if test -z "$ac_cv_path_GREP"; then
 | 
|---|
| 5632 |     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 | 
|---|
| 5633 |   fi
 | 
|---|
| 5634 | else
 | 
|---|
| 5635 |   ac_cv_path_GREP=$GREP
 | 
|---|
| 5636 | fi
 | 
|---|
| 5637 | 
 | 
|---|
| 5638 | fi
 | 
|---|
| 5639 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 | 
|---|
| 5640 | $as_echo "$ac_cv_path_GREP" >&6; }
 | 
|---|
| 5641 |  GREP="$ac_cv_path_GREP"
 | 
|---|
| 5642 | 
 | 
|---|
| 5643 | 
 | 
|---|
| 5644 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 | 
|---|
| 5645 | $as_echo_n "checking for egrep... " >&6; }
 | 
|---|
| 5646 | if ${ac_cv_path_EGREP+:} false; then :
 | 
|---|
| 5647 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5648 | else
 | 
|---|
| 5649 |   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 | 
|---|
| 5650 |    then ac_cv_path_EGREP="$GREP -E"
 | 
|---|
| 5651 |    else
 | 
|---|
| 5652 |      if test -z "$EGREP"; then
 | 
|---|
| 5653 |   ac_path_EGREP_found=false
 | 
|---|
| 5654 |   # Loop through the user's path and test for each of PROGNAME-LIST
 | 
|---|
| 5655 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 5656 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 | 
|---|
| 5657 | do
 | 
|---|
| 5658 |   IFS=$as_save_IFS
 | 
|---|
| 5659 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 5660 |     for ac_prog in egrep; do
 | 
|---|
| 5661 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 5662 |       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 | 
|---|
| 5663 |       as_fn_executable_p "$ac_path_EGREP" || continue
 | 
|---|
| 5664 | # Check for GNU ac_path_EGREP and select it if it is found.
 | 
|---|
| 5665 |   # Check for GNU $ac_path_EGREP
 | 
|---|
| 5666 | case `"$ac_path_EGREP" --version 2>&1` in
 | 
|---|
| 5667 | *GNU*)
 | 
|---|
| 5668 |   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 | 
|---|
| 5669 | *)
 | 
|---|
| 5670 |   ac_count=0
 | 
|---|
| 5671 |   $as_echo_n 0123456789 >"conftest.in"
 | 
|---|
| 5672 |   while :
 | 
|---|
| 5673 |   do
 | 
|---|
| 5674 |     cat "conftest.in" "conftest.in" >"conftest.tmp"
 | 
|---|
| 5675 |     mv "conftest.tmp" "conftest.in"
 | 
|---|
| 5676 |     cp "conftest.in" "conftest.nl"
 | 
|---|
| 5677 |     $as_echo 'EGREP' >> "conftest.nl"
 | 
|---|
| 5678 |     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 | 
|---|
| 5679 |     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 | 
|---|
| 5680 |     as_fn_arith $ac_count + 1 && ac_count=$as_val
 | 
|---|
| 5681 |     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 | 
|---|
| 5682 |       # Best one so far, save it but keep looking for a better one
 | 
|---|
| 5683 |       ac_cv_path_EGREP="$ac_path_EGREP"
 | 
|---|
| 5684 |       ac_path_EGREP_max=$ac_count
 | 
|---|
| 5685 |     fi
 | 
|---|
| 5686 |     # 10*(2^10) chars as input seems more than enough
 | 
|---|
| 5687 |     test $ac_count -gt 10 && break
 | 
|---|
| 5688 |   done
 | 
|---|
| 5689 |   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 | 
|---|
| 5690 | esac
 | 
|---|
| 5691 | 
 | 
|---|
| 5692 |       $ac_path_EGREP_found && break 3
 | 
|---|
| 5693 |     done
 | 
|---|
| 5694 |   done
 | 
|---|
| 5695 |   done
 | 
|---|
| 5696 | IFS=$as_save_IFS
 | 
|---|
| 5697 |   if test -z "$ac_cv_path_EGREP"; then
 | 
|---|
| 5698 |     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 | 
|---|
| 5699 |   fi
 | 
|---|
| 5700 | else
 | 
|---|
| 5701 |   ac_cv_path_EGREP=$EGREP
 | 
|---|
| 5702 | fi
 | 
|---|
| 5703 | 
 | 
|---|
| 5704 |    fi
 | 
|---|
| 5705 | fi
 | 
|---|
| 5706 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 | 
|---|
| 5707 | $as_echo "$ac_cv_path_EGREP" >&6; }
 | 
|---|
| 5708 |  EGREP="$ac_cv_path_EGREP"
 | 
|---|
| 5709 | 
 | 
|---|
| 5710 | 
 | 
|---|
| 5711 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 | 
|---|
| 5712 | $as_echo_n "checking for ANSI C header files... " >&6; }
 | 
|---|
| 5713 | if ${ac_cv_header_stdc+:} false; then :
 | 
|---|
| 5714 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5715 | else
 | 
|---|
| 5716 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5717 | /* end confdefs.h.  */
 | 
|---|
| 5718 | #include <stdlib.h>
 | 
|---|
| 5719 | #include <stdarg.h>
 | 
|---|
| 5720 | #include <string.h>
 | 
|---|
| 5721 | #include <float.h>
 | 
|---|
| 5722 | 
 | 
|---|
| 5723 | int
 | 
|---|
| 5724 | main ()
 | 
|---|
| 5725 | {
 | 
|---|
| 5726 | 
 | 
|---|
| 5727 |   ;
 | 
|---|
| 5728 |   return 0;
 | 
|---|
| 5729 | }
 | 
|---|
| 5730 | _ACEOF
 | 
|---|
| 5731 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 5732 |   ac_cv_header_stdc=yes
 | 
|---|
| 5733 | else
 | 
|---|
| 5734 |   ac_cv_header_stdc=no
 | 
|---|
| 5735 | fi
 | 
|---|
| 5736 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 5737 | 
 | 
|---|
| 5738 | if test $ac_cv_header_stdc = yes; then
 | 
|---|
| 5739 |   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 | 
|---|
| 5740 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5741 | /* end confdefs.h.  */
 | 
|---|
| 5742 | #include <string.h>
 | 
|---|
| 5743 | 
 | 
|---|
| 5744 | _ACEOF
 | 
|---|
| 5745 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 | 
|---|
| 5746 |   $EGREP "memchr" >/dev/null 2>&1; then :
 | 
|---|
| 5747 | 
 | 
|---|
| 5748 | else
 | 
|---|
| 5749 |   ac_cv_header_stdc=no
 | 
|---|
| 5750 | fi
 | 
|---|
| 5751 | rm -f conftest*
 | 
|---|
| 5752 | 
 | 
|---|
| 5753 | fi
 | 
|---|
| 5754 | 
 | 
|---|
| 5755 | if test $ac_cv_header_stdc = yes; then
 | 
|---|
| 5756 |   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 | 
|---|
| 5757 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5758 | /* end confdefs.h.  */
 | 
|---|
| 5759 | #include <stdlib.h>
 | 
|---|
| 5760 | 
 | 
|---|
| 5761 | _ACEOF
 | 
|---|
| 5762 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 | 
|---|
| 5763 |   $EGREP "free" >/dev/null 2>&1; then :
 | 
|---|
| 5764 | 
 | 
|---|
| 5765 | else
 | 
|---|
| 5766 |   ac_cv_header_stdc=no
 | 
|---|
| 5767 | fi
 | 
|---|
| 5768 | rm -f conftest*
 | 
|---|
| 5769 | 
 | 
|---|
| 5770 | fi
 | 
|---|
| 5771 | 
 | 
|---|
| 5772 | if test $ac_cv_header_stdc = yes; then
 | 
|---|
| 5773 |   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 | 
|---|
| 5774 |   if test "$cross_compiling" = yes; then :
 | 
|---|
| 5775 |   :
 | 
|---|
| 5776 | else
 | 
|---|
| 5777 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5778 | /* end confdefs.h.  */
 | 
|---|
| 5779 | #include <ctype.h>
 | 
|---|
| 5780 | #include <stdlib.h>
 | 
|---|
| 5781 | #if ((' ' & 0x0FF) == 0x020)
 | 
|---|
| 5782 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 | 
|---|
| 5783 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 | 
|---|
| 5784 | #else
 | 
|---|
| 5785 | # define ISLOWER(c) \
 | 
|---|
| 5786 |                    (('a' <= (c) && (c) <= 'i') \
 | 
|---|
| 5787 |                      || ('j' <= (c) && (c) <= 'r') \
 | 
|---|
| 5788 |                      || ('s' <= (c) && (c) <= 'z'))
 | 
|---|
| 5789 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 | 
|---|
| 5790 | #endif
 | 
|---|
| 5791 | 
 | 
|---|
| 5792 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 | 
|---|
| 5793 | int
 | 
|---|
| 5794 | main ()
 | 
|---|
| 5795 | {
 | 
|---|
| 5796 |   int i;
 | 
|---|
| 5797 |   for (i = 0; i < 256; i++)
 | 
|---|
| 5798 |     if (XOR (islower (i), ISLOWER (i))
 | 
|---|
| 5799 |         || toupper (i) != TOUPPER (i))
 | 
|---|
| 5800 |       return 2;
 | 
|---|
| 5801 |   return 0;
 | 
|---|
| 5802 | }
 | 
|---|
| 5803 | _ACEOF
 | 
|---|
| 5804 | if ac_fn_c_try_run "$LINENO"; then :
 | 
|---|
| 5805 | 
 | 
|---|
| 5806 | else
 | 
|---|
| 5807 |   ac_cv_header_stdc=no
 | 
|---|
| 5808 | fi
 | 
|---|
| 5809 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 | 
|---|
| 5810 |   conftest.$ac_objext conftest.beam conftest.$ac_ext
 | 
|---|
| 5811 | fi
 | 
|---|
| 5812 | 
 | 
|---|
| 5813 | fi
 | 
|---|
| 5814 | fi
 | 
|---|
| 5815 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 | 
|---|
| 5816 | $as_echo "$ac_cv_header_stdc" >&6; }
 | 
|---|
| 5817 | if test $ac_cv_header_stdc = yes; then
 | 
|---|
| 5818 | 
 | 
|---|
| 5819 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 | 
|---|
| 5820 | 
 | 
|---|
| 5821 | fi
 | 
|---|
| 5822 | 
 | 
|---|
| 5823 | # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 | 
|---|
| 5824 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 | 
|---|
| 5825 |                   inttypes.h stdint.h unistd.h
 | 
|---|
| 5826 | do :
 | 
|---|
| 5827 |   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 | 
|---|
| 5828 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 | 
|---|
| 5829 | "
 | 
|---|
| 5830 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 | 
|---|
| 5831 |   cat >>confdefs.h <<_ACEOF
 | 
|---|
| 5832 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 | 
|---|
| 5833 | _ACEOF
 | 
|---|
| 5834 | 
 | 
|---|
| 5835 | fi
 | 
|---|
| 5836 | 
 | 
|---|
| 5837 | done
 | 
|---|
| 5838 | 
 | 
|---|
| 5839 | 
 | 
|---|
| 5840 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 | 
|---|
| 5841 | if test "x$ac_cv_type_size_t" = xyes; then :
 | 
|---|
| 5842 | 
 | 
|---|
| 5843 | else
 | 
|---|
| 5844 | 
 | 
|---|
| 5845 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 5846 | #define size_t unsigned int
 | 
|---|
| 5847 | _ACEOF
 | 
|---|
| 5848 | 
 | 
|---|
| 5849 | fi
 | 
|---|
| 5850 | 
 | 
|---|
| 5851 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
 | 
|---|
| 5852 | # for constant arguments.  Useless!
 | 
|---|
| 5853 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
 | 
|---|
| 5854 | $as_echo_n "checking for working alloca.h... " >&6; }
 | 
|---|
| 5855 | if ${ac_cv_working_alloca_h+:} false; then :
 | 
|---|
| 5856 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5857 | else
 | 
|---|
| 5858 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5859 | /* end confdefs.h.  */
 | 
|---|
| 5860 | #include <alloca.h>
 | 
|---|
| 5861 | int
 | 
|---|
| 5862 | main ()
 | 
|---|
| 5863 | {
 | 
|---|
| 5864 | char *p = (char *) alloca (2 * sizeof (int));
 | 
|---|
| 5865 |                           if (p) return 0;
 | 
|---|
| 5866 |   ;
 | 
|---|
| 5867 |   return 0;
 | 
|---|
| 5868 | }
 | 
|---|
| 5869 | _ACEOF
 | 
|---|
| 5870 | if ac_fn_c_try_link "$LINENO"; then :
 | 
|---|
| 5871 |   ac_cv_working_alloca_h=yes
 | 
|---|
| 5872 | else
 | 
|---|
| 5873 |   ac_cv_working_alloca_h=no
 | 
|---|
| 5874 | fi
 | 
|---|
| 5875 | rm -f core conftest.err conftest.$ac_objext \
 | 
|---|
| 5876 |     conftest$ac_exeext conftest.$ac_ext
 | 
|---|
| 5877 | fi
 | 
|---|
| 5878 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
 | 
|---|
| 5879 | $as_echo "$ac_cv_working_alloca_h" >&6; }
 | 
|---|
| 5880 | if test $ac_cv_working_alloca_h = yes; then
 | 
|---|
| 5881 | 
 | 
|---|
| 5882 | $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
 | 
|---|
| 5883 | 
 | 
|---|
| 5884 | fi
 | 
|---|
| 5885 | 
 | 
|---|
| 5886 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
 | 
|---|
| 5887 | $as_echo_n "checking for alloca... " >&6; }
 | 
|---|
| 5888 | if ${ac_cv_func_alloca_works+:} false; then :
 | 
|---|
| 5889 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5890 | else
 | 
|---|
| 5891 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5892 | /* end confdefs.h.  */
 | 
|---|
| 5893 | #ifdef __GNUC__
 | 
|---|
| 5894 | # define alloca __builtin_alloca
 | 
|---|
| 5895 | #else
 | 
|---|
| 5896 | # ifdef _MSC_VER
 | 
|---|
| 5897 | #  include <malloc.h>
 | 
|---|
| 5898 | #  define alloca _alloca
 | 
|---|
| 5899 | # else
 | 
|---|
| 5900 | #  ifdef HAVE_ALLOCA_H
 | 
|---|
| 5901 | #   include <alloca.h>
 | 
|---|
| 5902 | #  else
 | 
|---|
| 5903 | #   ifdef _AIX
 | 
|---|
| 5904 |  #pragma alloca
 | 
|---|
| 5905 | #   else
 | 
|---|
| 5906 | #    ifndef alloca /* predefined by HP cc +Olibcalls */
 | 
|---|
| 5907 | void *alloca (size_t);
 | 
|---|
| 5908 | #    endif
 | 
|---|
| 5909 | #   endif
 | 
|---|
| 5910 | #  endif
 | 
|---|
| 5911 | # endif
 | 
|---|
| 5912 | #endif
 | 
|---|
| 5913 | 
 | 
|---|
| 5914 | int
 | 
|---|
| 5915 | main ()
 | 
|---|
| 5916 | {
 | 
|---|
| 5917 | char *p = (char *) alloca (1);
 | 
|---|
| 5918 |                                     if (p) return 0;
 | 
|---|
| 5919 |   ;
 | 
|---|
| 5920 |   return 0;
 | 
|---|
| 5921 | }
 | 
|---|
| 5922 | _ACEOF
 | 
|---|
| 5923 | if ac_fn_c_try_link "$LINENO"; then :
 | 
|---|
| 5924 |   ac_cv_func_alloca_works=yes
 | 
|---|
| 5925 | else
 | 
|---|
| 5926 |   ac_cv_func_alloca_works=no
 | 
|---|
| 5927 | fi
 | 
|---|
| 5928 | rm -f core conftest.err conftest.$ac_objext \
 | 
|---|
| 5929 |     conftest$ac_exeext conftest.$ac_ext
 | 
|---|
| 5930 | fi
 | 
|---|
| 5931 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
 | 
|---|
| 5932 | $as_echo "$ac_cv_func_alloca_works" >&6; }
 | 
|---|
| 5933 | 
 | 
|---|
| 5934 | if test $ac_cv_func_alloca_works = yes; then
 | 
|---|
| 5935 | 
 | 
|---|
| 5936 | $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
 | 
|---|
| 5937 | 
 | 
|---|
| 5938 | else
 | 
|---|
| 5939 |   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
 | 
|---|
| 5940 | # that cause trouble.  Some versions do not even contain alloca or
 | 
|---|
| 5941 | # contain a buggy version.  If you still want to use their alloca,
 | 
|---|
| 5942 | # use ar to extract alloca.o from them instead of compiling alloca.c.
 | 
|---|
| 5943 | 
 | 
|---|
| 5944 | ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
 | 
|---|
| 5945 | 
 | 
|---|
| 5946 | $as_echo "#define C_ALLOCA 1" >>confdefs.h
 | 
|---|
| 5947 | 
 | 
|---|
| 5948 | 
 | 
|---|
| 5949 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
 | 
|---|
| 5950 | $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
 | 
|---|
| 5951 | if ${ac_cv_os_cray+:} false; then :
 | 
|---|
| 5952 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5953 | else
 | 
|---|
| 5954 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5955 | /* end confdefs.h.  */
 | 
|---|
| 5956 | #if defined CRAY && ! defined CRAY2
 | 
|---|
| 5957 | webecray
 | 
|---|
| 5958 | #else
 | 
|---|
| 5959 | wenotbecray
 | 
|---|
| 5960 | #endif
 | 
|---|
| 5961 | 
 | 
|---|
| 5962 | _ACEOF
 | 
|---|
| 5963 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 | 
|---|
| 5964 |   $EGREP "webecray" >/dev/null 2>&1; then :
 | 
|---|
| 5965 |   ac_cv_os_cray=yes
 | 
|---|
| 5966 | else
 | 
|---|
| 5967 |   ac_cv_os_cray=no
 | 
|---|
| 5968 | fi
 | 
|---|
| 5969 | rm -f conftest*
 | 
|---|
| 5970 | 
 | 
|---|
| 5971 | fi
 | 
|---|
| 5972 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
 | 
|---|
| 5973 | $as_echo "$ac_cv_os_cray" >&6; }
 | 
|---|
| 5974 | if test $ac_cv_os_cray = yes; then
 | 
|---|
| 5975 |   for ac_func in _getb67 GETB67 getb67; do
 | 
|---|
| 5976 |     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 | 
|---|
| 5977 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 | 
|---|
| 5978 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 | 
|---|
| 5979 | 
 | 
|---|
| 5980 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 5981 | #define CRAY_STACKSEG_END $ac_func
 | 
|---|
| 5982 | _ACEOF
 | 
|---|
| 5983 | 
 | 
|---|
| 5984 |     break
 | 
|---|
| 5985 | fi
 | 
|---|
| 5986 | 
 | 
|---|
| 5987 |   done
 | 
|---|
| 5988 | fi
 | 
|---|
| 5989 | 
 | 
|---|
| 5990 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
 | 
|---|
| 5991 | $as_echo_n "checking stack direction for C alloca... " >&6; }
 | 
|---|
| 5992 | if ${ac_cv_c_stack_direction+:} false; then :
 | 
|---|
| 5993 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5994 | else
 | 
|---|
| 5995 |   if test "$cross_compiling" = yes; then :
 | 
|---|
| 5996 |   ac_cv_c_stack_direction=0
 | 
|---|
| 5997 | else
 | 
|---|
| 5998 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5999 | /* end confdefs.h.  */
 | 
|---|
| 6000 | $ac_includes_default
 | 
|---|
| 6001 | int
 | 
|---|
| 6002 | find_stack_direction (int *addr, int depth)
 | 
|---|
| 6003 | {
 | 
|---|
| 6004 |   int dir, dummy = 0;
 | 
|---|
| 6005 |   if (! addr)
 | 
|---|
| 6006 |     addr = &dummy;
 | 
|---|
| 6007 |   *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
 | 
|---|
| 6008 |   dir = depth ? find_stack_direction (addr, depth - 1) : 0;
 | 
|---|
| 6009 |   return dir + dummy;
 | 
|---|
| 6010 | }
 | 
|---|
| 6011 | 
 | 
|---|
| 6012 | int
 | 
|---|
| 6013 | main (int argc, char **argv)
 | 
|---|
| 6014 | {
 | 
|---|
| 6015 |   return find_stack_direction (0, argc + !argv + 20) < 0;
 | 
|---|
| 6016 | }
 | 
|---|
| 6017 | _ACEOF
 | 
|---|
| 6018 | if ac_fn_c_try_run "$LINENO"; then :
 | 
|---|
| 6019 |   ac_cv_c_stack_direction=1
 | 
|---|
| 6020 | else
 | 
|---|
| 6021 |   ac_cv_c_stack_direction=-1
 | 
|---|
| 6022 | fi
 | 
|---|
| 6023 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 | 
|---|
| 6024 |   conftest.$ac_objext conftest.beam conftest.$ac_ext
 | 
|---|
| 6025 | fi
 | 
|---|
| 6026 | 
 | 
|---|
| 6027 | fi
 | 
|---|
| 6028 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
 | 
|---|
| 6029 | $as_echo "$ac_cv_c_stack_direction" >&6; }
 | 
|---|
| 6030 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6031 | #define STACK_DIRECTION $ac_cv_c_stack_direction
 | 
|---|
| 6032 | _ACEOF
 | 
|---|
| 6033 | 
 | 
|---|
| 6034 | 
 | 
|---|
| 6035 | fi
 | 
|---|
| 6036 | 
 | 
|---|
| 6037 | for ac_header in fenv.h float.h inttypes.h libintl.h limits.h malloc.h stddef.h stdlib.h string.h unistd.h
 | 
|---|
| 6038 | do :
 | 
|---|
| 6039 |   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 | 
|---|
| 6040 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 | 
|---|
| 6041 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 | 
|---|
| 6042 |   cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6043 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 | 
|---|
| 6044 | _ACEOF
 | 
|---|
| 6045 | 
 | 
|---|
| 6046 | fi
 | 
|---|
| 6047 | 
 | 
|---|
| 6048 | done
 | 
|---|
| 6049 | 
 | 
|---|
| 6050 | 
 | 
|---|
| 6051 | # Checks for typedefs, structures, and compiler characteristics.
 | 
|---|
| 6052 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
 | 
|---|
| 6053 | $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
 | 
|---|
| 6054 | if ${ac_cv_header_stdbool_h+:} false; then :
 | 
|---|
| 6055 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 6056 | else
 | 
|---|
| 6057 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 6058 | /* end confdefs.h.  */
 | 
|---|
| 6059 | 
 | 
|---|
| 6060 |              #include <stdbool.h>
 | 
|---|
| 6061 |              #ifndef bool
 | 
|---|
| 6062 |               "error: bool is not defined"
 | 
|---|
| 6063 |              #endif
 | 
|---|
| 6064 |              #ifndef false
 | 
|---|
| 6065 |               "error: false is not defined"
 | 
|---|
| 6066 |              #endif
 | 
|---|
| 6067 |              #if false
 | 
|---|
| 6068 |               "error: false is not 0"
 | 
|---|
| 6069 |              #endif
 | 
|---|
| 6070 |              #ifndef true
 | 
|---|
| 6071 |               "error: true is not defined"
 | 
|---|
| 6072 |              #endif
 | 
|---|
| 6073 |              #if true != 1
 | 
|---|
| 6074 |               "error: true is not 1"
 | 
|---|
| 6075 |              #endif
 | 
|---|
| 6076 |              #ifndef __bool_true_false_are_defined
 | 
|---|
| 6077 |               "error: __bool_true_false_are_defined is not defined"
 | 
|---|
| 6078 |              #endif
 | 
|---|
| 6079 | 
 | 
|---|
| 6080 |              struct s { _Bool s: 1; _Bool t; } s;
 | 
|---|
| 6081 | 
 | 
|---|
| 6082 |              char a[true == 1 ? 1 : -1];
 | 
|---|
| 6083 |              char b[false == 0 ? 1 : -1];
 | 
|---|
| 6084 |              char c[__bool_true_false_are_defined == 1 ? 1 : -1];
 | 
|---|
| 6085 |              char d[(bool) 0.5 == true ? 1 : -1];
 | 
|---|
| 6086 |              /* See body of main program for 'e'.  */
 | 
|---|
| 6087 |              char f[(_Bool) 0.0 == false ? 1 : -1];
 | 
|---|
| 6088 |              char g[true];
 | 
|---|
| 6089 |              char h[sizeof (_Bool)];
 | 
|---|
| 6090 |              char i[sizeof s.t];
 | 
|---|
| 6091 |              enum { j = false, k = true, l = false * true, m = true * 256 };
 | 
|---|
| 6092 |              /* The following fails for
 | 
|---|
| 6093 |                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
 | 
|---|
| 6094 |              _Bool n[m];
 | 
|---|
| 6095 |              char o[sizeof n == m * sizeof n[0] ? 1 : -1];
 | 
|---|
| 6096 |              char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
 | 
|---|
| 6097 |              /* Catch a bug in an HP-UX C compiler.  See
 | 
|---|
| 6098 |                 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
 | 
|---|
| 6099 |                 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
 | 
|---|
| 6100 |               */
 | 
|---|
| 6101 |              _Bool q = true;
 | 
|---|
| 6102 |              _Bool *pq = &q;
 | 
|---|
| 6103 | 
 | 
|---|
| 6104 | int
 | 
|---|
| 6105 | main ()
 | 
|---|
| 6106 | {
 | 
|---|
| 6107 | 
 | 
|---|
| 6108 |              bool e = &s;
 | 
|---|
| 6109 |              *pq |= q;
 | 
|---|
| 6110 |              *pq |= ! q;
 | 
|---|
| 6111 |              /* Refer to every declared value, to avoid compiler optimizations.  */
 | 
|---|
| 6112 |              return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
 | 
|---|
| 6113 |                      + !m + !n + !o + !p + !q + !pq);
 | 
|---|
| 6114 | 
 | 
|---|
| 6115 |   ;
 | 
|---|
| 6116 |   return 0;
 | 
|---|
| 6117 | }
 | 
|---|
| 6118 | _ACEOF
 | 
|---|
| 6119 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 6120 |   ac_cv_header_stdbool_h=yes
 | 
|---|
| 6121 | else
 | 
|---|
| 6122 |   ac_cv_header_stdbool_h=no
 | 
|---|
| 6123 | fi
 | 
|---|
| 6124 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 6125 | fi
 | 
|---|
| 6126 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
 | 
|---|
| 6127 | $as_echo "$ac_cv_header_stdbool_h" >&6; }
 | 
|---|
| 6128 |    ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
 | 
|---|
| 6129 | if test "x$ac_cv_type__Bool" = xyes; then :
 | 
|---|
| 6130 | 
 | 
|---|
| 6131 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6132 | #define HAVE__BOOL 1
 | 
|---|
| 6133 | _ACEOF
 | 
|---|
| 6134 | 
 | 
|---|
| 6135 | 
 | 
|---|
| 6136 | fi
 | 
|---|
| 6137 | 
 | 
|---|
| 6138 | 
 | 
|---|
| 6139 | if test $ac_cv_header_stdbool_h = yes; then
 | 
|---|
| 6140 | 
 | 
|---|
| 6141 | $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
 | 
|---|
| 6142 | 
 | 
|---|
| 6143 | fi
 | 
|---|
| 6144 | 
 | 
|---|
| 6145 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
 | 
|---|
| 6146 | $as_echo_n "checking for inline... " >&6; }
 | 
|---|
| 6147 | if ${ac_cv_c_inline+:} false; then :
 | 
|---|
| 6148 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 6149 | else
 | 
|---|
| 6150 |   ac_cv_c_inline=no
 | 
|---|
| 6151 | for ac_kw in inline __inline__ __inline; do
 | 
|---|
| 6152 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 6153 | /* end confdefs.h.  */
 | 
|---|
| 6154 | #ifndef __cplusplus
 | 
|---|
| 6155 | typedef int foo_t;
 | 
|---|
| 6156 | static $ac_kw foo_t static_foo () {return 0; }
 | 
|---|
| 6157 | $ac_kw foo_t foo () {return 0; }
 | 
|---|
| 6158 | #endif
 | 
|---|
| 6159 | 
 | 
|---|
| 6160 | _ACEOF
 | 
|---|
| 6161 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 6162 |   ac_cv_c_inline=$ac_kw
 | 
|---|
| 6163 | fi
 | 
|---|
| 6164 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 6165 |   test "$ac_cv_c_inline" != no && break
 | 
|---|
| 6166 | done
 | 
|---|
| 6167 | 
 | 
|---|
| 6168 | fi
 | 
|---|
| 6169 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
 | 
|---|
| 6170 | $as_echo "$ac_cv_c_inline" >&6; }
 | 
|---|
| 6171 | 
 | 
|---|
| 6172 | case $ac_cv_c_inline in
 | 
|---|
| 6173 |   inline | yes) ;;
 | 
|---|
| 6174 |   *)
 | 
|---|
| 6175 |     case $ac_cv_c_inline in
 | 
|---|
| 6176 |       no) ac_val=;;
 | 
|---|
| 6177 |       *) ac_val=$ac_cv_c_inline;;
 | 
|---|
| 6178 |     esac
 | 
|---|
| 6179 |     cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6180 | #ifndef __cplusplus
 | 
|---|
| 6181 | #define inline $ac_val
 | 
|---|
| 6182 | #endif
 | 
|---|
| 6183 | _ACEOF
 | 
|---|
| 6184 |     ;;
 | 
|---|
| 6185 | esac
 | 
|---|
| 6186 | 
 | 
|---|
| 6187 | ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t"
 | 
|---|
| 6188 | case $ac_cv_c_int16_t in #(
 | 
|---|
| 6189 |   no|yes) ;; #(
 | 
|---|
| 6190 |   *)
 | 
|---|
| 6191 | 
 | 
|---|
| 6192 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6193 | #define int16_t $ac_cv_c_int16_t
 | 
|---|
| 6194 | _ACEOF
 | 
|---|
| 6195 | ;;
 | 
|---|
| 6196 | esac
 | 
|---|
| 6197 | 
 | 
|---|
| 6198 | ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
 | 
|---|
| 6199 | case $ac_cv_c_int32_t in #(
 | 
|---|
| 6200 |   no|yes) ;; #(
 | 
|---|
| 6201 |   *)
 | 
|---|
| 6202 | 
 | 
|---|
| 6203 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6204 | #define int32_t $ac_cv_c_int32_t
 | 
|---|
| 6205 | _ACEOF
 | 
|---|
| 6206 | ;;
 | 
|---|
| 6207 | esac
 | 
|---|
| 6208 | 
 | 
|---|
| 6209 | ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t"
 | 
|---|
| 6210 | case $ac_cv_c_int8_t in #(
 | 
|---|
| 6211 |   no|yes) ;; #(
 | 
|---|
| 6212 |   *)
 | 
|---|
| 6213 | 
 | 
|---|
| 6214 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6215 | #define int8_t $ac_cv_c_int8_t
 | 
|---|
| 6216 | _ACEOF
 | 
|---|
| 6217 | ;;
 | 
|---|
| 6218 | esac
 | 
|---|
| 6219 | 
 | 
|---|
| 6220 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
 | 
|---|
| 6221 | $as_echo_n "checking for C/C++ restrict keyword... " >&6; }
 | 
|---|
| 6222 | if ${ac_cv_c_restrict+:} false; then :
 | 
|---|
| 6223 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 6224 | else
 | 
|---|
| 6225 |   ac_cv_c_restrict=no
 | 
|---|
| 6226 |    # The order here caters to the fact that C++ does not require restrict.
 | 
|---|
| 6227 |    for ac_kw in __restrict __restrict__ _Restrict restrict; do
 | 
|---|
| 6228 |      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 6229 | /* end confdefs.h.  */
 | 
|---|
| 6230 | typedef int * int_ptr;
 | 
|---|
| 6231 |         int foo (int_ptr $ac_kw ip) {
 | 
|---|
| 6232 |         return ip[0];
 | 
|---|
| 6233 |        }
 | 
|---|
| 6234 | int
 | 
|---|
| 6235 | main ()
 | 
|---|
| 6236 | {
 | 
|---|
| 6237 | int s[1];
 | 
|---|
| 6238 |         int * $ac_kw t = s;
 | 
|---|
| 6239 |         t[0] = 0;
 | 
|---|
| 6240 |         return foo(t)
 | 
|---|
| 6241 |   ;
 | 
|---|
| 6242 |   return 0;
 | 
|---|
| 6243 | }
 | 
|---|
| 6244 | _ACEOF
 | 
|---|
| 6245 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 6246 |   ac_cv_c_restrict=$ac_kw
 | 
|---|
| 6247 | fi
 | 
|---|
| 6248 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 6249 |      test "$ac_cv_c_restrict" != no && break
 | 
|---|
| 6250 |    done
 | 
|---|
| 6251 | 
 | 
|---|
| 6252 | fi
 | 
|---|
| 6253 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
 | 
|---|
| 6254 | $as_echo "$ac_cv_c_restrict" >&6; }
 | 
|---|
| 6255 | 
 | 
|---|
| 6256 |  case $ac_cv_c_restrict in
 | 
|---|
| 6257 |    restrict) ;;
 | 
|---|
| 6258 |    no) $as_echo "#define restrict /**/" >>confdefs.h
 | 
|---|
| 6259 |  ;;
 | 
|---|
| 6260 |    *)  cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6261 | #define restrict $ac_cv_c_restrict
 | 
|---|
| 6262 | _ACEOF
 | 
|---|
| 6263 |  ;;
 | 
|---|
| 6264 |  esac
 | 
|---|
| 6265 | 
 | 
|---|
| 6266 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 | 
|---|
| 6267 | if test "x$ac_cv_type_size_t" = xyes; then :
 | 
|---|
| 6268 | 
 | 
|---|
| 6269 | else
 | 
|---|
| 6270 | 
 | 
|---|
| 6271 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6272 | #define size_t unsigned int
 | 
|---|
| 6273 | _ACEOF
 | 
|---|
| 6274 | 
 | 
|---|
| 6275 | fi
 | 
|---|
| 6276 | 
 | 
|---|
| 6277 | ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
 | 
|---|
| 6278 | case $ac_cv_c_uint16_t in #(
 | 
|---|
| 6279 |   no|yes) ;; #(
 | 
|---|
| 6280 |   *)
 | 
|---|
| 6281 | 
 | 
|---|
| 6282 | 
 | 
|---|
| 6283 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6284 | #define uint16_t $ac_cv_c_uint16_t
 | 
|---|
| 6285 | _ACEOF
 | 
|---|
| 6286 | ;;
 | 
|---|
| 6287 |   esac
 | 
|---|
| 6288 | 
 | 
|---|
| 6289 | ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
 | 
|---|
| 6290 | case $ac_cv_c_uint32_t in #(
 | 
|---|
| 6291 |   no|yes) ;; #(
 | 
|---|
| 6292 |   *)
 | 
|---|
| 6293 | 
 | 
|---|
| 6294 | $as_echo "#define _UINT32_T 1" >>confdefs.h
 | 
|---|
| 6295 | 
 | 
|---|
| 6296 | 
 | 
|---|
| 6297 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6298 | #define uint32_t $ac_cv_c_uint32_t
 | 
|---|
| 6299 | _ACEOF
 | 
|---|
| 6300 | ;;
 | 
|---|
| 6301 |   esac
 | 
|---|
| 6302 | 
 | 
|---|
| 6303 | ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
 | 
|---|
| 6304 | case $ac_cv_c_uint8_t in #(
 | 
|---|
| 6305 |   no|yes) ;; #(
 | 
|---|
| 6306 |   *)
 | 
|---|
| 6307 | 
 | 
|---|
| 6308 | $as_echo "#define _UINT8_T 1" >>confdefs.h
 | 
|---|
| 6309 | 
 | 
|---|
| 6310 | 
 | 
|---|
| 6311 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6312 | #define uint8_t $ac_cv_c_uint8_t
 | 
|---|
| 6313 | _ACEOF
 | 
|---|
| 6314 | ;;
 | 
|---|
| 6315 |   esac
 | 
|---|
| 6316 | 
 | 
|---|
| 6317 | 
 | 
|---|
| 6318 | # Checks for library functions.
 | 
|---|
| 6319 | for ac_func in memset putenv strchr strtol
 | 
|---|
| 6320 | do :
 | 
|---|
| 6321 |   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 | 
|---|
| 6322 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 | 
|---|
| 6323 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 | 
|---|
| 6324 |   cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6325 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 | 
|---|
| 6326 | _ACEOF
 | 
|---|
| 6327 | 
 | 
|---|
| 6328 | fi
 | 
|---|
| 6329 | done
 | 
|---|
| 6330 | 
 | 
|---|
| 6331 | 
 | 
|---|
| 6332 | #==============================================================================
 | 
|---|
| 6333 | ac_config_files="$ac_config_files Makefile driver/Makefile src/Makefile benchmark/Makefile tests/Makefile tests/preempt_longrun/Makefile tools/Makefile tools/prettyprinter/Makefile"
 | 
|---|
| 6334 | 
 | 
|---|
| 6335 | 
 | 
|---|
| 6336 | ac_config_links="$ac_config_links tests/test.py:tests/test.py"
 | 
|---|
| 6337 | 
 | 
|---|
| 6338 | 
 | 
|---|
| 6339 | ac_config_files="$ac_config_files tests/config.py"
 | 
|---|
| 6340 | 
 | 
|---|
| 6341 | cat >confcache <<\_ACEOF
 | 
|---|
| 6342 | # This file is a shell script that caches the results of configure
 | 
|---|
| 6343 | # tests run on this system so they can be shared between configure
 | 
|---|
| 6344 | # scripts and configure runs, see configure's option --config-cache.
 | 
|---|
| 6345 | # It is not useful on other systems.  If it contains results you don't
 | 
|---|
| 6346 | # want to keep, you may remove or edit it.
 | 
|---|
| 6347 | #
 | 
|---|
| 6348 | # config.status only pays attention to the cache file if you give it
 | 
|---|
| 6349 | # the --recheck option to rerun configure.
 | 
|---|
| 6350 | #
 | 
|---|
| 6351 | # `ac_cv_env_foo' variables (set or unset) will be overridden when
 | 
|---|
| 6352 | # loading this file, other *unset* `ac_cv_foo' will be assigned the
 | 
|---|
| 6353 | # following values.
 | 
|---|
| 6354 | 
 | 
|---|
| 6355 | _ACEOF
 | 
|---|
| 6356 | 
 | 
|---|
| 6357 | # The following way of writing the cache mishandles newlines in values,
 | 
|---|
| 6358 | # but we know of no workaround that is simple, portable, and efficient.
 | 
|---|
| 6359 | # So, we kill variables containing newlines.
 | 
|---|
| 6360 | # Ultrix sh set writes to stderr and can't be redirected directly,
 | 
|---|
| 6361 | # and sets the high bit in the cache file unless we assign to the vars.
 | 
|---|
| 6362 | (
 | 
|---|
| 6363 |   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 | 
|---|
| 6364 |     eval ac_val=\$$ac_var
 | 
|---|
| 6365 |     case $ac_val in #(
 | 
|---|
| 6366 |     *${as_nl}*)
 | 
|---|
| 6367 |       case $ac_var in #(
 | 
|---|
| 6368 |       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 | 
|---|
| 6369 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 | 
|---|
| 6370 |       esac
 | 
|---|
| 6371 |       case $ac_var in #(
 | 
|---|
| 6372 |       _ | IFS | as_nl) ;; #(
 | 
|---|
| 6373 |       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 | 
|---|
| 6374 |       *) { eval $ac_var=; unset $ac_var;} ;;
 | 
|---|
| 6375 |       esac ;;
 | 
|---|
| 6376 |     esac
 | 
|---|
| 6377 |   done
 | 
|---|
| 6378 | 
 | 
|---|
| 6379 |   (set) 2>&1 |
 | 
|---|
| 6380 |     case $as_nl`(ac_space=' '; set) 2>&1` in #(
 | 
|---|
| 6381 |     *${as_nl}ac_space=\ *)
 | 
|---|
| 6382 |       # `set' does not quote correctly, so add quotes: double-quote
 | 
|---|
| 6383 |       # substitution turns \\\\ into \\, and sed turns \\ into \.
 | 
|---|
| 6384 |       sed -n \
 | 
|---|
| 6385 |         "s/'/'\\\\''/g;
 | 
|---|
| 6386 |           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 | 
|---|
| 6387 |       ;; #(
 | 
|---|
| 6388 |     *)
 | 
|---|
| 6389 |       # `set' quotes correctly as required by POSIX, so do not add quotes.
 | 
|---|
| 6390 |       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 | 
|---|
| 6391 |       ;;
 | 
|---|
| 6392 |     esac |
 | 
|---|
| 6393 |     sort
 | 
|---|
| 6394 | ) |
 | 
|---|
| 6395 |   sed '
 | 
|---|
| 6396 |      /^ac_cv_env_/b end
 | 
|---|
| 6397 |      t clear
 | 
|---|
| 6398 |      :clear
 | 
|---|
| 6399 |      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 | 
|---|
| 6400 |      t end
 | 
|---|
| 6401 |      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 | 
|---|
| 6402 |      :end' >>confcache
 | 
|---|
| 6403 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 | 
|---|
| 6404 |   if test -w "$cache_file"; then
 | 
|---|
| 6405 |     if test "x$cache_file" != "x/dev/null"; then
 | 
|---|
| 6406 |       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 | 
|---|
| 6407 | $as_echo "$as_me: updating cache $cache_file" >&6;}
 | 
|---|
| 6408 |       if test ! -f "$cache_file" || test -h "$cache_file"; then
 | 
|---|
| 6409 |         cat confcache >"$cache_file"
 | 
|---|
| 6410 |       else
 | 
|---|
| 6411 |         case $cache_file in #(
 | 
|---|
| 6412 |         */* | ?:*)
 | 
|---|
| 6413 |           mv -f confcache "$cache_file"$$ &&
 | 
|---|
| 6414 |           mv -f "$cache_file"$$ "$cache_file" ;; #(
 | 
|---|
| 6415 |         *)
 | 
|---|
| 6416 |           mv -f confcache "$cache_file" ;;
 | 
|---|
| 6417 |         esac
 | 
|---|
| 6418 |       fi
 | 
|---|
| 6419 |     fi
 | 
|---|
| 6420 |   else
 | 
|---|
| 6421 |     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 | 
|---|
| 6422 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 | 
|---|
| 6423 |   fi
 | 
|---|
| 6424 | fi
 | 
|---|
| 6425 | rm -f confcache
 | 
|---|
| 6426 | 
 | 
|---|
| 6427 | test "x$prefix" = xNONE && prefix=$ac_default_prefix
 | 
|---|
| 6428 | # Let make expand exec_prefix.
 | 
|---|
| 6429 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 | 
|---|
| 6430 | 
 | 
|---|
| 6431 | DEFS=-DHAVE_CONFIG_H
 | 
|---|
| 6432 | 
 | 
|---|
| 6433 | ac_libobjs=
 | 
|---|
| 6434 | ac_ltlibobjs=
 | 
|---|
| 6435 | U=
 | 
|---|
| 6436 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 | 
|---|
| 6437 |   # 1. Remove the extension, and $U if already installed.
 | 
|---|
| 6438 |   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 | 
|---|
| 6439 |   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 | 
|---|
| 6440 |   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 | 
|---|
| 6441 |   #    will be set to the directory where LIBOBJS objects are built.
 | 
|---|
| 6442 |   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 | 
|---|
| 6443 |   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 | 
|---|
| 6444 | done
 | 
|---|
| 6445 | LIBOBJS=$ac_libobjs
 | 
|---|
| 6446 | 
 | 
|---|
| 6447 | LTLIBOBJS=$ac_ltlibobjs
 | 
|---|
| 6448 | 
 | 
|---|
| 6449 | 
 | 
|---|
| 6450 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
 | 
|---|
| 6451 | $as_echo_n "checking that generated files are newer than configure... " >&6; }
 | 
|---|
| 6452 |    if test -n "$am_sleep_pid"; then
 | 
|---|
| 6453 |      # Hide warnings about reused PIDs.
 | 
|---|
| 6454 |      wait $am_sleep_pid 2>/dev/null
 | 
|---|
| 6455 |    fi
 | 
|---|
| 6456 |    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
 | 
|---|
| 6457 | $as_echo "done" >&6; }
 | 
|---|
| 6458 |  if test -n "$EXEEXT"; then
 | 
|---|
| 6459 |   am__EXEEXT_TRUE=
 | 
|---|
| 6460 |   am__EXEEXT_FALSE='#'
 | 
|---|
| 6461 | else
 | 
|---|
| 6462 |   am__EXEEXT_TRUE='#'
 | 
|---|
| 6463 |   am__EXEEXT_FALSE=
 | 
|---|
| 6464 | fi
 | 
|---|
| 6465 | 
 | 
|---|
| 6466 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 | 
|---|
| 6467 |   as_fn_error $? "conditional \"AMDEP\" was never defined.
 | 
|---|
| 6468 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
 | 
|---|
| 6469 | fi
 | 
|---|
| 6470 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 | 
|---|
| 6471 |   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
 | 
|---|
| 6472 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
 | 
|---|
| 6473 | fi
 | 
|---|
| 6474 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 | 
|---|
| 6475 |   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 | 
|---|
| 6476 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
 | 
|---|
| 6477 | fi
 | 
|---|
| 6478 | if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
 | 
|---|
| 6479 |   as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
 | 
|---|
| 6480 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
 | 
|---|
| 6481 | fi
 | 
|---|
| 6482 | 
 | 
|---|
| 6483 | : "${CONFIG_STATUS=./config.status}"
 | 
|---|
| 6484 | ac_write_fail=0
 | 
|---|
| 6485 | ac_clean_files_save=$ac_clean_files
 | 
|---|
| 6486 | ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 | 
|---|
| 6487 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 | 
|---|
| 6488 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 | 
|---|
| 6489 | as_write_fail=0
 | 
|---|
| 6490 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 | 
|---|
| 6491 | #! $SHELL
 | 
|---|
| 6492 | # Generated by $as_me.
 | 
|---|
| 6493 | # Run this file to recreate the current configuration.
 | 
|---|
| 6494 | # Compiler output produced by configure, useful for debugging
 | 
|---|
| 6495 | # configure, is in config.log if it exists.
 | 
|---|
| 6496 | 
 | 
|---|
| 6497 | debug=false
 | 
|---|
| 6498 | ac_cs_recheck=false
 | 
|---|
| 6499 | ac_cs_silent=false
 | 
|---|
| 6500 | 
 | 
|---|
| 6501 | SHELL=\${CONFIG_SHELL-$SHELL}
 | 
|---|
| 6502 | export SHELL
 | 
|---|
| 6503 | _ASEOF
 | 
|---|
| 6504 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 | 
|---|
| 6505 | ## -------------------- ##
 | 
|---|
| 6506 | ## M4sh Initialization. ##
 | 
|---|
| 6507 | ## -------------------- ##
 | 
|---|
| 6508 | 
 | 
|---|
| 6509 | # Be more Bourne compatible
 | 
|---|
| 6510 | DUALCASE=1; export DUALCASE # for MKS sh
 | 
|---|
| 6511 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 | 
|---|
| 6512 |   emulate sh
 | 
|---|
| 6513 |   NULLCMD=:
 | 
|---|
| 6514 |   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 | 
|---|
| 6515 |   # is contrary to our usage.  Disable this feature.
 | 
|---|
| 6516 |   alias -g '${1+"$@"}'='"$@"'
 | 
|---|
| 6517 |   setopt NO_GLOB_SUBST
 | 
|---|
| 6518 | else
 | 
|---|
| 6519 |   case `(set -o) 2>/dev/null` in #(
 | 
|---|
| 6520 |   *posix*) :
 | 
|---|
| 6521 |     set -o posix ;; #(
 | 
|---|
| 6522 |   *) :
 | 
|---|
| 6523 |      ;;
 | 
|---|
| 6524 | esac
 | 
|---|
| 6525 | fi
 | 
|---|
| 6526 | 
 | 
|---|
| 6527 | 
 | 
|---|
| 6528 | as_nl='
 | 
|---|
| 6529 | '
 | 
|---|
| 6530 | export as_nl
 | 
|---|
| 6531 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
 | 
|---|
| 6532 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 | 
|---|
| 6533 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 | 
|---|
| 6534 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 | 
|---|
| 6535 | # Prefer a ksh shell builtin over an external printf program on Solaris,
 | 
|---|
| 6536 | # but without wasting forks for bash or zsh.
 | 
|---|
| 6537 | if test -z "$BASH_VERSION$ZSH_VERSION" \
 | 
|---|
| 6538 |     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 | 
|---|
| 6539 |   as_echo='print -r --'
 | 
|---|
| 6540 |   as_echo_n='print -rn --'
 | 
|---|
| 6541 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 | 
|---|
| 6542 |   as_echo='printf %s\n'
 | 
|---|
| 6543 |   as_echo_n='printf %s'
 | 
|---|
| 6544 | else
 | 
|---|
| 6545 |   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 | 
|---|
| 6546 |     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 | 
|---|
| 6547 |     as_echo_n='/usr/ucb/echo -n'
 | 
|---|
| 6548 |   else
 | 
|---|
| 6549 |     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 | 
|---|
| 6550 |     as_echo_n_body='eval
 | 
|---|
| 6551 |       arg=$1;
 | 
|---|
| 6552 |       case $arg in #(
 | 
|---|
| 6553 |       *"$as_nl"*)
 | 
|---|
| 6554 |         expr "X$arg" : "X\\(.*\\)$as_nl";
 | 
|---|
| 6555 |         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 | 
|---|
| 6556 |       esac;
 | 
|---|
| 6557 |       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 | 
|---|
| 6558 |     '
 | 
|---|
| 6559 |     export as_echo_n_body
 | 
|---|
| 6560 |     as_echo_n='sh -c $as_echo_n_body as_echo'
 | 
|---|
| 6561 |   fi
 | 
|---|
| 6562 |   export as_echo_body
 | 
|---|
| 6563 |   as_echo='sh -c $as_echo_body as_echo'
 | 
|---|
| 6564 | fi
 | 
|---|
| 6565 | 
 | 
|---|
| 6566 | # The user is always right.
 | 
|---|
| 6567 | if test "${PATH_SEPARATOR+set}" != set; then
 | 
|---|
| 6568 |   PATH_SEPARATOR=:
 | 
|---|
| 6569 |   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 | 
|---|
| 6570 |     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 | 
|---|
| 6571 |       PATH_SEPARATOR=';'
 | 
|---|
| 6572 |   }
 | 
|---|
| 6573 | fi
 | 
|---|
| 6574 | 
 | 
|---|
| 6575 | 
 | 
|---|
| 6576 | # IFS
 | 
|---|
| 6577 | # We need space, tab and new line, in precisely that order.  Quoting is
 | 
|---|
| 6578 | # there to prevent editors from complaining about space-tab.
 | 
|---|
| 6579 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 | 
|---|
| 6580 | # splitting by setting IFS to empty value.)
 | 
|---|
| 6581 | IFS=" ""        $as_nl"
 | 
|---|
| 6582 | 
 | 
|---|
| 6583 | # Find who we are.  Look in the path if we contain no directory separator.
 | 
|---|
| 6584 | as_myself=
 | 
|---|
| 6585 | case $0 in #((
 | 
|---|
| 6586 |   *[\\/]* ) as_myself=$0 ;;
 | 
|---|
| 6587 |   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 6588 | for as_dir in $PATH
 | 
|---|
| 6589 | do
 | 
|---|
| 6590 |   IFS=$as_save_IFS
 | 
|---|
| 6591 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 6592 |     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 | 
|---|
| 6593 |   done
 | 
|---|
| 6594 | IFS=$as_save_IFS
 | 
|---|
| 6595 | 
 | 
|---|
| 6596 |      ;;
 | 
|---|
| 6597 | esac
 | 
|---|
| 6598 | # We did not find ourselves, most probably we were run as `sh COMMAND'
 | 
|---|
| 6599 | # in which case we are not to be found in the path.
 | 
|---|
| 6600 | if test "x$as_myself" = x; then
 | 
|---|
| 6601 |   as_myself=$0
 | 
|---|
| 6602 | fi
 | 
|---|
| 6603 | if test ! -f "$as_myself"; then
 | 
|---|
| 6604 |   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 | 
|---|
| 6605 |   exit 1
 | 
|---|
| 6606 | fi
 | 
|---|
| 6607 | 
 | 
|---|
| 6608 | # Unset variables that we do not need and which cause bugs (e.g. in
 | 
|---|
| 6609 | # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 | 
|---|
| 6610 | # suppresses any "Segmentation fault" message there.  '((' could
 | 
|---|
| 6611 | # trigger a bug in pdksh 5.2.14.
 | 
|---|
| 6612 | for as_var in BASH_ENV ENV MAIL MAILPATH
 | 
|---|
| 6613 | do eval test x\${$as_var+set} = xset \
 | 
|---|
| 6614 |   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 | 
|---|
| 6615 | done
 | 
|---|
| 6616 | PS1='$ '
 | 
|---|
| 6617 | PS2='> '
 | 
|---|
| 6618 | PS4='+ '
 | 
|---|
| 6619 | 
 | 
|---|
| 6620 | # NLS nuisances.
 | 
|---|
| 6621 | LC_ALL=C
 | 
|---|
| 6622 | export LC_ALL
 | 
|---|
| 6623 | LANGUAGE=C
 | 
|---|
| 6624 | export LANGUAGE
 | 
|---|
| 6625 | 
 | 
|---|
| 6626 | # CDPATH.
 | 
|---|
| 6627 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 | 
|---|
| 6628 | 
 | 
|---|
| 6629 | 
 | 
|---|
| 6630 | # as_fn_error STATUS ERROR [LINENO LOG_FD]
 | 
|---|
| 6631 | # ----------------------------------------
 | 
|---|
| 6632 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 | 
|---|
| 6633 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 | 
|---|
| 6634 | # script with STATUS, using 1 if that was 0.
 | 
|---|
| 6635 | as_fn_error ()
 | 
|---|
| 6636 | {
 | 
|---|
| 6637 |   as_status=$1; test $as_status -eq 0 && as_status=1
 | 
|---|
| 6638 |   if test "$4"; then
 | 
|---|
| 6639 |     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 6640 |     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 | 
|---|
| 6641 |   fi
 | 
|---|
| 6642 |   $as_echo "$as_me: error: $2" >&2
 | 
|---|
| 6643 |   as_fn_exit $as_status
 | 
|---|
| 6644 | } # as_fn_error
 | 
|---|
| 6645 | 
 | 
|---|
| 6646 | 
 | 
|---|
| 6647 | # as_fn_set_status STATUS
 | 
|---|
| 6648 | # -----------------------
 | 
|---|
| 6649 | # Set $? to STATUS, without forking.
 | 
|---|
| 6650 | as_fn_set_status ()
 | 
|---|
| 6651 | {
 | 
|---|
| 6652 |   return $1
 | 
|---|
| 6653 | } # as_fn_set_status
 | 
|---|
| 6654 | 
 | 
|---|
| 6655 | # as_fn_exit STATUS
 | 
|---|
| 6656 | # -----------------
 | 
|---|
| 6657 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 | 
|---|
| 6658 | as_fn_exit ()
 | 
|---|
| 6659 | {
 | 
|---|
| 6660 |   set +e
 | 
|---|
| 6661 |   as_fn_set_status $1
 | 
|---|
| 6662 |   exit $1
 | 
|---|
| 6663 | } # as_fn_exit
 | 
|---|
| 6664 | 
 | 
|---|
| 6665 | # as_fn_unset VAR
 | 
|---|
| 6666 | # ---------------
 | 
|---|
| 6667 | # Portably unset VAR.
 | 
|---|
| 6668 | as_fn_unset ()
 | 
|---|
| 6669 | {
 | 
|---|
| 6670 |   { eval $1=; unset $1;}
 | 
|---|
| 6671 | }
 | 
|---|
| 6672 | as_unset=as_fn_unset
 | 
|---|
| 6673 | # as_fn_append VAR VALUE
 | 
|---|
| 6674 | # ----------------------
 | 
|---|
| 6675 | # Append the text in VALUE to the end of the definition contained in VAR. Take
 | 
|---|
| 6676 | # advantage of any shell optimizations that allow amortized linear growth over
 | 
|---|
| 6677 | # repeated appends, instead of the typical quadratic growth present in naive
 | 
|---|
| 6678 | # implementations.
 | 
|---|
| 6679 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 | 
|---|
| 6680 |   eval 'as_fn_append ()
 | 
|---|
| 6681 |   {
 | 
|---|
| 6682 |     eval $1+=\$2
 | 
|---|
| 6683 |   }'
 | 
|---|
| 6684 | else
 | 
|---|
| 6685 |   as_fn_append ()
 | 
|---|
| 6686 |   {
 | 
|---|
| 6687 |     eval $1=\$$1\$2
 | 
|---|
| 6688 |   }
 | 
|---|
| 6689 | fi # as_fn_append
 | 
|---|
| 6690 | 
 | 
|---|
| 6691 | # as_fn_arith ARG...
 | 
|---|
| 6692 | # ------------------
 | 
|---|
| 6693 | # Perform arithmetic evaluation on the ARGs, and store the result in the
 | 
|---|
| 6694 | # global $as_val. Take advantage of shells that can avoid forks. The arguments
 | 
|---|
| 6695 | # must be portable across $(()) and expr.
 | 
|---|
| 6696 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 | 
|---|
| 6697 |   eval 'as_fn_arith ()
 | 
|---|
| 6698 |   {
 | 
|---|
| 6699 |     as_val=$(( $* ))
 | 
|---|
| 6700 |   }'
 | 
|---|
| 6701 | else
 | 
|---|
| 6702 |   as_fn_arith ()
 | 
|---|
| 6703 |   {
 | 
|---|
| 6704 |     as_val=`expr "$@" || test $? -eq 1`
 | 
|---|
| 6705 |   }
 | 
|---|
| 6706 | fi # as_fn_arith
 | 
|---|
| 6707 | 
 | 
|---|
| 6708 | 
 | 
|---|
| 6709 | if expr a : '\(a\)' >/dev/null 2>&1 &&
 | 
|---|
| 6710 |    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 | 
|---|
| 6711 |   as_expr=expr
 | 
|---|
| 6712 | else
 | 
|---|
| 6713 |   as_expr=false
 | 
|---|
| 6714 | fi
 | 
|---|
| 6715 | 
 | 
|---|
| 6716 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 | 
|---|
| 6717 |   as_basename=basename
 | 
|---|
| 6718 | else
 | 
|---|
| 6719 |   as_basename=false
 | 
|---|
| 6720 | fi
 | 
|---|
| 6721 | 
 | 
|---|
| 6722 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 | 
|---|
| 6723 |   as_dirname=dirname
 | 
|---|
| 6724 | else
 | 
|---|
| 6725 |   as_dirname=false
 | 
|---|
| 6726 | fi
 | 
|---|
| 6727 | 
 | 
|---|
| 6728 | as_me=`$as_basename -- "$0" ||
 | 
|---|
| 6729 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 | 
|---|
| 6730 |          X"$0" : 'X\(//\)$' \| \
 | 
|---|
| 6731 |          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 6732 | $as_echo X/"$0" |
 | 
|---|
| 6733 |     sed '/^.*\/\([^/][^/]*\)\/*$/{
 | 
|---|
| 6734 |             s//\1/
 | 
|---|
| 6735 |             q
 | 
|---|
| 6736 |           }
 | 
|---|
| 6737 |           /^X\/\(\/\/\)$/{
 | 
|---|
| 6738 |             s//\1/
 | 
|---|
| 6739 |             q
 | 
|---|
| 6740 |           }
 | 
|---|
| 6741 |           /^X\/\(\/\).*/{
 | 
|---|
| 6742 |             s//\1/
 | 
|---|
| 6743 |             q
 | 
|---|
| 6744 |           }
 | 
|---|
| 6745 |           s/.*/./; q'`
 | 
|---|
| 6746 | 
 | 
|---|
| 6747 | # Avoid depending upon Character Ranges.
 | 
|---|
| 6748 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 | 
|---|
| 6749 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 | 
|---|
| 6750 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 | 
|---|
| 6751 | as_cr_digits='0123456789'
 | 
|---|
| 6752 | as_cr_alnum=$as_cr_Letters$as_cr_digits
 | 
|---|
| 6753 | 
 | 
|---|
| 6754 | ECHO_C= ECHO_N= ECHO_T=
 | 
|---|
| 6755 | case `echo -n x` in #(((((
 | 
|---|
| 6756 | -n*)
 | 
|---|
| 6757 |   case `echo 'xy\c'` in
 | 
|---|
| 6758 |   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 | 
|---|
| 6759 |   xy)  ECHO_C='\c';;
 | 
|---|
| 6760 |   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 | 
|---|
| 6761 |        ECHO_T=' ';;
 | 
|---|
| 6762 |   esac;;
 | 
|---|
| 6763 | *)
 | 
|---|
| 6764 |   ECHO_N='-n';;
 | 
|---|
| 6765 | esac
 | 
|---|
| 6766 | 
 | 
|---|
| 6767 | rm -f conf$$ conf$$.exe conf$$.file
 | 
|---|
| 6768 | if test -d conf$$.dir; then
 | 
|---|
| 6769 |   rm -f conf$$.dir/conf$$.file
 | 
|---|
| 6770 | else
 | 
|---|
| 6771 |   rm -f conf$$.dir
 | 
|---|
| 6772 |   mkdir conf$$.dir 2>/dev/null
 | 
|---|
| 6773 | fi
 | 
|---|
| 6774 | if (echo >conf$$.file) 2>/dev/null; then
 | 
|---|
| 6775 |   if ln -s conf$$.file conf$$ 2>/dev/null; then
 | 
|---|
| 6776 |     as_ln_s='ln -s'
 | 
|---|
| 6777 |     # ... but there are two gotchas:
 | 
|---|
| 6778 |     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 | 
|---|
| 6779 |     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 | 
|---|
| 6780 |     # In both cases, we have to default to `cp -pR'.
 | 
|---|
| 6781 |     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 | 
|---|
| 6782 |       as_ln_s='cp -pR'
 | 
|---|
| 6783 |   elif ln conf$$.file conf$$ 2>/dev/null; then
 | 
|---|
| 6784 |     as_ln_s=ln
 | 
|---|
| 6785 |   else
 | 
|---|
| 6786 |     as_ln_s='cp -pR'
 | 
|---|
| 6787 |   fi
 | 
|---|
| 6788 | else
 | 
|---|
| 6789 |   as_ln_s='cp -pR'
 | 
|---|
| 6790 | fi
 | 
|---|
| 6791 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 | 
|---|
| 6792 | rmdir conf$$.dir 2>/dev/null
 | 
|---|
| 6793 | 
 | 
|---|
| 6794 | 
 | 
|---|
| 6795 | # as_fn_mkdir_p
 | 
|---|
| 6796 | # -------------
 | 
|---|
| 6797 | # Create "$as_dir" as a directory, including parents if necessary.
 | 
|---|
| 6798 | as_fn_mkdir_p ()
 | 
|---|
| 6799 | {
 | 
|---|
| 6800 | 
 | 
|---|
| 6801 |   case $as_dir in #(
 | 
|---|
| 6802 |   -*) as_dir=./$as_dir;;
 | 
|---|
| 6803 |   esac
 | 
|---|
| 6804 |   test -d "$as_dir" || eval $as_mkdir_p || {
 | 
|---|
| 6805 |     as_dirs=
 | 
|---|
| 6806 |     while :; do
 | 
|---|
| 6807 |       case $as_dir in #(
 | 
|---|
| 6808 |       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 | 
|---|
| 6809 |       *) as_qdir=$as_dir;;
 | 
|---|
| 6810 |       esac
 | 
|---|
| 6811 |       as_dirs="'$as_qdir' $as_dirs"
 | 
|---|
| 6812 |       as_dir=`$as_dirname -- "$as_dir" ||
 | 
|---|
| 6813 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 | 
|---|
| 6814 |          X"$as_dir" : 'X\(//\)[^/]' \| \
 | 
|---|
| 6815 |          X"$as_dir" : 'X\(//\)$' \| \
 | 
|---|
| 6816 |          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 6817 | $as_echo X"$as_dir" |
 | 
|---|
| 6818 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 | 
|---|
| 6819 |             s//\1/
 | 
|---|
| 6820 |             q
 | 
|---|
| 6821 |           }
 | 
|---|
| 6822 |           /^X\(\/\/\)[^/].*/{
 | 
|---|
| 6823 |             s//\1/
 | 
|---|
| 6824 |             q
 | 
|---|
| 6825 |           }
 | 
|---|
| 6826 |           /^X\(\/\/\)$/{
 | 
|---|
| 6827 |             s//\1/
 | 
|---|
| 6828 |             q
 | 
|---|
| 6829 |           }
 | 
|---|
| 6830 |           /^X\(\/\).*/{
 | 
|---|
| 6831 |             s//\1/
 | 
|---|
| 6832 |             q
 | 
|---|
| 6833 |           }
 | 
|---|
| 6834 |           s/.*/./; q'`
 | 
|---|
| 6835 |       test -d "$as_dir" && break
 | 
|---|
| 6836 |     done
 | 
|---|
| 6837 |     test -z "$as_dirs" || eval "mkdir $as_dirs"
 | 
|---|
| 6838 |   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 | 
|---|
| 6839 | 
 | 
|---|
| 6840 | 
 | 
|---|
| 6841 | } # as_fn_mkdir_p
 | 
|---|
| 6842 | if mkdir -p . 2>/dev/null; then
 | 
|---|
| 6843 |   as_mkdir_p='mkdir -p "$as_dir"'
 | 
|---|
| 6844 | else
 | 
|---|
| 6845 |   test -d ./-p && rmdir ./-p
 | 
|---|
| 6846 |   as_mkdir_p=false
 | 
|---|
| 6847 | fi
 | 
|---|
| 6848 | 
 | 
|---|
| 6849 | 
 | 
|---|
| 6850 | # as_fn_executable_p FILE
 | 
|---|
| 6851 | # -----------------------
 | 
|---|
| 6852 | # Test if FILE is an executable regular file.
 | 
|---|
| 6853 | as_fn_executable_p ()
 | 
|---|
| 6854 | {
 | 
|---|
| 6855 |   test -f "$1" && test -x "$1"
 | 
|---|
| 6856 | } # as_fn_executable_p
 | 
|---|
| 6857 | as_test_x='test -x'
 | 
|---|
| 6858 | as_executable_p=as_fn_executable_p
 | 
|---|
| 6859 | 
 | 
|---|
| 6860 | # Sed expression to map a string onto a valid CPP name.
 | 
|---|
| 6861 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 | 
|---|
| 6862 | 
 | 
|---|
| 6863 | # Sed expression to map a string onto a valid variable name.
 | 
|---|
| 6864 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 | 
|---|
| 6865 | 
 | 
|---|
| 6866 | 
 | 
|---|
| 6867 | exec 6>&1
 | 
|---|
| 6868 | ## ----------------------------------- ##
 | 
|---|
| 6869 | ## Main body of $CONFIG_STATUS script. ##
 | 
|---|
| 6870 | ## ----------------------------------- ##
 | 
|---|
| 6871 | _ASEOF
 | 
|---|
| 6872 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 | 
|---|
| 6873 | 
 | 
|---|
| 6874 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 6875 | # Save the log message, to keep $0 and so on meaningful, and to
 | 
|---|
| 6876 | # report actual input values of CONFIG_FILES etc. instead of their
 | 
|---|
| 6877 | # values after options handling.
 | 
|---|
| 6878 | ac_log="
 | 
|---|
| 6879 | This file was extended by cfa-cc $as_me 1.0.0.0, which was
 | 
|---|
| 6880 | generated by GNU Autoconf 2.69.  Invocation command line was
 | 
|---|
| 6881 | 
 | 
|---|
| 6882 |   CONFIG_FILES    = $CONFIG_FILES
 | 
|---|
| 6883 |   CONFIG_HEADERS  = $CONFIG_HEADERS
 | 
|---|
| 6884 |   CONFIG_LINKS    = $CONFIG_LINKS
 | 
|---|
| 6885 |   CONFIG_COMMANDS = $CONFIG_COMMANDS
 | 
|---|
| 6886 |   $ $0 $@
 | 
|---|
| 6887 | 
 | 
|---|
| 6888 | on `(hostname || uname -n) 2>/dev/null | sed 1q`
 | 
|---|
| 6889 | "
 | 
|---|
| 6890 | 
 | 
|---|
| 6891 | _ACEOF
 | 
|---|
| 6892 | 
 | 
|---|
| 6893 | case $ac_config_files in *"
 | 
|---|
| 6894 | "*) set x $ac_config_files; shift; ac_config_files=$*;;
 | 
|---|
| 6895 | esac
 | 
|---|
| 6896 | 
 | 
|---|
| 6897 | case $ac_config_headers in *"
 | 
|---|
| 6898 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 | 
|---|
| 6899 | esac
 | 
|---|
| 6900 | 
 | 
|---|
| 6901 | 
 | 
|---|
| 6902 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 6903 | # Files that config.status was made for.
 | 
|---|
| 6904 | config_files="$ac_config_files"
 | 
|---|
| 6905 | config_headers="$ac_config_headers"
 | 
|---|
| 6906 | config_links="$ac_config_links"
 | 
|---|
| 6907 | config_commands="$ac_config_commands"
 | 
|---|
| 6908 | 
 | 
|---|
| 6909 | _ACEOF
 | 
|---|
| 6910 | 
 | 
|---|
| 6911 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 6912 | ac_cs_usage="\
 | 
|---|
| 6913 | \`$as_me' instantiates files and other configuration actions
 | 
|---|
| 6914 | from templates according to the current configuration.  Unless the files
 | 
|---|
| 6915 | and actions are specified as TAGs, all are instantiated by default.
 | 
|---|
| 6916 | 
 | 
|---|
| 6917 | Usage: $0 [OPTION]... [TAG]...
 | 
|---|
| 6918 | 
 | 
|---|
| 6919 |   -h, --help       print this help, then exit
 | 
|---|
| 6920 |   -V, --version    print version number and configuration settings, then exit
 | 
|---|
| 6921 |       --config     print configuration, then exit
 | 
|---|
| 6922 |   -q, --quiet, --silent
 | 
|---|
| 6923 |                    do not print progress messages
 | 
|---|
| 6924 |   -d, --debug      don't remove temporary files
 | 
|---|
| 6925 |       --recheck    update $as_me by reconfiguring in the same conditions
 | 
|---|
| 6926 |       --file=FILE[:TEMPLATE]
 | 
|---|
| 6927 |                    instantiate the configuration file FILE
 | 
|---|
| 6928 |       --header=FILE[:TEMPLATE]
 | 
|---|
| 6929 |                    instantiate the configuration header FILE
 | 
|---|
| 6930 | 
 | 
|---|
| 6931 | Configuration files:
 | 
|---|
| 6932 | $config_files
 | 
|---|
| 6933 | 
 | 
|---|
| 6934 | Configuration headers:
 | 
|---|
| 6935 | $config_headers
 | 
|---|
| 6936 | 
 | 
|---|
| 6937 | Configuration links:
 | 
|---|
| 6938 | $config_links
 | 
|---|
| 6939 | 
 | 
|---|
| 6940 | Configuration commands:
 | 
|---|
| 6941 | $config_commands
 | 
|---|
| 6942 | 
 | 
|---|
| 6943 | Report bugs to <cforall@plg.uwaterloo.ca>."
 | 
|---|
| 6944 | 
 | 
|---|
| 6945 | _ACEOF
 | 
|---|
| 6946 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 6947 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 | 
|---|
| 6948 | ac_cs_version="\\
 | 
|---|
| 6949 | cfa-cc config.status 1.0.0.0
 | 
|---|
| 6950 | configured by $0, generated by GNU Autoconf 2.69,
 | 
|---|
| 6951 |   with options \\"\$ac_cs_config\\"
 | 
|---|
| 6952 | 
 | 
|---|
| 6953 | Copyright (C) 2012 Free Software Foundation, Inc.
 | 
|---|
| 6954 | This config.status script is free software; the Free Software Foundation
 | 
|---|
| 6955 | gives unlimited permission to copy, distribute and modify it."
 | 
|---|
| 6956 | 
 | 
|---|
| 6957 | ac_pwd='$ac_pwd'
 | 
|---|
| 6958 | srcdir='$srcdir'
 | 
|---|
| 6959 | INSTALL='$INSTALL'
 | 
|---|
| 6960 | MKDIR_P='$MKDIR_P'
 | 
|---|
| 6961 | AWK='$AWK'
 | 
|---|
| 6962 | test -n "\$AWK" || AWK=awk
 | 
|---|
| 6963 | _ACEOF
 | 
|---|
| 6964 | 
 | 
|---|
| 6965 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 6966 | # The default lists apply if the user does not specify any file.
 | 
|---|
| 6967 | ac_need_defaults=:
 | 
|---|
| 6968 | while test $# != 0
 | 
|---|
| 6969 | do
 | 
|---|
| 6970 |   case $1 in
 | 
|---|
| 6971 |   --*=?*)
 | 
|---|
| 6972 |     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 | 
|---|
| 6973 |     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 | 
|---|
| 6974 |     ac_shift=:
 | 
|---|
| 6975 |     ;;
 | 
|---|
| 6976 |   --*=)
 | 
|---|
| 6977 |     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 | 
|---|
| 6978 |     ac_optarg=
 | 
|---|
| 6979 |     ac_shift=:
 | 
|---|
| 6980 |     ;;
 | 
|---|
| 6981 |   *)
 | 
|---|
| 6982 |     ac_option=$1
 | 
|---|
| 6983 |     ac_optarg=$2
 | 
|---|
| 6984 |     ac_shift=shift
 | 
|---|
| 6985 |     ;;
 | 
|---|
| 6986 |   esac
 | 
|---|
| 6987 | 
 | 
|---|
| 6988 |   case $ac_option in
 | 
|---|
| 6989 |   # Handling of the options.
 | 
|---|
| 6990 |   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 | 
|---|
| 6991 |     ac_cs_recheck=: ;;
 | 
|---|
| 6992 |   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 | 
|---|
| 6993 |     $as_echo "$ac_cs_version"; exit ;;
 | 
|---|
| 6994 |   --config | --confi | --conf | --con | --co | --c )
 | 
|---|
| 6995 |     $as_echo "$ac_cs_config"; exit ;;
 | 
|---|
| 6996 |   --debug | --debu | --deb | --de | --d | -d )
 | 
|---|
| 6997 |     debug=: ;;
 | 
|---|
| 6998 |   --file | --fil | --fi | --f )
 | 
|---|
| 6999 |     $ac_shift
 | 
|---|
| 7000 |     case $ac_optarg in
 | 
|---|
| 7001 |     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 | 
|---|
| 7002 |     '') as_fn_error $? "missing file argument" ;;
 | 
|---|
| 7003 |     esac
 | 
|---|
| 7004 |     as_fn_append CONFIG_FILES " '$ac_optarg'"
 | 
|---|
| 7005 |     ac_need_defaults=false;;
 | 
|---|
| 7006 |   --header | --heade | --head | --hea )
 | 
|---|
| 7007 |     $ac_shift
 | 
|---|
| 7008 |     case $ac_optarg in
 | 
|---|
| 7009 |     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 | 
|---|
| 7010 |     esac
 | 
|---|
| 7011 |     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 | 
|---|
| 7012 |     ac_need_defaults=false;;
 | 
|---|
| 7013 |   --he | --h)
 | 
|---|
| 7014 |     # Conflict between --help and --header
 | 
|---|
| 7015 |     as_fn_error $? "ambiguous option: \`$1'
 | 
|---|
| 7016 | Try \`$0 --help' for more information.";;
 | 
|---|
| 7017 |   --help | --hel | -h )
 | 
|---|
| 7018 |     $as_echo "$ac_cs_usage"; exit ;;
 | 
|---|
| 7019 |   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 | 
|---|
| 7020 |   | -silent | --silent | --silen | --sile | --sil | --si | --s)
 | 
|---|
| 7021 |     ac_cs_silent=: ;;
 | 
|---|
| 7022 | 
 | 
|---|
| 7023 |   # This is an error.
 | 
|---|
| 7024 |   -*) as_fn_error $? "unrecognized option: \`$1'
 | 
|---|
| 7025 | Try \`$0 --help' for more information." ;;
 | 
|---|
| 7026 | 
 | 
|---|
| 7027 |   *) as_fn_append ac_config_targets " $1"
 | 
|---|
| 7028 |      ac_need_defaults=false ;;
 | 
|---|
| 7029 | 
 | 
|---|
| 7030 |   esac
 | 
|---|
| 7031 |   shift
 | 
|---|
| 7032 | done
 | 
|---|
| 7033 | 
 | 
|---|
| 7034 | ac_configure_extra_args=
 | 
|---|
| 7035 | 
 | 
|---|
| 7036 | if $ac_cs_silent; then
 | 
|---|
| 7037 |   exec 6>/dev/null
 | 
|---|
| 7038 |   ac_configure_extra_args="$ac_configure_extra_args --silent"
 | 
|---|
| 7039 | fi
 | 
|---|
| 7040 | 
 | 
|---|
| 7041 | _ACEOF
 | 
|---|
| 7042 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 7043 | if \$ac_cs_recheck; then
 | 
|---|
| 7044 |   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 | 
|---|
| 7045 |   shift
 | 
|---|
| 7046 |   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 | 
|---|
| 7047 |   CONFIG_SHELL='$SHELL'
 | 
|---|
| 7048 |   export CONFIG_SHELL
 | 
|---|
| 7049 |   exec "\$@"
 | 
|---|
| 7050 | fi
 | 
|---|
| 7051 | 
 | 
|---|
| 7052 | _ACEOF
 | 
|---|
| 7053 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 7054 | exec 5>>config.log
 | 
|---|
| 7055 | {
 | 
|---|
| 7056 |   echo
 | 
|---|
| 7057 |   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 | 
|---|
| 7058 | ## Running $as_me. ##
 | 
|---|
| 7059 | _ASBOX
 | 
|---|
| 7060 |   $as_echo "$ac_log"
 | 
|---|
| 7061 | } >&5
 | 
|---|
| 7062 | 
 | 
|---|
| 7063 | _ACEOF
 | 
|---|
| 7064 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 7065 | #
 | 
|---|
| 7066 | # INIT-COMMANDS
 | 
|---|
| 7067 | #
 | 
|---|
| 7068 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 | 
|---|
| 7069 | 
 | 
|---|
| 7070 | _ACEOF
 | 
|---|
| 7071 | 
 | 
|---|
| 7072 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 7073 | 
 | 
|---|
| 7074 | # Handling of arguments.
 | 
|---|
| 7075 | for ac_config_target in $ac_config_targets
 | 
|---|
| 7076 | do
 | 
|---|
| 7077 |   case $ac_config_target in
 | 
|---|
| 7078 |     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:src/config.h.in" ;;
 | 
|---|
| 7079 |     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 | 
|---|
| 7080 |     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 | 
|---|
| 7081 |     "driver/Makefile") CONFIG_FILES="$CONFIG_FILES driver/Makefile" ;;
 | 
|---|
| 7082 |     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 | 
|---|
| 7083 |     "benchmark/Makefile") CONFIG_FILES="$CONFIG_FILES benchmark/Makefile" ;;
 | 
|---|
| 7084 |     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
 | 
|---|
| 7085 |     "tests/preempt_longrun/Makefile") CONFIG_FILES="$CONFIG_FILES tests/preempt_longrun/Makefile" ;;
 | 
|---|
| 7086 |     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
 | 
|---|
| 7087 |     "tools/prettyprinter/Makefile") CONFIG_FILES="$CONFIG_FILES tools/prettyprinter/Makefile" ;;
 | 
|---|
| 7088 |     "tests/test.py") CONFIG_LINKS="$CONFIG_LINKS tests/test.py:tests/test.py" ;;
 | 
|---|
| 7089 |     "tests/config.py") CONFIG_FILES="$CONFIG_FILES tests/config.py" ;;
 | 
|---|
| 7090 | 
 | 
|---|
| 7091 |   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 | 
|---|
| 7092 |   esac
 | 
|---|
| 7093 | done
 | 
|---|
| 7094 | 
 | 
|---|
| 7095 | 
 | 
|---|
| 7096 | # If the user did not use the arguments to specify the items to instantiate,
 | 
|---|
| 7097 | # then the envvar interface is used.  Set only those that are not.
 | 
|---|
| 7098 | # We use the long form for the default assignment because of an extremely
 | 
|---|
| 7099 | # bizarre bug on SunOS 4.1.3.
 | 
|---|
| 7100 | if $ac_need_defaults; then
 | 
|---|
| 7101 |   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 | 
|---|
| 7102 |   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 | 
|---|
| 7103 |   test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
 | 
|---|
| 7104 |   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 | 
|---|
| 7105 | fi
 | 
|---|
| 7106 | 
 | 
|---|
| 7107 | # Have a temporary directory for convenience.  Make it in the build tree
 | 
|---|
| 7108 | # simply because there is no reason against having it here, and in addition,
 | 
|---|
| 7109 | # creating and moving files from /tmp can sometimes cause problems.
 | 
|---|
| 7110 | # Hook for its removal unless debugging.
 | 
|---|
| 7111 | # Note that there is a small window in which the directory will not be cleaned:
 | 
|---|
| 7112 | # after its creation but before its name has been assigned to `$tmp'.
 | 
|---|
| 7113 | $debug ||
 | 
|---|
| 7114 | {
 | 
|---|
| 7115 |   tmp= ac_tmp=
 | 
|---|
| 7116 |   trap 'exit_status=$?
 | 
|---|
| 7117 |   : "${ac_tmp:=$tmp}"
 | 
|---|
| 7118 |   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 | 
|---|
| 7119 | ' 0
 | 
|---|
| 7120 |   trap 'as_fn_exit 1' 1 2 13 15
 | 
|---|
| 7121 | }
 | 
|---|
| 7122 | # Create a (secure) tmp directory for tmp files.
 | 
|---|
| 7123 | 
 | 
|---|
| 7124 | {
 | 
|---|
| 7125 |   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 | 
|---|
| 7126 |   test -d "$tmp"
 | 
|---|
| 7127 | }  ||
 | 
|---|
| 7128 | {
 | 
|---|
| 7129 |   tmp=./conf$$-$RANDOM
 | 
|---|
| 7130 |   (umask 077 && mkdir "$tmp")
 | 
|---|
| 7131 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 | 
|---|
| 7132 | ac_tmp=$tmp
 | 
|---|
| 7133 | 
 | 
|---|
| 7134 | # Set up the scripts for CONFIG_FILES section.
 | 
|---|
| 7135 | # No need to generate them if there are no CONFIG_FILES.
 | 
|---|
| 7136 | # This happens for instance with `./config.status config.h'.
 | 
|---|
| 7137 | if test -n "$CONFIG_FILES"; then
 | 
|---|
| 7138 | 
 | 
|---|
| 7139 | 
 | 
|---|
| 7140 | ac_cr=`echo X | tr X '\015'`
 | 
|---|
| 7141 | # On cygwin, bash can eat \r inside `` if the user requested igncr.
 | 
|---|
| 7142 | # But we know of no other shell where ac_cr would be empty at this
 | 
|---|
| 7143 | # point, so we can use a bashism as a fallback.
 | 
|---|
| 7144 | if test "x$ac_cr" = x; then
 | 
|---|
| 7145 |   eval ac_cr=\$\'\\r\'
 | 
|---|
| 7146 | fi
 | 
|---|
| 7147 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 | 
|---|
| 7148 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 | 
|---|
| 7149 |   ac_cs_awk_cr='\\r'
 | 
|---|
| 7150 | else
 | 
|---|
| 7151 |   ac_cs_awk_cr=$ac_cr
 | 
|---|
| 7152 | fi
 | 
|---|
| 7153 | 
 | 
|---|
| 7154 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 | 
|---|
| 7155 | _ACEOF
 | 
|---|
| 7156 | 
 | 
|---|
| 7157 | 
 | 
|---|
| 7158 | {
 | 
|---|
| 7159 |   echo "cat >conf$$subs.awk <<_ACEOF" &&
 | 
|---|
| 7160 |   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 | 
|---|
| 7161 |   echo "_ACEOF"
 | 
|---|
| 7162 | } >conf$$subs.sh ||
 | 
|---|
| 7163 |   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 | 
|---|
| 7164 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 | 
|---|
| 7165 | ac_delim='%!_!# '
 | 
|---|
| 7166 | for ac_last_try in false false false false false :; do
 | 
|---|
| 7167 |   . ./conf$$subs.sh ||
 | 
|---|
| 7168 |     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 | 
|---|
| 7169 | 
 | 
|---|
| 7170 |   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 | 
|---|
| 7171 |   if test $ac_delim_n = $ac_delim_num; then
 | 
|---|
| 7172 |     break
 | 
|---|
| 7173 |   elif $ac_last_try; then
 | 
|---|
| 7174 |     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 | 
|---|
| 7175 |   else
 | 
|---|
| 7176 |     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 | 
|---|
| 7177 |   fi
 | 
|---|
| 7178 | done
 | 
|---|
| 7179 | rm -f conf$$subs.sh
 | 
|---|
| 7180 | 
 | 
|---|
| 7181 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 7182 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 | 
|---|
| 7183 | _ACEOF
 | 
|---|
| 7184 | sed -n '
 | 
|---|
| 7185 | h
 | 
|---|
| 7186 | s/^/S["/; s/!.*/"]=/
 | 
|---|
| 7187 | p
 | 
|---|
| 7188 | g
 | 
|---|
| 7189 | s/^[^!]*!//
 | 
|---|
| 7190 | :repl
 | 
|---|
| 7191 | t repl
 | 
|---|
| 7192 | s/'"$ac_delim"'$//
 | 
|---|
| 7193 | t delim
 | 
|---|
| 7194 | :nl
 | 
|---|
| 7195 | h
 | 
|---|
| 7196 | s/\(.\{148\}\)..*/\1/
 | 
|---|
| 7197 | t more1
 | 
|---|
| 7198 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 | 
|---|
| 7199 | p
 | 
|---|
| 7200 | n
 | 
|---|
| 7201 | b repl
 | 
|---|
| 7202 | :more1
 | 
|---|
| 7203 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 | 
|---|
| 7204 | p
 | 
|---|
| 7205 | g
 | 
|---|
| 7206 | s/.\{148\}//
 | 
|---|
| 7207 | t nl
 | 
|---|
| 7208 | :delim
 | 
|---|
| 7209 | h
 | 
|---|
| 7210 | s/\(.\{148\}\)..*/\1/
 | 
|---|
| 7211 | t more2
 | 
|---|
| 7212 | s/["\\]/\\&/g; s/^/"/; s/$/"/
 | 
|---|
| 7213 | p
 | 
|---|
| 7214 | b
 | 
|---|
| 7215 | :more2
 | 
|---|
| 7216 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 | 
|---|
| 7217 | p
 | 
|---|
| 7218 | g
 | 
|---|
| 7219 | s/.\{148\}//
 | 
|---|
| 7220 | t delim
 | 
|---|
| 7221 | ' <conf$$subs.awk | sed '
 | 
|---|
| 7222 | /^[^""]/{
 | 
|---|
| 7223 |   N
 | 
|---|
| 7224 |   s/\n//
 | 
|---|
| 7225 | }
 | 
|---|
| 7226 | ' >>$CONFIG_STATUS || ac_write_fail=1
 | 
|---|
| 7227 | rm -f conf$$subs.awk
 | 
|---|
| 7228 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 7229 | _ACAWK
 | 
|---|
| 7230 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 | 
|---|
| 7231 |   for (key in S) S_is_set[key] = 1
 | 
|---|
| 7232 |   FS = ""
 | 
|---|
| 7233 | 
 | 
|---|
| 7234 | }
 | 
|---|
| 7235 | {
 | 
|---|
| 7236 |   line = $ 0
 | 
|---|
| 7237 |   nfields = split(line, field, "@")
 | 
|---|
| 7238 |   substed = 0
 | 
|---|
| 7239 |   len = length(field[1])
 | 
|---|
| 7240 |   for (i = 2; i < nfields; i++) {
 | 
|---|
| 7241 |     key = field[i]
 | 
|---|
| 7242 |     keylen = length(key)
 | 
|---|
| 7243 |     if (S_is_set[key]) {
 | 
|---|
| 7244 |       value = S[key]
 | 
|---|
| 7245 |       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 | 
|---|
| 7246 |       len += length(value) + length(field[++i])
 | 
|---|
| 7247 |       substed = 1
 | 
|---|
| 7248 |     } else
 | 
|---|
| 7249 |       len += 1 + keylen
 | 
|---|
| 7250 |   }
 | 
|---|
| 7251 | 
 | 
|---|
| 7252 |   print line
 | 
|---|
| 7253 | }
 | 
|---|
| 7254 | 
 | 
|---|
| 7255 | _ACAWK
 | 
|---|
| 7256 | _ACEOF
 | 
|---|
| 7257 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 7258 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 | 
|---|
| 7259 |   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 | 
|---|
| 7260 | else
 | 
|---|
| 7261 |   cat
 | 
|---|
| 7262 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 | 
|---|
| 7263 |   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 | 
|---|
| 7264 | _ACEOF
 | 
|---|
| 7265 | 
 | 
|---|
| 7266 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 | 
|---|
| 7267 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 | 
|---|
| 7268 | # trailing colons and then remove the whole line if VPATH becomes empty
 | 
|---|
| 7269 | # (actually we leave an empty line to preserve line numbers).
 | 
|---|
| 7270 | if test "x$srcdir" = x.; then
 | 
|---|
| 7271 |   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 | 
|---|
| 7272 | h
 | 
|---|
| 7273 | s///
 | 
|---|
| 7274 | s/^/:/
 | 
|---|
| 7275 | s/[      ]*$/:/
 | 
|---|
| 7276 | s/:\$(srcdir):/:/g
 | 
|---|
| 7277 | s/:\${srcdir}:/:/g
 | 
|---|
| 7278 | s/:@srcdir@:/:/g
 | 
|---|
| 7279 | s/^:*//
 | 
|---|
| 7280 | s/:*$//
 | 
|---|
| 7281 | x
 | 
|---|
| 7282 | s/\(=[   ]*\).*/\1/
 | 
|---|
| 7283 | G
 | 
|---|
| 7284 | s/\n//
 | 
|---|
| 7285 | s/^[^=]*=[       ]*$//
 | 
|---|
| 7286 | }'
 | 
|---|
| 7287 | fi
 | 
|---|
| 7288 | 
 | 
|---|
| 7289 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 7290 | fi # test -n "$CONFIG_FILES"
 | 
|---|
| 7291 | 
 | 
|---|
| 7292 | # Set up the scripts for CONFIG_HEADERS section.
 | 
|---|
| 7293 | # No need to generate them if there are no CONFIG_HEADERS.
 | 
|---|
| 7294 | # This happens for instance with `./config.status Makefile'.
 | 
|---|
| 7295 | if test -n "$CONFIG_HEADERS"; then
 | 
|---|
| 7296 | cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 | 
|---|
| 7297 | BEGIN {
 | 
|---|
| 7298 | _ACEOF
 | 
|---|
| 7299 | 
 | 
|---|
| 7300 | # Transform confdefs.h into an awk script `defines.awk', embedded as
 | 
|---|
| 7301 | # here-document in config.status, that substitutes the proper values into
 | 
|---|
| 7302 | # config.h.in to produce config.h.
 | 
|---|
| 7303 | 
 | 
|---|
| 7304 | # Create a delimiter string that does not exist in confdefs.h, to ease
 | 
|---|
| 7305 | # handling of long lines.
 | 
|---|
| 7306 | ac_delim='%!_!# '
 | 
|---|
| 7307 | for ac_last_try in false false :; do
 | 
|---|
| 7308 |   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 | 
|---|
| 7309 |   if test -z "$ac_tt"; then
 | 
|---|
| 7310 |     break
 | 
|---|
| 7311 |   elif $ac_last_try; then
 | 
|---|
| 7312 |     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 | 
|---|
| 7313 |   else
 | 
|---|
| 7314 |     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 | 
|---|
| 7315 |   fi
 | 
|---|
| 7316 | done
 | 
|---|
| 7317 | 
 | 
|---|
| 7318 | # For the awk script, D is an array of macro values keyed by name,
 | 
|---|
| 7319 | # likewise P contains macro parameters if any.  Preserve backslash
 | 
|---|
| 7320 | # newline sequences.
 | 
|---|
| 7321 | 
 | 
|---|
| 7322 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 | 
|---|
| 7323 | sed -n '
 | 
|---|
| 7324 | s/.\{148\}/&'"$ac_delim"'/g
 | 
|---|
| 7325 | t rset
 | 
|---|
| 7326 | :rset
 | 
|---|
| 7327 | s/^[     ]*#[    ]*define[       ][      ]*/ /
 | 
|---|
| 7328 | t def
 | 
|---|
| 7329 | d
 | 
|---|
| 7330 | :def
 | 
|---|
| 7331 | s/\\$//
 | 
|---|
| 7332 | t bsnl
 | 
|---|
| 7333 | s/["\\]/\\&/g
 | 
|---|
| 7334 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 | 
|---|
| 7335 | D["\1"]=" \3"/p
 | 
|---|
| 7336 | s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 | 
|---|
| 7337 | d
 | 
|---|
| 7338 | :bsnl
 | 
|---|
| 7339 | s/["\\]/\\&/g
 | 
|---|
| 7340 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 | 
|---|
| 7341 | D["\1"]=" \3\\\\\\n"\\/p
 | 
|---|
| 7342 | t cont
 | 
|---|
| 7343 | s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 | 
|---|
| 7344 | t cont
 | 
|---|
| 7345 | d
 | 
|---|
| 7346 | :cont
 | 
|---|
| 7347 | n
 | 
|---|
| 7348 | s/.\{148\}/&'"$ac_delim"'/g
 | 
|---|
| 7349 | t clear
 | 
|---|
| 7350 | :clear
 | 
|---|
| 7351 | s/\\$//
 | 
|---|
| 7352 | t bsnlc
 | 
|---|
| 7353 | s/["\\]/\\&/g; s/^/"/; s/$/"/p
 | 
|---|
| 7354 | d
 | 
|---|
| 7355 | :bsnlc
 | 
|---|
| 7356 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 | 
|---|
| 7357 | b cont
 | 
|---|
| 7358 | ' <confdefs.h | sed '
 | 
|---|
| 7359 | s/'"$ac_delim"'/"\\\
 | 
|---|
| 7360 | "/g' >>$CONFIG_STATUS || ac_write_fail=1
 | 
|---|
| 7361 | 
 | 
|---|
| 7362 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 7363 |   for (key in D) D_is_set[key] = 1
 | 
|---|
| 7364 |   FS = ""
 | 
|---|
| 7365 | }
 | 
|---|
| 7366 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 | 
|---|
| 7367 |   line = \$ 0
 | 
|---|
| 7368 |   split(line, arg, " ")
 | 
|---|
| 7369 |   if (arg[1] == "#") {
 | 
|---|
| 7370 |     defundef = arg[2]
 | 
|---|
| 7371 |     mac1 = arg[3]
 | 
|---|
| 7372 |   } else {
 | 
|---|
| 7373 |     defundef = substr(arg[1], 2)
 | 
|---|
| 7374 |     mac1 = arg[2]
 | 
|---|
| 7375 |   }
 | 
|---|
| 7376 |   split(mac1, mac2, "(") #)
 | 
|---|
| 7377 |   macro = mac2[1]
 | 
|---|
| 7378 |   prefix = substr(line, 1, index(line, defundef) - 1)
 | 
|---|
| 7379 |   if (D_is_set[macro]) {
 | 
|---|
| 7380 |     # Preserve the white space surrounding the "#".
 | 
|---|
| 7381 |     print prefix "define", macro P[macro] D[macro]
 | 
|---|
| 7382 |     next
 | 
|---|
| 7383 |   } else {
 | 
|---|
| 7384 |     # Replace #undef with comments.  This is necessary, for example,
 | 
|---|
| 7385 |     # in the case of _POSIX_SOURCE, which is predefined and required
 | 
|---|
| 7386 |     # on some systems where configure will not decide to define it.
 | 
|---|
| 7387 |     if (defundef == "undef") {
 | 
|---|
| 7388 |       print "/*", prefix defundef, macro, "*/"
 | 
|---|
| 7389 |       next
 | 
|---|
| 7390 |     }
 | 
|---|
| 7391 |   }
 | 
|---|
| 7392 | }
 | 
|---|
| 7393 | { print }
 | 
|---|
| 7394 | _ACAWK
 | 
|---|
| 7395 | _ACEOF
 | 
|---|
| 7396 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 7397 |   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 | 
|---|
| 7398 | fi # test -n "$CONFIG_HEADERS"
 | 
|---|
| 7399 | 
 | 
|---|
| 7400 | 
 | 
|---|
| 7401 | eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS  :L $CONFIG_LINKS  :C $CONFIG_COMMANDS"
 | 
|---|
| 7402 | shift
 | 
|---|
| 7403 | for ac_tag
 | 
|---|
| 7404 | do
 | 
|---|
| 7405 |   case $ac_tag in
 | 
|---|
| 7406 |   :[FHLC]) ac_mode=$ac_tag; continue;;
 | 
|---|
| 7407 |   esac
 | 
|---|
| 7408 |   case $ac_mode$ac_tag in
 | 
|---|
| 7409 |   :[FHL]*:*);;
 | 
|---|
| 7410 |   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 | 
|---|
| 7411 |   :[FH]-) ac_tag=-:-;;
 | 
|---|
| 7412 |   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 | 
|---|
| 7413 |   esac
 | 
|---|
| 7414 |   ac_save_IFS=$IFS
 | 
|---|
| 7415 |   IFS=:
 | 
|---|
| 7416 |   set x $ac_tag
 | 
|---|
| 7417 |   IFS=$ac_save_IFS
 | 
|---|
| 7418 |   shift
 | 
|---|
| 7419 |   ac_file=$1
 | 
|---|
| 7420 |   shift
 | 
|---|
| 7421 | 
 | 
|---|
| 7422 |   case $ac_mode in
 | 
|---|
| 7423 |   :L) ac_source=$1;;
 | 
|---|
| 7424 |   :[FH])
 | 
|---|
| 7425 |     ac_file_inputs=
 | 
|---|
| 7426 |     for ac_f
 | 
|---|
| 7427 |     do
 | 
|---|
| 7428 |       case $ac_f in
 | 
|---|
| 7429 |       -) ac_f="$ac_tmp/stdin";;
 | 
|---|
| 7430 |       *) # Look for the file first in the build tree, then in the source tree
 | 
|---|
| 7431 |          # (if the path is not absolute).  The absolute path cannot be DOS-style,
 | 
|---|
| 7432 |          # because $ac_f cannot contain `:'.
 | 
|---|
| 7433 |          test -f "$ac_f" ||
 | 
|---|
| 7434 |            case $ac_f in
 | 
|---|
| 7435 |            [\\/$]*) false;;
 | 
|---|
| 7436 |            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 | 
|---|
| 7437 |            esac ||
 | 
|---|
| 7438 |            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 | 
|---|
| 7439 |       esac
 | 
|---|
| 7440 |       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 | 
|---|
| 7441 |       as_fn_append ac_file_inputs " '$ac_f'"
 | 
|---|
| 7442 |     done
 | 
|---|
| 7443 | 
 | 
|---|
| 7444 |     # Let's still pretend it is `configure' which instantiates (i.e., don't
 | 
|---|
| 7445 |     # use $as_me), people would be surprised to read:
 | 
|---|
| 7446 |     #    /* config.h.  Generated by config.status.  */
 | 
|---|
| 7447 |     configure_input='Generated from '`
 | 
|---|
| 7448 |           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 | 
|---|
| 7449 |         `' by configure.'
 | 
|---|
| 7450 |     if test x"$ac_file" != x-; then
 | 
|---|
| 7451 |       configure_input="$ac_file.  $configure_input"
 | 
|---|
| 7452 |       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 | 
|---|
| 7453 | $as_echo "$as_me: creating $ac_file" >&6;}
 | 
|---|
| 7454 |     fi
 | 
|---|
| 7455 |     # Neutralize special characters interpreted by sed in replacement strings.
 | 
|---|
| 7456 |     case $configure_input in #(
 | 
|---|
| 7457 |     *\&* | *\|* | *\\* )
 | 
|---|
| 7458 |        ac_sed_conf_input=`$as_echo "$configure_input" |
 | 
|---|
| 7459 |        sed 's/[\\\\&|]/\\\\&/g'`;; #(
 | 
|---|
| 7460 |     *) ac_sed_conf_input=$configure_input;;
 | 
|---|
| 7461 |     esac
 | 
|---|
| 7462 | 
 | 
|---|
| 7463 |     case $ac_tag in
 | 
|---|
| 7464 |     *:-:* | *:-) cat >"$ac_tmp/stdin" \
 | 
|---|
| 7465 |       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 | 
|---|
| 7466 |     esac
 | 
|---|
| 7467 |     ;;
 | 
|---|
| 7468 |   esac
 | 
|---|
| 7469 | 
 | 
|---|
| 7470 |   ac_dir=`$as_dirname -- "$ac_file" ||
 | 
|---|
| 7471 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 | 
|---|
| 7472 |          X"$ac_file" : 'X\(//\)[^/]' \| \
 | 
|---|
| 7473 |          X"$ac_file" : 'X\(//\)$' \| \
 | 
|---|
| 7474 |          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 7475 | $as_echo X"$ac_file" |
 | 
|---|
| 7476 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 | 
|---|
| 7477 |             s//\1/
 | 
|---|
| 7478 |             q
 | 
|---|
| 7479 |           }
 | 
|---|
| 7480 |           /^X\(\/\/\)[^/].*/{
 | 
|---|
| 7481 |             s//\1/
 | 
|---|
| 7482 |             q
 | 
|---|
| 7483 |           }
 | 
|---|
| 7484 |           /^X\(\/\/\)$/{
 | 
|---|
| 7485 |             s//\1/
 | 
|---|
| 7486 |             q
 | 
|---|
| 7487 |           }
 | 
|---|
| 7488 |           /^X\(\/\).*/{
 | 
|---|
| 7489 |             s//\1/
 | 
|---|
| 7490 |             q
 | 
|---|
| 7491 |           }
 | 
|---|
| 7492 |           s/.*/./; q'`
 | 
|---|
| 7493 |   as_dir="$ac_dir"; as_fn_mkdir_p
 | 
|---|
| 7494 |   ac_builddir=.
 | 
|---|
| 7495 | 
 | 
|---|
| 7496 | case "$ac_dir" in
 | 
|---|
| 7497 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 | 
|---|
| 7498 | *)
 | 
|---|
| 7499 |   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 | 
|---|
| 7500 |   # A ".." for each directory in $ac_dir_suffix.
 | 
|---|
| 7501 |   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 | 
|---|
| 7502 |   case $ac_top_builddir_sub in
 | 
|---|
| 7503 |   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 | 
|---|
| 7504 |   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 | 
|---|
| 7505 |   esac ;;
 | 
|---|
| 7506 | esac
 | 
|---|
| 7507 | ac_abs_top_builddir=$ac_pwd
 | 
|---|
| 7508 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
 | 
|---|
| 7509 | # for backward compatibility:
 | 
|---|
| 7510 | ac_top_builddir=$ac_top_build_prefix
 | 
|---|
| 7511 | 
 | 
|---|
| 7512 | case $srcdir in
 | 
|---|
| 7513 |   .)  # We are building in place.
 | 
|---|
| 7514 |     ac_srcdir=.
 | 
|---|
| 7515 |     ac_top_srcdir=$ac_top_builddir_sub
 | 
|---|
| 7516 |     ac_abs_top_srcdir=$ac_pwd ;;
 | 
|---|
| 7517 |   [\\/]* | ?:[\\/]* )  # Absolute name.
 | 
|---|
| 7518 |     ac_srcdir=$srcdir$ac_dir_suffix;
 | 
|---|
| 7519 |     ac_top_srcdir=$srcdir
 | 
|---|
| 7520 |     ac_abs_top_srcdir=$srcdir ;;
 | 
|---|
| 7521 |   *) # Relative name.
 | 
|---|
| 7522 |     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 | 
|---|
| 7523 |     ac_top_srcdir=$ac_top_build_prefix$srcdir
 | 
|---|
| 7524 |     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 | 
|---|
| 7525 | esac
 | 
|---|
| 7526 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 | 
|---|
| 7527 | 
 | 
|---|
| 7528 | 
 | 
|---|
| 7529 |   case $ac_mode in
 | 
|---|
| 7530 |   :F)
 | 
|---|
| 7531 |   #
 | 
|---|
| 7532 |   # CONFIG_FILE
 | 
|---|
| 7533 |   #
 | 
|---|
| 7534 | 
 | 
|---|
| 7535 |   case $INSTALL in
 | 
|---|
| 7536 |   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 | 
|---|
| 7537 |   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 | 
|---|
| 7538 |   esac
 | 
|---|
| 7539 |   ac_MKDIR_P=$MKDIR_P
 | 
|---|
| 7540 |   case $MKDIR_P in
 | 
|---|
| 7541 |   [\\/$]* | ?:[\\/]* ) ;;
 | 
|---|
| 7542 |   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 | 
|---|
| 7543 |   esac
 | 
|---|
| 7544 | _ACEOF
 | 
|---|
| 7545 | 
 | 
|---|
| 7546 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 7547 | # If the template does not know about datarootdir, expand it.
 | 
|---|
| 7548 | # FIXME: This hack should be removed a few years after 2.60.
 | 
|---|
| 7549 | ac_datarootdir_hack=; ac_datarootdir_seen=
 | 
|---|
| 7550 | ac_sed_dataroot='
 | 
|---|
| 7551 | /datarootdir/ {
 | 
|---|
| 7552 |   p
 | 
|---|
| 7553 |   q
 | 
|---|
| 7554 | }
 | 
|---|
| 7555 | /@datadir@/p
 | 
|---|
| 7556 | /@docdir@/p
 | 
|---|
| 7557 | /@infodir@/p
 | 
|---|
| 7558 | /@localedir@/p
 | 
|---|
| 7559 | /@mandir@/p'
 | 
|---|
| 7560 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 | 
|---|
| 7561 | *datarootdir*) ac_datarootdir_seen=yes;;
 | 
|---|
| 7562 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 | 
|---|
| 7563 |   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 | 
|---|
| 7564 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 | 
|---|
| 7565 | _ACEOF
 | 
|---|
| 7566 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 7567 |   ac_datarootdir_hack='
 | 
|---|
| 7568 |   s&@datadir@&$datadir&g
 | 
|---|
| 7569 |   s&@docdir@&$docdir&g
 | 
|---|
| 7570 |   s&@infodir@&$infodir&g
 | 
|---|
| 7571 |   s&@localedir@&$localedir&g
 | 
|---|
| 7572 |   s&@mandir@&$mandir&g
 | 
|---|
| 7573 |   s&\\\${datarootdir}&$datarootdir&g' ;;
 | 
|---|
| 7574 | esac
 | 
|---|
| 7575 | _ACEOF
 | 
|---|
| 7576 | 
 | 
|---|
| 7577 | # Neutralize VPATH when `$srcdir' = `.'.
 | 
|---|
| 7578 | # Shell code in configure.ac might set extrasub.
 | 
|---|
| 7579 | # FIXME: do we really want to maintain this feature?
 | 
|---|
| 7580 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 7581 | ac_sed_extra="$ac_vpsub
 | 
|---|
| 7582 | $extrasub
 | 
|---|
| 7583 | _ACEOF
 | 
|---|
| 7584 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 7585 | :t
 | 
|---|
| 7586 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 | 
|---|
| 7587 | s|@configure_input@|$ac_sed_conf_input|;t t
 | 
|---|
| 7588 | s&@top_builddir@&$ac_top_builddir_sub&;t t
 | 
|---|
| 7589 | s&@top_build_prefix@&$ac_top_build_prefix&;t t
 | 
|---|
| 7590 | s&@srcdir@&$ac_srcdir&;t t
 | 
|---|
| 7591 | s&@abs_srcdir@&$ac_abs_srcdir&;t t
 | 
|---|
| 7592 | s&@top_srcdir@&$ac_top_srcdir&;t t
 | 
|---|
| 7593 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 | 
|---|
| 7594 | s&@builddir@&$ac_builddir&;t t
 | 
|---|
| 7595 | s&@abs_builddir@&$ac_abs_builddir&;t t
 | 
|---|
| 7596 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 | 
|---|
| 7597 | s&@INSTALL@&$ac_INSTALL&;t t
 | 
|---|
| 7598 | s&@MKDIR_P@&$ac_MKDIR_P&;t t
 | 
|---|
| 7599 | $ac_datarootdir_hack
 | 
|---|
| 7600 | "
 | 
|---|
| 7601 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 | 
|---|
| 7602 |   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 | 
|---|
| 7603 | 
 | 
|---|
| 7604 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 | 
|---|
| 7605 |   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 | 
|---|
| 7606 |   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 | 
|---|
| 7607 |       "$ac_tmp/out"`; test -z "$ac_out"; } &&
 | 
|---|
| 7608 |   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 | 
|---|
| 7609 | which seems to be undefined.  Please make sure it is defined" >&5
 | 
|---|
| 7610 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 | 
|---|
| 7611 | which seems to be undefined.  Please make sure it is defined" >&2;}
 | 
|---|
| 7612 | 
 | 
|---|
| 7613 |   rm -f "$ac_tmp/stdin"
 | 
|---|
| 7614 |   case $ac_file in
 | 
|---|
| 7615 |   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 | 
|---|
| 7616 |   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 | 
|---|
| 7617 |   esac \
 | 
|---|
| 7618 |   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 | 
|---|
| 7619 |  ;;
 | 
|---|
| 7620 |   :H)
 | 
|---|
| 7621 |   #
 | 
|---|
| 7622 |   # CONFIG_HEADER
 | 
|---|
| 7623 |   #
 | 
|---|
| 7624 |   if test x"$ac_file" != x-; then
 | 
|---|
| 7625 |     {
 | 
|---|
| 7626 |       $as_echo "/* $configure_input  */" \
 | 
|---|
| 7627 |       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 | 
|---|
| 7628 |     } >"$ac_tmp/config.h" \
 | 
|---|
| 7629 |       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 | 
|---|
| 7630 |     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 | 
|---|
| 7631 |       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 | 
|---|
| 7632 | $as_echo "$as_me: $ac_file is unchanged" >&6;}
 | 
|---|
| 7633 |     else
 | 
|---|
| 7634 |       rm -f "$ac_file"
 | 
|---|
| 7635 |       mv "$ac_tmp/config.h" "$ac_file" \
 | 
|---|
| 7636 |         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 | 
|---|
| 7637 |     fi
 | 
|---|
| 7638 |   else
 | 
|---|
| 7639 |     $as_echo "/* $configure_input  */" \
 | 
|---|
| 7640 |       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 | 
|---|
| 7641 |       || as_fn_error $? "could not create -" "$LINENO" 5
 | 
|---|
| 7642 |   fi
 | 
|---|
| 7643 | # Compute "$ac_file"'s index in $config_headers.
 | 
|---|
| 7644 | _am_arg="$ac_file"
 | 
|---|
| 7645 | _am_stamp_count=1
 | 
|---|
| 7646 | for _am_header in $config_headers :; do
 | 
|---|
| 7647 |   case $_am_header in
 | 
|---|
| 7648 |     $_am_arg | $_am_arg:* )
 | 
|---|
| 7649 |       break ;;
 | 
|---|
| 7650 |     * )
 | 
|---|
| 7651 |       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 | 
|---|
| 7652 |   esac
 | 
|---|
| 7653 | done
 | 
|---|
| 7654 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 | 
|---|
| 7655 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 | 
|---|
| 7656 |          X"$_am_arg" : 'X\(//\)[^/]' \| \
 | 
|---|
| 7657 |          X"$_am_arg" : 'X\(//\)$' \| \
 | 
|---|
| 7658 |          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 7659 | $as_echo X"$_am_arg" |
 | 
|---|
| 7660 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 | 
|---|
| 7661 |             s//\1/
 | 
|---|
| 7662 |             q
 | 
|---|
| 7663 |           }
 | 
|---|
| 7664 |           /^X\(\/\/\)[^/].*/{
 | 
|---|
| 7665 |             s//\1/
 | 
|---|
| 7666 |             q
 | 
|---|
| 7667 |           }
 | 
|---|
| 7668 |           /^X\(\/\/\)$/{
 | 
|---|
| 7669 |             s//\1/
 | 
|---|
| 7670 |             q
 | 
|---|
| 7671 |           }
 | 
|---|
| 7672 |           /^X\(\/\).*/{
 | 
|---|
| 7673 |             s//\1/
 | 
|---|
| 7674 |             q
 | 
|---|
| 7675 |           }
 | 
|---|
| 7676 |           s/.*/./; q'`/stamp-h$_am_stamp_count
 | 
|---|
| 7677 |  ;;
 | 
|---|
| 7678 |   :L)
 | 
|---|
| 7679 |   #
 | 
|---|
| 7680 |   # CONFIG_LINK
 | 
|---|
| 7681 |   #
 | 
|---|
| 7682 | 
 | 
|---|
| 7683 |   if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
 | 
|---|
| 7684 |     :
 | 
|---|
| 7685 |   else
 | 
|---|
| 7686 |     # Prefer the file from the source tree if names are identical.
 | 
|---|
| 7687 |     if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
 | 
|---|
| 7688 |       ac_source=$srcdir/$ac_source
 | 
|---|
| 7689 |     fi
 | 
|---|
| 7690 | 
 | 
|---|
| 7691 |     { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
 | 
|---|
| 7692 | $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
 | 
|---|
| 7693 | 
 | 
|---|
| 7694 |     if test ! -r "$ac_source"; then
 | 
|---|
| 7695 |       as_fn_error $? "$ac_source: file not found" "$LINENO" 5
 | 
|---|
| 7696 |     fi
 | 
|---|
| 7697 |     rm -f "$ac_file"
 | 
|---|
| 7698 | 
 | 
|---|
| 7699 |     # Try a relative symlink, then a hard link, then a copy.
 | 
|---|
| 7700 |     case $ac_source in
 | 
|---|
| 7701 |     [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
 | 
|---|
| 7702 |         *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
 | 
|---|
| 7703 |     esac
 | 
|---|
| 7704 |     ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
 | 
|---|
| 7705 |       ln "$ac_source" "$ac_file" 2>/dev/null ||
 | 
|---|
| 7706 |       cp -p "$ac_source" "$ac_file" ||
 | 
|---|
| 7707 |       as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
 | 
|---|
| 7708 |   fi
 | 
|---|
| 7709 |  ;;
 | 
|---|
| 7710 |   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 | 
|---|
| 7711 | $as_echo "$as_me: executing $ac_file commands" >&6;}
 | 
|---|
| 7712 |  ;;
 | 
|---|
| 7713 |   esac
 | 
|---|
| 7714 | 
 | 
|---|
| 7715 | 
 | 
|---|
| 7716 |   case $ac_file$ac_mode in
 | 
|---|
| 7717 |     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 | 
|---|
| 7718 |   # Older Autoconf quotes --file arguments for eval, but not when files
 | 
|---|
| 7719 |   # are listed without --file.  Let's play safe and only enable the eval
 | 
|---|
| 7720 |   # if we detect the quoting.
 | 
|---|
| 7721 |   case $CONFIG_FILES in
 | 
|---|
| 7722 |   *\'*) eval set x "$CONFIG_FILES" ;;
 | 
|---|
| 7723 |   *)   set x $CONFIG_FILES ;;
 | 
|---|
| 7724 |   esac
 | 
|---|
| 7725 |   shift
 | 
|---|
| 7726 |   for mf
 | 
|---|
| 7727 |   do
 | 
|---|
| 7728 |     # Strip MF so we end up with the name of the file.
 | 
|---|
| 7729 |     mf=`echo "$mf" | sed -e 's/:.*$//'`
 | 
|---|
| 7730 |     # Check whether this is an Automake generated Makefile or not.
 | 
|---|
| 7731 |     # We used to match only the files named 'Makefile.in', but
 | 
|---|
| 7732 |     # some people rename them; so instead we look at the file content.
 | 
|---|
| 7733 |     # Grep'ing the first line is not enough: some people post-process
 | 
|---|
| 7734 |     # each Makefile.in and add a new line on top of each file to say so.
 | 
|---|
| 7735 |     # Grep'ing the whole file is not good either: AIX grep has a line
 | 
|---|
| 7736 |     # limit of 2048, but all sed's we know have understand at least 4000.
 | 
|---|
| 7737 |     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 | 
|---|
| 7738 |       dirpart=`$as_dirname -- "$mf" ||
 | 
|---|
| 7739 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 | 
|---|
| 7740 |          X"$mf" : 'X\(//\)[^/]' \| \
 | 
|---|
| 7741 |          X"$mf" : 'X\(//\)$' \| \
 | 
|---|
| 7742 |          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 7743 | $as_echo X"$mf" |
 | 
|---|
| 7744 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 | 
|---|
| 7745 |             s//\1/
 | 
|---|
| 7746 |             q
 | 
|---|
| 7747 |           }
 | 
|---|
| 7748 |           /^X\(\/\/\)[^/].*/{
 | 
|---|
| 7749 |             s//\1/
 | 
|---|
| 7750 |             q
 | 
|---|
| 7751 |           }
 | 
|---|
| 7752 |           /^X\(\/\/\)$/{
 | 
|---|
| 7753 |             s//\1/
 | 
|---|
| 7754 |             q
 | 
|---|
| 7755 |           }
 | 
|---|
| 7756 |           /^X\(\/\).*/{
 | 
|---|
| 7757 |             s//\1/
 | 
|---|
| 7758 |             q
 | 
|---|
| 7759 |           }
 | 
|---|
| 7760 |           s/.*/./; q'`
 | 
|---|
| 7761 |     else
 | 
|---|
| 7762 |       continue
 | 
|---|
| 7763 |     fi
 | 
|---|
| 7764 |     # Extract the definition of DEPDIR, am__include, and am__quote
 | 
|---|
| 7765 |     # from the Makefile without running 'make'.
 | 
|---|
| 7766 |     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 | 
|---|
| 7767 |     test -z "$DEPDIR" && continue
 | 
|---|
| 7768 |     am__include=`sed -n 's/^am__include = //p' < "$mf"`
 | 
|---|
| 7769 |     test -z "$am__include" && continue
 | 
|---|
| 7770 |     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 | 
|---|
| 7771 |     # Find all dependency output files, they are included files with
 | 
|---|
| 7772 |     # $(DEPDIR) in their names.  We invoke sed twice because it is the
 | 
|---|
| 7773 |     # simplest approach to changing $(DEPDIR) to its actual value in the
 | 
|---|
| 7774 |     # expansion.
 | 
|---|
| 7775 |     for file in `sed -n "
 | 
|---|
| 7776 |       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 | 
|---|
| 7777 |          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
 | 
|---|
| 7778 |       # Make sure the directory exists.
 | 
|---|
| 7779 |       test -f "$dirpart/$file" && continue
 | 
|---|
| 7780 |       fdir=`$as_dirname -- "$file" ||
 | 
|---|
| 7781 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 | 
|---|
| 7782 |          X"$file" : 'X\(//\)[^/]' \| \
 | 
|---|
| 7783 |          X"$file" : 'X\(//\)$' \| \
 | 
|---|
| 7784 |          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 7785 | $as_echo X"$file" |
 | 
|---|
| 7786 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 | 
|---|
| 7787 |             s//\1/
 | 
|---|
| 7788 |             q
 | 
|---|
| 7789 |           }
 | 
|---|
| 7790 |           /^X\(\/\/\)[^/].*/{
 | 
|---|
| 7791 |             s//\1/
 | 
|---|
| 7792 |             q
 | 
|---|
| 7793 |           }
 | 
|---|
| 7794 |           /^X\(\/\/\)$/{
 | 
|---|
| 7795 |             s//\1/
 | 
|---|
| 7796 |             q
 | 
|---|
| 7797 |           }
 | 
|---|
| 7798 |           /^X\(\/\).*/{
 | 
|---|
| 7799 |             s//\1/
 | 
|---|
| 7800 |             q
 | 
|---|
| 7801 |           }
 | 
|---|
| 7802 |           s/.*/./; q'`
 | 
|---|
| 7803 |       as_dir=$dirpart/$fdir; as_fn_mkdir_p
 | 
|---|
| 7804 |       # echo "creating $dirpart/$file"
 | 
|---|
| 7805 |       echo '# dummy' > "$dirpart/$file"
 | 
|---|
| 7806 |     done
 | 
|---|
| 7807 |   done
 | 
|---|
| 7808 | }
 | 
|---|
| 7809 |  ;;
 | 
|---|
| 7810 | 
 | 
|---|
| 7811 |   esac
 | 
|---|
| 7812 | done # for ac_tag
 | 
|---|
| 7813 | 
 | 
|---|
| 7814 | 
 | 
|---|
| 7815 | as_fn_exit 0
 | 
|---|
| 7816 | _ACEOF
 | 
|---|
| 7817 | ac_clean_files=$ac_clean_files_save
 | 
|---|
| 7818 | 
 | 
|---|
| 7819 | test $ac_write_fail = 0 ||
 | 
|---|
| 7820 |   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 | 
|---|
| 7821 | 
 | 
|---|
| 7822 | 
 | 
|---|
| 7823 | # configure is writing to config.log, and then calls config.status.
 | 
|---|
| 7824 | # config.status does its own redirection, appending to config.log.
 | 
|---|
| 7825 | # Unfortunately, on DOS this fails, as config.log is still kept open
 | 
|---|
| 7826 | # by configure, so config.status won't be able to write to it; its
 | 
|---|
| 7827 | # output is simply discarded.  So we exec the FD to /dev/null,
 | 
|---|
| 7828 | # effectively closing config.log, so it can be properly (re)opened and
 | 
|---|
| 7829 | # appended to by config.status.  When coming back to configure, we
 | 
|---|
| 7830 | # need to make the FD available again.
 | 
|---|
| 7831 | if test "$no_create" != yes; then
 | 
|---|
| 7832 |   ac_cs_success=:
 | 
|---|
| 7833 |   ac_config_status_args=
 | 
|---|
| 7834 |   test "$silent" = yes &&
 | 
|---|
| 7835 |     ac_config_status_args="$ac_config_status_args --quiet"
 | 
|---|
| 7836 |   exec 5>/dev/null
 | 
|---|
| 7837 |   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 | 
|---|
| 7838 |   exec 5>>config.log
 | 
|---|
| 7839 |   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 | 
|---|
| 7840 |   # would make configure fail if this is the last instruction.
 | 
|---|
| 7841 |   $ac_cs_success || as_fn_exit 1
 | 
|---|
| 7842 | fi
 | 
|---|
| 7843 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 | 
|---|
| 7844 |   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 | 
|---|
| 7845 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 | 
|---|
| 7846 | fi
 | 
|---|
| 7847 | 
 | 
|---|
| 7848 | 
 | 
|---|
| 7849 | # Final text
 | 
|---|
| 7850 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: Cforall configuraton completed. Type \"make -j 8 install\"." >&5
 | 
|---|
| 7851 | $as_echo "Cforall configuraton completed. Type \"make -j 8 install\"." >&6; }
 | 
|---|