| 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 | MACHINE_TYPE
 | 
|---|
| 668 | host_os
 | 
|---|
| 669 | host_vendor
 | 
|---|
| 670 | host_cpu
 | 
|---|
| 671 | host
 | 
|---|
| 672 | build_os
 | 
|---|
| 673 | build_vendor
 | 
|---|
| 674 | build_cpu
 | 
|---|
| 675 | build
 | 
|---|
| 676 | CFA_LIBDIR
 | 
|---|
| 677 | CFA_BINDIR
 | 
|---|
| 678 | CFA_INCDIR
 | 
|---|
| 679 | CFA_PREFIX
 | 
|---|
| 680 | DOendif
 | 
|---|
| 681 | DOifskipcompile
 | 
|---|
| 682 | BUILD_CONCURRENCY_FALSE
 | 
|---|
| 683 | BUILD_CONCURRENCY_TRUE
 | 
|---|
| 684 | BUILD_NO_LIB_FALSE
 | 
|---|
| 685 | BUILD_NO_LIB_TRUE
 | 
|---|
| 686 | BUILD_DEBUG_FALSE
 | 
|---|
| 687 | BUILD_DEBUG_TRUE
 | 
|---|
| 688 | BUILD_RELEASE_FALSE
 | 
|---|
| 689 | BUILD_RELEASE_TRUE
 | 
|---|
| 690 | CFA_BACKEND_CC
 | 
|---|
| 691 | BACKEND_CC
 | 
|---|
| 692 | CFA_NAME
 | 
|---|
| 693 | MAINT
 | 
|---|
| 694 | MAINTAINER_MODE_FALSE
 | 
|---|
| 695 | MAINTAINER_MODE_TRUE
 | 
|---|
| 696 | am__untar
 | 
|---|
| 697 | am__tar
 | 
|---|
| 698 | AMTAR
 | 
|---|
| 699 | am__leading_dot
 | 
|---|
| 700 | SET_MAKE
 | 
|---|
| 701 | AWK
 | 
|---|
| 702 | mkdir_p
 | 
|---|
| 703 | MKDIR_P
 | 
|---|
| 704 | INSTALL_STRIP_PROGRAM
 | 
|---|
| 705 | STRIP
 | 
|---|
| 706 | install_sh
 | 
|---|
| 707 | MAKEINFO
 | 
|---|
| 708 | AUTOHEADER
 | 
|---|
| 709 | AUTOMAKE
 | 
|---|
| 710 | AUTOCONF
 | 
|---|
| 711 | ACLOCAL
 | 
|---|
| 712 | VERSION
 | 
|---|
| 713 | PACKAGE
 | 
|---|
| 714 | CYGPATH_W
 | 
|---|
| 715 | am__isrc
 | 
|---|
| 716 | INSTALL_DATA
 | 
|---|
| 717 | INSTALL_SCRIPT
 | 
|---|
| 718 | INSTALL_PROGRAM
 | 
|---|
| 719 | AM_BACKSLASH
 | 
|---|
| 720 | AM_DEFAULT_VERBOSITY
 | 
|---|
| 721 | AM_DEFAULT_V
 | 
|---|
| 722 | AM_V
 | 
|---|
| 723 | target_alias
 | 
|---|
| 724 | host_alias
 | 
|---|
| 725 | build_alias
 | 
|---|
| 726 | LIBS
 | 
|---|
| 727 | ECHO_T
 | 
|---|
| 728 | ECHO_N
 | 
|---|
| 729 | ECHO_C
 | 
|---|
| 730 | DEFS
 | 
|---|
| 731 | mandir
 | 
|---|
| 732 | localedir
 | 
|---|
| 733 | libdir
 | 
|---|
| 734 | psdir
 | 
|---|
| 735 | pdfdir
 | 
|---|
| 736 | dvidir
 | 
|---|
| 737 | htmldir
 | 
|---|
| 738 | infodir
 | 
|---|
| 739 | docdir
 | 
|---|
| 740 | oldincludedir
 | 
|---|
| 741 | includedir
 | 
|---|
| 742 | runstatedir
 | 
|---|
| 743 | localstatedir
 | 
|---|
| 744 | sharedstatedir
 | 
|---|
| 745 | sysconfdir
 | 
|---|
| 746 | datadir
 | 
|---|
| 747 | datarootdir
 | 
|---|
| 748 | libexecdir
 | 
|---|
| 749 | sbindir
 | 
|---|
| 750 | bindir
 | 
|---|
| 751 | program_transform_name
 | 
|---|
| 752 | prefix
 | 
|---|
| 753 | exec_prefix
 | 
|---|
| 754 | PACKAGE_URL
 | 
|---|
| 755 | PACKAGE_BUGREPORT
 | 
|---|
| 756 | PACKAGE_STRING
 | 
|---|
| 757 | PACKAGE_VERSION
 | 
|---|
| 758 | PACKAGE_TARNAME
 | 
|---|
| 759 | PACKAGE_NAME
 | 
|---|
| 760 | PATH_SEPARATOR
 | 
|---|
| 761 | SHELL'
 | 
|---|
| 762 | ac_subst_files=''
 | 
|---|
| 763 | ac_user_opts='
 | 
|---|
| 764 | enable_option_checking
 | 
|---|
| 765 | enable_silent_rules
 | 
|---|
| 766 | enable_maintainer_mode
 | 
|---|
| 767 | with_cfa_name
 | 
|---|
| 768 | with_backend_compiler
 | 
|---|
| 769 | enable_target_release
 | 
|---|
| 770 | enable_target_debug
 | 
|---|
| 771 | enable_threading
 | 
|---|
| 772 | enable_dependency_tracking
 | 
|---|
| 773 | '
 | 
|---|
| 774 |       ac_precious_vars='build_alias
 | 
|---|
| 775 | host_alias
 | 
|---|
| 776 | target_alias
 | 
|---|
| 777 | CXX
 | 
|---|
| 778 | CXXFLAGS
 | 
|---|
| 779 | LDFLAGS
 | 
|---|
| 780 | LIBS
 | 
|---|
| 781 | CPPFLAGS
 | 
|---|
| 782 | CCC
 | 
|---|
| 783 | CC
 | 
|---|
| 784 | CFLAGS
 | 
|---|
| 785 | CCAS
 | 
|---|
| 786 | CCASFLAGS
 | 
|---|
| 787 | YACC
 | 
|---|
| 788 | YFLAGS
 | 
|---|
| 789 | CPP'
 | 
|---|
| 790 | 
 | 
|---|
| 791 | 
 | 
|---|
| 792 | # Initialize some variables set by options.
 | 
|---|
| 793 | ac_init_help=
 | 
|---|
| 794 | ac_init_version=false
 | 
|---|
| 795 | ac_unrecognized_opts=
 | 
|---|
| 796 | ac_unrecognized_sep=
 | 
|---|
| 797 | # The variables have the same names as the options, with
 | 
|---|
| 798 | # dashes changed to underlines.
 | 
|---|
| 799 | cache_file=/dev/null
 | 
|---|
| 800 | exec_prefix=NONE
 | 
|---|
| 801 | no_create=
 | 
|---|
| 802 | no_recursion=
 | 
|---|
| 803 | prefix=NONE
 | 
|---|
| 804 | program_prefix=NONE
 | 
|---|
| 805 | program_suffix=NONE
 | 
|---|
| 806 | program_transform_name=s,x,x,
 | 
|---|
| 807 | silent=
 | 
|---|
| 808 | site=
 | 
|---|
| 809 | srcdir=
 | 
|---|
| 810 | verbose=
 | 
|---|
| 811 | x_includes=NONE
 | 
|---|
| 812 | x_libraries=NONE
 | 
|---|
| 813 | 
 | 
|---|
| 814 | # Installation directory options.
 | 
|---|
| 815 | # These are left unexpanded so users can "make install exec_prefix=/foo"
 | 
|---|
| 816 | # and all the variables that are supposed to be based on exec_prefix
 | 
|---|
| 817 | # by default will actually change.
 | 
|---|
| 818 | # Use braces instead of parens because sh, perl, etc. also accept them.
 | 
|---|
| 819 | # (The list follows the same order as the GNU Coding Standards.)
 | 
|---|
| 820 | bindir='${exec_prefix}/bin'
 | 
|---|
| 821 | sbindir='${exec_prefix}/sbin'
 | 
|---|
| 822 | libexecdir='${exec_prefix}/libexec'
 | 
|---|
| 823 | datarootdir='${prefix}/share'
 | 
|---|
| 824 | datadir='${datarootdir}'
 | 
|---|
| 825 | sysconfdir='${prefix}/etc'
 | 
|---|
| 826 | sharedstatedir='${prefix}/com'
 | 
|---|
| 827 | localstatedir='${prefix}/var'
 | 
|---|
| 828 | runstatedir='${localstatedir}/run'
 | 
|---|
| 829 | includedir='${prefix}/include'
 | 
|---|
| 830 | oldincludedir='/usr/include'
 | 
|---|
| 831 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 | 
|---|
| 832 | infodir='${datarootdir}/info'
 | 
|---|
| 833 | htmldir='${docdir}'
 | 
|---|
| 834 | dvidir='${docdir}'
 | 
|---|
| 835 | pdfdir='${docdir}'
 | 
|---|
| 836 | psdir='${docdir}'
 | 
|---|
| 837 | libdir='${exec_prefix}/lib'
 | 
|---|
| 838 | localedir='${datarootdir}/locale'
 | 
|---|
| 839 | mandir='${datarootdir}/man'
 | 
|---|
| 840 | 
 | 
|---|
| 841 | ac_prev=
 | 
|---|
| 842 | ac_dashdash=
 | 
|---|
| 843 | for ac_option
 | 
|---|
| 844 | do
 | 
|---|
| 845 |   # If the previous option needs an argument, assign it.
 | 
|---|
| 846 |   if test -n "$ac_prev"; then
 | 
|---|
| 847 |     eval $ac_prev=\$ac_option
 | 
|---|
| 848 |     ac_prev=
 | 
|---|
| 849 |     continue
 | 
|---|
| 850 |   fi
 | 
|---|
| 851 | 
 | 
|---|
| 852 |   case $ac_option in
 | 
|---|
| 853 |   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 | 
|---|
| 854 |   *=)   ac_optarg= ;;
 | 
|---|
| 855 |   *)    ac_optarg=yes ;;
 | 
|---|
| 856 |   esac
 | 
|---|
| 857 | 
 | 
|---|
| 858 |   # Accept the important Cygnus configure options, so we can diagnose typos.
 | 
|---|
| 859 | 
 | 
|---|
| 860 |   case $ac_dashdash$ac_option in
 | 
|---|
| 861 |   --)
 | 
|---|
| 862 |     ac_dashdash=yes ;;
 | 
|---|
| 863 | 
 | 
|---|
| 864 |   -bindir | --bindir | --bindi | --bind | --bin | --bi)
 | 
|---|
| 865 |     ac_prev=bindir ;;
 | 
|---|
| 866 |   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 | 
|---|
| 867 |     bindir=$ac_optarg ;;
 | 
|---|
| 868 | 
 | 
|---|
| 869 |   -build | --build | --buil | --bui | --bu)
 | 
|---|
| 870 |     ac_prev=build_alias ;;
 | 
|---|
| 871 |   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 | 
|---|
| 872 |     build_alias=$ac_optarg ;;
 | 
|---|
| 873 | 
 | 
|---|
| 874 |   -cache-file | --cache-file | --cache-fil | --cache-fi \
 | 
|---|
| 875 |   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 | 
|---|
| 876 |     ac_prev=cache_file ;;
 | 
|---|
| 877 |   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 | 
|---|
| 878 |   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 | 
|---|
| 879 |     cache_file=$ac_optarg ;;
 | 
|---|
| 880 | 
 | 
|---|
| 881 |   --config-cache | -C)
 | 
|---|
| 882 |     cache_file=config.cache ;;
 | 
|---|
| 883 | 
 | 
|---|
| 884 |   -datadir | --datadir | --datadi | --datad)
 | 
|---|
| 885 |     ac_prev=datadir ;;
 | 
|---|
| 886 |   -datadir=* | --datadir=* | --datadi=* | --datad=*)
 | 
|---|
| 887 |     datadir=$ac_optarg ;;
 | 
|---|
| 888 | 
 | 
|---|
| 889 |   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 | 
|---|
| 890 |   | --dataroo | --dataro | --datar)
 | 
|---|
| 891 |     ac_prev=datarootdir ;;
 | 
|---|
| 892 |   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 | 
|---|
| 893 |   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 | 
|---|
| 894 |     datarootdir=$ac_optarg ;;
 | 
|---|
| 895 | 
 | 
|---|
| 896 |   -disable-* | --disable-*)
 | 
|---|
| 897 |     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 | 
|---|
| 898 |     # Reject names that are not valid shell variable names.
 | 
|---|
| 899 |     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 | 
|---|
| 900 |       as_fn_error $? "invalid feature name: $ac_useropt"
 | 
|---|
| 901 |     ac_useropt_orig=$ac_useropt
 | 
|---|
| 902 |     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 | 
|---|
| 903 |     case $ac_user_opts in
 | 
|---|
| 904 |       *"
 | 
|---|
| 905 | "enable_$ac_useropt"
 | 
|---|
| 906 | "*) ;;
 | 
|---|
| 907 |       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 | 
|---|
| 908 |          ac_unrecognized_sep=', ';;
 | 
|---|
| 909 |     esac
 | 
|---|
| 910 |     eval enable_$ac_useropt=no ;;
 | 
|---|
| 911 | 
 | 
|---|
| 912 |   -docdir | --docdir | --docdi | --doc | --do)
 | 
|---|
| 913 |     ac_prev=docdir ;;
 | 
|---|
| 914 |   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 | 
|---|
| 915 |     docdir=$ac_optarg ;;
 | 
|---|
| 916 | 
 | 
|---|
| 917 |   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 | 
|---|
| 918 |     ac_prev=dvidir ;;
 | 
|---|
| 919 |   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 | 
|---|
| 920 |     dvidir=$ac_optarg ;;
 | 
|---|
| 921 | 
 | 
|---|
| 922 |   -enable-* | --enable-*)
 | 
|---|
| 923 |     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 | 
|---|
| 924 |     # Reject names that are not valid shell variable names.
 | 
|---|
| 925 |     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 | 
|---|
| 926 |       as_fn_error $? "invalid feature name: $ac_useropt"
 | 
|---|
| 927 |     ac_useropt_orig=$ac_useropt
 | 
|---|
| 928 |     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 | 
|---|
| 929 |     case $ac_user_opts in
 | 
|---|
| 930 |       *"
 | 
|---|
| 931 | "enable_$ac_useropt"
 | 
|---|
| 932 | "*) ;;
 | 
|---|
| 933 |       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 | 
|---|
| 934 |          ac_unrecognized_sep=', ';;
 | 
|---|
| 935 |     esac
 | 
|---|
| 936 |     eval enable_$ac_useropt=\$ac_optarg ;;
 | 
|---|
| 937 | 
 | 
|---|
| 938 |   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 | 
|---|
| 939 |   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 | 
|---|
| 940 |   | --exec | --exe | --ex)
 | 
|---|
| 941 |     ac_prev=exec_prefix ;;
 | 
|---|
| 942 |   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 | 
|---|
| 943 |   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 | 
|---|
| 944 |   | --exec=* | --exe=* | --ex=*)
 | 
|---|
| 945 |     exec_prefix=$ac_optarg ;;
 | 
|---|
| 946 | 
 | 
|---|
| 947 |   -gas | --gas | --ga | --g)
 | 
|---|
| 948 |     # Obsolete; use --with-gas.
 | 
|---|
| 949 |     with_gas=yes ;;
 | 
|---|
| 950 | 
 | 
|---|
| 951 |   -help | --help | --hel | --he | -h)
 | 
|---|
| 952 |     ac_init_help=long ;;
 | 
|---|
| 953 |   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 | 
|---|
| 954 |     ac_init_help=recursive ;;
 | 
|---|
| 955 |   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 | 
|---|
| 956 |     ac_init_help=short ;;
 | 
|---|
| 957 | 
 | 
|---|
| 958 |   -host | --host | --hos | --ho)
 | 
|---|
| 959 |     ac_prev=host_alias ;;
 | 
|---|
| 960 |   -host=* | --host=* | --hos=* | --ho=*)
 | 
|---|
| 961 |     host_alias=$ac_optarg ;;
 | 
|---|
| 962 | 
 | 
|---|
| 963 |   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 | 
|---|
| 964 |     ac_prev=htmldir ;;
 | 
|---|
| 965 |   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 | 
|---|
| 966 |   | --ht=*)
 | 
|---|
| 967 |     htmldir=$ac_optarg ;;
 | 
|---|
| 968 | 
 | 
|---|
| 969 |   -includedir | --includedir | --includedi | --included | --include \
 | 
|---|
| 970 |   | --includ | --inclu | --incl | --inc)
 | 
|---|
| 971 |     ac_prev=includedir ;;
 | 
|---|
| 972 |   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 | 
|---|
| 973 |   | --includ=* | --inclu=* | --incl=* | --inc=*)
 | 
|---|
| 974 |     includedir=$ac_optarg ;;
 | 
|---|
| 975 | 
 | 
|---|
| 976 |   -infodir | --infodir | --infodi | --infod | --info | --inf)
 | 
|---|
| 977 |     ac_prev=infodir ;;
 | 
|---|
| 978 |   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 | 
|---|
| 979 |     infodir=$ac_optarg ;;
 | 
|---|
| 980 | 
 | 
|---|
| 981 |   -libdir | --libdir | --libdi | --libd)
 | 
|---|
| 982 |     ac_prev=libdir ;;
 | 
|---|
| 983 |   -libdir=* | --libdir=* | --libdi=* | --libd=*)
 | 
|---|
| 984 |     libdir=$ac_optarg ;;
 | 
|---|
| 985 | 
 | 
|---|
| 986 |   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 | 
|---|
| 987 |   | --libexe | --libex | --libe)
 | 
|---|
| 988 |     ac_prev=libexecdir ;;
 | 
|---|
| 989 |   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 | 
|---|
| 990 |   | --libexe=* | --libex=* | --libe=*)
 | 
|---|
| 991 |     libexecdir=$ac_optarg ;;
 | 
|---|
| 992 | 
 | 
|---|
| 993 |   -localedir | --localedir | --localedi | --localed | --locale)
 | 
|---|
| 994 |     ac_prev=localedir ;;
 | 
|---|
| 995 |   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 | 
|---|
| 996 |     localedir=$ac_optarg ;;
 | 
|---|
| 997 | 
 | 
|---|
| 998 |   -localstatedir | --localstatedir | --localstatedi | --localstated \
 | 
|---|
| 999 |   | --localstate | --localstat | --localsta | --localst | --locals)
 | 
|---|
| 1000 |     ac_prev=localstatedir ;;
 | 
|---|
| 1001 |   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 | 
|---|
| 1002 |   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 | 
|---|
| 1003 |     localstatedir=$ac_optarg ;;
 | 
|---|
| 1004 | 
 | 
|---|
| 1005 |   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 | 
|---|
| 1006 |     ac_prev=mandir ;;
 | 
|---|
| 1007 |   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 | 
|---|
| 1008 |     mandir=$ac_optarg ;;
 | 
|---|
| 1009 | 
 | 
|---|
| 1010 |   -nfp | --nfp | --nf)
 | 
|---|
| 1011 |     # Obsolete; use --without-fp.
 | 
|---|
| 1012 |     with_fp=no ;;
 | 
|---|
| 1013 | 
 | 
|---|
| 1014 |   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 | 
|---|
| 1015 |   | --no-cr | --no-c | -n)
 | 
|---|
| 1016 |     no_create=yes ;;
 | 
|---|
| 1017 | 
 | 
|---|
| 1018 |   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 | 
|---|
| 1019 |   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 | 
|---|
| 1020 |     no_recursion=yes ;;
 | 
|---|
| 1021 | 
 | 
|---|
| 1022 |   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 | 
|---|
| 1023 |   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 | 
|---|
| 1024 |   | --oldin | --oldi | --old | --ol | --o)
 | 
|---|
| 1025 |     ac_prev=oldincludedir ;;
 | 
|---|
| 1026 |   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 | 
|---|
| 1027 |   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 | 
|---|
| 1028 |   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 | 
|---|
| 1029 |     oldincludedir=$ac_optarg ;;
 | 
|---|
| 1030 | 
 | 
|---|
| 1031 |   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 | 
|---|
| 1032 |     ac_prev=prefix ;;
 | 
|---|
| 1033 |   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 | 
|---|
| 1034 |     prefix=$ac_optarg ;;
 | 
|---|
| 1035 | 
 | 
|---|
| 1036 |   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 | 
|---|
| 1037 |   | --program-pre | --program-pr | --program-p)
 | 
|---|
| 1038 |     ac_prev=program_prefix ;;
 | 
|---|
| 1039 |   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 | 
|---|
| 1040 |   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 | 
|---|
| 1041 |     program_prefix=$ac_optarg ;;
 | 
|---|
| 1042 | 
 | 
|---|
| 1043 |   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 | 
|---|
| 1044 |   | --program-suf | --program-su | --program-s)
 | 
|---|
| 1045 |     ac_prev=program_suffix ;;
 | 
|---|
| 1046 |   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 | 
|---|
| 1047 |   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 | 
|---|
| 1048 |     program_suffix=$ac_optarg ;;
 | 
|---|
| 1049 | 
 | 
|---|
| 1050 |   -program-transform-name | --program-transform-name \
 | 
|---|
| 1051 |   | --program-transform-nam | --program-transform-na \
 | 
|---|
| 1052 |   | --program-transform-n | --program-transform- \
 | 
|---|
| 1053 |   | --program-transform | --program-transfor \
 | 
|---|
| 1054 |   | --program-transfo | --program-transf \
 | 
|---|
| 1055 |   | --program-trans | --program-tran \
 | 
|---|
| 1056 |   | --progr-tra | --program-tr | --program-t)
 | 
|---|
| 1057 |     ac_prev=program_transform_name ;;
 | 
|---|
| 1058 |   -program-transform-name=* | --program-transform-name=* \
 | 
|---|
| 1059 |   | --program-transform-nam=* | --program-transform-na=* \
 | 
|---|
| 1060 |   | --program-transform-n=* | --program-transform-=* \
 | 
|---|
| 1061 |   | --program-transform=* | --program-transfor=* \
 | 
|---|
| 1062 |   | --program-transfo=* | --program-transf=* \
 | 
|---|
| 1063 |   | --program-trans=* | --program-tran=* \
 | 
|---|
| 1064 |   | --progr-tra=* | --program-tr=* | --program-t=*)
 | 
|---|
| 1065 |     program_transform_name=$ac_optarg ;;
 | 
|---|
| 1066 | 
 | 
|---|
| 1067 |   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 | 
|---|
| 1068 |     ac_prev=pdfdir ;;
 | 
|---|
| 1069 |   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 | 
|---|
| 1070 |     pdfdir=$ac_optarg ;;
 | 
|---|
| 1071 | 
 | 
|---|
| 1072 |   -psdir | --psdir | --psdi | --psd | --ps)
 | 
|---|
| 1073 |     ac_prev=psdir ;;
 | 
|---|
| 1074 |   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 | 
|---|
| 1075 |     psdir=$ac_optarg ;;
 | 
|---|
| 1076 | 
 | 
|---|
| 1077 |   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 | 
|---|
| 1078 |   | -silent | --silent | --silen | --sile | --sil)
 | 
|---|
| 1079 |     silent=yes ;;
 | 
|---|
| 1080 | 
 | 
|---|
| 1081 |   -runstatedir | --runstatedir | --runstatedi | --runstated \
 | 
|---|
| 1082 |   | --runstate | --runstat | --runsta | --runst | --runs \
 | 
|---|
| 1083 |   | --run | --ru | --r)
 | 
|---|
| 1084 |     ac_prev=runstatedir ;;
 | 
|---|
| 1085 |   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
 | 
|---|
| 1086 |   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
 | 
|---|
| 1087 |   | --run=* | --ru=* | --r=*)
 | 
|---|
| 1088 |     runstatedir=$ac_optarg ;;
 | 
|---|
| 1089 | 
 | 
|---|
| 1090 |   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 | 
|---|
| 1091 |     ac_prev=sbindir ;;
 | 
|---|
| 1092 |   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 | 
|---|
| 1093 |   | --sbi=* | --sb=*)
 | 
|---|
| 1094 |     sbindir=$ac_optarg ;;
 | 
|---|
| 1095 | 
 | 
|---|
| 1096 |   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 | 
|---|
| 1097 |   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 | 
|---|
| 1098 |   | --sharedst | --shareds | --shared | --share | --shar \
 | 
|---|
| 1099 |   | --sha | --sh)
 | 
|---|
| 1100 |     ac_prev=sharedstatedir ;;
 | 
|---|
| 1101 |   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 | 
|---|
| 1102 |   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 | 
|---|
| 1103 |   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 | 
|---|
| 1104 |   | --sha=* | --sh=*)
 | 
|---|
| 1105 |     sharedstatedir=$ac_optarg ;;
 | 
|---|
| 1106 | 
 | 
|---|
| 1107 |   -site | --site | --sit)
 | 
|---|
| 1108 |     ac_prev=site ;;
 | 
|---|
| 1109 |   -site=* | --site=* | --sit=*)
 | 
|---|
| 1110 |     site=$ac_optarg ;;
 | 
|---|
| 1111 | 
 | 
|---|
| 1112 |   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 | 
|---|
| 1113 |     ac_prev=srcdir ;;
 | 
|---|
| 1114 |   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 | 
|---|
| 1115 |     srcdir=$ac_optarg ;;
 | 
|---|
| 1116 | 
 | 
|---|
| 1117 |   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 | 
|---|
| 1118 |   | --syscon | --sysco | --sysc | --sys | --sy)
 | 
|---|
| 1119 |     ac_prev=sysconfdir ;;
 | 
|---|
| 1120 |   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 | 
|---|
| 1121 |   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 | 
|---|
| 1122 |     sysconfdir=$ac_optarg ;;
 | 
|---|
| 1123 | 
 | 
|---|
| 1124 |   -target | --target | --targe | --targ | --tar | --ta | --t)
 | 
|---|
| 1125 |     ac_prev=target_alias ;;
 | 
|---|
| 1126 |   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 | 
|---|
| 1127 |     target_alias=$ac_optarg ;;
 | 
|---|
| 1128 | 
 | 
|---|
| 1129 |   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 | 
|---|
| 1130 |     verbose=yes ;;
 | 
|---|
| 1131 | 
 | 
|---|
| 1132 |   -version | --version | --versio | --versi | --vers | -V)
 | 
|---|
| 1133 |     ac_init_version=: ;;
 | 
|---|
| 1134 | 
 | 
|---|
| 1135 |   -with-* | --with-*)
 | 
|---|
| 1136 |     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 | 
|---|
| 1137 |     # Reject names that are not valid shell variable names.
 | 
|---|
| 1138 |     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 | 
|---|
| 1139 |       as_fn_error $? "invalid package name: $ac_useropt"
 | 
|---|
| 1140 |     ac_useropt_orig=$ac_useropt
 | 
|---|
| 1141 |     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 | 
|---|
| 1142 |     case $ac_user_opts in
 | 
|---|
| 1143 |       *"
 | 
|---|
| 1144 | "with_$ac_useropt"
 | 
|---|
| 1145 | "*) ;;
 | 
|---|
| 1146 |       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 | 
|---|
| 1147 |          ac_unrecognized_sep=', ';;
 | 
|---|
| 1148 |     esac
 | 
|---|
| 1149 |     eval with_$ac_useropt=\$ac_optarg ;;
 | 
|---|
| 1150 | 
 | 
|---|
| 1151 |   -without-* | --without-*)
 | 
|---|
| 1152 |     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 | 
|---|
| 1153 |     # Reject names that are not valid shell variable names.
 | 
|---|
| 1154 |     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 | 
|---|
| 1155 |       as_fn_error $? "invalid package name: $ac_useropt"
 | 
|---|
| 1156 |     ac_useropt_orig=$ac_useropt
 | 
|---|
| 1157 |     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 | 
|---|
| 1158 |     case $ac_user_opts in
 | 
|---|
| 1159 |       *"
 | 
|---|
| 1160 | "with_$ac_useropt"
 | 
|---|
| 1161 | "*) ;;
 | 
|---|
| 1162 |       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 | 
|---|
| 1163 |          ac_unrecognized_sep=', ';;
 | 
|---|
| 1164 |     esac
 | 
|---|
| 1165 |     eval with_$ac_useropt=no ;;
 | 
|---|
| 1166 | 
 | 
|---|
| 1167 |   --x)
 | 
|---|
| 1168 |     # Obsolete; use --with-x.
 | 
|---|
| 1169 |     with_x=yes ;;
 | 
|---|
| 1170 | 
 | 
|---|
| 1171 |   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 | 
|---|
| 1172 |   | --x-incl | --x-inc | --x-in | --x-i)
 | 
|---|
| 1173 |     ac_prev=x_includes ;;
 | 
|---|
| 1174 |   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 | 
|---|
| 1175 |   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 | 
|---|
| 1176 |     x_includes=$ac_optarg ;;
 | 
|---|
| 1177 | 
 | 
|---|
| 1178 |   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 | 
|---|
| 1179 |   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 | 
|---|
| 1180 |     ac_prev=x_libraries ;;
 | 
|---|
| 1181 |   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 | 
|---|
| 1182 |   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 | 
|---|
| 1183 |     x_libraries=$ac_optarg ;;
 | 
|---|
| 1184 | 
 | 
|---|
| 1185 |   -*) as_fn_error $? "unrecognized option: \`$ac_option'
 | 
|---|
| 1186 | Try \`$0 --help' for more information"
 | 
|---|
| 1187 |     ;;
 | 
|---|
| 1188 | 
 | 
|---|
| 1189 |   *=*)
 | 
|---|
| 1190 |     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 | 
|---|
| 1191 |     # Reject names that are not valid shell variable names.
 | 
|---|
| 1192 |     case $ac_envvar in #(
 | 
|---|
| 1193 |       '' | [0-9]* | *[!_$as_cr_alnum]* )
 | 
|---|
| 1194 |       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 | 
|---|
| 1195 |     esac
 | 
|---|
| 1196 |     eval $ac_envvar=\$ac_optarg
 | 
|---|
| 1197 |     export $ac_envvar ;;
 | 
|---|
| 1198 | 
 | 
|---|
| 1199 |   *)
 | 
|---|
| 1200 |     # FIXME: should be removed in autoconf 3.0.
 | 
|---|
| 1201 |     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 | 
|---|
| 1202 |     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 | 
|---|
| 1203 |       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 | 
|---|
| 1204 |     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 | 
|---|
| 1205 |     ;;
 | 
|---|
| 1206 | 
 | 
|---|
| 1207 |   esac
 | 
|---|
| 1208 | done
 | 
|---|
| 1209 | 
 | 
|---|
| 1210 | if test -n "$ac_prev"; then
 | 
|---|
| 1211 |   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 | 
|---|
| 1212 |   as_fn_error $? "missing argument to $ac_option"
 | 
|---|
| 1213 | fi
 | 
|---|
| 1214 | 
 | 
|---|
| 1215 | if test -n "$ac_unrecognized_opts"; then
 | 
|---|
| 1216 |   case $enable_option_checking in
 | 
|---|
| 1217 |     no) ;;
 | 
|---|
| 1218 |     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 | 
|---|
| 1219 |     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 | 
|---|
| 1220 |   esac
 | 
|---|
| 1221 | fi
 | 
|---|
| 1222 | 
 | 
|---|
| 1223 | # Check all directory arguments for consistency.
 | 
|---|
| 1224 | for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 | 
|---|
| 1225 |                 datadir sysconfdir sharedstatedir localstatedir includedir \
 | 
|---|
| 1226 |                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 | 
|---|
| 1227 |                 libdir localedir mandir runstatedir
 | 
|---|
| 1228 | do
 | 
|---|
| 1229 |   eval ac_val=\$$ac_var
 | 
|---|
| 1230 |   # Remove trailing slashes.
 | 
|---|
| 1231 |   case $ac_val in
 | 
|---|
| 1232 |     */ )
 | 
|---|
| 1233 |       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 | 
|---|
| 1234 |       eval $ac_var=\$ac_val;;
 | 
|---|
| 1235 |   esac
 | 
|---|
| 1236 |   # Be sure to have absolute directory names.
 | 
|---|
| 1237 |   case $ac_val in
 | 
|---|
| 1238 |     [\\/$]* | ?:[\\/]* )  continue;;
 | 
|---|
| 1239 |     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 | 
|---|
| 1240 |   esac
 | 
|---|
| 1241 |   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 | 
|---|
| 1242 | done
 | 
|---|
| 1243 | 
 | 
|---|
| 1244 | # There might be people who depend on the old broken behavior: `$host'
 | 
|---|
| 1245 | # used to hold the argument of --host etc.
 | 
|---|
| 1246 | # FIXME: To remove some day.
 | 
|---|
| 1247 | build=$build_alias
 | 
|---|
| 1248 | host=$host_alias
 | 
|---|
| 1249 | target=$target_alias
 | 
|---|
| 1250 | 
 | 
|---|
| 1251 | # FIXME: To remove some day.
 | 
|---|
| 1252 | if test "x$host_alias" != x; then
 | 
|---|
| 1253 |   if test "x$build_alias" = x; then
 | 
|---|
| 1254 |     cross_compiling=maybe
 | 
|---|
| 1255 |   elif test "x$build_alias" != "x$host_alias"; then
 | 
|---|
| 1256 |     cross_compiling=yes
 | 
|---|
| 1257 |   fi
 | 
|---|
| 1258 | fi
 | 
|---|
| 1259 | 
 | 
|---|
| 1260 | ac_tool_prefix=
 | 
|---|
| 1261 | test -n "$host_alias" && ac_tool_prefix=$host_alias-
 | 
|---|
| 1262 | 
 | 
|---|
| 1263 | test "$silent" = yes && exec 6>/dev/null
 | 
|---|
| 1264 | 
 | 
|---|
| 1265 | 
 | 
|---|
| 1266 | ac_pwd=`pwd` && test -n "$ac_pwd" &&
 | 
|---|
| 1267 | ac_ls_di=`ls -di .` &&
 | 
|---|
| 1268 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 | 
|---|
| 1269 |   as_fn_error $? "working directory cannot be determined"
 | 
|---|
| 1270 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 | 
|---|
| 1271 |   as_fn_error $? "pwd does not report name of working directory"
 | 
|---|
| 1272 | 
 | 
|---|
| 1273 | 
 | 
|---|
| 1274 | # Find the source files, if location was not specified.
 | 
|---|
| 1275 | if test -z "$srcdir"; then
 | 
|---|
| 1276 |   ac_srcdir_defaulted=yes
 | 
|---|
| 1277 |   # Try the directory containing this script, then the parent directory.
 | 
|---|
| 1278 |   ac_confdir=`$as_dirname -- "$as_myself" ||
 | 
|---|
| 1279 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 | 
|---|
| 1280 |          X"$as_myself" : 'X\(//\)[^/]' \| \
 | 
|---|
| 1281 |          X"$as_myself" : 'X\(//\)$' \| \
 | 
|---|
| 1282 |          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 1283 | $as_echo X"$as_myself" |
 | 
|---|
| 1284 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 | 
|---|
| 1285 |             s//\1/
 | 
|---|
| 1286 |             q
 | 
|---|
| 1287 |           }
 | 
|---|
| 1288 |           /^X\(\/\/\)[^/].*/{
 | 
|---|
| 1289 |             s//\1/
 | 
|---|
| 1290 |             q
 | 
|---|
| 1291 |           }
 | 
|---|
| 1292 |           /^X\(\/\/\)$/{
 | 
|---|
| 1293 |             s//\1/
 | 
|---|
| 1294 |             q
 | 
|---|
| 1295 |           }
 | 
|---|
| 1296 |           /^X\(\/\).*/{
 | 
|---|
| 1297 |             s//\1/
 | 
|---|
| 1298 |             q
 | 
|---|
| 1299 |           }
 | 
|---|
| 1300 |           s/.*/./; q'`
 | 
|---|
| 1301 |   srcdir=$ac_confdir
 | 
|---|
| 1302 |   if test ! -r "$srcdir/$ac_unique_file"; then
 | 
|---|
| 1303 |     srcdir=..
 | 
|---|
| 1304 |   fi
 | 
|---|
| 1305 | else
 | 
|---|
| 1306 |   ac_srcdir_defaulted=no
 | 
|---|
| 1307 | fi
 | 
|---|
| 1308 | if test ! -r "$srcdir/$ac_unique_file"; then
 | 
|---|
| 1309 |   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 | 
|---|
| 1310 |   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 | 
|---|
| 1311 | fi
 | 
|---|
| 1312 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 | 
|---|
| 1313 | ac_abs_confdir=`(
 | 
|---|
| 1314 |         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 | 
|---|
| 1315 |         pwd)`
 | 
|---|
| 1316 | # When building in place, set srcdir=.
 | 
|---|
| 1317 | if test "$ac_abs_confdir" = "$ac_pwd"; then
 | 
|---|
| 1318 |   srcdir=.
 | 
|---|
| 1319 | fi
 | 
|---|
| 1320 | # Remove unnecessary trailing slashes from srcdir.
 | 
|---|
| 1321 | # Double slashes in file names in object file debugging info
 | 
|---|
| 1322 | # mess up M-x gdb in Emacs.
 | 
|---|
| 1323 | case $srcdir in
 | 
|---|
| 1324 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 | 
|---|
| 1325 | esac
 | 
|---|
| 1326 | for ac_var in $ac_precious_vars; do
 | 
|---|
| 1327 |   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 | 
|---|
| 1328 |   eval ac_env_${ac_var}_value=\$${ac_var}
 | 
|---|
| 1329 |   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 | 
|---|
| 1330 |   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 | 
|---|
| 1331 | done
 | 
|---|
| 1332 | 
 | 
|---|
| 1333 | #
 | 
|---|
| 1334 | # Report the --help message.
 | 
|---|
| 1335 | #
 | 
|---|
| 1336 | if test "$ac_init_help" = "long"; then
 | 
|---|
| 1337 |   # Omit some internal or obsolete options to make the list less imposing.
 | 
|---|
| 1338 |   # This message is too long to be a string in the A/UX 3.1 sh.
 | 
|---|
| 1339 |   cat <<_ACEOF
 | 
|---|
| 1340 | \`configure' configures cfa-cc 1.0.0.0 to adapt to many kinds of systems.
 | 
|---|
| 1341 | 
 | 
|---|
| 1342 | Usage: $0 [OPTION]... [VAR=VALUE]...
 | 
|---|
| 1343 | 
 | 
|---|
| 1344 | To assign environment variables (e.g., CC, CFLAGS...), specify them as
 | 
|---|
| 1345 | VAR=VALUE.  See below for descriptions of some of the useful variables.
 | 
|---|
| 1346 | 
 | 
|---|
| 1347 | Defaults for the options are specified in brackets.
 | 
|---|
| 1348 | 
 | 
|---|
| 1349 | Configuration:
 | 
|---|
| 1350 |   -h, --help              display this help and exit
 | 
|---|
| 1351 |       --help=short        display options specific to this package
 | 
|---|
| 1352 |       --help=recursive    display the short help of all the included packages
 | 
|---|
| 1353 |   -V, --version           display version information and exit
 | 
|---|
| 1354 |   -q, --quiet, --silent   do not print \`checking ...' messages
 | 
|---|
| 1355 |       --cache-file=FILE   cache test results in FILE [disabled]
 | 
|---|
| 1356 |   -C, --config-cache      alias for \`--cache-file=config.cache'
 | 
|---|
| 1357 |   -n, --no-create         do not create output files
 | 
|---|
| 1358 |       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 | 
|---|
| 1359 | 
 | 
|---|
| 1360 | Installation directories:
 | 
|---|
| 1361 |   --prefix=PREFIX         install architecture-independent files in PREFIX
 | 
|---|
| 1362 |                           [$ac_default_prefix]
 | 
|---|
| 1363 |   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 | 
|---|
| 1364 |                           [PREFIX]
 | 
|---|
| 1365 | 
 | 
|---|
| 1366 | By default, \`make install' will install all the files in
 | 
|---|
| 1367 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 | 
|---|
| 1368 | an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 | 
|---|
| 1369 | for instance \`--prefix=\$HOME'.
 | 
|---|
| 1370 | 
 | 
|---|
| 1371 | For better control, use the options below.
 | 
|---|
| 1372 | 
 | 
|---|
| 1373 | Fine tuning of the installation directories:
 | 
|---|
| 1374 |   --bindir=DIR            user executables [EPREFIX/bin]
 | 
|---|
| 1375 |   --sbindir=DIR           system admin executables [EPREFIX/sbin]
 | 
|---|
| 1376 |   --libexecdir=DIR        program executables [EPREFIX/libexec]
 | 
|---|
| 1377 |   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 | 
|---|
| 1378 |   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 | 
|---|
| 1379 |   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 | 
|---|
| 1380 |   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
 | 
|---|
| 1381 |   --libdir=DIR            object code libraries [EPREFIX/lib]
 | 
|---|
| 1382 |   --includedir=DIR        C header files [PREFIX/include]
 | 
|---|
| 1383 |   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 | 
|---|
| 1384 |   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 | 
|---|
| 1385 |   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 | 
|---|
| 1386 |   --infodir=DIR           info documentation [DATAROOTDIR/info]
 | 
|---|
| 1387 |   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 | 
|---|
| 1388 |   --mandir=DIR            man documentation [DATAROOTDIR/man]
 | 
|---|
| 1389 |   --docdir=DIR            documentation root [DATAROOTDIR/doc/cfa-cc]
 | 
|---|
| 1390 |   --htmldir=DIR           html documentation [DOCDIR]
 | 
|---|
| 1391 |   --dvidir=DIR            dvi documentation [DOCDIR]
 | 
|---|
| 1392 |   --pdfdir=DIR            pdf documentation [DOCDIR]
 | 
|---|
| 1393 |   --psdir=DIR             ps documentation [DOCDIR]
 | 
|---|
| 1394 | _ACEOF
 | 
|---|
| 1395 | 
 | 
|---|
| 1396 |   cat <<\_ACEOF
 | 
|---|
| 1397 | 
 | 
|---|
| 1398 | Program names:
 | 
|---|
| 1399 |   --program-prefix=PREFIX            prepend PREFIX to installed program names
 | 
|---|
| 1400 |   --program-suffix=SUFFIX            append SUFFIX to installed program names
 | 
|---|
| 1401 |   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 | 
|---|
| 1402 | 
 | 
|---|
| 1403 | System types:
 | 
|---|
| 1404 |   --build=BUILD     configure for building on BUILD [guessed]
 | 
|---|
| 1405 |   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 | 
|---|
| 1406 | _ACEOF
 | 
|---|
| 1407 | fi
 | 
|---|
| 1408 | 
 | 
|---|
| 1409 | if test -n "$ac_init_help"; then
 | 
|---|
| 1410 |   case $ac_init_help in
 | 
|---|
| 1411 |      short | recursive ) echo "Configuration of cfa-cc 1.0.0.0:";;
 | 
|---|
| 1412 |    esac
 | 
|---|
| 1413 |   cat <<\_ACEOF
 | 
|---|
| 1414 | 
 | 
|---|
| 1415 | Optional Features:
 | 
|---|
| 1416 |   --disable-option-checking  ignore unrecognized --enable/--with options
 | 
|---|
| 1417 |   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 | 
|---|
| 1418 |   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 | 
|---|
| 1419 |   --enable-silent-rules   less verbose build output (undo: "make V=1")
 | 
|---|
| 1420 |   --disable-silent-rules  verbose build output (undo: "make V=0")
 | 
|---|
| 1421 |   --disable-maintainer-mode
 | 
|---|
| 1422 |                           disable make rules and dependencies not useful (and
 | 
|---|
| 1423 |                           sometimes confusing) to the casual installer
 | 
|---|
| 1424 |   --enable-target-release Build and install the release target
 | 
|---|
| 1425 |   --enable-target-debug   Build and install the debug target
 | 
|---|
| 1426 |   --enable-threading      Build and install libcfa with threading support
 | 
|---|
| 1427 |                           (Enabled by default)
 | 
|---|
| 1428 |   --enable-dependency-tracking
 | 
|---|
| 1429 |                           do not reject slow dependency extractors
 | 
|---|
| 1430 |   --disable-dependency-tracking
 | 
|---|
| 1431 |                           speeds up one-time build
 | 
|---|
| 1432 | 
 | 
|---|
| 1433 | Optional Packages:
 | 
|---|
| 1434 |   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 | 
|---|
| 1435 |   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 | 
|---|
| 1436 |   --with-cfa-name=NAME     NAME too which cfa will be installed
 | 
|---|
| 1437 |   --with-backend-compiler=PROGRAM     PROGRAM that performs the final code compilation (must be gcc-compatible)
 | 
|---|
| 1438 | 
 | 
|---|
| 1439 | Some influential environment variables:
 | 
|---|
| 1440 |   CXX         C++ compiler command
 | 
|---|
| 1441 |   CXXFLAGS    C++ compiler flags
 | 
|---|
| 1442 |   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 | 
|---|
| 1443 |               nonstandard directory <lib dir>
 | 
|---|
| 1444 |   LIBS        libraries to pass to the linker, e.g. -l<library>
 | 
|---|
| 1445 |   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 | 
|---|
| 1446 |               you have headers in a nonstandard directory <include dir>
 | 
|---|
| 1447 |   CC          C compiler command
 | 
|---|
| 1448 |   CFLAGS      C compiler flags
 | 
|---|
| 1449 |   CCAS        assembler compiler command (defaults to CC)
 | 
|---|
| 1450 |   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
 | 
|---|
| 1451 |   YACC        The `Yet Another Compiler Compiler' implementation to use.
 | 
|---|
| 1452 |               Defaults to the first program found out of: `bison -y', `byacc',
 | 
|---|
| 1453 |               `yacc'.
 | 
|---|
| 1454 |   YFLAGS      The list of arguments that will be passed by default to $YACC.
 | 
|---|
| 1455 |               This script will default YFLAGS to the empty string to avoid a
 | 
|---|
| 1456 |               default value of `-d' given by some make applications.
 | 
|---|
| 1457 |   CPP         C preprocessor
 | 
|---|
| 1458 | 
 | 
|---|
| 1459 | Use these variables to override the choices made by `configure' or to help
 | 
|---|
| 1460 | it to find libraries and programs with nonstandard names/locations.
 | 
|---|
| 1461 | 
 | 
|---|
| 1462 | Report bugs to <cforall@plg.uwaterloo.ca>.
 | 
|---|
| 1463 | _ACEOF
 | 
|---|
| 1464 | ac_status=$?
 | 
|---|
| 1465 | fi
 | 
|---|
| 1466 | 
 | 
|---|
| 1467 | if test "$ac_init_help" = "recursive"; then
 | 
|---|
| 1468 |   # If there are subdirs, report their specific --help.
 | 
|---|
| 1469 |   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 | 
|---|
| 1470 |     test -d "$ac_dir" ||
 | 
|---|
| 1471 |       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 | 
|---|
| 1472 |       continue
 | 
|---|
| 1473 |     ac_builddir=.
 | 
|---|
| 1474 | 
 | 
|---|
| 1475 | case "$ac_dir" in
 | 
|---|
| 1476 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 | 
|---|
| 1477 | *)
 | 
|---|
| 1478 |   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 | 
|---|
| 1479 |   # A ".." for each directory in $ac_dir_suffix.
 | 
|---|
| 1480 |   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 | 
|---|
| 1481 |   case $ac_top_builddir_sub in
 | 
|---|
| 1482 |   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 | 
|---|
| 1483 |   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 | 
|---|
| 1484 |   esac ;;
 | 
|---|
| 1485 | esac
 | 
|---|
| 1486 | ac_abs_top_builddir=$ac_pwd
 | 
|---|
| 1487 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
 | 
|---|
| 1488 | # for backward compatibility:
 | 
|---|
| 1489 | ac_top_builddir=$ac_top_build_prefix
 | 
|---|
| 1490 | 
 | 
|---|
| 1491 | case $srcdir in
 | 
|---|
| 1492 |   .)  # We are building in place.
 | 
|---|
| 1493 |     ac_srcdir=.
 | 
|---|
| 1494 |     ac_top_srcdir=$ac_top_builddir_sub
 | 
|---|
| 1495 |     ac_abs_top_srcdir=$ac_pwd ;;
 | 
|---|
| 1496 |   [\\/]* | ?:[\\/]* )  # Absolute name.
 | 
|---|
| 1497 |     ac_srcdir=$srcdir$ac_dir_suffix;
 | 
|---|
| 1498 |     ac_top_srcdir=$srcdir
 | 
|---|
| 1499 |     ac_abs_top_srcdir=$srcdir ;;
 | 
|---|
| 1500 |   *) # Relative name.
 | 
|---|
| 1501 |     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 | 
|---|
| 1502 |     ac_top_srcdir=$ac_top_build_prefix$srcdir
 | 
|---|
| 1503 |     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 | 
|---|
| 1504 | esac
 | 
|---|
| 1505 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 | 
|---|
| 1506 | 
 | 
|---|
| 1507 |     cd "$ac_dir" || { ac_status=$?; continue; }
 | 
|---|
| 1508 |     # Check for guested configure.
 | 
|---|
| 1509 |     if test -f "$ac_srcdir/configure.gnu"; then
 | 
|---|
| 1510 |       echo &&
 | 
|---|
| 1511 |       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 | 
|---|
| 1512 |     elif test -f "$ac_srcdir/configure"; then
 | 
|---|
| 1513 |       echo &&
 | 
|---|
| 1514 |       $SHELL "$ac_srcdir/configure" --help=recursive
 | 
|---|
| 1515 |     else
 | 
|---|
| 1516 |       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 | 
|---|
| 1517 |     fi || ac_status=$?
 | 
|---|
| 1518 |     cd "$ac_pwd" || { ac_status=$?; break; }
 | 
|---|
| 1519 |   done
 | 
|---|
| 1520 | fi
 | 
|---|
| 1521 | 
 | 
|---|
| 1522 | test -n "$ac_init_help" && exit $ac_status
 | 
|---|
| 1523 | if $ac_init_version; then
 | 
|---|
| 1524 |   cat <<\_ACEOF
 | 
|---|
| 1525 | cfa-cc configure 1.0.0.0
 | 
|---|
| 1526 | generated by GNU Autoconf 2.69
 | 
|---|
| 1527 | 
 | 
|---|
| 1528 | Copyright (C) 2012 Free Software Foundation, Inc.
 | 
|---|
| 1529 | This configure script is free software; the Free Software Foundation
 | 
|---|
| 1530 | gives unlimited permission to copy, distribute and modify it.
 | 
|---|
| 1531 | _ACEOF
 | 
|---|
| 1532 |   exit
 | 
|---|
| 1533 | fi
 | 
|---|
| 1534 | 
 | 
|---|
| 1535 | ## ------------------------ ##
 | 
|---|
| 1536 | ## Autoconf initialization. ##
 | 
|---|
| 1537 | ## ------------------------ ##
 | 
|---|
| 1538 | 
 | 
|---|
| 1539 | # ac_fn_cxx_try_compile LINENO
 | 
|---|
| 1540 | # ----------------------------
 | 
|---|
| 1541 | # Try to compile conftest.$ac_ext, and return whether this succeeded.
 | 
|---|
| 1542 | ac_fn_cxx_try_compile ()
 | 
|---|
| 1543 | {
 | 
|---|
| 1544 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1545 |   rm -f conftest.$ac_objext
 | 
|---|
| 1546 |   if { { ac_try="$ac_compile"
 | 
|---|
| 1547 | case "(($ac_try" in
 | 
|---|
| 1548 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 1549 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 1550 | esac
 | 
|---|
| 1551 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 1552 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 1553 |   (eval "$ac_compile") 2>conftest.err
 | 
|---|
| 1554 |   ac_status=$?
 | 
|---|
| 1555 |   if test -s conftest.err; then
 | 
|---|
| 1556 |     grep -v '^ *+' conftest.err >conftest.er1
 | 
|---|
| 1557 |     cat conftest.er1 >&5
 | 
|---|
| 1558 |     mv -f conftest.er1 conftest.err
 | 
|---|
| 1559 |   fi
 | 
|---|
| 1560 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 1561 |   test $ac_status = 0; } && {
 | 
|---|
| 1562 |          test -z "$ac_cxx_werror_flag" ||
 | 
|---|
| 1563 |          test ! -s conftest.err
 | 
|---|
| 1564 |        } && test -s conftest.$ac_objext; then :
 | 
|---|
| 1565 |   ac_retval=0
 | 
|---|
| 1566 | else
 | 
|---|
| 1567 |   $as_echo "$as_me: failed program was:" >&5
 | 
|---|
| 1568 | sed 's/^/| /' conftest.$ac_ext >&5
 | 
|---|
| 1569 | 
 | 
|---|
| 1570 |         ac_retval=1
 | 
|---|
| 1571 | fi
 | 
|---|
| 1572 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1573 |   as_fn_set_status $ac_retval
 | 
|---|
| 1574 | 
 | 
|---|
| 1575 | } # ac_fn_cxx_try_compile
 | 
|---|
| 1576 | 
 | 
|---|
| 1577 | # ac_fn_c_try_compile LINENO
 | 
|---|
| 1578 | # --------------------------
 | 
|---|
| 1579 | # Try to compile conftest.$ac_ext, and return whether this succeeded.
 | 
|---|
| 1580 | ac_fn_c_try_compile ()
 | 
|---|
| 1581 | {
 | 
|---|
| 1582 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1583 |   rm -f conftest.$ac_objext
 | 
|---|
| 1584 |   if { { ac_try="$ac_compile"
 | 
|---|
| 1585 | case "(($ac_try" in
 | 
|---|
| 1586 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 1587 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 1588 | esac
 | 
|---|
| 1589 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 1590 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 1591 |   (eval "$ac_compile") 2>conftest.err
 | 
|---|
| 1592 |   ac_status=$?
 | 
|---|
| 1593 |   if test -s conftest.err; then
 | 
|---|
| 1594 |     grep -v '^ *+' conftest.err >conftest.er1
 | 
|---|
| 1595 |     cat conftest.er1 >&5
 | 
|---|
| 1596 |     mv -f conftest.er1 conftest.err
 | 
|---|
| 1597 |   fi
 | 
|---|
| 1598 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 1599 |   test $ac_status = 0; } && {
 | 
|---|
| 1600 |          test -z "$ac_c_werror_flag" ||
 | 
|---|
| 1601 |          test ! -s conftest.err
 | 
|---|
| 1602 |        } && test -s conftest.$ac_objext; then :
 | 
|---|
| 1603 |   ac_retval=0
 | 
|---|
| 1604 | else
 | 
|---|
| 1605 |   $as_echo "$as_me: failed program was:" >&5
 | 
|---|
| 1606 | sed 's/^/| /' conftest.$ac_ext >&5
 | 
|---|
| 1607 | 
 | 
|---|
| 1608 |         ac_retval=1
 | 
|---|
| 1609 | fi
 | 
|---|
| 1610 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1611 |   as_fn_set_status $ac_retval
 | 
|---|
| 1612 | 
 | 
|---|
| 1613 | } # ac_fn_c_try_compile
 | 
|---|
| 1614 | 
 | 
|---|
| 1615 | # ac_fn_c_try_link LINENO
 | 
|---|
| 1616 | # -----------------------
 | 
|---|
| 1617 | # Try to link conftest.$ac_ext, and return whether this succeeded.
 | 
|---|
| 1618 | ac_fn_c_try_link ()
 | 
|---|
| 1619 | {
 | 
|---|
| 1620 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1621 |   rm -f conftest.$ac_objext conftest$ac_exeext
 | 
|---|
| 1622 |   if { { ac_try="$ac_link"
 | 
|---|
| 1623 | case "(($ac_try" in
 | 
|---|
| 1624 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 1625 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 1626 | esac
 | 
|---|
| 1627 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 1628 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 1629 |   (eval "$ac_link") 2>conftest.err
 | 
|---|
| 1630 |   ac_status=$?
 | 
|---|
| 1631 |   if test -s conftest.err; then
 | 
|---|
| 1632 |     grep -v '^ *+' conftest.err >conftest.er1
 | 
|---|
| 1633 |     cat conftest.er1 >&5
 | 
|---|
| 1634 |     mv -f conftest.er1 conftest.err
 | 
|---|
| 1635 |   fi
 | 
|---|
| 1636 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 1637 |   test $ac_status = 0; } && {
 | 
|---|
| 1638 |          test -z "$ac_c_werror_flag" ||
 | 
|---|
| 1639 |          test ! -s conftest.err
 | 
|---|
| 1640 |        } && test -s conftest$ac_exeext && {
 | 
|---|
| 1641 |          test "$cross_compiling" = yes ||
 | 
|---|
| 1642 |          test -x conftest$ac_exeext
 | 
|---|
| 1643 |        }; then :
 | 
|---|
| 1644 |   ac_retval=0
 | 
|---|
| 1645 | else
 | 
|---|
| 1646 |   $as_echo "$as_me: failed program was:" >&5
 | 
|---|
| 1647 | sed 's/^/| /' conftest.$ac_ext >&5
 | 
|---|
| 1648 | 
 | 
|---|
| 1649 |         ac_retval=1
 | 
|---|
| 1650 | fi
 | 
|---|
| 1651 |   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 | 
|---|
| 1652 |   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 | 
|---|
| 1653 |   # interfere with the next link command; also delete a directory that is
 | 
|---|
| 1654 |   # left behind by Apple's compiler.  We do this before executing the actions.
 | 
|---|
| 1655 |   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 | 
|---|
| 1656 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1657 |   as_fn_set_status $ac_retval
 | 
|---|
| 1658 | 
 | 
|---|
| 1659 | } # ac_fn_c_try_link
 | 
|---|
| 1660 | 
 | 
|---|
| 1661 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 | 
|---|
| 1662 | # -------------------------------------------
 | 
|---|
| 1663 | # Tests whether TYPE exists after having included INCLUDES, setting cache
 | 
|---|
| 1664 | # variable VAR accordingly.
 | 
|---|
| 1665 | ac_fn_c_check_type ()
 | 
|---|
| 1666 | {
 | 
|---|
| 1667 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1668 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 | 
|---|
| 1669 | $as_echo_n "checking for $2... " >&6; }
 | 
|---|
| 1670 | if eval \${$3+:} false; then :
 | 
|---|
| 1671 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 1672 | else
 | 
|---|
| 1673 |   eval "$3=no"
 | 
|---|
| 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 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 1688 | /* end confdefs.h.  */
 | 
|---|
| 1689 | $4
 | 
|---|
| 1690 | int
 | 
|---|
| 1691 | main ()
 | 
|---|
| 1692 | {
 | 
|---|
| 1693 | if (sizeof (($2)))
 | 
|---|
| 1694 |             return 0;
 | 
|---|
| 1695 |   ;
 | 
|---|
| 1696 |   return 0;
 | 
|---|
| 1697 | }
 | 
|---|
| 1698 | _ACEOF
 | 
|---|
| 1699 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 1700 | 
 | 
|---|
| 1701 | else
 | 
|---|
| 1702 |   eval "$3=yes"
 | 
|---|
| 1703 | fi
 | 
|---|
| 1704 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 1705 | fi
 | 
|---|
| 1706 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 1707 | fi
 | 
|---|
| 1708 | eval ac_res=\$$3
 | 
|---|
| 1709 |                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 | 
|---|
| 1710 | $as_echo "$ac_res" >&6; }
 | 
|---|
| 1711 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1712 | 
 | 
|---|
| 1713 | } # ac_fn_c_check_type
 | 
|---|
| 1714 | 
 | 
|---|
| 1715 | # ac_fn_c_try_cpp LINENO
 | 
|---|
| 1716 | # ----------------------
 | 
|---|
| 1717 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 | 
|---|
| 1718 | ac_fn_c_try_cpp ()
 | 
|---|
| 1719 | {
 | 
|---|
| 1720 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1721 |   if { { ac_try="$ac_cpp conftest.$ac_ext"
 | 
|---|
| 1722 | case "(($ac_try" in
 | 
|---|
| 1723 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 1724 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 1725 | esac
 | 
|---|
| 1726 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 1727 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 1728 |   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 | 
|---|
| 1729 |   ac_status=$?
 | 
|---|
| 1730 |   if test -s conftest.err; then
 | 
|---|
| 1731 |     grep -v '^ *+' conftest.err >conftest.er1
 | 
|---|
| 1732 |     cat conftest.er1 >&5
 | 
|---|
| 1733 |     mv -f conftest.er1 conftest.err
 | 
|---|
| 1734 |   fi
 | 
|---|
| 1735 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 1736 |   test $ac_status = 0; } > conftest.i && {
 | 
|---|
| 1737 |          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 | 
|---|
| 1738 |          test ! -s conftest.err
 | 
|---|
| 1739 |        }; then :
 | 
|---|
| 1740 |   ac_retval=0
 | 
|---|
| 1741 | else
 | 
|---|
| 1742 |   $as_echo "$as_me: failed program was:" >&5
 | 
|---|
| 1743 | sed 's/^/| /' conftest.$ac_ext >&5
 | 
|---|
| 1744 | 
 | 
|---|
| 1745 |     ac_retval=1
 | 
|---|
| 1746 | fi
 | 
|---|
| 1747 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1748 |   as_fn_set_status $ac_retval
 | 
|---|
| 1749 | 
 | 
|---|
| 1750 | } # ac_fn_c_try_cpp
 | 
|---|
| 1751 | 
 | 
|---|
| 1752 | # ac_fn_c_try_run LINENO
 | 
|---|
| 1753 | # ----------------------
 | 
|---|
| 1754 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 | 
|---|
| 1755 | # that executables *can* be run.
 | 
|---|
| 1756 | ac_fn_c_try_run ()
 | 
|---|
| 1757 | {
 | 
|---|
| 1758 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1759 |   if { { ac_try="$ac_link"
 | 
|---|
| 1760 | case "(($ac_try" in
 | 
|---|
| 1761 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 1762 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 1763 | esac
 | 
|---|
| 1764 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 1765 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 1766 |   (eval "$ac_link") 2>&5
 | 
|---|
| 1767 |   ac_status=$?
 | 
|---|
| 1768 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 1769 |   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 | 
|---|
| 1770 |   { { case "(($ac_try" in
 | 
|---|
| 1771 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 1772 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 1773 | esac
 | 
|---|
| 1774 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 1775 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 1776 |   (eval "$ac_try") 2>&5
 | 
|---|
| 1777 |   ac_status=$?
 | 
|---|
| 1778 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 1779 |   test $ac_status = 0; }; }; then :
 | 
|---|
| 1780 |   ac_retval=0
 | 
|---|
| 1781 | else
 | 
|---|
| 1782 |   $as_echo "$as_me: program exited with status $ac_status" >&5
 | 
|---|
| 1783 |        $as_echo "$as_me: failed program was:" >&5
 | 
|---|
| 1784 | sed 's/^/| /' conftest.$ac_ext >&5
 | 
|---|
| 1785 | 
 | 
|---|
| 1786 |        ac_retval=$ac_status
 | 
|---|
| 1787 | fi
 | 
|---|
| 1788 |   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 | 
|---|
| 1789 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1790 |   as_fn_set_status $ac_retval
 | 
|---|
| 1791 | 
 | 
|---|
| 1792 | } # ac_fn_c_try_run
 | 
|---|
| 1793 | 
 | 
|---|
| 1794 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 | 
|---|
| 1795 | # -------------------------------------------------------
 | 
|---|
| 1796 | # Tests whether HEADER exists and can be compiled using the include files in
 | 
|---|
| 1797 | # INCLUDES, setting the cache variable VAR accordingly.
 | 
|---|
| 1798 | ac_fn_c_check_header_compile ()
 | 
|---|
| 1799 | {
 | 
|---|
| 1800 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1801 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 | 
|---|
| 1802 | $as_echo_n "checking for $2... " >&6; }
 | 
|---|
| 1803 | if eval \${$3+:} false; then :
 | 
|---|
| 1804 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 1805 | else
 | 
|---|
| 1806 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 1807 | /* end confdefs.h.  */
 | 
|---|
| 1808 | $4
 | 
|---|
| 1809 | #include <$2>
 | 
|---|
| 1810 | _ACEOF
 | 
|---|
| 1811 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 1812 |   eval "$3=yes"
 | 
|---|
| 1813 | else
 | 
|---|
| 1814 |   eval "$3=no"
 | 
|---|
| 1815 | fi
 | 
|---|
| 1816 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 1817 | fi
 | 
|---|
| 1818 | eval ac_res=\$$3
 | 
|---|
| 1819 |                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 | 
|---|
| 1820 | $as_echo "$ac_res" >&6; }
 | 
|---|
| 1821 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1822 | 
 | 
|---|
| 1823 | } # ac_fn_c_check_header_compile
 | 
|---|
| 1824 | 
 | 
|---|
| 1825 | # ac_fn_c_check_func LINENO FUNC VAR
 | 
|---|
| 1826 | # ----------------------------------
 | 
|---|
| 1827 | # Tests whether FUNC exists, setting the cache variable VAR accordingly
 | 
|---|
| 1828 | ac_fn_c_check_func ()
 | 
|---|
| 1829 | {
 | 
|---|
| 1830 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1831 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 | 
|---|
| 1832 | $as_echo_n "checking for $2... " >&6; }
 | 
|---|
| 1833 | if eval \${$3+:} false; then :
 | 
|---|
| 1834 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 1835 | else
 | 
|---|
| 1836 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 1837 | /* end confdefs.h.  */
 | 
|---|
| 1838 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 | 
|---|
| 1839 |    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 | 
|---|
| 1840 | #define $2 innocuous_$2
 | 
|---|
| 1841 | 
 | 
|---|
| 1842 | /* System header to define __stub macros and hopefully few prototypes,
 | 
|---|
| 1843 |     which can conflict with char $2 (); below.
 | 
|---|
| 1844 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 | 
|---|
| 1845 |     <limits.h> exists even on freestanding compilers.  */
 | 
|---|
| 1846 | 
 | 
|---|
| 1847 | #ifdef __STDC__
 | 
|---|
| 1848 | # include <limits.h>
 | 
|---|
| 1849 | #else
 | 
|---|
| 1850 | # include <assert.h>
 | 
|---|
| 1851 | #endif
 | 
|---|
| 1852 | 
 | 
|---|
| 1853 | #undef $2
 | 
|---|
| 1854 | 
 | 
|---|
| 1855 | /* Override any GCC internal prototype to avoid an error.
 | 
|---|
| 1856 |    Use char because int might match the return type of a GCC
 | 
|---|
| 1857 |    builtin and then its argument prototype would still apply.  */
 | 
|---|
| 1858 | #ifdef __cplusplus
 | 
|---|
| 1859 | extern "C"
 | 
|---|
| 1860 | #endif
 | 
|---|
| 1861 | char $2 ();
 | 
|---|
| 1862 | /* The GNU C library defines this for functions which it implements
 | 
|---|
| 1863 |     to always fail with ENOSYS.  Some functions are actually named
 | 
|---|
| 1864 |     something starting with __ and the normal name is an alias.  */
 | 
|---|
| 1865 | #if defined __stub_$2 || defined __stub___$2
 | 
|---|
| 1866 | choke me
 | 
|---|
| 1867 | #endif
 | 
|---|
| 1868 | 
 | 
|---|
| 1869 | int
 | 
|---|
| 1870 | main ()
 | 
|---|
| 1871 | {
 | 
|---|
| 1872 | return $2 ();
 | 
|---|
| 1873 |   ;
 | 
|---|
| 1874 |   return 0;
 | 
|---|
| 1875 | }
 | 
|---|
| 1876 | _ACEOF
 | 
|---|
| 1877 | if ac_fn_c_try_link "$LINENO"; then :
 | 
|---|
| 1878 |   eval "$3=yes"
 | 
|---|
| 1879 | else
 | 
|---|
| 1880 |   eval "$3=no"
 | 
|---|
| 1881 | fi
 | 
|---|
| 1882 | rm -f core conftest.err conftest.$ac_objext \
 | 
|---|
| 1883 |     conftest$ac_exeext conftest.$ac_ext
 | 
|---|
| 1884 | fi
 | 
|---|
| 1885 | eval ac_res=\$$3
 | 
|---|
| 1886 |                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 | 
|---|
| 1887 | $as_echo "$ac_res" >&6; }
 | 
|---|
| 1888 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1889 | 
 | 
|---|
| 1890 | } # ac_fn_c_check_func
 | 
|---|
| 1891 | 
 | 
|---|
| 1892 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 | 
|---|
| 1893 | # -------------------------------------------------------
 | 
|---|
| 1894 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using
 | 
|---|
| 1895 | # the include files in INCLUDES and setting the cache variable VAR
 | 
|---|
| 1896 | # accordingly.
 | 
|---|
| 1897 | ac_fn_c_check_header_mongrel ()
 | 
|---|
| 1898 | {
 | 
|---|
| 1899 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1900 |   if eval \${$3+:} false; then :
 | 
|---|
| 1901 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 | 
|---|
| 1902 | $as_echo_n "checking for $2... " >&6; }
 | 
|---|
| 1903 | if eval \${$3+:} false; then :
 | 
|---|
| 1904 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 1905 | fi
 | 
|---|
| 1906 | eval ac_res=\$$3
 | 
|---|
| 1907 |                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 | 
|---|
| 1908 | $as_echo "$ac_res" >&6; }
 | 
|---|
| 1909 | else
 | 
|---|
| 1910 |   # Is the header compilable?
 | 
|---|
| 1911 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 | 
|---|
| 1912 | $as_echo_n "checking $2 usability... " >&6; }
 | 
|---|
| 1913 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 1914 | /* end confdefs.h.  */
 | 
|---|
| 1915 | $4
 | 
|---|
| 1916 | #include <$2>
 | 
|---|
| 1917 | _ACEOF
 | 
|---|
| 1918 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 1919 |   ac_header_compiler=yes
 | 
|---|
| 1920 | else
 | 
|---|
| 1921 |   ac_header_compiler=no
 | 
|---|
| 1922 | fi
 | 
|---|
| 1923 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 1924 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 | 
|---|
| 1925 | $as_echo "$ac_header_compiler" >&6; }
 | 
|---|
| 1926 | 
 | 
|---|
| 1927 | # Is the header present?
 | 
|---|
| 1928 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 | 
|---|
| 1929 | $as_echo_n "checking $2 presence... " >&6; }
 | 
|---|
| 1930 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 1931 | /* end confdefs.h.  */
 | 
|---|
| 1932 | #include <$2>
 | 
|---|
| 1933 | _ACEOF
 | 
|---|
| 1934 | if ac_fn_c_try_cpp "$LINENO"; then :
 | 
|---|
| 1935 |   ac_header_preproc=yes
 | 
|---|
| 1936 | else
 | 
|---|
| 1937 |   ac_header_preproc=no
 | 
|---|
| 1938 | fi
 | 
|---|
| 1939 | rm -f conftest.err conftest.i conftest.$ac_ext
 | 
|---|
| 1940 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 | 
|---|
| 1941 | $as_echo "$ac_header_preproc" >&6; }
 | 
|---|
| 1942 | 
 | 
|---|
| 1943 | # So?  What about this header?
 | 
|---|
| 1944 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 | 
|---|
| 1945 |   yes:no: )
 | 
|---|
| 1946 |     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 | 
|---|
| 1947 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 | 
|---|
| 1948 |     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 | 
|---|
| 1949 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 | 
|---|
| 1950 |     ;;
 | 
|---|
| 1951 |   no:yes:* )
 | 
|---|
| 1952 |     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 | 
|---|
| 1953 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 | 
|---|
| 1954 |     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 | 
|---|
| 1955 | $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 | 
|---|
| 1956 |     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 | 
|---|
| 1957 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 | 
|---|
| 1958 |     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 | 
|---|
| 1959 | $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 | 
|---|
| 1960 |     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 | 
|---|
| 1961 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 | 
|---|
| 1962 | ( $as_echo "## --------------------------------------- ##
 | 
|---|
| 1963 | ## Report this to cforall@plg.uwaterloo.ca ##
 | 
|---|
| 1964 | ## --------------------------------------- ##"
 | 
|---|
| 1965 |      ) | sed "s/^/$as_me: WARNING:     /" >&2
 | 
|---|
| 1966 |     ;;
 | 
|---|
| 1967 | esac
 | 
|---|
| 1968 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 | 
|---|
| 1969 | $as_echo_n "checking for $2... " >&6; }
 | 
|---|
| 1970 | if eval \${$3+:} false; then :
 | 
|---|
| 1971 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 1972 | else
 | 
|---|
| 1973 |   eval "$3=\$ac_header_compiler"
 | 
|---|
| 1974 | fi
 | 
|---|
| 1975 | eval ac_res=\$$3
 | 
|---|
| 1976 |                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 | 
|---|
| 1977 | $as_echo "$ac_res" >&6; }
 | 
|---|
| 1978 | fi
 | 
|---|
| 1979 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1980 | 
 | 
|---|
| 1981 | } # ac_fn_c_check_header_mongrel
 | 
|---|
| 1982 | 
 | 
|---|
| 1983 | # ac_fn_c_find_intX_t LINENO BITS VAR
 | 
|---|
| 1984 | # -----------------------------------
 | 
|---|
| 1985 | # Finds a signed integer type with width BITS, setting cache variable VAR
 | 
|---|
| 1986 | # accordingly.
 | 
|---|
| 1987 | ac_fn_c_find_intX_t ()
 | 
|---|
| 1988 | {
 | 
|---|
| 1989 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1990 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
 | 
|---|
| 1991 | $as_echo_n "checking for int$2_t... " >&6; }
 | 
|---|
| 1992 | if eval \${$3+:} false; then :
 | 
|---|
| 1993 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 1994 | else
 | 
|---|
| 1995 |   eval "$3=no"
 | 
|---|
| 1996 |      # Order is important - never check a type that is potentially smaller
 | 
|---|
| 1997 |      # than half of the expected target width.
 | 
|---|
| 1998 |      for ac_type in int$2_t 'int' 'long int' \
 | 
|---|
| 1999 |          'long long int' 'short int' 'signed char'; do
 | 
|---|
| 2000 |        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 2001 | /* end confdefs.h.  */
 | 
|---|
| 2002 | $ac_includes_default
 | 
|---|
| 2003 |              enum { N = $2 / 2 - 1 };
 | 
|---|
| 2004 | int
 | 
|---|
| 2005 | main ()
 | 
|---|
| 2006 | {
 | 
|---|
| 2007 | static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
 | 
|---|
| 2008 | test_array [0] = 0;
 | 
|---|
| 2009 | return test_array [0];
 | 
|---|
| 2010 | 
 | 
|---|
| 2011 |   ;
 | 
|---|
| 2012 |   return 0;
 | 
|---|
| 2013 | }
 | 
|---|
| 2014 | _ACEOF
 | 
|---|
| 2015 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 2016 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 2017 | /* end confdefs.h.  */
 | 
|---|
| 2018 | $ac_includes_default
 | 
|---|
| 2019 |                 enum { N = $2 / 2 - 1 };
 | 
|---|
| 2020 | int
 | 
|---|
| 2021 | main ()
 | 
|---|
| 2022 | {
 | 
|---|
| 2023 | static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
 | 
|---|
| 2024 |                  < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
 | 
|---|
| 2025 | test_array [0] = 0;
 | 
|---|
| 2026 | return test_array [0];
 | 
|---|
| 2027 | 
 | 
|---|
| 2028 |   ;
 | 
|---|
| 2029 |   return 0;
 | 
|---|
| 2030 | }
 | 
|---|
| 2031 | _ACEOF
 | 
|---|
| 2032 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 2033 | 
 | 
|---|
| 2034 | else
 | 
|---|
| 2035 |   case $ac_type in #(
 | 
|---|
| 2036 |   int$2_t) :
 | 
|---|
| 2037 |     eval "$3=yes" ;; #(
 | 
|---|
| 2038 |   *) :
 | 
|---|
| 2039 |     eval "$3=\$ac_type" ;;
 | 
|---|
| 2040 | esac
 | 
|---|
| 2041 | fi
 | 
|---|
| 2042 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 2043 | fi
 | 
|---|
| 2044 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 2045 |        if eval test \"x\$"$3"\" = x"no"; then :
 | 
|---|
| 2046 | 
 | 
|---|
| 2047 | else
 | 
|---|
| 2048 |   break
 | 
|---|
| 2049 | fi
 | 
|---|
| 2050 |      done
 | 
|---|
| 2051 | fi
 | 
|---|
| 2052 | eval ac_res=\$$3
 | 
|---|
| 2053 |                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 | 
|---|
| 2054 | $as_echo "$ac_res" >&6; }
 | 
|---|
| 2055 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 2056 | 
 | 
|---|
| 2057 | } # ac_fn_c_find_intX_t
 | 
|---|
| 2058 | 
 | 
|---|
| 2059 | # ac_fn_c_find_uintX_t LINENO BITS VAR
 | 
|---|
| 2060 | # ------------------------------------
 | 
|---|
| 2061 | # Finds an unsigned integer type with width BITS, setting cache variable VAR
 | 
|---|
| 2062 | # accordingly.
 | 
|---|
| 2063 | ac_fn_c_find_uintX_t ()
 | 
|---|
| 2064 | {
 | 
|---|
| 2065 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 2066 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
 | 
|---|
| 2067 | $as_echo_n "checking for uint$2_t... " >&6; }
 | 
|---|
| 2068 | if eval \${$3+:} false; then :
 | 
|---|
| 2069 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 2070 | else
 | 
|---|
| 2071 |   eval "$3=no"
 | 
|---|
| 2072 |      # Order is important - never check a type that is potentially smaller
 | 
|---|
| 2073 |      # than half of the expected target width.
 | 
|---|
| 2074 |      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
 | 
|---|
| 2075 |          'unsigned long long int' 'unsigned short int' 'unsigned char'; do
 | 
|---|
| 2076 |        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 2077 | /* end confdefs.h.  */
 | 
|---|
| 2078 | $ac_includes_default
 | 
|---|
| 2079 | int
 | 
|---|
| 2080 | main ()
 | 
|---|
| 2081 | {
 | 
|---|
| 2082 | static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
 | 
|---|
| 2083 | test_array [0] = 0;
 | 
|---|
| 2084 | return test_array [0];
 | 
|---|
| 2085 | 
 | 
|---|
| 2086 |   ;
 | 
|---|
| 2087 |   return 0;
 | 
|---|
| 2088 | }
 | 
|---|
| 2089 | _ACEOF
 | 
|---|
| 2090 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 2091 |   case $ac_type in #(
 | 
|---|
| 2092 |   uint$2_t) :
 | 
|---|
| 2093 |     eval "$3=yes" ;; #(
 | 
|---|
| 2094 |   *) :
 | 
|---|
| 2095 |     eval "$3=\$ac_type" ;;
 | 
|---|
| 2096 | esac
 | 
|---|
| 2097 | fi
 | 
|---|
| 2098 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 2099 |        if eval test \"x\$"$3"\" = x"no"; then :
 | 
|---|
| 2100 | 
 | 
|---|
| 2101 | else
 | 
|---|
| 2102 |   break
 | 
|---|
| 2103 | fi
 | 
|---|
| 2104 |      done
 | 
|---|
| 2105 | fi
 | 
|---|
| 2106 | eval ac_res=\$$3
 | 
|---|
| 2107 |                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 | 
|---|
| 2108 | $as_echo "$ac_res" >&6; }
 | 
|---|
| 2109 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 2110 | 
 | 
|---|
| 2111 | } # ac_fn_c_find_uintX_t
 | 
|---|
| 2112 | cat >config.log <<_ACEOF
 | 
|---|
| 2113 | This file contains any messages produced by compilers while
 | 
|---|
| 2114 | running configure, to aid debugging if configure makes a mistake.
 | 
|---|
| 2115 | 
 | 
|---|
| 2116 | It was created by cfa-cc $as_me 1.0.0.0, which was
 | 
|---|
| 2117 | generated by GNU Autoconf 2.69.  Invocation command line was
 | 
|---|
| 2118 | 
 | 
|---|
| 2119 |   $ $0 $@
 | 
|---|
| 2120 | 
 | 
|---|
| 2121 | _ACEOF
 | 
|---|
| 2122 | exec 5>>config.log
 | 
|---|
| 2123 | {
 | 
|---|
| 2124 | cat <<_ASUNAME
 | 
|---|
| 2125 | ## --------- ##
 | 
|---|
| 2126 | ## Platform. ##
 | 
|---|
| 2127 | ## --------- ##
 | 
|---|
| 2128 | 
 | 
|---|
| 2129 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 | 
|---|
| 2130 | uname -m = `(uname -m) 2>/dev/null || echo unknown`
 | 
|---|
| 2131 | uname -r = `(uname -r) 2>/dev/null || echo unknown`
 | 
|---|
| 2132 | uname -s = `(uname -s) 2>/dev/null || echo unknown`
 | 
|---|
| 2133 | uname -v = `(uname -v) 2>/dev/null || echo unknown`
 | 
|---|
| 2134 | 
 | 
|---|
| 2135 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 | 
|---|
| 2136 | /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 | 
|---|
| 2137 | 
 | 
|---|
| 2138 | /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 | 
|---|
| 2139 | /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 | 
|---|
| 2140 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 | 
|---|
| 2141 | /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 | 
|---|
| 2142 | /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 | 
|---|
| 2143 | /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 | 
|---|
| 2144 | /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 | 
|---|
| 2145 | 
 | 
|---|
| 2146 | _ASUNAME
 | 
|---|
| 2147 | 
 | 
|---|
| 2148 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 2149 | for as_dir in $PATH
 | 
|---|
| 2150 | do
 | 
|---|
| 2151 |   IFS=$as_save_IFS
 | 
|---|
| 2152 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 2153 |     $as_echo "PATH: $as_dir"
 | 
|---|
| 2154 |   done
 | 
|---|
| 2155 | IFS=$as_save_IFS
 | 
|---|
| 2156 | 
 | 
|---|
| 2157 | } >&5
 | 
|---|
| 2158 | 
 | 
|---|
| 2159 | cat >&5 <<_ACEOF
 | 
|---|
| 2160 | 
 | 
|---|
| 2161 | 
 | 
|---|
| 2162 | ## ----------- ##
 | 
|---|
| 2163 | ## Core tests. ##
 | 
|---|
| 2164 | ## ----------- ##
 | 
|---|
| 2165 | 
 | 
|---|
| 2166 | _ACEOF
 | 
|---|
| 2167 | 
 | 
|---|
| 2168 | 
 | 
|---|
| 2169 | # Keep a trace of the command line.
 | 
|---|
| 2170 | # Strip out --no-create and --no-recursion so they do not pile up.
 | 
|---|
| 2171 | # Strip out --silent because we don't want to record it for future runs.
 | 
|---|
| 2172 | # Also quote any args containing shell meta-characters.
 | 
|---|
| 2173 | # Make two passes to allow for proper duplicate-argument suppression.
 | 
|---|
| 2174 | ac_configure_args=
 | 
|---|
| 2175 | ac_configure_args0=
 | 
|---|
| 2176 | ac_configure_args1=
 | 
|---|
| 2177 | ac_must_keep_next=false
 | 
|---|
| 2178 | for ac_pass in 1 2
 | 
|---|
| 2179 | do
 | 
|---|
| 2180 |   for ac_arg
 | 
|---|
| 2181 |   do
 | 
|---|
| 2182 |     case $ac_arg in
 | 
|---|
| 2183 |     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 | 
|---|
| 2184 |     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 | 
|---|
| 2185 |     | -silent | --silent | --silen | --sile | --sil)
 | 
|---|
| 2186 |       continue ;;
 | 
|---|
| 2187 |     *\'*)
 | 
|---|
| 2188 |       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 | 
|---|
| 2189 |     esac
 | 
|---|
| 2190 |     case $ac_pass in
 | 
|---|
| 2191 |     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 | 
|---|
| 2192 |     2)
 | 
|---|
| 2193 |       as_fn_append ac_configure_args1 " '$ac_arg'"
 | 
|---|
| 2194 |       if test $ac_must_keep_next = true; then
 | 
|---|
| 2195 |         ac_must_keep_next=false # Got value, back to normal.
 | 
|---|
| 2196 |       else
 | 
|---|
| 2197 |         case $ac_arg in
 | 
|---|
| 2198 |           *=* | --config-cache | -C | -disable-* | --disable-* \
 | 
|---|
| 2199 |           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 | 
|---|
| 2200 |           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 | 
|---|
| 2201 |           | -with-* | --with-* | -without-* | --without-* | --x)
 | 
|---|
| 2202 |             case "$ac_configure_args0 " in
 | 
|---|
| 2203 |               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 | 
|---|
| 2204 |             esac
 | 
|---|
| 2205 |             ;;
 | 
|---|
| 2206 |           -* ) ac_must_keep_next=true ;;
 | 
|---|
| 2207 |         esac
 | 
|---|
| 2208 |       fi
 | 
|---|
| 2209 |       as_fn_append ac_configure_args " '$ac_arg'"
 | 
|---|
| 2210 |       ;;
 | 
|---|
| 2211 |     esac
 | 
|---|
| 2212 |   done
 | 
|---|
| 2213 | done
 | 
|---|
| 2214 | { ac_configure_args0=; unset ac_configure_args0;}
 | 
|---|
| 2215 | { ac_configure_args1=; unset ac_configure_args1;}
 | 
|---|
| 2216 | 
 | 
|---|
| 2217 | # When interrupted or exit'd, cleanup temporary files, and complete
 | 
|---|
| 2218 | # config.log.  We remove comments because anyway the quotes in there
 | 
|---|
| 2219 | # would cause problems or look ugly.
 | 
|---|
| 2220 | # WARNING: Use '\'' to represent an apostrophe within the trap.
 | 
|---|
| 2221 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 | 
|---|
| 2222 | trap 'exit_status=$?
 | 
|---|
| 2223 |   # Save into config.log some information that might help in debugging.
 | 
|---|
| 2224 |   {
 | 
|---|
| 2225 |     echo
 | 
|---|
| 2226 | 
 | 
|---|
| 2227 |     $as_echo "## ---------------- ##
 | 
|---|
| 2228 | ## Cache variables. ##
 | 
|---|
| 2229 | ## ---------------- ##"
 | 
|---|
| 2230 |     echo
 | 
|---|
| 2231 |     # The following way of writing the cache mishandles newlines in values,
 | 
|---|
| 2232 | (
 | 
|---|
| 2233 |   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 | 
|---|
| 2234 |     eval ac_val=\$$ac_var
 | 
|---|
| 2235 |     case $ac_val in #(
 | 
|---|
| 2236 |     *${as_nl}*)
 | 
|---|
| 2237 |       case $ac_var in #(
 | 
|---|
| 2238 |       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 | 
|---|
| 2239 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 | 
|---|
| 2240 |       esac
 | 
|---|
| 2241 |       case $ac_var in #(
 | 
|---|
| 2242 |       _ | IFS | as_nl) ;; #(
 | 
|---|
| 2243 |       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 | 
|---|
| 2244 |       *) { eval $ac_var=; unset $ac_var;} ;;
 | 
|---|
| 2245 |       esac ;;
 | 
|---|
| 2246 |     esac
 | 
|---|
| 2247 |   done
 | 
|---|
| 2248 |   (set) 2>&1 |
 | 
|---|
| 2249 |     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 | 
|---|
| 2250 |     *${as_nl}ac_space=\ *)
 | 
|---|
| 2251 |       sed -n \
 | 
|---|
| 2252 |         "s/'\''/'\''\\\\'\'''\''/g;
 | 
|---|
| 2253 |           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 | 
|---|
| 2254 |       ;; #(
 | 
|---|
| 2255 |     *)
 | 
|---|
| 2256 |       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 | 
|---|
| 2257 |       ;;
 | 
|---|
| 2258 |     esac |
 | 
|---|
| 2259 |     sort
 | 
|---|
| 2260 | )
 | 
|---|
| 2261 |     echo
 | 
|---|
| 2262 | 
 | 
|---|
| 2263 |     $as_echo "## ----------------- ##
 | 
|---|
| 2264 | ## Output variables. ##
 | 
|---|
| 2265 | ## ----------------- ##"
 | 
|---|
| 2266 |     echo
 | 
|---|
| 2267 |     for ac_var in $ac_subst_vars
 | 
|---|
| 2268 |     do
 | 
|---|
| 2269 |       eval ac_val=\$$ac_var
 | 
|---|
| 2270 |       case $ac_val in
 | 
|---|
| 2271 |       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 | 
|---|
| 2272 |       esac
 | 
|---|
| 2273 |       $as_echo "$ac_var='\''$ac_val'\''"
 | 
|---|
| 2274 |     done | sort
 | 
|---|
| 2275 |     echo
 | 
|---|
| 2276 | 
 | 
|---|
| 2277 |     if test -n "$ac_subst_files"; then
 | 
|---|
| 2278 |       $as_echo "## ------------------- ##
 | 
|---|
| 2279 | ## File substitutions. ##
 | 
|---|
| 2280 | ## ------------------- ##"
 | 
|---|
| 2281 |       echo
 | 
|---|
| 2282 |       for ac_var in $ac_subst_files
 | 
|---|
| 2283 |       do
 | 
|---|
| 2284 |         eval ac_val=\$$ac_var
 | 
|---|
| 2285 |         case $ac_val in
 | 
|---|
| 2286 |         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 | 
|---|
| 2287 |         esac
 | 
|---|
| 2288 |         $as_echo "$ac_var='\''$ac_val'\''"
 | 
|---|
| 2289 |       done | sort
 | 
|---|
| 2290 |       echo
 | 
|---|
| 2291 |     fi
 | 
|---|
| 2292 | 
 | 
|---|
| 2293 |     if test -s confdefs.h; then
 | 
|---|
| 2294 |       $as_echo "## ----------- ##
 | 
|---|
| 2295 | ## confdefs.h. ##
 | 
|---|
| 2296 | ## ----------- ##"
 | 
|---|
| 2297 |       echo
 | 
|---|
| 2298 |       cat confdefs.h
 | 
|---|
| 2299 |       echo
 | 
|---|
| 2300 |     fi
 | 
|---|
| 2301 |     test "$ac_signal" != 0 &&
 | 
|---|
| 2302 |       $as_echo "$as_me: caught signal $ac_signal"
 | 
|---|
| 2303 |     $as_echo "$as_me: exit $exit_status"
 | 
|---|
| 2304 |   } >&5
 | 
|---|
| 2305 |   rm -f core *.core core.conftest.* &&
 | 
|---|
| 2306 |     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 | 
|---|
| 2307 |     exit $exit_status
 | 
|---|
| 2308 | ' 0
 | 
|---|
| 2309 | for ac_signal in 1 2 13 15; do
 | 
|---|
| 2310 |   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 | 
|---|
| 2311 | done
 | 
|---|
| 2312 | ac_signal=0
 | 
|---|
| 2313 | 
 | 
|---|
| 2314 | # confdefs.h avoids OS command line length limits that DEFS can exceed.
 | 
|---|
| 2315 | rm -f -r conftest* confdefs.h
 | 
|---|
| 2316 | 
 | 
|---|
| 2317 | $as_echo "/* confdefs.h */" > confdefs.h
 | 
|---|
| 2318 | 
 | 
|---|
| 2319 | # Predefined preprocessor variables.
 | 
|---|
| 2320 | 
 | 
|---|
| 2321 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2322 | #define PACKAGE_NAME "$PACKAGE_NAME"
 | 
|---|
| 2323 | _ACEOF
 | 
|---|
| 2324 | 
 | 
|---|
| 2325 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2326 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 | 
|---|
| 2327 | _ACEOF
 | 
|---|
| 2328 | 
 | 
|---|
| 2329 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2330 | #define PACKAGE_VERSION "$PACKAGE_VERSION"
 | 
|---|
| 2331 | _ACEOF
 | 
|---|
| 2332 | 
 | 
|---|
| 2333 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2334 | #define PACKAGE_STRING "$PACKAGE_STRING"
 | 
|---|
| 2335 | _ACEOF
 | 
|---|
| 2336 | 
 | 
|---|
| 2337 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2338 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 | 
|---|
| 2339 | _ACEOF
 | 
|---|
| 2340 | 
 | 
|---|
| 2341 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2342 | #define PACKAGE_URL "$PACKAGE_URL"
 | 
|---|
| 2343 | _ACEOF
 | 
|---|
| 2344 | 
 | 
|---|
| 2345 | 
 | 
|---|
| 2346 | # Let the site file select an alternate cache file if it wants to.
 | 
|---|
| 2347 | # Prefer an explicitly selected file to automatically selected ones.
 | 
|---|
| 2348 | ac_site_file1=NONE
 | 
|---|
| 2349 | ac_site_file2=NONE
 | 
|---|
| 2350 | if test -n "$CONFIG_SITE"; then
 | 
|---|
| 2351 |   # We do not want a PATH search for config.site.
 | 
|---|
| 2352 |   case $CONFIG_SITE in #((
 | 
|---|
| 2353 |     -*)  ac_site_file1=./$CONFIG_SITE;;
 | 
|---|
| 2354 |     */*) ac_site_file1=$CONFIG_SITE;;
 | 
|---|
| 2355 |     *)   ac_site_file1=./$CONFIG_SITE;;
 | 
|---|
| 2356 |   esac
 | 
|---|
| 2357 | elif test "x$prefix" != xNONE; then
 | 
|---|
| 2358 |   ac_site_file1=$prefix/share/config.site
 | 
|---|
| 2359 |   ac_site_file2=$prefix/etc/config.site
 | 
|---|
| 2360 | else
 | 
|---|
| 2361 |   ac_site_file1=$ac_default_prefix/share/config.site
 | 
|---|
| 2362 |   ac_site_file2=$ac_default_prefix/etc/config.site
 | 
|---|
| 2363 | fi
 | 
|---|
| 2364 | for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 | 
|---|
| 2365 | do
 | 
|---|
| 2366 |   test "x$ac_site_file" = xNONE && continue
 | 
|---|
| 2367 |   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 | 
|---|
| 2368 |     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 | 
|---|
| 2369 | $as_echo "$as_me: loading site script $ac_site_file" >&6;}
 | 
|---|
| 2370 |     sed 's/^/| /' "$ac_site_file" >&5
 | 
|---|
| 2371 |     . "$ac_site_file" \
 | 
|---|
| 2372 |       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 2373 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 2374 | as_fn_error $? "failed to load site script $ac_site_file
 | 
|---|
| 2375 | See \`config.log' for more details" "$LINENO" 5; }
 | 
|---|
| 2376 |   fi
 | 
|---|
| 2377 | done
 | 
|---|
| 2378 | 
 | 
|---|
| 2379 | if test -r "$cache_file"; then
 | 
|---|
| 2380 |   # Some versions of bash will fail to source /dev/null (special files
 | 
|---|
| 2381 |   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 | 
|---|
| 2382 |   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 | 
|---|
| 2383 |     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 | 
|---|
| 2384 | $as_echo "$as_me: loading cache $cache_file" >&6;}
 | 
|---|
| 2385 |     case $cache_file in
 | 
|---|
| 2386 |       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 | 
|---|
| 2387 |       *)                      . "./$cache_file";;
 | 
|---|
| 2388 |     esac
 | 
|---|
| 2389 |   fi
 | 
|---|
| 2390 | else
 | 
|---|
| 2391 |   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 | 
|---|
| 2392 | $as_echo "$as_me: creating cache $cache_file" >&6;}
 | 
|---|
| 2393 |   >$cache_file
 | 
|---|
| 2394 | fi
 | 
|---|
| 2395 | 
 | 
|---|
| 2396 | # Check that the precious variables saved in the cache have kept the same
 | 
|---|
| 2397 | # value.
 | 
|---|
| 2398 | ac_cache_corrupted=false
 | 
|---|
| 2399 | for ac_var in $ac_precious_vars; do
 | 
|---|
| 2400 |   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 | 
|---|
| 2401 |   eval ac_new_set=\$ac_env_${ac_var}_set
 | 
|---|
| 2402 |   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 | 
|---|
| 2403 |   eval ac_new_val=\$ac_env_${ac_var}_value
 | 
|---|
| 2404 |   case $ac_old_set,$ac_new_set in
 | 
|---|
| 2405 |     set,)
 | 
|---|
| 2406 |       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 | 
|---|
| 2407 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 | 
|---|
| 2408 |       ac_cache_corrupted=: ;;
 | 
|---|
| 2409 |     ,set)
 | 
|---|
| 2410 |       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 | 
|---|
| 2411 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 | 
|---|
| 2412 |       ac_cache_corrupted=: ;;
 | 
|---|
| 2413 |     ,);;
 | 
|---|
| 2414 |     *)
 | 
|---|
| 2415 |       if test "x$ac_old_val" != "x$ac_new_val"; then
 | 
|---|
| 2416 |         # differences in whitespace do not lead to failure.
 | 
|---|
| 2417 |         ac_old_val_w=`echo x $ac_old_val`
 | 
|---|
| 2418 |         ac_new_val_w=`echo x $ac_new_val`
 | 
|---|
| 2419 |         if test "$ac_old_val_w" != "$ac_new_val_w"; then
 | 
|---|
| 2420 |           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 | 
|---|
| 2421 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 | 
|---|
| 2422 |           ac_cache_corrupted=:
 | 
|---|
| 2423 |         else
 | 
|---|
| 2424 |           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 | 
|---|
| 2425 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 | 
|---|
| 2426 |           eval $ac_var=\$ac_old_val
 | 
|---|
| 2427 |         fi
 | 
|---|
| 2428 |         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 | 
|---|
| 2429 | $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 | 
|---|
| 2430 |         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 | 
|---|
| 2431 | $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 | 
|---|
| 2432 |       fi;;
 | 
|---|
| 2433 |   esac
 | 
|---|
| 2434 |   # Pass precious variables to config.status.
 | 
|---|
| 2435 |   if test "$ac_new_set" = set; then
 | 
|---|
| 2436 |     case $ac_new_val in
 | 
|---|
| 2437 |     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 | 
|---|
| 2438 |     *) ac_arg=$ac_var=$ac_new_val ;;
 | 
|---|
| 2439 |     esac
 | 
|---|
| 2440 |     case " $ac_configure_args " in
 | 
|---|
| 2441 |       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 | 
|---|
| 2442 |       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 | 
|---|
| 2443 |     esac
 | 
|---|
| 2444 |   fi
 | 
|---|
| 2445 | done
 | 
|---|
| 2446 | if $ac_cache_corrupted; then
 | 
|---|
| 2447 |   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 2448 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 2449 |   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 | 
|---|
| 2450 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 | 
|---|
| 2451 |   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 | 
|---|
| 2452 | fi
 | 
|---|
| 2453 | ## -------------------- ##
 | 
|---|
| 2454 | ## Main body of script. ##
 | 
|---|
| 2455 | ## -------------------- ##
 | 
|---|
| 2456 | 
 | 
|---|
| 2457 | ac_ext=c
 | 
|---|
| 2458 | ac_cpp='$CPP $CPPFLAGS'
 | 
|---|
| 2459 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 2460 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 2461 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
 | 
|---|
| 2462 | 
 | 
|---|
| 2463 | 
 | 
|---|
| 2464 | ac_aux_dir=
 | 
|---|
| 2465 | for ac_dir in automake "$srcdir"/automake; do
 | 
|---|
| 2466 |   if test -f "$ac_dir/install-sh"; then
 | 
|---|
| 2467 |     ac_aux_dir=$ac_dir
 | 
|---|
| 2468 |     ac_install_sh="$ac_aux_dir/install-sh -c"
 | 
|---|
| 2469 |     break
 | 
|---|
| 2470 |   elif test -f "$ac_dir/install.sh"; then
 | 
|---|
| 2471 |     ac_aux_dir=$ac_dir
 | 
|---|
| 2472 |     ac_install_sh="$ac_aux_dir/install.sh -c"
 | 
|---|
| 2473 |     break
 | 
|---|
| 2474 |   elif test -f "$ac_dir/shtool"; then
 | 
|---|
| 2475 |     ac_aux_dir=$ac_dir
 | 
|---|
| 2476 |     ac_install_sh="$ac_aux_dir/shtool install -c"
 | 
|---|
| 2477 |     break
 | 
|---|
| 2478 |   fi
 | 
|---|
| 2479 | done
 | 
|---|
| 2480 | if test -z "$ac_aux_dir"; then
 | 
|---|
| 2481 |   as_fn_error $? "cannot find install-sh, install.sh, or shtool in automake \"$srcdir\"/automake" "$LINENO" 5
 | 
|---|
| 2482 | fi
 | 
|---|
| 2483 | 
 | 
|---|
| 2484 | # These three variables are undocumented and unsupported,
 | 
|---|
| 2485 | # and are intended to be withdrawn in a future Autoconf release.
 | 
|---|
| 2486 | # They can cause serious problems if a builder's source tree is in a directory
 | 
|---|
| 2487 | # whose full name contains unusual characters.
 | 
|---|
| 2488 | ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 | 
|---|
| 2489 | ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 | 
|---|
| 2490 | ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 | 
|---|
| 2491 | 
 | 
|---|
| 2492 | 
 | 
|---|
| 2493 | #AC_CONFIG_SRCDIR([src/main.cc])
 | 
|---|
| 2494 | ac_config_headers="$ac_config_headers config.h"
 | 
|---|
| 2495 | 
 | 
|---|
| 2496 | # Check whether --enable-silent-rules was given.
 | 
|---|
| 2497 | if test "${enable_silent_rules+set}" = set; then :
 | 
|---|
| 2498 |   enableval=$enable_silent_rules;
 | 
|---|
| 2499 | fi
 | 
|---|
| 2500 | 
 | 
|---|
| 2501 | case $enable_silent_rules in # (((
 | 
|---|
| 2502 |   yes) AM_DEFAULT_VERBOSITY=0;;
 | 
|---|
| 2503 |    no) AM_DEFAULT_VERBOSITY=1;;
 | 
|---|
| 2504 |     *) AM_DEFAULT_VERBOSITY=1;;
 | 
|---|
| 2505 | esac
 | 
|---|
| 2506 | am_make=${MAKE-make}
 | 
|---|
| 2507 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 | 
|---|
| 2508 | $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 | 
|---|
| 2509 | if ${am_cv_make_support_nested_variables+:} false; then :
 | 
|---|
| 2510 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 2511 | else
 | 
|---|
| 2512 |   if $as_echo 'TRUE=$(BAR$(V))
 | 
|---|
| 2513 | BAR0=false
 | 
|---|
| 2514 | BAR1=true
 | 
|---|
| 2515 | V=1
 | 
|---|
| 2516 | am__doit:
 | 
|---|
| 2517 |         @$(TRUE)
 | 
|---|
| 2518 | .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 | 
|---|
| 2519 |   am_cv_make_support_nested_variables=yes
 | 
|---|
| 2520 | else
 | 
|---|
| 2521 |   am_cv_make_support_nested_variables=no
 | 
|---|
| 2522 | fi
 | 
|---|
| 2523 | fi
 | 
|---|
| 2524 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 | 
|---|
| 2525 | $as_echo "$am_cv_make_support_nested_variables" >&6; }
 | 
|---|
| 2526 | if test $am_cv_make_support_nested_variables = yes; then
 | 
|---|
| 2527 |     AM_V='$(V)'
 | 
|---|
| 2528 |   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 | 
|---|
| 2529 | else
 | 
|---|
| 2530 |   AM_V=$AM_DEFAULT_VERBOSITY
 | 
|---|
| 2531 |   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 | 
|---|
| 2532 | fi
 | 
|---|
| 2533 | AM_BACKSLASH='\'
 | 
|---|
| 2534 | 
 | 
|---|
| 2535 | 
 | 
|---|
| 2536 | am__api_version='1.15'
 | 
|---|
| 2537 | 
 | 
|---|
| 2538 | # Find a good install program.  We prefer a C program (faster),
 | 
|---|
| 2539 | # so one script is as good as another.  But avoid the broken or
 | 
|---|
| 2540 | # incompatible versions:
 | 
|---|
| 2541 | # SysV /etc/install, /usr/sbin/install
 | 
|---|
| 2542 | # SunOS /usr/etc/install
 | 
|---|
| 2543 | # IRIX /sbin/install
 | 
|---|
| 2544 | # AIX /bin/install
 | 
|---|
| 2545 | # AmigaOS /C/install, which installs bootblocks on floppy discs
 | 
|---|
| 2546 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 | 
|---|
| 2547 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 | 
|---|
| 2548 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 | 
|---|
| 2549 | # OS/2's system install, which has a completely different semantic
 | 
|---|
| 2550 | # ./install, which can be erroneously created by make from ./install.sh.
 | 
|---|
| 2551 | # Reject install programs that cannot install multiple files.
 | 
|---|
| 2552 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 | 
|---|
| 2553 | $as_echo_n "checking for a BSD-compatible install... " >&6; }
 | 
|---|
| 2554 | if test -z "$INSTALL"; then
 | 
|---|
| 2555 | if ${ac_cv_path_install+:} false; then :
 | 
|---|
| 2556 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 2557 | else
 | 
|---|
| 2558 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 2559 | for as_dir in $PATH
 | 
|---|
| 2560 | do
 | 
|---|
| 2561 |   IFS=$as_save_IFS
 | 
|---|
| 2562 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 2563 |     # Account for people who put trailing slashes in PATH elements.
 | 
|---|
| 2564 | case $as_dir/ in #((
 | 
|---|
| 2565 |   ./ | .// | /[cC]/* | \
 | 
|---|
| 2566 |   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 | 
|---|
| 2567 |   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 | 
|---|
| 2568 |   /usr/ucb/* ) ;;
 | 
|---|
| 2569 |   *)
 | 
|---|
| 2570 |     # OSF1 and SCO ODT 3.0 have their own names for install.
 | 
|---|
| 2571 |     # Don't use installbsd from OSF since it installs stuff as root
 | 
|---|
| 2572 |     # by default.
 | 
|---|
| 2573 |     for ac_prog in ginstall scoinst install; do
 | 
|---|
| 2574 |       for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 2575 |         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 | 
|---|
| 2576 |           if test $ac_prog = install &&
 | 
|---|
| 2577 |             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 | 
|---|
| 2578 |             # AIX install.  It has an incompatible calling convention.
 | 
|---|
| 2579 |             :
 | 
|---|
| 2580 |           elif test $ac_prog = install &&
 | 
|---|
| 2581 |             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 | 
|---|
| 2582 |             # program-specific install script used by HP pwplus--don't use.
 | 
|---|
| 2583 |             :
 | 
|---|
| 2584 |           else
 | 
|---|
| 2585 |             rm -rf conftest.one conftest.two conftest.dir
 | 
|---|
| 2586 |             echo one > conftest.one
 | 
|---|
| 2587 |             echo two > conftest.two
 | 
|---|
| 2588 |             mkdir conftest.dir
 | 
|---|
| 2589 |             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 | 
|---|
| 2590 |               test -s conftest.one && test -s conftest.two &&
 | 
|---|
| 2591 |               test -s conftest.dir/conftest.one &&
 | 
|---|
| 2592 |               test -s conftest.dir/conftest.two
 | 
|---|
| 2593 |             then
 | 
|---|
| 2594 |               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 | 
|---|
| 2595 |               break 3
 | 
|---|
| 2596 |             fi
 | 
|---|
| 2597 |           fi
 | 
|---|
| 2598 |         fi
 | 
|---|
| 2599 |       done
 | 
|---|
| 2600 |     done
 | 
|---|
| 2601 |     ;;
 | 
|---|
| 2602 | esac
 | 
|---|
| 2603 | 
 | 
|---|
| 2604 |   done
 | 
|---|
| 2605 | IFS=$as_save_IFS
 | 
|---|
| 2606 | 
 | 
|---|
| 2607 | rm -rf conftest.one conftest.two conftest.dir
 | 
|---|
| 2608 | 
 | 
|---|
| 2609 | fi
 | 
|---|
| 2610 |   if test "${ac_cv_path_install+set}" = set; then
 | 
|---|
| 2611 |     INSTALL=$ac_cv_path_install
 | 
|---|
| 2612 |   else
 | 
|---|
| 2613 |     # As a last resort, use the slow shell script.  Don't cache a
 | 
|---|
| 2614 |     # value for INSTALL within a source directory, because that will
 | 
|---|
| 2615 |     # break other packages using the cache if that directory is
 | 
|---|
| 2616 |     # removed, or if the value is a relative name.
 | 
|---|
| 2617 |     INSTALL=$ac_install_sh
 | 
|---|
| 2618 |   fi
 | 
|---|
| 2619 | fi
 | 
|---|
| 2620 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 | 
|---|
| 2621 | $as_echo "$INSTALL" >&6; }
 | 
|---|
| 2622 | 
 | 
|---|
| 2623 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 | 
|---|
| 2624 | # It thinks the first close brace ends the variable substitution.
 | 
|---|
| 2625 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 | 
|---|
| 2626 | 
 | 
|---|
| 2627 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 | 
|---|
| 2628 | 
 | 
|---|
| 2629 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 | 
|---|
| 2630 | 
 | 
|---|
| 2631 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 | 
|---|
| 2632 | $as_echo_n "checking whether build environment is sane... " >&6; }
 | 
|---|
| 2633 | # Reject unsafe characters in $srcdir or the absolute working directory
 | 
|---|
| 2634 | # name.  Accept space and tab only in the latter.
 | 
|---|
| 2635 | am_lf='
 | 
|---|
| 2636 | '
 | 
|---|
| 2637 | case `pwd` in
 | 
|---|
| 2638 |   *[\\\"\#\$\&\'\`$am_lf]*)
 | 
|---|
| 2639 |     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 | 
|---|
| 2640 | esac
 | 
|---|
| 2641 | case $srcdir in
 | 
|---|
| 2642 |   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 | 
|---|
| 2643 |     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
 | 
|---|
| 2644 | esac
 | 
|---|
| 2645 | 
 | 
|---|
| 2646 | # Do 'set' in a subshell so we don't clobber the current shell's
 | 
|---|
| 2647 | # arguments.  Must try -L first in case configure is actually a
 | 
|---|
| 2648 | # symlink; some systems play weird games with the mod time of symlinks
 | 
|---|
| 2649 | # (eg FreeBSD returns the mod time of the symlink's containing
 | 
|---|
| 2650 | # directory).
 | 
|---|
| 2651 | if (
 | 
|---|
| 2652 |    am_has_slept=no
 | 
|---|
| 2653 |    for am_try in 1 2; do
 | 
|---|
| 2654 |      echo "timestamp, slept: $am_has_slept" > conftest.file
 | 
|---|
| 2655 |      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 | 
|---|
| 2656 |      if test "$*" = "X"; then
 | 
|---|
| 2657 |         # -L didn't work.
 | 
|---|
| 2658 |         set X `ls -t "$srcdir/configure" conftest.file`
 | 
|---|
| 2659 |      fi
 | 
|---|
| 2660 |      if test "$*" != "X $srcdir/configure conftest.file" \
 | 
|---|
| 2661 |         && test "$*" != "X conftest.file $srcdir/configure"; then
 | 
|---|
| 2662 | 
 | 
|---|
| 2663 |         # If neither matched, then we have a broken ls.  This can happen
 | 
|---|
| 2664 |         # if, for instance, CONFIG_SHELL is bash and it inherits a
 | 
|---|
| 2665 |         # broken ls alias from the environment.  This has actually
 | 
|---|
| 2666 |         # happened.  Such a system could not be considered "sane".
 | 
|---|
| 2667 |         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 | 
|---|
| 2668 |   alias in your environment" "$LINENO" 5
 | 
|---|
| 2669 |      fi
 | 
|---|
| 2670 |      if test "$2" = conftest.file || test $am_try -eq 2; then
 | 
|---|
| 2671 |        break
 | 
|---|
| 2672 |      fi
 | 
|---|
| 2673 |      # Just in case.
 | 
|---|
| 2674 |      sleep 1
 | 
|---|
| 2675 |      am_has_slept=yes
 | 
|---|
| 2676 |    done
 | 
|---|
| 2677 |    test "$2" = conftest.file
 | 
|---|
| 2678 |    )
 | 
|---|
| 2679 | then
 | 
|---|
| 2680 |    # Ok.
 | 
|---|
| 2681 |    :
 | 
|---|
| 2682 | else
 | 
|---|
| 2683 |    as_fn_error $? "newly created file is older than distributed files!
 | 
|---|
| 2684 | Check your system clock" "$LINENO" 5
 | 
|---|
| 2685 | fi
 | 
|---|
| 2686 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 | 
|---|
| 2687 | $as_echo "yes" >&6; }
 | 
|---|
| 2688 | # If we didn't sleep, we still need to ensure time stamps of config.status and
 | 
|---|
| 2689 | # generated files are strictly newer.
 | 
|---|
| 2690 | am_sleep_pid=
 | 
|---|
| 2691 | if grep 'slept: no' conftest.file >/dev/null 2>&1; then
 | 
|---|
| 2692 |   ( sleep 1 ) &
 | 
|---|
| 2693 |   am_sleep_pid=$!
 | 
|---|
| 2694 | fi
 | 
|---|
| 2695 | 
 | 
|---|
| 2696 | rm -f conftest.file
 | 
|---|
| 2697 | 
 | 
|---|
| 2698 | test "$program_prefix" != NONE &&
 | 
|---|
| 2699 |   program_transform_name="s&^&$program_prefix&;$program_transform_name"
 | 
|---|
| 2700 | # Use a double $ so make ignores it.
 | 
|---|
| 2701 | test "$program_suffix" != NONE &&
 | 
|---|
| 2702 |   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 | 
|---|
| 2703 | # Double any \ or $.
 | 
|---|
| 2704 | # By default was `s,x,x', remove it if useless.
 | 
|---|
| 2705 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 | 
|---|
| 2706 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 | 
|---|
| 2707 | 
 | 
|---|
| 2708 | # Expand $ac_aux_dir to an absolute path.
 | 
|---|
| 2709 | am_aux_dir=`cd "$ac_aux_dir" && pwd`
 | 
|---|
| 2710 | 
 | 
|---|
| 2711 | if test x"${MISSING+set}" != xset; then
 | 
|---|
| 2712 |   case $am_aux_dir in
 | 
|---|
| 2713 |   *\ * | *\     *)
 | 
|---|
| 2714 |     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 | 
|---|
| 2715 |   *)
 | 
|---|
| 2716 |     MISSING="\${SHELL} $am_aux_dir/missing" ;;
 | 
|---|
| 2717 |   esac
 | 
|---|
| 2718 | fi
 | 
|---|
| 2719 | # Use eval to expand $SHELL
 | 
|---|
| 2720 | if eval "$MISSING --is-lightweight"; then
 | 
|---|
| 2721 |   am_missing_run="$MISSING "
 | 
|---|
| 2722 | else
 | 
|---|
| 2723 |   am_missing_run=
 | 
|---|
| 2724 |   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
 | 
|---|
| 2725 | $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
 | 
|---|
| 2726 | fi
 | 
|---|
| 2727 | 
 | 
|---|
| 2728 | if test x"${install_sh+set}" != xset; then
 | 
|---|
| 2729 |   case $am_aux_dir in
 | 
|---|
| 2730 |   *\ * | *\     *)
 | 
|---|
| 2731 |     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 | 
|---|
| 2732 |   *)
 | 
|---|
| 2733 |     install_sh="\${SHELL} $am_aux_dir/install-sh"
 | 
|---|
| 2734 |   esac
 | 
|---|
| 2735 | fi
 | 
|---|
| 2736 | 
 | 
|---|
| 2737 | # Installed binaries are usually stripped using 'strip' when the user
 | 
|---|
| 2738 | # run "make install-strip".  However 'strip' might not be the right
 | 
|---|
| 2739 | # tool to use in cross-compilation environments, therefore Automake
 | 
|---|
| 2740 | # will honor the 'STRIP' environment variable to overrule this program.
 | 
|---|
| 2741 | if test "$cross_compiling" != no; then
 | 
|---|
| 2742 |   if test -n "$ac_tool_prefix"; then
 | 
|---|
| 2743 |   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 | 
|---|
| 2744 | set dummy ${ac_tool_prefix}strip; ac_word=$2
 | 
|---|
| 2745 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 2746 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 2747 | if ${ac_cv_prog_STRIP+:} false; then :
 | 
|---|
| 2748 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 2749 | else
 | 
|---|
| 2750 |   if test -n "$STRIP"; then
 | 
|---|
| 2751 |   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 | 
|---|
| 2752 | else
 | 
|---|
| 2753 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 2754 | for as_dir in $PATH
 | 
|---|
| 2755 | do
 | 
|---|
| 2756 |   IFS=$as_save_IFS
 | 
|---|
| 2757 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 2758 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 2759 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 2760 |     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 | 
|---|
| 2761 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 2762 |     break 2
 | 
|---|
| 2763 |   fi
 | 
|---|
| 2764 | done
 | 
|---|
| 2765 |   done
 | 
|---|
| 2766 | IFS=$as_save_IFS
 | 
|---|
| 2767 | 
 | 
|---|
| 2768 | fi
 | 
|---|
| 2769 | fi
 | 
|---|
| 2770 | STRIP=$ac_cv_prog_STRIP
 | 
|---|
| 2771 | if test -n "$STRIP"; then
 | 
|---|
| 2772 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 | 
|---|
| 2773 | $as_echo "$STRIP" >&6; }
 | 
|---|
| 2774 | else
 | 
|---|
| 2775 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 2776 | $as_echo "no" >&6; }
 | 
|---|
| 2777 | fi
 | 
|---|
| 2778 | 
 | 
|---|
| 2779 | 
 | 
|---|
| 2780 | fi
 | 
|---|
| 2781 | if test -z "$ac_cv_prog_STRIP"; then
 | 
|---|
| 2782 |   ac_ct_STRIP=$STRIP
 | 
|---|
| 2783 |   # Extract the first word of "strip", so it can be a program name with args.
 | 
|---|
| 2784 | set dummy strip; ac_word=$2
 | 
|---|
| 2785 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 2786 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 2787 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 | 
|---|
| 2788 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 2789 | else
 | 
|---|
| 2790 |   if test -n "$ac_ct_STRIP"; then
 | 
|---|
| 2791 |   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 | 
|---|
| 2792 | else
 | 
|---|
| 2793 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 2794 | for as_dir in $PATH
 | 
|---|
| 2795 | do
 | 
|---|
| 2796 |   IFS=$as_save_IFS
 | 
|---|
| 2797 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 2798 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 2799 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 2800 |     ac_cv_prog_ac_ct_STRIP="strip"
 | 
|---|
| 2801 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 2802 |     break 2
 | 
|---|
| 2803 |   fi
 | 
|---|
| 2804 | done
 | 
|---|
| 2805 |   done
 | 
|---|
| 2806 | IFS=$as_save_IFS
 | 
|---|
| 2807 | 
 | 
|---|
| 2808 | fi
 | 
|---|
| 2809 | fi
 | 
|---|
| 2810 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 | 
|---|
| 2811 | if test -n "$ac_ct_STRIP"; then
 | 
|---|
| 2812 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 | 
|---|
| 2813 | $as_echo "$ac_ct_STRIP" >&6; }
 | 
|---|
| 2814 | else
 | 
|---|
| 2815 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 2816 | $as_echo "no" >&6; }
 | 
|---|
| 2817 | fi
 | 
|---|
| 2818 | 
 | 
|---|
| 2819 |   if test "x$ac_ct_STRIP" = x; then
 | 
|---|
| 2820 |     STRIP=":"
 | 
|---|
| 2821 |   else
 | 
|---|
| 2822 |     case $cross_compiling:$ac_tool_warned in
 | 
|---|
| 2823 | yes:)
 | 
|---|
| 2824 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 | 
|---|
| 2825 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 | 
|---|
| 2826 | ac_tool_warned=yes ;;
 | 
|---|
| 2827 | esac
 | 
|---|
| 2828 |     STRIP=$ac_ct_STRIP
 | 
|---|
| 2829 |   fi
 | 
|---|
| 2830 | else
 | 
|---|
| 2831 |   STRIP="$ac_cv_prog_STRIP"
 | 
|---|
| 2832 | fi
 | 
|---|
| 2833 | 
 | 
|---|
| 2834 | fi
 | 
|---|
| 2835 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 | 
|---|
| 2836 | 
 | 
|---|
| 2837 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 | 
|---|
| 2838 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 | 
|---|
| 2839 | if test -z "$MKDIR_P"; then
 | 
|---|
| 2840 |   if ${ac_cv_path_mkdir+:} false; then :
 | 
|---|
| 2841 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 2842 | else
 | 
|---|
| 2843 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 2844 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 | 
|---|
| 2845 | do
 | 
|---|
| 2846 |   IFS=$as_save_IFS
 | 
|---|
| 2847 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 2848 |     for ac_prog in mkdir gmkdir; do
 | 
|---|
| 2849 |          for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 2850 |            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
 | 
|---|
| 2851 |            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 | 
|---|
| 2852 |              'mkdir (GNU coreutils) '* | \
 | 
|---|
| 2853 |              'mkdir (coreutils) '* | \
 | 
|---|
| 2854 |              'mkdir (fileutils) '4.1*)
 | 
|---|
| 2855 |                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 | 
|---|
| 2856 |                break 3;;
 | 
|---|
| 2857 |            esac
 | 
|---|
| 2858 |          done
 | 
|---|
| 2859 |        done
 | 
|---|
| 2860 |   done
 | 
|---|
| 2861 | IFS=$as_save_IFS
 | 
|---|
| 2862 | 
 | 
|---|
| 2863 | fi
 | 
|---|
| 2864 | 
 | 
|---|
| 2865 |   test -d ./--version && rmdir ./--version
 | 
|---|
| 2866 |   if test "${ac_cv_path_mkdir+set}" = set; then
 | 
|---|
| 2867 |     MKDIR_P="$ac_cv_path_mkdir -p"
 | 
|---|
| 2868 |   else
 | 
|---|
| 2869 |     # As a last resort, use the slow shell script.  Don't cache a
 | 
|---|
| 2870 |     # value for MKDIR_P within a source directory, because that will
 | 
|---|
| 2871 |     # break other packages using the cache if that directory is
 | 
|---|
| 2872 |     # removed, or if the value is a relative name.
 | 
|---|
| 2873 |     MKDIR_P="$ac_install_sh -d"
 | 
|---|
| 2874 |   fi
 | 
|---|
| 2875 | fi
 | 
|---|
| 2876 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 | 
|---|
| 2877 | $as_echo "$MKDIR_P" >&6; }
 | 
|---|
| 2878 | 
 | 
|---|
| 2879 | for ac_prog in gawk mawk nawk awk
 | 
|---|
| 2880 | do
 | 
|---|
| 2881 |   # Extract the first word of "$ac_prog", so it can be a program name with args.
 | 
|---|
| 2882 | set dummy $ac_prog; ac_word=$2
 | 
|---|
| 2883 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 2884 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 2885 | if ${ac_cv_prog_AWK+:} false; then :
 | 
|---|
| 2886 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 2887 | else
 | 
|---|
| 2888 |   if test -n "$AWK"; then
 | 
|---|
| 2889 |   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 | 
|---|
| 2890 | else
 | 
|---|
| 2891 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 2892 | for as_dir in $PATH
 | 
|---|
| 2893 | do
 | 
|---|
| 2894 |   IFS=$as_save_IFS
 | 
|---|
| 2895 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 2896 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 2897 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 2898 |     ac_cv_prog_AWK="$ac_prog"
 | 
|---|
| 2899 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 2900 |     break 2
 | 
|---|
| 2901 |   fi
 | 
|---|
| 2902 | done
 | 
|---|
| 2903 |   done
 | 
|---|
| 2904 | IFS=$as_save_IFS
 | 
|---|
| 2905 | 
 | 
|---|
| 2906 | fi
 | 
|---|
| 2907 | fi
 | 
|---|
| 2908 | AWK=$ac_cv_prog_AWK
 | 
|---|
| 2909 | if test -n "$AWK"; then
 | 
|---|
| 2910 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 | 
|---|
| 2911 | $as_echo "$AWK" >&6; }
 | 
|---|
| 2912 | else
 | 
|---|
| 2913 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 2914 | $as_echo "no" >&6; }
 | 
|---|
| 2915 | fi
 | 
|---|
| 2916 | 
 | 
|---|
| 2917 | 
 | 
|---|
| 2918 |   test -n "$AWK" && break
 | 
|---|
| 2919 | done
 | 
|---|
| 2920 | 
 | 
|---|
| 2921 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 | 
|---|
| 2922 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 | 
|---|
| 2923 | set x ${MAKE-make}
 | 
|---|
| 2924 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 | 
|---|
| 2925 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 | 
|---|
| 2926 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 2927 | else
 | 
|---|
| 2928 |   cat >conftest.make <<\_ACEOF
 | 
|---|
| 2929 | SHELL = /bin/sh
 | 
|---|
| 2930 | all:
 | 
|---|
| 2931 |         @echo '@@@%%%=$(MAKE)=@@@%%%'
 | 
|---|
| 2932 | _ACEOF
 | 
|---|
| 2933 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 | 
|---|
| 2934 | case `${MAKE-make} -f conftest.make 2>/dev/null` in
 | 
|---|
| 2935 |   *@@@%%%=?*=@@@%%%*)
 | 
|---|
| 2936 |     eval ac_cv_prog_make_${ac_make}_set=yes;;
 | 
|---|
| 2937 |   *)
 | 
|---|
| 2938 |     eval ac_cv_prog_make_${ac_make}_set=no;;
 | 
|---|
| 2939 | esac
 | 
|---|
| 2940 | rm -f conftest.make
 | 
|---|
| 2941 | fi
 | 
|---|
| 2942 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 | 
|---|
| 2943 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 | 
|---|
| 2944 | $as_echo "yes" >&6; }
 | 
|---|
| 2945 |   SET_MAKE=
 | 
|---|
| 2946 | else
 | 
|---|
| 2947 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 2948 | $as_echo "no" >&6; }
 | 
|---|
| 2949 |   SET_MAKE="MAKE=${MAKE-make}"
 | 
|---|
| 2950 | fi
 | 
|---|
| 2951 | 
 | 
|---|
| 2952 | rm -rf .tst 2>/dev/null
 | 
|---|
| 2953 | mkdir .tst 2>/dev/null
 | 
|---|
| 2954 | if test -d .tst; then
 | 
|---|
| 2955 |   am__leading_dot=.
 | 
|---|
| 2956 | else
 | 
|---|
| 2957 |   am__leading_dot=_
 | 
|---|
| 2958 | fi
 | 
|---|
| 2959 | rmdir .tst 2>/dev/null
 | 
|---|
| 2960 | 
 | 
|---|
| 2961 | if test "`cd $srcdir && pwd`" != "`pwd`"; then
 | 
|---|
| 2962 |   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 | 
|---|
| 2963 |   # is not polluted with repeated "-I."
 | 
|---|
| 2964 |   am__isrc=' -I$(srcdir)'
 | 
|---|
| 2965 |   # test to see if srcdir already configured
 | 
|---|
| 2966 |   if test -f $srcdir/config.status; then
 | 
|---|
| 2967 |     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 | 
|---|
| 2968 |   fi
 | 
|---|
| 2969 | fi
 | 
|---|
| 2970 | 
 | 
|---|
| 2971 | # test whether we have cygpath
 | 
|---|
| 2972 | if test -z "$CYGPATH_W"; then
 | 
|---|
| 2973 |   if (cygpath --version) >/dev/null 2>/dev/null; then
 | 
|---|
| 2974 |     CYGPATH_W='cygpath -w'
 | 
|---|
| 2975 |   else
 | 
|---|
| 2976 |     CYGPATH_W=echo
 | 
|---|
| 2977 |   fi
 | 
|---|
| 2978 | fi
 | 
|---|
| 2979 | 
 | 
|---|
| 2980 | 
 | 
|---|
| 2981 | # Define the identity of the package.
 | 
|---|
| 2982 |  PACKAGE='cfa-cc'
 | 
|---|
| 2983 |  VERSION='1.0.0.0'
 | 
|---|
| 2984 | 
 | 
|---|
| 2985 | 
 | 
|---|
| 2986 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2987 | #define PACKAGE "$PACKAGE"
 | 
|---|
| 2988 | _ACEOF
 | 
|---|
| 2989 | 
 | 
|---|
| 2990 | 
 | 
|---|
| 2991 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2992 | #define VERSION "$VERSION"
 | 
|---|
| 2993 | _ACEOF
 | 
|---|
| 2994 | 
 | 
|---|
| 2995 | # Some tools Automake needs.
 | 
|---|
| 2996 | 
 | 
|---|
| 2997 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 | 
|---|
| 2998 | 
 | 
|---|
| 2999 | 
 | 
|---|
| 3000 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 | 
|---|
| 3001 | 
 | 
|---|
| 3002 | 
 | 
|---|
| 3003 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 | 
|---|
| 3004 | 
 | 
|---|
| 3005 | 
 | 
|---|
| 3006 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 | 
|---|
| 3007 | 
 | 
|---|
| 3008 | 
 | 
|---|
| 3009 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 | 
|---|
| 3010 | 
 | 
|---|
| 3011 | # For better backward compatibility.  To be removed once Automake 1.9.x
 | 
|---|
| 3012 | # dies out for good.  For more background, see:
 | 
|---|
| 3013 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
 | 
|---|
| 3014 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
 | 
|---|
| 3015 | mkdir_p='$(MKDIR_P)'
 | 
|---|
| 3016 | 
 | 
|---|
| 3017 | # We need awk for the "check" target (and possibly the TAP driver).  The
 | 
|---|
| 3018 | # system "awk" is bad on some platforms.
 | 
|---|
| 3019 | # Always define AMTAR for backward compatibility.  Yes, it's still used
 | 
|---|
| 3020 | # in the wild :-(  We should find a proper way to deprecate it ...
 | 
|---|
| 3021 | AMTAR='$${TAR-tar}'
 | 
|---|
| 3022 | 
 | 
|---|
| 3023 | 
 | 
|---|
| 3024 | # We'll loop over all known methods to create a tar archive until one works.
 | 
|---|
| 3025 | _am_tools='gnutar  pax cpio none'
 | 
|---|
| 3026 | 
 | 
|---|
| 3027 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
 | 
|---|
| 3028 | 
 | 
|---|
| 3029 | 
 | 
|---|
| 3030 | 
 | 
|---|
| 3031 | 
 | 
|---|
| 3032 | 
 | 
|---|
| 3033 | 
 | 
|---|
| 3034 | # POSIX will say in a future version that running "rm -f" with no argument
 | 
|---|
| 3035 | # is OK; and we want to be able to make that assumption in our Makefile
 | 
|---|
| 3036 | # recipes.  So use an aggressive probe to check that the usage we want is
 | 
|---|
| 3037 | # actually supported "in the wild" to an acceptable degree.
 | 
|---|
| 3038 | # See automake bug#10828.
 | 
|---|
| 3039 | # To make any issue more visible, cause the running configure to be aborted
 | 
|---|
| 3040 | # by default if the 'rm' program in use doesn't match our expectations; the
 | 
|---|
| 3041 | # user can still override this though.
 | 
|---|
| 3042 | if rm -f && rm -fr && rm -rf; then : OK; else
 | 
|---|
| 3043 |   cat >&2 <<'END'
 | 
|---|
| 3044 | Oops!
 | 
|---|
| 3045 | 
 | 
|---|
| 3046 | Your 'rm' program seems unable to run without file operands specified
 | 
|---|
| 3047 | on the command line, even when the '-f' option is present.  This is contrary
 | 
|---|
| 3048 | to the behaviour of most rm programs out there, and not conforming with
 | 
|---|
| 3049 | the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
 | 
|---|
| 3050 | 
 | 
|---|
| 3051 | Please tell bug-automake@gnu.org about your system, including the value
 | 
|---|
| 3052 | of your $PATH and any error possibly output before this message.  This
 | 
|---|
| 3053 | can help us improve future automake versions.
 | 
|---|
| 3054 | 
 | 
|---|
| 3055 | END
 | 
|---|
| 3056 |   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
 | 
|---|
| 3057 |     echo 'Configuration will proceed anyway, since you have set the' >&2
 | 
|---|
| 3058 |     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
 | 
|---|
| 3059 |     echo >&2
 | 
|---|
| 3060 |   else
 | 
|---|
| 3061 |     cat >&2 <<'END'
 | 
|---|
| 3062 | Aborting the configuration process, to ensure you take notice of the issue.
 | 
|---|
| 3063 | 
 | 
|---|
| 3064 | You can download and install GNU coreutils to get an 'rm' implementation
 | 
|---|
| 3065 | that behaves properly: <http://www.gnu.org/software/coreutils/>.
 | 
|---|
| 3066 | 
 | 
|---|
| 3067 | If you want to complete the configuration process using your problematic
 | 
|---|
| 3068 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
 | 
|---|
| 3069 | to "yes", and re-run configure.
 | 
|---|
| 3070 | 
 | 
|---|
| 3071 | END
 | 
|---|
| 3072 |     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
 | 
|---|
| 3073 |   fi
 | 
|---|
| 3074 | fi
 | 
|---|
| 3075 | 
 | 
|---|
| 3076 | 
 | 
|---|
| 3077 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
 | 
|---|
| 3078 | $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
 | 
|---|
| 3079 |     # Check whether --enable-maintainer-mode was given.
 | 
|---|
| 3080 | if test "${enable_maintainer_mode+set}" = set; then :
 | 
|---|
| 3081 |   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
 | 
|---|
| 3082 | else
 | 
|---|
| 3083 |   USE_MAINTAINER_MODE=yes
 | 
|---|
| 3084 | fi
 | 
|---|
| 3085 | 
 | 
|---|
| 3086 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
 | 
|---|
| 3087 | $as_echo "$USE_MAINTAINER_MODE" >&6; }
 | 
|---|
| 3088 |    if test $USE_MAINTAINER_MODE = yes; then
 | 
|---|
| 3089 |   MAINTAINER_MODE_TRUE=
 | 
|---|
| 3090 |   MAINTAINER_MODE_FALSE='#'
 | 
|---|
| 3091 | else
 | 
|---|
| 3092 |   MAINTAINER_MODE_TRUE='#'
 | 
|---|
| 3093 |   MAINTAINER_MODE_FALSE=
 | 
|---|
| 3094 | fi
 | 
|---|
| 3095 | 
 | 
|---|
| 3096 |   MAINT=$MAINTAINER_MODE_TRUE
 | 
|---|
| 3097 | 
 | 
|---|
| 3098 |                         # may require auto* software to be installed
 | 
|---|
| 3099 | 
 | 
|---|
| 3100 | # Allow program name tansformation
 | 
|---|
| 3101 | # will fill program_transform_name with appropriate sed regex
 | 
|---|
| 3102 | 
 | 
|---|
| 3103 | 
 | 
|---|
| 3104 | #Trasforming cc1 will break compilation
 | 
|---|
| 3105 | if test "${program_transform_name}" = ""; then
 | 
|---|
| 3106 |     as_fn_error $? "Program transform not supported.
 | 
|---|
| 3107 |                 Use --with-cfa-name='[Desired name here]' instead" "$LINENO" 5
 | 
|---|
| 3108 | fi
 | 
|---|
| 3109 | 
 | 
|---|
| 3110 | 
 | 
|---|
| 3111 | # Check whether --with-cfa-name was given.
 | 
|---|
| 3112 | if test "${with_cfa_name+set}" = set; then :
 | 
|---|
| 3113 |   withval=$with_cfa_name; cfa_name=$withval
 | 
|---|
| 3114 | else
 | 
|---|
| 3115 |   cfa_name="cfa"
 | 
|---|
| 3116 | fi
 | 
|---|
| 3117 | 
 | 
|---|
| 3118 | 
 | 
|---|
| 3119 | #Define the new name of the installed command
 | 
|---|
| 3120 | CFA_NAME=${cfa_name}
 | 
|---|
| 3121 | 
 | 
|---|
| 3122 | 
 | 
|---|
| 3123 | rm -f version
 | 
|---|
| 3124 | echo ${PACKAGE_VERSION} > version               # file containing version number for other tools
 | 
|---|
| 3125 | chmod ugo-w version
 | 
|---|
| 3126 | ver_major=`cut -d '.' -f1 version`              # subdivide version number into components at periods
 | 
|---|
| 3127 | ver_minor=`cut -d '.' -f2 version`
 | 
|---|
| 3128 | ver_patch=`cut -d '.' -f3 version`
 | 
|---|
| 3129 | ver_build=`cut -d '.' -f4 version`
 | 
|---|
| 3130 | 
 | 
|---|
| 3131 | # AC_SUBST([CONFIG_STATUS_DEPENDENCIES], ['$(top_srcdir)/version'])
 | 
|---|
| 3132 | 
 | 
|---|
| 3133 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3134 | #define CFA_VERSION_MAJOR ${ver_major}
 | 
|---|
| 3135 | _ACEOF
 | 
|---|
| 3136 | 
 | 
|---|
| 3137 | 
 | 
|---|
| 3138 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3139 | #define CFA_VERSION_MINOR ${ver_minor}
 | 
|---|
| 3140 | _ACEOF
 | 
|---|
| 3141 | 
 | 
|---|
| 3142 | 
 | 
|---|
| 3143 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3144 | #define CFA_VERSION_PATCH ${ver_patch}
 | 
|---|
| 3145 | _ACEOF
 | 
|---|
| 3146 | 
 | 
|---|
| 3147 | 
 | 
|---|
| 3148 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3149 | #define CFA_VERSION_BUILD ${ver_build}
 | 
|---|
| 3150 | _ACEOF
 | 
|---|
| 3151 | 
 | 
|---|
| 3152 | 
 | 
|---|
| 3153 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3154 | #define CFA_VERSION_SHORT "${ver_major}"
 | 
|---|
| 3155 | _ACEOF
 | 
|---|
| 3156 | 
 | 
|---|
| 3157 | 
 | 
|---|
| 3158 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3159 | #define CFA_VERSION "${ver_major}.${ver_minor}"
 | 
|---|
| 3160 | _ACEOF
 | 
|---|
| 3161 | 
 | 
|---|
| 3162 | 
 | 
|---|
| 3163 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3164 | #define CFA_VERSION_LONG "${ver_major}.${ver_minor}.${ver_patch}"
 | 
|---|
| 3165 | _ACEOF
 | 
|---|
| 3166 | 
 | 
|---|
| 3167 | 
 | 
|---|
| 3168 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3169 | #define CFA_VERSION_FULL "${ver_major}.${ver_minor}.${ver_patch}.${ver_build}"
 | 
|---|
| 3170 | _ACEOF
 | 
|---|
| 3171 | 
 | 
|---|
| 3172 | 
 | 
|---|
| 3173 | # Installation paths
 | 
|---|
| 3174 | 
 | 
|---|
| 3175 | 
 | 
|---|
| 3176 | # Check whether --with-backend-compiler was given.
 | 
|---|
| 3177 | if test "${with_backend_compiler+set}" = set; then :
 | 
|---|
| 3178 |   withval=$with_backend_compiler; backendcompiler=$withval
 | 
|---|
| 3179 | else
 | 
|---|
| 3180 |   backendcompiler=""
 | 
|---|
| 3181 | fi
 | 
|---|
| 3182 | 
 | 
|---|
| 3183 | if test "x$backendcompiler" != "x"; then
 | 
|---|
| 3184 |         BACKEND_CC=${backendcompiler}
 | 
|---|
| 3185 | else
 | 
|---|
| 3186 |         # Extract the first word of "gcc", so it can be a program name with args.
 | 
|---|
| 3187 | set dummy gcc; ac_word=$2
 | 
|---|
| 3188 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 3189 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 3190 | if ${ac_cv_path_BACKEND_CC+:} false; then :
 | 
|---|
| 3191 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3192 | else
 | 
|---|
| 3193 |   case $BACKEND_CC in
 | 
|---|
| 3194 |   [\\/]* | ?:[\\/]*)
 | 
|---|
| 3195 |   ac_cv_path_BACKEND_CC="$BACKEND_CC" # Let the user override the test with a path.
 | 
|---|
| 3196 |   ;;
 | 
|---|
| 3197 |   *)
 | 
|---|
| 3198 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 3199 | for as_dir in $PATH
 | 
|---|
| 3200 | do
 | 
|---|
| 3201 |   IFS=$as_save_IFS
 | 
|---|
| 3202 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 3203 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 3204 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 3205 |     ac_cv_path_BACKEND_CC="$as_dir/$ac_word$ac_exec_ext"
 | 
|---|
| 3206 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 3207 |     break 2
 | 
|---|
| 3208 |   fi
 | 
|---|
| 3209 | done
 | 
|---|
| 3210 |   done
 | 
|---|
| 3211 | IFS=$as_save_IFS
 | 
|---|
| 3212 | 
 | 
|---|
| 3213 |   ;;
 | 
|---|
| 3214 | esac
 | 
|---|
| 3215 | fi
 | 
|---|
| 3216 | BACKEND_CC=$ac_cv_path_BACKEND_CC
 | 
|---|
| 3217 | if test -n "$BACKEND_CC"; then
 | 
|---|
| 3218 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKEND_CC" >&5
 | 
|---|
| 3219 | $as_echo "$BACKEND_CC" >&6; }
 | 
|---|
| 3220 | else
 | 
|---|
| 3221 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 3222 | $as_echo "no" >&6; }
 | 
|---|
| 3223 | fi
 | 
|---|
| 3224 | 
 | 
|---|
| 3225 |         # check gcc installed
 | 
|---|
| 3226 |         if test "x$BACKEND_CC" = "x"; then
 | 
|---|
| 3227 |                 as_fn_error $? "some version of gcc is needed. Get it at ftp://ftp.gnu.org" "$LINENO" 5
 | 
|---|
| 3228 |                 exit 1
 | 
|---|
| 3229 |         fi
 | 
|---|
| 3230 | fi
 | 
|---|
| 3231 | 
 | 
|---|
| 3232 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3233 | #define CFA_BACKEND_CC "${BACKEND_CC}"
 | 
|---|
| 3234 | _ACEOF
 | 
|---|
| 3235 | 
 | 
|---|
| 3236 | 
 | 
|---|
| 3237 | 
 | 
|---|
| 3238 | 
 | 
|---|
| 3239 | 
 | 
|---|
| 3240 | # Check whether --enable-target-release was given.
 | 
|---|
| 3241 | if test "${enable_target_release+set}" = set; then :
 | 
|---|
| 3242 |   enableval=$enable_target_release;
 | 
|---|
| 3243 | fi
 | 
|---|
| 3244 | 
 | 
|---|
| 3245 | # Check whether --enable-target-debug was given.
 | 
|---|
| 3246 | if test "${enable_target_debug+set}" = set; then :
 | 
|---|
| 3247 |   enableval=$enable_target_debug;
 | 
|---|
| 3248 | fi
 | 
|---|
| 3249 | 
 | 
|---|
| 3250 | # Check whether --enable-threading was given.
 | 
|---|
| 3251 | if test "${enable_threading+set}" = set; then :
 | 
|---|
| 3252 |   enableval=$enable_threading; case "${enableval}" in
 | 
|---|
| 3253 |   yes) build_threading="yes" ;;
 | 
|---|
| 3254 |   no)  build_threading="no" ;;
 | 
|---|
| 3255 |   *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
 | 
|---|
| 3256 | esac
 | 
|---|
| 3257 | else
 | 
|---|
| 3258 |   build_threading="yes"
 | 
|---|
| 3259 | fi
 | 
|---|
| 3260 | 
 | 
|---|
| 3261 | 
 | 
|---|
| 3262 | case "$enable_target_release" in
 | 
|---|
| 3263 |         yes)
 | 
|---|
| 3264 |                 case "$enable_target_debug" in
 | 
|---|
| 3265 |                         yes)
 | 
|---|
| 3266 |                                 build_release="yes"
 | 
|---|
| 3267 |                                 build_debug="yes"
 | 
|---|
| 3268 |                                 ;;
 | 
|---|
| 3269 |                         no)
 | 
|---|
| 3270 |                                 build_release="yes"
 | 
|---|
| 3271 |                                 build_debug="no"
 | 
|---|
| 3272 |                                 ;;
 | 
|---|
| 3273 |                         *)
 | 
|---|
| 3274 |                                 build_release="yes"
 | 
|---|
| 3275 |                                 build_debug="no"
 | 
|---|
| 3276 |                                 ;;
 | 
|---|
| 3277 |                 esac
 | 
|---|
| 3278 |                 ;;
 | 
|---|
| 3279 |         no)
 | 
|---|
| 3280 |                 case "$enable_target_debug" in
 | 
|---|
| 3281 |                         yes)
 | 
|---|
| 3282 |                                 build_release="no"
 | 
|---|
| 3283 |                                 build_debug="yes"
 | 
|---|
| 3284 |                                 ;;
 | 
|---|
| 3285 |                         no)
 | 
|---|
| 3286 |                                 build_release="no"
 | 
|---|
| 3287 |                                 build_debug="no"
 | 
|---|
| 3288 |                                 ;;
 | 
|---|
| 3289 |                         *)
 | 
|---|
| 3290 |                                 build_release="no"
 | 
|---|
| 3291 |                                 build_debug="yes"
 | 
|---|
| 3292 |                                 ;;
 | 
|---|
| 3293 |                 esac
 | 
|---|
| 3294 |                 ;;
 | 
|---|
| 3295 |         *)
 | 
|---|
| 3296 |                 case "$enable_target_debug" in
 | 
|---|
| 3297 |                         yes)
 | 
|---|
| 3298 |                                 build_release="no"
 | 
|---|
| 3299 |                                 build_debug="yes"
 | 
|---|
| 3300 |                                 ;;
 | 
|---|
| 3301 |                         no)
 | 
|---|
| 3302 |                                 build_release="yes"
 | 
|---|
| 3303 |                                 build_debug="no"
 | 
|---|
| 3304 |                                 ;;
 | 
|---|
| 3305 |                         *)
 | 
|---|
| 3306 |                                 build_release="yes"
 | 
|---|
| 3307 |                                 build_debug="yes"
 | 
|---|
| 3308 |                                 ;;
 | 
|---|
| 3309 |                 esac
 | 
|---|
| 3310 |                 ;;
 | 
|---|
| 3311 | esac
 | 
|---|
| 3312 | 
 | 
|---|
| 3313 |  if test "x$build_release" = "xyes"; then
 | 
|---|
| 3314 |   BUILD_RELEASE_TRUE=
 | 
|---|
| 3315 |   BUILD_RELEASE_FALSE='#'
 | 
|---|
| 3316 | else
 | 
|---|
| 3317 |   BUILD_RELEASE_TRUE='#'
 | 
|---|
| 3318 |   BUILD_RELEASE_FALSE=
 | 
|---|
| 3319 | fi
 | 
|---|
| 3320 | 
 | 
|---|
| 3321 |  if test "x$build_debug" = "xyes"; then
 | 
|---|
| 3322 |   BUILD_DEBUG_TRUE=
 | 
|---|
| 3323 |   BUILD_DEBUG_FALSE='#'
 | 
|---|
| 3324 | else
 | 
|---|
| 3325 |   BUILD_DEBUG_TRUE='#'
 | 
|---|
| 3326 |   BUILD_DEBUG_FALSE=
 | 
|---|
| 3327 | fi
 | 
|---|
| 3328 | 
 | 
|---|
| 3329 |  if test "x$build_release$build_debug" = "xnono"; then
 | 
|---|
| 3330 |   BUILD_NO_LIB_TRUE=
 | 
|---|
| 3331 |   BUILD_NO_LIB_FALSE='#'
 | 
|---|
| 3332 | else
 | 
|---|
| 3333 |   BUILD_NO_LIB_TRUE='#'
 | 
|---|
| 3334 |   BUILD_NO_LIB_FALSE=
 | 
|---|
| 3335 | fi
 | 
|---|
| 3336 | 
 | 
|---|
| 3337 |  if test "x$build_threading" = "xyes"; then
 | 
|---|
| 3338 |   BUILD_CONCURRENCY_TRUE=
 | 
|---|
| 3339 |   BUILD_CONCURRENCY_FALSE='#'
 | 
|---|
| 3340 | else
 | 
|---|
| 3341 |   BUILD_CONCURRENCY_TRUE='#'
 | 
|---|
| 3342 |   BUILD_CONCURRENCY_FALSE=
 | 
|---|
| 3343 | fi
 | 
|---|
| 3344 | 
 | 
|---|
| 3345 | 
 | 
|---|
| 3346 | DOifskipcompile='ifeq ($(skipcompile),yes)
 | 
|---|
| 3347 | else'
 | 
|---|
| 3348 | 
 | 
|---|
| 3349 | 
 | 
|---|
| 3350 | 
 | 
|---|
| 3351 | DOendif='endif'
 | 
|---|
| 3352 | 
 | 
|---|
| 3353 | 
 | 
|---|
| 3354 | 
 | 
|---|
| 3355 | if test "x$prefix" = "xNONE"; then
 | 
|---|
| 3356 |         cfa_prefix=${ac_default_prefix}
 | 
|---|
| 3357 | else
 | 
|---|
| 3358 |         cfa_prefix=${prefix}
 | 
|---|
| 3359 | fi
 | 
|---|
| 3360 | 
 | 
|---|
| 3361 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3362 | #define CFA_PREFIX "${cfa_prefix}"
 | 
|---|
| 3363 | _ACEOF
 | 
|---|
| 3364 | 
 | 
|---|
| 3365 | CFA_PREFIX=${cfa_prefix}
 | 
|---|
| 3366 | 
 | 
|---|
| 3367 | 
 | 
|---|
| 3368 | if test "$includedir" = '${prefix}/include'; then
 | 
|---|
| 3369 |         cfa_incdir="${cfa_prefix}/include/${cfa_name}"
 | 
|---|
| 3370 | else
 | 
|---|
| 3371 |         cfa_incdir=${includedir}
 | 
|---|
| 3372 | fi
 | 
|---|
| 3373 | 
 | 
|---|
| 3374 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3375 | #define CFA_INCDIR "${cfa_incdir}"
 | 
|---|
| 3376 | _ACEOF
 | 
|---|
| 3377 | 
 | 
|---|
| 3378 | CFA_INCDIR=${cfa_incdir}
 | 
|---|
| 3379 | 
 | 
|---|
| 3380 | 
 | 
|---|
| 3381 | if test "$bindir" = '${exec_prefix}/bin'; then
 | 
|---|
| 3382 |         cfa_bindir="${cfa_prefix}/bin"
 | 
|---|
| 3383 | else
 | 
|---|
| 3384 |         cfa_bindir=${bindir}
 | 
|---|
| 3385 | fi
 | 
|---|
| 3386 | 
 | 
|---|
| 3387 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3388 | #define CFA_BINDIR "${cfa_bindir}"
 | 
|---|
| 3389 | _ACEOF
 | 
|---|
| 3390 | 
 | 
|---|
| 3391 | CFA_BINDIR=${cfa_bindir}
 | 
|---|
| 3392 | 
 | 
|---|
| 3393 | 
 | 
|---|
| 3394 | if test "$libdir" = '${exec_prefix}/lib'; then
 | 
|---|
| 3395 |         cfa_libdir="${cfa_prefix}/lib/${cfa_name}"
 | 
|---|
| 3396 | else
 | 
|---|
| 3397 |         cfa_libdir=${libdir}
 | 
|---|
| 3398 | fi
 | 
|---|
| 3399 | 
 | 
|---|
| 3400 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3401 | #define CFA_LIBDIR "${cfa_libdir}"
 | 
|---|
| 3402 | _ACEOF
 | 
|---|
| 3403 | 
 | 
|---|
| 3404 | CFA_LIBDIR=${cfa_libdir}
 | 
|---|
| 3405 | 
 | 
|---|
| 3406 | 
 | 
|---|
| 3407 | # Make sure we can run config.sub.
 | 
|---|
| 3408 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 | 
|---|
| 3409 |   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 | 
|---|
| 3410 | 
 | 
|---|
| 3411 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 | 
|---|
| 3412 | $as_echo_n "checking build system type... " >&6; }
 | 
|---|
| 3413 | if ${ac_cv_build+:} false; then :
 | 
|---|
| 3414 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3415 | else
 | 
|---|
| 3416 |   ac_build_alias=$build_alias
 | 
|---|
| 3417 | test "x$ac_build_alias" = x &&
 | 
|---|
| 3418 |   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 | 
|---|
| 3419 | test "x$ac_build_alias" = x &&
 | 
|---|
| 3420 |   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 | 
|---|
| 3421 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 | 
|---|
| 3422 |   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 | 
|---|
| 3423 | 
 | 
|---|
| 3424 | fi
 | 
|---|
| 3425 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 | 
|---|
| 3426 | $as_echo "$ac_cv_build" >&6; }
 | 
|---|
| 3427 | case $ac_cv_build in
 | 
|---|
| 3428 | *-*-*) ;;
 | 
|---|
| 3429 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 | 
|---|
| 3430 | esac
 | 
|---|
| 3431 | build=$ac_cv_build
 | 
|---|
| 3432 | ac_save_IFS=$IFS; IFS='-'
 | 
|---|
| 3433 | set x $ac_cv_build
 | 
|---|
| 3434 | shift
 | 
|---|
| 3435 | build_cpu=$1
 | 
|---|
| 3436 | build_vendor=$2
 | 
|---|
| 3437 | shift; shift
 | 
|---|
| 3438 | # Remember, the first character of IFS is used to create $*,
 | 
|---|
| 3439 | # except with old shells:
 | 
|---|
| 3440 | build_os=$*
 | 
|---|
| 3441 | IFS=$ac_save_IFS
 | 
|---|
| 3442 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 | 
|---|
| 3443 | 
 | 
|---|
| 3444 | 
 | 
|---|
| 3445 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 | 
|---|
| 3446 | $as_echo_n "checking host system type... " >&6; }
 | 
|---|
| 3447 | if ${ac_cv_host+:} false; then :
 | 
|---|
| 3448 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3449 | else
 | 
|---|
| 3450 |   if test "x$host_alias" = x; then
 | 
|---|
| 3451 |   ac_cv_host=$ac_cv_build
 | 
|---|
| 3452 | else
 | 
|---|
| 3453 |   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 | 
|---|
| 3454 |     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 | 
|---|
| 3455 | fi
 | 
|---|
| 3456 | 
 | 
|---|
| 3457 | fi
 | 
|---|
| 3458 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 | 
|---|
| 3459 | $as_echo "$ac_cv_host" >&6; }
 | 
|---|
| 3460 | case $ac_cv_host in
 | 
|---|
| 3461 | *-*-*) ;;
 | 
|---|
| 3462 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 | 
|---|
| 3463 | esac
 | 
|---|
| 3464 | host=$ac_cv_host
 | 
|---|
| 3465 | ac_save_IFS=$IFS; IFS='-'
 | 
|---|
| 3466 | set x $ac_cv_host
 | 
|---|
| 3467 | shift
 | 
|---|
| 3468 | host_cpu=$1
 | 
|---|
| 3469 | host_vendor=$2
 | 
|---|
| 3470 | shift; shift
 | 
|---|
| 3471 | # Remember, the first character of IFS is used to create $*,
 | 
|---|
| 3472 | # except with old shells:
 | 
|---|
| 3473 | host_os=$*
 | 
|---|
| 3474 | IFS=$ac_save_IFS
 | 
|---|
| 3475 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 | 
|---|
| 3476 | 
 | 
|---|
| 3477 | 
 | 
|---|
| 3478 | MACHINE_TYPE=$host_cpu
 | 
|---|
| 3479 | 
 | 
|---|
| 3480 | 
 | 
|---|
| 3481 | if ! test "$host_cpu" = "$build_cpu"; then
 | 
|---|
| 3482 |         case $host_cpu in
 | 
|---|
| 3483 |                 i386)
 | 
|---|
| 3484 |                         CFLAGS+=" -m32 "
 | 
|---|
| 3485 |                         CXXFLAGS+=" -m32 "
 | 
|---|
| 3486 |                         CFAFLAGS+=" -m32 "
 | 
|---|
| 3487 |                         LDFLAGS+=" -m32 "
 | 
|---|
| 3488 |                         ;;
 | 
|---|
| 3489 |                 i686)
 | 
|---|
| 3490 |                         CFLAGS+=" -m32 "
 | 
|---|
| 3491 |                   CXXFLAGS+=" -m32 "
 | 
|---|
| 3492 |                   CFAFLAGS+=" -m32 "
 | 
|---|
| 3493 |                   LDFLAGS+=" -m32 "
 | 
|---|
| 3494 |                         ;;
 | 
|---|
| 3495 |                 x86_64)
 | 
|---|
| 3496 |                         CFLAGS+=" -m64 "
 | 
|---|
| 3497 |                         CXXFLAGS+=" -m64 "
 | 
|---|
| 3498 |                         CFAFLAGS+=" -m64 "
 | 
|---|
| 3499 |                         LDFLAGS+=" -m64 "
 | 
|---|
| 3500 |                         ;;
 | 
|---|
| 3501 |         esac
 | 
|---|
| 3502 | fi
 | 
|---|
| 3503 | 
 | 
|---|
| 3504 | 
 | 
|---|
| 3505 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3506 | #define CFA_FLAGS "${CFAFLAGS}"
 | 
|---|
| 3507 | _ACEOF
 | 
|---|
| 3508 | 
 | 
|---|
| 3509 | CFA_FLAGS=${CFAFLAGS}
 | 
|---|
| 3510 | 
 | 
|---|
| 3511 | 
 | 
|---|
| 3512 | # Checks for programs.
 | 
|---|
| 3513 | ac_ext=cpp
 | 
|---|
| 3514 | ac_cpp='$CXXCPP $CPPFLAGS'
 | 
|---|
| 3515 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 3516 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 3517 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 | 
|---|
| 3518 | if test -z "$CXX"; then
 | 
|---|
| 3519 |   if test -n "$CCC"; then
 | 
|---|
| 3520 |     CXX=$CCC
 | 
|---|
| 3521 |   else
 | 
|---|
| 3522 |     if test -n "$ac_tool_prefix"; then
 | 
|---|
| 3523 |   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 | 
|---|
| 3524 |   do
 | 
|---|
| 3525 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 | 
|---|
| 3526 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 | 
|---|
| 3527 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 3528 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 3529 | if ${ac_cv_prog_CXX+:} false; then :
 | 
|---|
| 3530 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3531 | else
 | 
|---|
| 3532 |   if test -n "$CXX"; then
 | 
|---|
| 3533 |   ac_cv_prog_CXX="$CXX" # Let the user override the test.
 | 
|---|
| 3534 | else
 | 
|---|
| 3535 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 3536 | for as_dir in $PATH
 | 
|---|
| 3537 | do
 | 
|---|
| 3538 |   IFS=$as_save_IFS
 | 
|---|
| 3539 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 3540 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 3541 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 3542 |     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 | 
|---|
| 3543 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 3544 |     break 2
 | 
|---|
| 3545 |   fi
 | 
|---|
| 3546 | done
 | 
|---|
| 3547 |   done
 | 
|---|
| 3548 | IFS=$as_save_IFS
 | 
|---|
| 3549 | 
 | 
|---|
| 3550 | fi
 | 
|---|
| 3551 | fi
 | 
|---|
| 3552 | CXX=$ac_cv_prog_CXX
 | 
|---|
| 3553 | if test -n "$CXX"; then
 | 
|---|
| 3554 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 | 
|---|
| 3555 | $as_echo "$CXX" >&6; }
 | 
|---|
| 3556 | else
 | 
|---|
| 3557 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 3558 | $as_echo "no" >&6; }
 | 
|---|
| 3559 | fi
 | 
|---|
| 3560 | 
 | 
|---|
| 3561 | 
 | 
|---|
| 3562 |     test -n "$CXX" && break
 | 
|---|
| 3563 |   done
 | 
|---|
| 3564 | fi
 | 
|---|
| 3565 | if test -z "$CXX"; then
 | 
|---|
| 3566 |   ac_ct_CXX=$CXX
 | 
|---|
| 3567 |   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 | 
|---|
| 3568 | do
 | 
|---|
| 3569 |   # Extract the first word of "$ac_prog", so it can be a program name with args.
 | 
|---|
| 3570 | set dummy $ac_prog; ac_word=$2
 | 
|---|
| 3571 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 3572 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 3573 | if ${ac_cv_prog_ac_ct_CXX+:} false; then :
 | 
|---|
| 3574 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3575 | else
 | 
|---|
| 3576 |   if test -n "$ac_ct_CXX"; then
 | 
|---|
| 3577 |   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 | 
|---|
| 3578 | else
 | 
|---|
| 3579 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 3580 | for as_dir in $PATH
 | 
|---|
| 3581 | do
 | 
|---|
| 3582 |   IFS=$as_save_IFS
 | 
|---|
| 3583 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 3584 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 3585 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 3586 |     ac_cv_prog_ac_ct_CXX="$ac_prog"
 | 
|---|
| 3587 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 3588 |     break 2
 | 
|---|
| 3589 |   fi
 | 
|---|
| 3590 | done
 | 
|---|
| 3591 |   done
 | 
|---|
| 3592 | IFS=$as_save_IFS
 | 
|---|
| 3593 | 
 | 
|---|
| 3594 | fi
 | 
|---|
| 3595 | fi
 | 
|---|
| 3596 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 | 
|---|
| 3597 | if test -n "$ac_ct_CXX"; then
 | 
|---|
| 3598 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 | 
|---|
| 3599 | $as_echo "$ac_ct_CXX" >&6; }
 | 
|---|
| 3600 | else
 | 
|---|
| 3601 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 3602 | $as_echo "no" >&6; }
 | 
|---|
| 3603 | fi
 | 
|---|
| 3604 | 
 | 
|---|
| 3605 | 
 | 
|---|
| 3606 |   test -n "$ac_ct_CXX" && break
 | 
|---|
| 3607 | done
 | 
|---|
| 3608 | 
 | 
|---|
| 3609 |   if test "x$ac_ct_CXX" = x; then
 | 
|---|
| 3610 |     CXX="g++"
 | 
|---|
| 3611 |   else
 | 
|---|
| 3612 |     case $cross_compiling:$ac_tool_warned in
 | 
|---|
| 3613 | yes:)
 | 
|---|
| 3614 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 | 
|---|
| 3615 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 | 
|---|
| 3616 | ac_tool_warned=yes ;;
 | 
|---|
| 3617 | esac
 | 
|---|
| 3618 |     CXX=$ac_ct_CXX
 | 
|---|
| 3619 |   fi
 | 
|---|
| 3620 | fi
 | 
|---|
| 3621 | 
 | 
|---|
| 3622 |   fi
 | 
|---|
| 3623 | fi
 | 
|---|
| 3624 | # Provide some information about the compiler.
 | 
|---|
| 3625 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 | 
|---|
| 3626 | set X $ac_compile
 | 
|---|
| 3627 | ac_compiler=$2
 | 
|---|
| 3628 | for ac_option in --version -v -V -qversion; do
 | 
|---|
| 3629 |   { { ac_try="$ac_compiler $ac_option >&5"
 | 
|---|
| 3630 | case "(($ac_try" in
 | 
|---|
| 3631 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 3632 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 3633 | esac
 | 
|---|
| 3634 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 3635 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 3636 |   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 | 
|---|
| 3637 |   ac_status=$?
 | 
|---|
| 3638 |   if test -s conftest.err; then
 | 
|---|
| 3639 |     sed '10a\
 | 
|---|
| 3640 | ... rest of stderr output deleted ...
 | 
|---|
| 3641 |          10q' conftest.err >conftest.er1
 | 
|---|
| 3642 |     cat conftest.er1 >&5
 | 
|---|
| 3643 |   fi
 | 
|---|
| 3644 |   rm -f conftest.er1 conftest.err
 | 
|---|
| 3645 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 3646 |   test $ac_status = 0; }
 | 
|---|
| 3647 | done
 | 
|---|
| 3648 | 
 | 
|---|
| 3649 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 3650 | /* end confdefs.h.  */
 | 
|---|
| 3651 | 
 | 
|---|
| 3652 | int
 | 
|---|
| 3653 | main ()
 | 
|---|
| 3654 | {
 | 
|---|
| 3655 | 
 | 
|---|
| 3656 |   ;
 | 
|---|
| 3657 |   return 0;
 | 
|---|
| 3658 | }
 | 
|---|
| 3659 | _ACEOF
 | 
|---|
| 3660 | ac_clean_files_save=$ac_clean_files
 | 
|---|
| 3661 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 | 
|---|
| 3662 | # Try to create an executable without -o first, disregard a.out.
 | 
|---|
| 3663 | # It will help us diagnose broken compilers, and finding out an intuition
 | 
|---|
| 3664 | # of exeext.
 | 
|---|
| 3665 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
 | 
|---|
| 3666 | $as_echo_n "checking whether the C++ compiler works... " >&6; }
 | 
|---|
| 3667 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 | 
|---|
| 3668 | 
 | 
|---|
| 3669 | # The possible output files:
 | 
|---|
| 3670 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 | 
|---|
| 3671 | 
 | 
|---|
| 3672 | ac_rmfiles=
 | 
|---|
| 3673 | for ac_file in $ac_files
 | 
|---|
| 3674 | do
 | 
|---|
| 3675 |   case $ac_file in
 | 
|---|
| 3676 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 | 
|---|
| 3677 |     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 | 
|---|
| 3678 |   esac
 | 
|---|
| 3679 | done
 | 
|---|
| 3680 | rm -f $ac_rmfiles
 | 
|---|
| 3681 | 
 | 
|---|
| 3682 | if { { ac_try="$ac_link_default"
 | 
|---|
| 3683 | case "(($ac_try" in
 | 
|---|
| 3684 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 3685 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 3686 | esac
 | 
|---|
| 3687 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 3688 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 3689 |   (eval "$ac_link_default") 2>&5
 | 
|---|
| 3690 |   ac_status=$?
 | 
|---|
| 3691 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 3692 |   test $ac_status = 0; }; then :
 | 
|---|
| 3693 |   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 | 
|---|
| 3694 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 | 
|---|
| 3695 | # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 | 
|---|
| 3696 | # so that the user can short-circuit this test for compilers unknown to
 | 
|---|
| 3697 | # Autoconf.
 | 
|---|
| 3698 | for ac_file in $ac_files ''
 | 
|---|
| 3699 | do
 | 
|---|
| 3700 |   test -f "$ac_file" || continue
 | 
|---|
| 3701 |   case $ac_file in
 | 
|---|
| 3702 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 | 
|---|
| 3703 |         ;;
 | 
|---|
| 3704 |     [ab].out )
 | 
|---|
| 3705 |         # We found the default executable, but exeext='' is most
 | 
|---|
| 3706 |         # certainly right.
 | 
|---|
| 3707 |         break;;
 | 
|---|
| 3708 |     *.* )
 | 
|---|
| 3709 |         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 | 
|---|
| 3710 |         then :; else
 | 
|---|
| 3711 |            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 | 
|---|
| 3712 |         fi
 | 
|---|
| 3713 |         # We set ac_cv_exeext here because the later test for it is not
 | 
|---|
| 3714 |         # safe: cross compilers may not add the suffix if given an `-o'
 | 
|---|
| 3715 |         # argument, so we may need to know it at that point already.
 | 
|---|
| 3716 |         # Even if this section looks crufty: it has the advantage of
 | 
|---|
| 3717 |         # actually working.
 | 
|---|
| 3718 |         break;;
 | 
|---|
| 3719 |     * )
 | 
|---|
| 3720 |         break;;
 | 
|---|
| 3721 |   esac
 | 
|---|
| 3722 | done
 | 
|---|
| 3723 | test "$ac_cv_exeext" = no && ac_cv_exeext=
 | 
|---|
| 3724 | 
 | 
|---|
| 3725 | else
 | 
|---|
| 3726 |   ac_file=''
 | 
|---|
| 3727 | fi
 | 
|---|
| 3728 | if test -z "$ac_file"; then :
 | 
|---|
| 3729 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 3730 | $as_echo "no" >&6; }
 | 
|---|
| 3731 | $as_echo "$as_me: failed program was:" >&5
 | 
|---|
| 3732 | sed 's/^/| /' conftest.$ac_ext >&5
 | 
|---|
| 3733 | 
 | 
|---|
| 3734 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 3735 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 3736 | as_fn_error 77 "C++ compiler cannot create executables
 | 
|---|
| 3737 | See \`config.log' for more details" "$LINENO" 5; }
 | 
|---|
| 3738 | else
 | 
|---|
| 3739 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 | 
|---|
| 3740 | $as_echo "yes" >&6; }
 | 
|---|
| 3741 | fi
 | 
|---|
| 3742 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
 | 
|---|
| 3743 | $as_echo_n "checking for C++ compiler default output file name... " >&6; }
 | 
|---|
| 3744 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 | 
|---|
| 3745 | $as_echo "$ac_file" >&6; }
 | 
|---|
| 3746 | ac_exeext=$ac_cv_exeext
 | 
|---|
| 3747 | 
 | 
|---|
| 3748 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 | 
|---|
| 3749 | ac_clean_files=$ac_clean_files_save
 | 
|---|
| 3750 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 | 
|---|
| 3751 | $as_echo_n "checking for suffix of executables... " >&6; }
 | 
|---|
| 3752 | if { { ac_try="$ac_link"
 | 
|---|
| 3753 | case "(($ac_try" in
 | 
|---|
| 3754 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 3755 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 3756 | esac
 | 
|---|
| 3757 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 3758 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 3759 |   (eval "$ac_link") 2>&5
 | 
|---|
| 3760 |   ac_status=$?
 | 
|---|
| 3761 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 3762 |   test $ac_status = 0; }; then :
 | 
|---|
| 3763 |   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 | 
|---|
| 3764 | # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 | 
|---|
| 3765 | # work properly (i.e., refer to `conftest.exe'), while it won't with
 | 
|---|
| 3766 | # `rm'.
 | 
|---|
| 3767 | for ac_file in conftest.exe conftest conftest.*; do
 | 
|---|
| 3768 |   test -f "$ac_file" || continue
 | 
|---|
| 3769 |   case $ac_file in
 | 
|---|
| 3770 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 | 
|---|
| 3771 |     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 | 
|---|
| 3772 |           break;;
 | 
|---|
| 3773 |     * ) break;;
 | 
|---|
| 3774 |   esac
 | 
|---|
| 3775 | done
 | 
|---|
| 3776 | else
 | 
|---|
| 3777 |   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 3778 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 3779 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 | 
|---|
| 3780 | See \`config.log' for more details" "$LINENO" 5; }
 | 
|---|
| 3781 | fi
 | 
|---|
| 3782 | rm -f conftest conftest$ac_cv_exeext
 | 
|---|
| 3783 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 | 
|---|
| 3784 | $as_echo "$ac_cv_exeext" >&6; }
 | 
|---|
| 3785 | 
 | 
|---|
| 3786 | rm -f conftest.$ac_ext
 | 
|---|
| 3787 | EXEEXT=$ac_cv_exeext
 | 
|---|
| 3788 | ac_exeext=$EXEEXT
 | 
|---|
| 3789 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 3790 | /* end confdefs.h.  */
 | 
|---|
| 3791 | #include <stdio.h>
 | 
|---|
| 3792 | int
 | 
|---|
| 3793 | main ()
 | 
|---|
| 3794 | {
 | 
|---|
| 3795 | FILE *f = fopen ("conftest.out", "w");
 | 
|---|
| 3796 |  return ferror (f) || fclose (f) != 0;
 | 
|---|
| 3797 | 
 | 
|---|
| 3798 |   ;
 | 
|---|
| 3799 |   return 0;
 | 
|---|
| 3800 | }
 | 
|---|
| 3801 | _ACEOF
 | 
|---|
| 3802 | ac_clean_files="$ac_clean_files conftest.out"
 | 
|---|
| 3803 | # Check that the compiler produces executables we can run.  If not, either
 | 
|---|
| 3804 | # the compiler is broken, or we cross compile.
 | 
|---|
| 3805 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 | 
|---|
| 3806 | $as_echo_n "checking whether we are cross compiling... " >&6; }
 | 
|---|
| 3807 | if test "$cross_compiling" != yes; then
 | 
|---|
| 3808 |   { { ac_try="$ac_link"
 | 
|---|
| 3809 | case "(($ac_try" in
 | 
|---|
| 3810 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 3811 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 3812 | esac
 | 
|---|
| 3813 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 3814 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 3815 |   (eval "$ac_link") 2>&5
 | 
|---|
| 3816 |   ac_status=$?
 | 
|---|
| 3817 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 3818 |   test $ac_status = 0; }
 | 
|---|
| 3819 |   if { ac_try='./conftest$ac_cv_exeext'
 | 
|---|
| 3820 |   { { case "(($ac_try" in
 | 
|---|
| 3821 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 3822 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 3823 | esac
 | 
|---|
| 3824 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 3825 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 3826 |   (eval "$ac_try") 2>&5
 | 
|---|
| 3827 |   ac_status=$?
 | 
|---|
| 3828 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 3829 |   test $ac_status = 0; }; }; then
 | 
|---|
| 3830 |     cross_compiling=no
 | 
|---|
| 3831 |   else
 | 
|---|
| 3832 |     if test "$cross_compiling" = maybe; then
 | 
|---|
| 3833 |         cross_compiling=yes
 | 
|---|
| 3834 |     else
 | 
|---|
| 3835 |         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 3836 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 3837 | as_fn_error $? "cannot run C++ compiled programs.
 | 
|---|
| 3838 | If you meant to cross compile, use \`--host'.
 | 
|---|
| 3839 | See \`config.log' for more details" "$LINENO" 5; }
 | 
|---|
| 3840 |     fi
 | 
|---|
| 3841 |   fi
 | 
|---|
| 3842 | fi
 | 
|---|
| 3843 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 | 
|---|
| 3844 | $as_echo "$cross_compiling" >&6; }
 | 
|---|
| 3845 | 
 | 
|---|
| 3846 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 | 
|---|
| 3847 | ac_clean_files=$ac_clean_files_save
 | 
|---|
| 3848 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 | 
|---|
| 3849 | $as_echo_n "checking for suffix of object files... " >&6; }
 | 
|---|
| 3850 | if ${ac_cv_objext+:} false; then :
 | 
|---|
| 3851 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3852 | else
 | 
|---|
| 3853 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 3854 | /* end confdefs.h.  */
 | 
|---|
| 3855 | 
 | 
|---|
| 3856 | int
 | 
|---|
| 3857 | main ()
 | 
|---|
| 3858 | {
 | 
|---|
| 3859 | 
 | 
|---|
| 3860 |   ;
 | 
|---|
| 3861 |   return 0;
 | 
|---|
| 3862 | }
 | 
|---|
| 3863 | _ACEOF
 | 
|---|
| 3864 | rm -f conftest.o conftest.obj
 | 
|---|
| 3865 | if { { ac_try="$ac_compile"
 | 
|---|
| 3866 | case "(($ac_try" in
 | 
|---|
| 3867 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 3868 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 3869 | esac
 | 
|---|
| 3870 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 3871 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 3872 |   (eval "$ac_compile") 2>&5
 | 
|---|
| 3873 |   ac_status=$?
 | 
|---|
| 3874 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 3875 |   test $ac_status = 0; }; then :
 | 
|---|
| 3876 |   for ac_file in conftest.o conftest.obj conftest.*; do
 | 
|---|
| 3877 |   test -f "$ac_file" || continue;
 | 
|---|
| 3878 |   case $ac_file in
 | 
|---|
| 3879 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 | 
|---|
| 3880 |     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 | 
|---|
| 3881 |        break;;
 | 
|---|
| 3882 |   esac
 | 
|---|
| 3883 | done
 | 
|---|
| 3884 | else
 | 
|---|
| 3885 |   $as_echo "$as_me: failed program was:" >&5
 | 
|---|
| 3886 | sed 's/^/| /' conftest.$ac_ext >&5
 | 
|---|
| 3887 | 
 | 
|---|
| 3888 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 3889 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 3890 | as_fn_error $? "cannot compute suffix of object files: cannot compile
 | 
|---|
| 3891 | See \`config.log' for more details" "$LINENO" 5; }
 | 
|---|
| 3892 | fi
 | 
|---|
| 3893 | rm -f conftest.$ac_cv_objext conftest.$ac_ext
 | 
|---|
| 3894 | fi
 | 
|---|
| 3895 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 | 
|---|
| 3896 | $as_echo "$ac_cv_objext" >&6; }
 | 
|---|
| 3897 | OBJEXT=$ac_cv_objext
 | 
|---|
| 3898 | ac_objext=$OBJEXT
 | 
|---|
| 3899 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 | 
|---|
| 3900 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 | 
|---|
| 3901 | if ${ac_cv_cxx_compiler_gnu+:} false; then :
 | 
|---|
| 3902 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3903 | else
 | 
|---|
| 3904 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 3905 | /* end confdefs.h.  */
 | 
|---|
| 3906 | 
 | 
|---|
| 3907 | int
 | 
|---|
| 3908 | main ()
 | 
|---|
| 3909 | {
 | 
|---|
| 3910 | #ifndef __GNUC__
 | 
|---|
| 3911 |        choke me
 | 
|---|
| 3912 | #endif
 | 
|---|
| 3913 | 
 | 
|---|
| 3914 |   ;
 | 
|---|
| 3915 |   return 0;
 | 
|---|
| 3916 | }
 | 
|---|
| 3917 | _ACEOF
 | 
|---|
| 3918 | if ac_fn_cxx_try_compile "$LINENO"; then :
 | 
|---|
| 3919 |   ac_compiler_gnu=yes
 | 
|---|
| 3920 | else
 | 
|---|
| 3921 |   ac_compiler_gnu=no
 | 
|---|
| 3922 | fi
 | 
|---|
| 3923 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 3924 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 | 
|---|
| 3925 | 
 | 
|---|
| 3926 | fi
 | 
|---|
| 3927 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 | 
|---|
| 3928 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 | 
|---|
| 3929 | if test $ac_compiler_gnu = yes; then
 | 
|---|
| 3930 |   GXX=yes
 | 
|---|
| 3931 | else
 | 
|---|
| 3932 |   GXX=
 | 
|---|
| 3933 | fi
 | 
|---|
| 3934 | ac_test_CXXFLAGS=${CXXFLAGS+set}
 | 
|---|
| 3935 | ac_save_CXXFLAGS=$CXXFLAGS
 | 
|---|
| 3936 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 | 
|---|
| 3937 | $as_echo_n "checking whether $CXX accepts -g... " >&6; }
 | 
|---|
| 3938 | if ${ac_cv_prog_cxx_g+:} false; then :
 | 
|---|
| 3939 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3940 | else
 | 
|---|
| 3941 |   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 | 
|---|
| 3942 |    ac_cxx_werror_flag=yes
 | 
|---|
| 3943 |    ac_cv_prog_cxx_g=no
 | 
|---|
| 3944 |    CXXFLAGS="-g"
 | 
|---|
| 3945 |    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 3946 | /* end confdefs.h.  */
 | 
|---|
| 3947 | 
 | 
|---|
| 3948 | int
 | 
|---|
| 3949 | main ()
 | 
|---|
| 3950 | {
 | 
|---|
| 3951 | 
 | 
|---|
| 3952 |   ;
 | 
|---|
| 3953 |   return 0;
 | 
|---|
| 3954 | }
 | 
|---|
| 3955 | _ACEOF
 | 
|---|
| 3956 | if ac_fn_cxx_try_compile "$LINENO"; then :
 | 
|---|
| 3957 |   ac_cv_prog_cxx_g=yes
 | 
|---|
| 3958 | else
 | 
|---|
| 3959 |   CXXFLAGS=""
 | 
|---|
| 3960 |       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 3961 | /* end confdefs.h.  */
 | 
|---|
| 3962 | 
 | 
|---|
| 3963 | int
 | 
|---|
| 3964 | main ()
 | 
|---|
| 3965 | {
 | 
|---|
| 3966 | 
 | 
|---|
| 3967 |   ;
 | 
|---|
| 3968 |   return 0;
 | 
|---|
| 3969 | }
 | 
|---|
| 3970 | _ACEOF
 | 
|---|
| 3971 | if ac_fn_cxx_try_compile "$LINENO"; then :
 | 
|---|
| 3972 | 
 | 
|---|
| 3973 | else
 | 
|---|
| 3974 |   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 | 
|---|
| 3975 |          CXXFLAGS="-g"
 | 
|---|
| 3976 |          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 3977 | /* end confdefs.h.  */
 | 
|---|
| 3978 | 
 | 
|---|
| 3979 | int
 | 
|---|
| 3980 | main ()
 | 
|---|
| 3981 | {
 | 
|---|
| 3982 | 
 | 
|---|
| 3983 |   ;
 | 
|---|
| 3984 |   return 0;
 | 
|---|
| 3985 | }
 | 
|---|
| 3986 | _ACEOF
 | 
|---|
| 3987 | if ac_fn_cxx_try_compile "$LINENO"; then :
 | 
|---|
| 3988 |   ac_cv_prog_cxx_g=yes
 | 
|---|
| 3989 | fi
 | 
|---|
| 3990 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 3991 | fi
 | 
|---|
| 3992 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 3993 | fi
 | 
|---|
| 3994 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 3995 |    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 | 
|---|
| 3996 | fi
 | 
|---|
| 3997 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 | 
|---|
| 3998 | $as_echo "$ac_cv_prog_cxx_g" >&6; }
 | 
|---|
| 3999 | if test "$ac_test_CXXFLAGS" = set; then
 | 
|---|
| 4000 |   CXXFLAGS=$ac_save_CXXFLAGS
 | 
|---|
| 4001 | elif test $ac_cv_prog_cxx_g = yes; then
 | 
|---|
| 4002 |   if test "$GXX" = yes; then
 | 
|---|
| 4003 |     CXXFLAGS="-g -O2"
 | 
|---|
| 4004 |   else
 | 
|---|
| 4005 |     CXXFLAGS="-g"
 | 
|---|
| 4006 |   fi
 | 
|---|
| 4007 | else
 | 
|---|
| 4008 |   if test "$GXX" = yes; then
 | 
|---|
| 4009 |     CXXFLAGS="-O2"
 | 
|---|
| 4010 |   else
 | 
|---|
| 4011 |     CXXFLAGS=
 | 
|---|
| 4012 |   fi
 | 
|---|
| 4013 | fi
 | 
|---|
| 4014 | ac_ext=c
 | 
|---|
| 4015 | ac_cpp='$CPP $CPPFLAGS'
 | 
|---|
| 4016 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 4017 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 4018 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
 | 
|---|
| 4019 | DEPDIR="${am__leading_dot}deps"
 | 
|---|
| 4020 | 
 | 
|---|
| 4021 | ac_config_commands="$ac_config_commands depfiles"
 | 
|---|
| 4022 | 
 | 
|---|
| 4023 | 
 | 
|---|
| 4024 | am_make=${MAKE-make}
 | 
|---|
| 4025 | cat > confinc << 'END'
 | 
|---|
| 4026 | am__doit:
 | 
|---|
| 4027 |         @echo this is the am__doit target
 | 
|---|
| 4028 | .PHONY: am__doit
 | 
|---|
| 4029 | END
 | 
|---|
| 4030 | # If we don't find an include directive, just comment out the code.
 | 
|---|
| 4031 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 | 
|---|
| 4032 | $as_echo_n "checking for style of include used by $am_make... " >&6; }
 | 
|---|
| 4033 | am__include="#"
 | 
|---|
| 4034 | am__quote=
 | 
|---|
| 4035 | _am_result=none
 | 
|---|
| 4036 | # First try GNU make style include.
 | 
|---|
| 4037 | echo "include confinc" > confmf
 | 
|---|
| 4038 | # Ignore all kinds of additional output from 'make'.
 | 
|---|
| 4039 | case `$am_make -s -f confmf 2> /dev/null` in #(
 | 
|---|
| 4040 | *the\ am__doit\ target*)
 | 
|---|
| 4041 |   am__include=include
 | 
|---|
| 4042 |   am__quote=
 | 
|---|
| 4043 |   _am_result=GNU
 | 
|---|
| 4044 |   ;;
 | 
|---|
| 4045 | esac
 | 
|---|
| 4046 | # Now try BSD make style include.
 | 
|---|
| 4047 | if test "$am__include" = "#"; then
 | 
|---|
| 4048 |    echo '.include "confinc"' > confmf
 | 
|---|
| 4049 |    case `$am_make -s -f confmf 2> /dev/null` in #(
 | 
|---|
| 4050 |    *the\ am__doit\ target*)
 | 
|---|
| 4051 |      am__include=.include
 | 
|---|
| 4052 |      am__quote="\""
 | 
|---|
| 4053 |      _am_result=BSD
 | 
|---|
| 4054 |      ;;
 | 
|---|
| 4055 |    esac
 | 
|---|
| 4056 | fi
 | 
|---|
| 4057 | 
 | 
|---|
| 4058 | 
 | 
|---|
| 4059 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 | 
|---|
| 4060 | $as_echo "$_am_result" >&6; }
 | 
|---|
| 4061 | rm -f confinc confmf
 | 
|---|
| 4062 | 
 | 
|---|
| 4063 | # Check whether --enable-dependency-tracking was given.
 | 
|---|
| 4064 | if test "${enable_dependency_tracking+set}" = set; then :
 | 
|---|
| 4065 |   enableval=$enable_dependency_tracking;
 | 
|---|
| 4066 | fi
 | 
|---|
| 4067 | 
 | 
|---|
| 4068 | if test "x$enable_dependency_tracking" != xno; then
 | 
|---|
| 4069 |   am_depcomp="$ac_aux_dir/depcomp"
 | 
|---|
| 4070 |   AMDEPBACKSLASH='\'
 | 
|---|
| 4071 |   am__nodep='_no'
 | 
|---|
| 4072 | fi
 | 
|---|
| 4073 |  if test "x$enable_dependency_tracking" != xno; then
 | 
|---|
| 4074 |   AMDEP_TRUE=
 | 
|---|
| 4075 |   AMDEP_FALSE='#'
 | 
|---|
| 4076 | else
 | 
|---|
| 4077 |   AMDEP_TRUE='#'
 | 
|---|
| 4078 |   AMDEP_FALSE=
 | 
|---|
| 4079 | fi
 | 
|---|
| 4080 | 
 | 
|---|
| 4081 | 
 | 
|---|
| 4082 | 
 | 
|---|
| 4083 | depcc="$CXX"  am_compiler_list=
 | 
|---|
| 4084 | 
 | 
|---|
| 4085 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 | 
|---|
| 4086 | $as_echo_n "checking dependency style of $depcc... " >&6; }
 | 
|---|
| 4087 | if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
 | 
|---|
| 4088 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4089 | else
 | 
|---|
| 4090 |   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 | 
|---|
| 4091 |   # We make a subdir and do the tests there.  Otherwise we can end up
 | 
|---|
| 4092 |   # making bogus files that we don't know about and never remove.  For
 | 
|---|
| 4093 |   # instance it was reported that on HP-UX the gcc test will end up
 | 
|---|
| 4094 |   # making a dummy file named 'D' -- because '-MD' means "put the output
 | 
|---|
| 4095 |   # in D".
 | 
|---|
| 4096 |   rm -rf conftest.dir
 | 
|---|
| 4097 |   mkdir conftest.dir
 | 
|---|
| 4098 |   # Copy depcomp to subdir because otherwise we won't find it if we're
 | 
|---|
| 4099 |   # using a relative directory.
 | 
|---|
| 4100 |   cp "$am_depcomp" conftest.dir
 | 
|---|
| 4101 |   cd conftest.dir
 | 
|---|
| 4102 |   # We will build objects and dependencies in a subdirectory because
 | 
|---|
| 4103 |   # it helps to detect inapplicable dependency modes.  For instance
 | 
|---|
| 4104 |   # both Tru64's cc and ICC support -MD to output dependencies as a
 | 
|---|
| 4105 |   # side effect of compilation, but ICC will put the dependencies in
 | 
|---|
| 4106 |   # the current directory while Tru64 will put them in the object
 | 
|---|
| 4107 |   # directory.
 | 
|---|
| 4108 |   mkdir sub
 | 
|---|
| 4109 | 
 | 
|---|
| 4110 |   am_cv_CXX_dependencies_compiler_type=none
 | 
|---|
| 4111 |   if test "$am_compiler_list" = ""; then
 | 
|---|
| 4112 |      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 | 
|---|
| 4113 |   fi
 | 
|---|
| 4114 |   am__universal=false
 | 
|---|
| 4115 |   case " $depcc " in #(
 | 
|---|
| 4116 |      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 | 
|---|
| 4117 |      esac
 | 
|---|
| 4118 | 
 | 
|---|
| 4119 |   for depmode in $am_compiler_list; do
 | 
|---|
| 4120 |     # Setup a source with many dependencies, because some compilers
 | 
|---|
| 4121 |     # like to wrap large dependency lists on column 80 (with \), and
 | 
|---|
| 4122 |     # we should not choose a depcomp mode which is confused by this.
 | 
|---|
| 4123 |     #
 | 
|---|
| 4124 |     # We need to recreate these files for each test, as the compiler may
 | 
|---|
| 4125 |     # overwrite some of them when testing with obscure command lines.
 | 
|---|
| 4126 |     # This happens at least with the AIX C compiler.
 | 
|---|
| 4127 |     : > sub/conftest.c
 | 
|---|
| 4128 |     for i in 1 2 3 4 5 6; do
 | 
|---|
| 4129 |       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 | 
|---|
| 4130 |       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 | 
|---|
| 4131 |       # Solaris 10 /bin/sh.
 | 
|---|
| 4132 |       echo '/* dummy */' > sub/conftst$i.h
 | 
|---|
| 4133 |     done
 | 
|---|
| 4134 |     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 | 
|---|
| 4135 | 
 | 
|---|
| 4136 |     # We check with '-c' and '-o' for the sake of the "dashmstdout"
 | 
|---|
| 4137 |     # mode.  It turns out that the SunPro C++ compiler does not properly
 | 
|---|
| 4138 |     # handle '-M -o', and we need to detect this.  Also, some Intel
 | 
|---|
| 4139 |     # versions had trouble with output in subdirs.
 | 
|---|
| 4140 |     am__obj=sub/conftest.${OBJEXT-o}
 | 
|---|
| 4141 |     am__minus_obj="-o $am__obj"
 | 
|---|
| 4142 |     case $depmode in
 | 
|---|
| 4143 |     gcc)
 | 
|---|
| 4144 |       # This depmode causes a compiler race in universal mode.
 | 
|---|
| 4145 |       test "$am__universal" = false || continue
 | 
|---|
| 4146 |       ;;
 | 
|---|
| 4147 |     nosideeffect)
 | 
|---|
| 4148 |       # After this tag, mechanisms are not by side-effect, so they'll
 | 
|---|
| 4149 |       # only be used when explicitly requested.
 | 
|---|
| 4150 |       if test "x$enable_dependency_tracking" = xyes; then
 | 
|---|
| 4151 |         continue
 | 
|---|
| 4152 |       else
 | 
|---|
| 4153 |         break
 | 
|---|
| 4154 |       fi
 | 
|---|
| 4155 |       ;;
 | 
|---|
| 4156 |     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 | 
|---|
| 4157 |       # This compiler won't grok '-c -o', but also, the minuso test has
 | 
|---|
| 4158 |       # not run yet.  These depmodes are late enough in the game, and
 | 
|---|
| 4159 |       # so weak that their functioning should not be impacted.
 | 
|---|
| 4160 |       am__obj=conftest.${OBJEXT-o}
 | 
|---|
| 4161 |       am__minus_obj=
 | 
|---|
| 4162 |       ;;
 | 
|---|
| 4163 |     none) break ;;
 | 
|---|
| 4164 |     esac
 | 
|---|
| 4165 |     if depmode=$depmode \
 | 
|---|
| 4166 |        source=sub/conftest.c object=$am__obj \
 | 
|---|
| 4167 |        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 | 
|---|
| 4168 |        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 | 
|---|
| 4169 |          >/dev/null 2>conftest.err &&
 | 
|---|
| 4170 |        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 4171 |        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 4172 |        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 4173 |        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 | 
|---|
| 4174 |       # icc doesn't choke on unknown options, it will just issue warnings
 | 
|---|
| 4175 |       # or remarks (even with -Werror).  So we grep stderr for any message
 | 
|---|
| 4176 |       # that says an option was ignored or not supported.
 | 
|---|
| 4177 |       # When given -MP, icc 7.0 and 7.1 complain thusly:
 | 
|---|
| 4178 |       #   icc: Command line warning: ignoring option '-M'; no argument required
 | 
|---|
| 4179 |       # The diagnosis changed in icc 8.0:
 | 
|---|
| 4180 |       #   icc: Command line remark: option '-MP' not supported
 | 
|---|
| 4181 |       if (grep 'ignoring option' conftest.err ||
 | 
|---|
| 4182 |           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 | 
|---|
| 4183 |         am_cv_CXX_dependencies_compiler_type=$depmode
 | 
|---|
| 4184 |         break
 | 
|---|
| 4185 |       fi
 | 
|---|
| 4186 |     fi
 | 
|---|
| 4187 |   done
 | 
|---|
| 4188 | 
 | 
|---|
| 4189 |   cd ..
 | 
|---|
| 4190 |   rm -rf conftest.dir
 | 
|---|
| 4191 | else
 | 
|---|
| 4192 |   am_cv_CXX_dependencies_compiler_type=none
 | 
|---|
| 4193 | fi
 | 
|---|
| 4194 | 
 | 
|---|
| 4195 | fi
 | 
|---|
| 4196 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 | 
|---|
| 4197 | $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 | 
|---|
| 4198 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 | 
|---|
| 4199 | 
 | 
|---|
| 4200 |  if
 | 
|---|
| 4201 |   test "x$enable_dependency_tracking" != xno \
 | 
|---|
| 4202 |   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 | 
|---|
| 4203 |   am__fastdepCXX_TRUE=
 | 
|---|
| 4204 |   am__fastdepCXX_FALSE='#'
 | 
|---|
| 4205 | else
 | 
|---|
| 4206 |   am__fastdepCXX_TRUE='#'
 | 
|---|
| 4207 |   am__fastdepCXX_FALSE=
 | 
|---|
| 4208 | fi
 | 
|---|
| 4209 | 
 | 
|---|
| 4210 | 
 | 
|---|
| 4211 | ac_ext=c
 | 
|---|
| 4212 | ac_cpp='$CPP $CPPFLAGS'
 | 
|---|
| 4213 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 4214 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 4215 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
 | 
|---|
| 4216 | if test -n "$ac_tool_prefix"; then
 | 
|---|
| 4217 |   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 | 
|---|
| 4218 | set dummy ${ac_tool_prefix}gcc; ac_word=$2
 | 
|---|
| 4219 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 4220 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 4221 | if ${ac_cv_prog_CC+:} false; then :
 | 
|---|
| 4222 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4223 | else
 | 
|---|
| 4224 |   if test -n "$CC"; then
 | 
|---|
| 4225 |   ac_cv_prog_CC="$CC" # Let the user override the test.
 | 
|---|
| 4226 | else
 | 
|---|
| 4227 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 4228 | for as_dir in $PATH
 | 
|---|
| 4229 | do
 | 
|---|
| 4230 |   IFS=$as_save_IFS
 | 
|---|
| 4231 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 4232 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 4233 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 4234 |     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 | 
|---|
| 4235 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 4236 |     break 2
 | 
|---|
| 4237 |   fi
 | 
|---|
| 4238 | done
 | 
|---|
| 4239 |   done
 | 
|---|
| 4240 | IFS=$as_save_IFS
 | 
|---|
| 4241 | 
 | 
|---|
| 4242 | fi
 | 
|---|
| 4243 | fi
 | 
|---|
| 4244 | CC=$ac_cv_prog_CC
 | 
|---|
| 4245 | if test -n "$CC"; then
 | 
|---|
| 4246 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 | 
|---|
| 4247 | $as_echo "$CC" >&6; }
 | 
|---|
| 4248 | else
 | 
|---|
| 4249 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 4250 | $as_echo "no" >&6; }
 | 
|---|
| 4251 | fi
 | 
|---|
| 4252 | 
 | 
|---|
| 4253 | 
 | 
|---|
| 4254 | fi
 | 
|---|
| 4255 | if test -z "$ac_cv_prog_CC"; then
 | 
|---|
| 4256 |   ac_ct_CC=$CC
 | 
|---|
| 4257 |   # Extract the first word of "gcc", so it can be a program name with args.
 | 
|---|
| 4258 | set dummy gcc; ac_word=$2
 | 
|---|
| 4259 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 4260 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 4261 | if ${ac_cv_prog_ac_ct_CC+:} false; then :
 | 
|---|
| 4262 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4263 | else
 | 
|---|
| 4264 |   if test -n "$ac_ct_CC"; then
 | 
|---|
| 4265 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 | 
|---|
| 4266 | else
 | 
|---|
| 4267 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 4268 | for as_dir in $PATH
 | 
|---|
| 4269 | do
 | 
|---|
| 4270 |   IFS=$as_save_IFS
 | 
|---|
| 4271 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 4272 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 4273 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 4274 |     ac_cv_prog_ac_ct_CC="gcc"
 | 
|---|
| 4275 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 4276 |     break 2
 | 
|---|
| 4277 |   fi
 | 
|---|
| 4278 | done
 | 
|---|
| 4279 |   done
 | 
|---|
| 4280 | IFS=$as_save_IFS
 | 
|---|
| 4281 | 
 | 
|---|
| 4282 | fi
 | 
|---|
| 4283 | fi
 | 
|---|
| 4284 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
 | 
|---|
| 4285 | if test -n "$ac_ct_CC"; then
 | 
|---|
| 4286 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 | 
|---|
| 4287 | $as_echo "$ac_ct_CC" >&6; }
 | 
|---|
| 4288 | else
 | 
|---|
| 4289 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 4290 | $as_echo "no" >&6; }
 | 
|---|
| 4291 | fi
 | 
|---|
| 4292 | 
 | 
|---|
| 4293 |   if test "x$ac_ct_CC" = x; then
 | 
|---|
| 4294 |     CC=""
 | 
|---|
| 4295 |   else
 | 
|---|
| 4296 |     case $cross_compiling:$ac_tool_warned in
 | 
|---|
| 4297 | yes:)
 | 
|---|
| 4298 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 | 
|---|
| 4299 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 | 
|---|
| 4300 | ac_tool_warned=yes ;;
 | 
|---|
| 4301 | esac
 | 
|---|
| 4302 |     CC=$ac_ct_CC
 | 
|---|
| 4303 |   fi
 | 
|---|
| 4304 | else
 | 
|---|
| 4305 |   CC="$ac_cv_prog_CC"
 | 
|---|
| 4306 | fi
 | 
|---|
| 4307 | 
 | 
|---|
| 4308 | if test -z "$CC"; then
 | 
|---|
| 4309 |           if test -n "$ac_tool_prefix"; then
 | 
|---|
| 4310 |     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 | 
|---|
| 4311 | set dummy ${ac_tool_prefix}cc; ac_word=$2
 | 
|---|
| 4312 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 4313 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 4314 | if ${ac_cv_prog_CC+:} false; then :
 | 
|---|
| 4315 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4316 | else
 | 
|---|
| 4317 |   if test -n "$CC"; then
 | 
|---|
| 4318 |   ac_cv_prog_CC="$CC" # Let the user override the test.
 | 
|---|
| 4319 | else
 | 
|---|
| 4320 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 4321 | for as_dir in $PATH
 | 
|---|
| 4322 | do
 | 
|---|
| 4323 |   IFS=$as_save_IFS
 | 
|---|
| 4324 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 4325 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 4326 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 4327 |     ac_cv_prog_CC="${ac_tool_prefix}cc"
 | 
|---|
| 4328 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 4329 |     break 2
 | 
|---|
| 4330 |   fi
 | 
|---|
| 4331 | done
 | 
|---|
| 4332 |   done
 | 
|---|
| 4333 | IFS=$as_save_IFS
 | 
|---|
| 4334 | 
 | 
|---|
| 4335 | fi
 | 
|---|
| 4336 | fi
 | 
|---|
| 4337 | CC=$ac_cv_prog_CC
 | 
|---|
| 4338 | if test -n "$CC"; then
 | 
|---|
| 4339 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 | 
|---|
| 4340 | $as_echo "$CC" >&6; }
 | 
|---|
| 4341 | else
 | 
|---|
| 4342 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 4343 | $as_echo "no" >&6; }
 | 
|---|
| 4344 | fi
 | 
|---|
| 4345 | 
 | 
|---|
| 4346 | 
 | 
|---|
| 4347 |   fi
 | 
|---|
| 4348 | fi
 | 
|---|
| 4349 | if test -z "$CC"; then
 | 
|---|
| 4350 |   # Extract the first word of "cc", so it can be a program name with args.
 | 
|---|
| 4351 | set dummy cc; ac_word=$2
 | 
|---|
| 4352 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 4353 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 4354 | if ${ac_cv_prog_CC+:} false; then :
 | 
|---|
| 4355 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4356 | else
 | 
|---|
| 4357 |   if test -n "$CC"; then
 | 
|---|
| 4358 |   ac_cv_prog_CC="$CC" # Let the user override the test.
 | 
|---|
| 4359 | else
 | 
|---|
| 4360 |   ac_prog_rejected=no
 | 
|---|
| 4361 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 4362 | for as_dir in $PATH
 | 
|---|
| 4363 | do
 | 
|---|
| 4364 |   IFS=$as_save_IFS
 | 
|---|
| 4365 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 4366 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 4367 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 4368 |     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 | 
|---|
| 4369 |        ac_prog_rejected=yes
 | 
|---|
| 4370 |        continue
 | 
|---|
| 4371 |      fi
 | 
|---|
| 4372 |     ac_cv_prog_CC="cc"
 | 
|---|
| 4373 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 4374 |     break 2
 | 
|---|
| 4375 |   fi
 | 
|---|
| 4376 | done
 | 
|---|
| 4377 |   done
 | 
|---|
| 4378 | IFS=$as_save_IFS
 | 
|---|
| 4379 | 
 | 
|---|
| 4380 | if test $ac_prog_rejected = yes; then
 | 
|---|
| 4381 |   # We found a bogon in the path, so make sure we never use it.
 | 
|---|
| 4382 |   set dummy $ac_cv_prog_CC
 | 
|---|
| 4383 |   shift
 | 
|---|
| 4384 |   if test $# != 0; then
 | 
|---|
| 4385 |     # We chose a different compiler from the bogus one.
 | 
|---|
| 4386 |     # However, it has the same basename, so the bogon will be chosen
 | 
|---|
| 4387 |     # first if we set CC to just the basename; use the full file name.
 | 
|---|
| 4388 |     shift
 | 
|---|
| 4389 |     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 | 
|---|
| 4390 |   fi
 | 
|---|
| 4391 | fi
 | 
|---|
| 4392 | fi
 | 
|---|
| 4393 | fi
 | 
|---|
| 4394 | CC=$ac_cv_prog_CC
 | 
|---|
| 4395 | if test -n "$CC"; then
 | 
|---|
| 4396 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 | 
|---|
| 4397 | $as_echo "$CC" >&6; }
 | 
|---|
| 4398 | else
 | 
|---|
| 4399 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 4400 | $as_echo "no" >&6; }
 | 
|---|
| 4401 | fi
 | 
|---|
| 4402 | 
 | 
|---|
| 4403 | 
 | 
|---|
| 4404 | fi
 | 
|---|
| 4405 | if test -z "$CC"; then
 | 
|---|
| 4406 |   if test -n "$ac_tool_prefix"; then
 | 
|---|
| 4407 |   for ac_prog in cl.exe
 | 
|---|
| 4408 |   do
 | 
|---|
| 4409 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 | 
|---|
| 4410 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 | 
|---|
| 4411 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 4412 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 4413 | if ${ac_cv_prog_CC+:} false; then :
 | 
|---|
| 4414 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4415 | else
 | 
|---|
| 4416 |   if test -n "$CC"; then
 | 
|---|
| 4417 |   ac_cv_prog_CC="$CC" # Let the user override the test.
 | 
|---|
| 4418 | else
 | 
|---|
| 4419 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 4420 | for as_dir in $PATH
 | 
|---|
| 4421 | do
 | 
|---|
| 4422 |   IFS=$as_save_IFS
 | 
|---|
| 4423 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 4424 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 4425 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 4426 |     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 | 
|---|
| 4427 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 4428 |     break 2
 | 
|---|
| 4429 |   fi
 | 
|---|
| 4430 | done
 | 
|---|
| 4431 |   done
 | 
|---|
| 4432 | IFS=$as_save_IFS
 | 
|---|
| 4433 | 
 | 
|---|
| 4434 | fi
 | 
|---|
| 4435 | fi
 | 
|---|
| 4436 | CC=$ac_cv_prog_CC
 | 
|---|
| 4437 | if test -n "$CC"; then
 | 
|---|
| 4438 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 | 
|---|
| 4439 | $as_echo "$CC" >&6; }
 | 
|---|
| 4440 | else
 | 
|---|
| 4441 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 4442 | $as_echo "no" >&6; }
 | 
|---|
| 4443 | fi
 | 
|---|
| 4444 | 
 | 
|---|
| 4445 | 
 | 
|---|
| 4446 |     test -n "$CC" && break
 | 
|---|
| 4447 |   done
 | 
|---|
| 4448 | fi
 | 
|---|
| 4449 | if test -z "$CC"; then
 | 
|---|
| 4450 |   ac_ct_CC=$CC
 | 
|---|
| 4451 |   for ac_prog in cl.exe
 | 
|---|
| 4452 | do
 | 
|---|
| 4453 |   # Extract the first word of "$ac_prog", so it can be a program name with args.
 | 
|---|
| 4454 | set dummy $ac_prog; ac_word=$2
 | 
|---|
| 4455 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 4456 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 4457 | if ${ac_cv_prog_ac_ct_CC+:} false; then :
 | 
|---|
| 4458 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4459 | else
 | 
|---|
| 4460 |   if test -n "$ac_ct_CC"; then
 | 
|---|
| 4461 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 | 
|---|
| 4462 | else
 | 
|---|
| 4463 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 4464 | for as_dir in $PATH
 | 
|---|
| 4465 | do
 | 
|---|
| 4466 |   IFS=$as_save_IFS
 | 
|---|
| 4467 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 4468 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 4469 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 4470 |     ac_cv_prog_ac_ct_CC="$ac_prog"
 | 
|---|
| 4471 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 4472 |     break 2
 | 
|---|
| 4473 |   fi
 | 
|---|
| 4474 | done
 | 
|---|
| 4475 |   done
 | 
|---|
| 4476 | IFS=$as_save_IFS
 | 
|---|
| 4477 | 
 | 
|---|
| 4478 | fi
 | 
|---|
| 4479 | fi
 | 
|---|
| 4480 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
 | 
|---|
| 4481 | if test -n "$ac_ct_CC"; then
 | 
|---|
| 4482 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 | 
|---|
| 4483 | $as_echo "$ac_ct_CC" >&6; }
 | 
|---|
| 4484 | else
 | 
|---|
| 4485 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 4486 | $as_echo "no" >&6; }
 | 
|---|
| 4487 | fi
 | 
|---|
| 4488 | 
 | 
|---|
| 4489 | 
 | 
|---|
| 4490 |   test -n "$ac_ct_CC" && break
 | 
|---|
| 4491 | done
 | 
|---|
| 4492 | 
 | 
|---|
| 4493 |   if test "x$ac_ct_CC" = x; then
 | 
|---|
| 4494 |     CC=""
 | 
|---|
| 4495 |   else
 | 
|---|
| 4496 |     case $cross_compiling:$ac_tool_warned in
 | 
|---|
| 4497 | yes:)
 | 
|---|
| 4498 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 | 
|---|
| 4499 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 | 
|---|
| 4500 | ac_tool_warned=yes ;;
 | 
|---|
| 4501 | esac
 | 
|---|
| 4502 |     CC=$ac_ct_CC
 | 
|---|
| 4503 |   fi
 | 
|---|
| 4504 | fi
 | 
|---|
| 4505 | 
 | 
|---|
| 4506 | fi
 | 
|---|
| 4507 | 
 | 
|---|
| 4508 | 
 | 
|---|
| 4509 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 4510 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 4511 | as_fn_error $? "no acceptable C compiler found in \$PATH
 | 
|---|
| 4512 | See \`config.log' for more details" "$LINENO" 5; }
 | 
|---|
| 4513 | 
 | 
|---|
| 4514 | # Provide some information about the compiler.
 | 
|---|
| 4515 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 | 
|---|
| 4516 | set X $ac_compile
 | 
|---|
| 4517 | ac_compiler=$2
 | 
|---|
| 4518 | for ac_option in --version -v -V -qversion; do
 | 
|---|
| 4519 |   { { ac_try="$ac_compiler $ac_option >&5"
 | 
|---|
| 4520 | case "(($ac_try" in
 | 
|---|
| 4521 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 4522 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 4523 | esac
 | 
|---|
| 4524 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 4525 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 4526 |   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 | 
|---|
| 4527 |   ac_status=$?
 | 
|---|
| 4528 |   if test -s conftest.err; then
 | 
|---|
| 4529 |     sed '10a\
 | 
|---|
| 4530 | ... rest of stderr output deleted ...
 | 
|---|
| 4531 |          10q' conftest.err >conftest.er1
 | 
|---|
| 4532 |     cat conftest.er1 >&5
 | 
|---|
| 4533 |   fi
 | 
|---|
| 4534 |   rm -f conftest.er1 conftest.err
 | 
|---|
| 4535 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 4536 |   test $ac_status = 0; }
 | 
|---|
| 4537 | done
 | 
|---|
| 4538 | 
 | 
|---|
| 4539 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 | 
|---|
| 4540 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 | 
|---|
| 4541 | if ${ac_cv_c_compiler_gnu+:} false; then :
 | 
|---|
| 4542 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4543 | else
 | 
|---|
| 4544 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 4545 | /* end confdefs.h.  */
 | 
|---|
| 4546 | 
 | 
|---|
| 4547 | int
 | 
|---|
| 4548 | main ()
 | 
|---|
| 4549 | {
 | 
|---|
| 4550 | #ifndef __GNUC__
 | 
|---|
| 4551 |        choke me
 | 
|---|
| 4552 | #endif
 | 
|---|
| 4553 | 
 | 
|---|
| 4554 |   ;
 | 
|---|
| 4555 |   return 0;
 | 
|---|
| 4556 | }
 | 
|---|
| 4557 | _ACEOF
 | 
|---|
| 4558 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 4559 |   ac_compiler_gnu=yes
 | 
|---|
| 4560 | else
 | 
|---|
| 4561 |   ac_compiler_gnu=no
 | 
|---|
| 4562 | fi
 | 
|---|
| 4563 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 4564 | ac_cv_c_compiler_gnu=$ac_compiler_gnu
 | 
|---|
| 4565 | 
 | 
|---|
| 4566 | fi
 | 
|---|
| 4567 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 | 
|---|
| 4568 | $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 | 
|---|
| 4569 | if test $ac_compiler_gnu = yes; then
 | 
|---|
| 4570 |   GCC=yes
 | 
|---|
| 4571 | else
 | 
|---|
| 4572 |   GCC=
 | 
|---|
| 4573 | fi
 | 
|---|
| 4574 | ac_test_CFLAGS=${CFLAGS+set}
 | 
|---|
| 4575 | ac_save_CFLAGS=$CFLAGS
 | 
|---|
| 4576 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 | 
|---|
| 4577 | $as_echo_n "checking whether $CC accepts -g... " >&6; }
 | 
|---|
| 4578 | if ${ac_cv_prog_cc_g+:} false; then :
 | 
|---|
| 4579 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4580 | else
 | 
|---|
| 4581 |   ac_save_c_werror_flag=$ac_c_werror_flag
 | 
|---|
| 4582 |    ac_c_werror_flag=yes
 | 
|---|
| 4583 |    ac_cv_prog_cc_g=no
 | 
|---|
| 4584 |    CFLAGS="-g"
 | 
|---|
| 4585 |    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 4586 | /* end confdefs.h.  */
 | 
|---|
| 4587 | 
 | 
|---|
| 4588 | int
 | 
|---|
| 4589 | main ()
 | 
|---|
| 4590 | {
 | 
|---|
| 4591 | 
 | 
|---|
| 4592 |   ;
 | 
|---|
| 4593 |   return 0;
 | 
|---|
| 4594 | }
 | 
|---|
| 4595 | _ACEOF
 | 
|---|
| 4596 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 4597 |   ac_cv_prog_cc_g=yes
 | 
|---|
| 4598 | else
 | 
|---|
| 4599 |   CFLAGS=""
 | 
|---|
| 4600 |       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 4601 | /* end confdefs.h.  */
 | 
|---|
| 4602 | 
 | 
|---|
| 4603 | int
 | 
|---|
| 4604 | main ()
 | 
|---|
| 4605 | {
 | 
|---|
| 4606 | 
 | 
|---|
| 4607 |   ;
 | 
|---|
| 4608 |   return 0;
 | 
|---|
| 4609 | }
 | 
|---|
| 4610 | _ACEOF
 | 
|---|
| 4611 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 4612 | 
 | 
|---|
| 4613 | else
 | 
|---|
| 4614 |   ac_c_werror_flag=$ac_save_c_werror_flag
 | 
|---|
| 4615 |          CFLAGS="-g"
 | 
|---|
| 4616 |          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 4617 | /* end confdefs.h.  */
 | 
|---|
| 4618 | 
 | 
|---|
| 4619 | int
 | 
|---|
| 4620 | main ()
 | 
|---|
| 4621 | {
 | 
|---|
| 4622 | 
 | 
|---|
| 4623 |   ;
 | 
|---|
| 4624 |   return 0;
 | 
|---|
| 4625 | }
 | 
|---|
| 4626 | _ACEOF
 | 
|---|
| 4627 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 4628 |   ac_cv_prog_cc_g=yes
 | 
|---|
| 4629 | fi
 | 
|---|
| 4630 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 4631 | fi
 | 
|---|
| 4632 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 4633 | fi
 | 
|---|
| 4634 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 4635 |    ac_c_werror_flag=$ac_save_c_werror_flag
 | 
|---|
| 4636 | fi
 | 
|---|
| 4637 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 | 
|---|
| 4638 | $as_echo "$ac_cv_prog_cc_g" >&6; }
 | 
|---|
| 4639 | if test "$ac_test_CFLAGS" = set; then
 | 
|---|
| 4640 |   CFLAGS=$ac_save_CFLAGS
 | 
|---|
| 4641 | elif test $ac_cv_prog_cc_g = yes; then
 | 
|---|
| 4642 |   if test "$GCC" = yes; then
 | 
|---|
| 4643 |     CFLAGS="-g -O2"
 | 
|---|
| 4644 |   else
 | 
|---|
| 4645 |     CFLAGS="-g"
 | 
|---|
| 4646 |   fi
 | 
|---|
| 4647 | else
 | 
|---|
| 4648 |   if test "$GCC" = yes; then
 | 
|---|
| 4649 |     CFLAGS="-O2"
 | 
|---|
| 4650 |   else
 | 
|---|
| 4651 |     CFLAGS=
 | 
|---|
| 4652 |   fi
 | 
|---|
| 4653 | fi
 | 
|---|
| 4654 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 | 
|---|
| 4655 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 | 
|---|
| 4656 | if ${ac_cv_prog_cc_c89+:} false; then :
 | 
|---|
| 4657 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4658 | else
 | 
|---|
| 4659 |   ac_cv_prog_cc_c89=no
 | 
|---|
| 4660 | ac_save_CC=$CC
 | 
|---|
| 4661 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 4662 | /* end confdefs.h.  */
 | 
|---|
| 4663 | #include <stdarg.h>
 | 
|---|
| 4664 | #include <stdio.h>
 | 
|---|
| 4665 | struct stat;
 | 
|---|
| 4666 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 | 
|---|
| 4667 | struct buf { int x; };
 | 
|---|
| 4668 | FILE * (*rcsopen) (struct buf *, struct stat *, int);
 | 
|---|
| 4669 | static char *e (p, i)
 | 
|---|
| 4670 |      char **p;
 | 
|---|
| 4671 |      int i;
 | 
|---|
| 4672 | {
 | 
|---|
| 4673 |   return p[i];
 | 
|---|
| 4674 | }
 | 
|---|
| 4675 | static char *f (char * (*g) (char **, int), char **p, ...)
 | 
|---|
| 4676 | {
 | 
|---|
| 4677 |   char *s;
 | 
|---|
| 4678 |   va_list v;
 | 
|---|
| 4679 |   va_start (v,p);
 | 
|---|
| 4680 |   s = g (p, va_arg (v,int));
 | 
|---|
| 4681 |   va_end (v);
 | 
|---|
| 4682 |   return s;
 | 
|---|
| 4683 | }
 | 
|---|
| 4684 | 
 | 
|---|
| 4685 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 | 
|---|
| 4686 |    function prototypes and stuff, but not '\xHH' hex character constants.
 | 
|---|
| 4687 |    These don't provoke an error unfortunately, instead are silently treated
 | 
|---|
| 4688 |    as 'x'.  The following induces an error, until -std is added to get
 | 
|---|
| 4689 |    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 | 
|---|
| 4690 |    array size at least.  It's necessary to write '\x00'==0 to get something
 | 
|---|
| 4691 |    that's true only with -std.  */
 | 
|---|
| 4692 | int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 | 
|---|
| 4693 | 
 | 
|---|
| 4694 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 | 
|---|
| 4695 |    inside strings and character constants.  */
 | 
|---|
| 4696 | #define FOO(x) 'x'
 | 
|---|
| 4697 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 | 
|---|
| 4698 | 
 | 
|---|
| 4699 | int test (int i, double x);
 | 
|---|
| 4700 | struct s1 {int (*f) (int a);};
 | 
|---|
| 4701 | struct s2 {int (*f) (double a);};
 | 
|---|
| 4702 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 | 
|---|
| 4703 | int argc;
 | 
|---|
| 4704 | char **argv;
 | 
|---|
| 4705 | int
 | 
|---|
| 4706 | main ()
 | 
|---|
| 4707 | {
 | 
|---|
| 4708 | return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 | 
|---|
| 4709 |   ;
 | 
|---|
| 4710 |   return 0;
 | 
|---|
| 4711 | }
 | 
|---|
| 4712 | _ACEOF
 | 
|---|
| 4713 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 | 
|---|
| 4714 |         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 | 
|---|
| 4715 | do
 | 
|---|
| 4716 |   CC="$ac_save_CC $ac_arg"
 | 
|---|
| 4717 |   if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 4718 |   ac_cv_prog_cc_c89=$ac_arg
 | 
|---|
| 4719 | fi
 | 
|---|
| 4720 | rm -f core conftest.err conftest.$ac_objext
 | 
|---|
| 4721 |   test "x$ac_cv_prog_cc_c89" != "xno" && break
 | 
|---|
| 4722 | done
 | 
|---|
| 4723 | rm -f conftest.$ac_ext
 | 
|---|
| 4724 | CC=$ac_save_CC
 | 
|---|
| 4725 | 
 | 
|---|
| 4726 | fi
 | 
|---|
| 4727 | # AC_CACHE_VAL
 | 
|---|
| 4728 | case "x$ac_cv_prog_cc_c89" in
 | 
|---|
| 4729 |   x)
 | 
|---|
| 4730 |     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 | 
|---|
| 4731 | $as_echo "none needed" >&6; } ;;
 | 
|---|
| 4732 |   xno)
 | 
|---|
| 4733 |     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 | 
|---|
| 4734 | $as_echo "unsupported" >&6; } ;;
 | 
|---|
| 4735 |   *)
 | 
|---|
| 4736 |     CC="$CC $ac_cv_prog_cc_c89"
 | 
|---|
| 4737 |     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 | 
|---|
| 4738 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 | 
|---|
| 4739 | esac
 | 
|---|
| 4740 | if test "x$ac_cv_prog_cc_c89" != xno; then :
 | 
|---|
| 4741 | 
 | 
|---|
| 4742 | fi
 | 
|---|
| 4743 | 
 | 
|---|
| 4744 | ac_ext=c
 | 
|---|
| 4745 | ac_cpp='$CPP $CPPFLAGS'
 | 
|---|
| 4746 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 4747 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 4748 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
 | 
|---|
| 4749 | 
 | 
|---|
| 4750 | ac_ext=c
 | 
|---|
| 4751 | ac_cpp='$CPP $CPPFLAGS'
 | 
|---|
| 4752 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 4753 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 4754 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
 | 
|---|
| 4755 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
 | 
|---|
| 4756 | $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
 | 
|---|
| 4757 | if ${am_cv_prog_cc_c_o+:} false; then :
 | 
|---|
| 4758 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4759 | else
 | 
|---|
| 4760 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 4761 | /* end confdefs.h.  */
 | 
|---|
| 4762 | 
 | 
|---|
| 4763 | int
 | 
|---|
| 4764 | main ()
 | 
|---|
| 4765 | {
 | 
|---|
| 4766 | 
 | 
|---|
| 4767 |   ;
 | 
|---|
| 4768 |   return 0;
 | 
|---|
| 4769 | }
 | 
|---|
| 4770 | _ACEOF
 | 
|---|
| 4771 |   # Make sure it works both with $CC and with simple cc.
 | 
|---|
| 4772 |   # Following AC_PROG_CC_C_O, we do the test twice because some
 | 
|---|
| 4773 |   # compilers refuse to overwrite an existing .o file with -o,
 | 
|---|
| 4774 |   # though they will create one.
 | 
|---|
| 4775 |   am_cv_prog_cc_c_o=yes
 | 
|---|
| 4776 |   for am_i in 1 2; do
 | 
|---|
| 4777 |     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
 | 
|---|
| 4778 |    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
 | 
|---|
| 4779 |    ac_status=$?
 | 
|---|
| 4780 |    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 | 
|---|
| 4781 |    (exit $ac_status); } \
 | 
|---|
| 4782 |          && test -f conftest2.$ac_objext; then
 | 
|---|
| 4783 |       : OK
 | 
|---|
| 4784 |     else
 | 
|---|
| 4785 |       am_cv_prog_cc_c_o=no
 | 
|---|
| 4786 |       break
 | 
|---|
| 4787 |     fi
 | 
|---|
| 4788 |   done
 | 
|---|
| 4789 |   rm -f core conftest*
 | 
|---|
| 4790 |   unset am_i
 | 
|---|
| 4791 | fi
 | 
|---|
| 4792 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
 | 
|---|
| 4793 | $as_echo "$am_cv_prog_cc_c_o" >&6; }
 | 
|---|
| 4794 | if test "$am_cv_prog_cc_c_o" != yes; then
 | 
|---|
| 4795 |    # Losing compiler, so override with the script.
 | 
|---|
| 4796 |    # FIXME: It is wrong to rewrite CC.
 | 
|---|
| 4797 |    # But if we don't then we get into trouble of one sort or another.
 | 
|---|
| 4798 |    # A longer-term fix would be to have automake use am__CC in this case,
 | 
|---|
| 4799 |    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 | 
|---|
| 4800 |    CC="$am_aux_dir/compile $CC"
 | 
|---|
| 4801 | fi
 | 
|---|
| 4802 | ac_ext=c
 | 
|---|
| 4803 | ac_cpp='$CPP $CPPFLAGS'
 | 
|---|
| 4804 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 4805 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 4806 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
 | 
|---|
| 4807 | 
 | 
|---|
| 4808 | 
 | 
|---|
| 4809 | depcc="$CC"   am_compiler_list=
 | 
|---|
| 4810 | 
 | 
|---|
| 4811 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 | 
|---|
| 4812 | $as_echo_n "checking dependency style of $depcc... " >&6; }
 | 
|---|
| 4813 | if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 | 
|---|
| 4814 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4815 | else
 | 
|---|
| 4816 |   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 | 
|---|
| 4817 |   # We make a subdir and do the tests there.  Otherwise we can end up
 | 
|---|
| 4818 |   # making bogus files that we don't know about and never remove.  For
 | 
|---|
| 4819 |   # instance it was reported that on HP-UX the gcc test will end up
 | 
|---|
| 4820 |   # making a dummy file named 'D' -- because '-MD' means "put the output
 | 
|---|
| 4821 |   # in D".
 | 
|---|
| 4822 |   rm -rf conftest.dir
 | 
|---|
| 4823 |   mkdir conftest.dir
 | 
|---|
| 4824 |   # Copy depcomp to subdir because otherwise we won't find it if we're
 | 
|---|
| 4825 |   # using a relative directory.
 | 
|---|
| 4826 |   cp "$am_depcomp" conftest.dir
 | 
|---|
| 4827 |   cd conftest.dir
 | 
|---|
| 4828 |   # We will build objects and dependencies in a subdirectory because
 | 
|---|
| 4829 |   # it helps to detect inapplicable dependency modes.  For instance
 | 
|---|
| 4830 |   # both Tru64's cc and ICC support -MD to output dependencies as a
 | 
|---|
| 4831 |   # side effect of compilation, but ICC will put the dependencies in
 | 
|---|
| 4832 |   # the current directory while Tru64 will put them in the object
 | 
|---|
| 4833 |   # directory.
 | 
|---|
| 4834 |   mkdir sub
 | 
|---|
| 4835 | 
 | 
|---|
| 4836 |   am_cv_CC_dependencies_compiler_type=none
 | 
|---|
| 4837 |   if test "$am_compiler_list" = ""; then
 | 
|---|
| 4838 |      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 | 
|---|
| 4839 |   fi
 | 
|---|
| 4840 |   am__universal=false
 | 
|---|
| 4841 |   case " $depcc " in #(
 | 
|---|
| 4842 |      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 | 
|---|
| 4843 |      esac
 | 
|---|
| 4844 | 
 | 
|---|
| 4845 |   for depmode in $am_compiler_list; do
 | 
|---|
| 4846 |     # Setup a source with many dependencies, because some compilers
 | 
|---|
| 4847 |     # like to wrap large dependency lists on column 80 (with \), and
 | 
|---|
| 4848 |     # we should not choose a depcomp mode which is confused by this.
 | 
|---|
| 4849 |     #
 | 
|---|
| 4850 |     # We need to recreate these files for each test, as the compiler may
 | 
|---|
| 4851 |     # overwrite some of them when testing with obscure command lines.
 | 
|---|
| 4852 |     # This happens at least with the AIX C compiler.
 | 
|---|
| 4853 |     : > sub/conftest.c
 | 
|---|
| 4854 |     for i in 1 2 3 4 5 6; do
 | 
|---|
| 4855 |       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 | 
|---|
| 4856 |       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 | 
|---|
| 4857 |       # Solaris 10 /bin/sh.
 | 
|---|
| 4858 |       echo '/* dummy */' > sub/conftst$i.h
 | 
|---|
| 4859 |     done
 | 
|---|
| 4860 |     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 | 
|---|
| 4861 | 
 | 
|---|
| 4862 |     # We check with '-c' and '-o' for the sake of the "dashmstdout"
 | 
|---|
| 4863 |     # mode.  It turns out that the SunPro C++ compiler does not properly
 | 
|---|
| 4864 |     # handle '-M -o', and we need to detect this.  Also, some Intel
 | 
|---|
| 4865 |     # versions had trouble with output in subdirs.
 | 
|---|
| 4866 |     am__obj=sub/conftest.${OBJEXT-o}
 | 
|---|
| 4867 |     am__minus_obj="-o $am__obj"
 | 
|---|
| 4868 |     case $depmode in
 | 
|---|
| 4869 |     gcc)
 | 
|---|
| 4870 |       # This depmode causes a compiler race in universal mode.
 | 
|---|
| 4871 |       test "$am__universal" = false || continue
 | 
|---|
| 4872 |       ;;
 | 
|---|
| 4873 |     nosideeffect)
 | 
|---|
| 4874 |       # After this tag, mechanisms are not by side-effect, so they'll
 | 
|---|
| 4875 |       # only be used when explicitly requested.
 | 
|---|
| 4876 |       if test "x$enable_dependency_tracking" = xyes; then
 | 
|---|
| 4877 |         continue
 | 
|---|
| 4878 |       else
 | 
|---|
| 4879 |         break
 | 
|---|
| 4880 |       fi
 | 
|---|
| 4881 |       ;;
 | 
|---|
| 4882 |     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 | 
|---|
| 4883 |       # This compiler won't grok '-c -o', but also, the minuso test has
 | 
|---|
| 4884 |       # not run yet.  These depmodes are late enough in the game, and
 | 
|---|
| 4885 |       # so weak that their functioning should not be impacted.
 | 
|---|
| 4886 |       am__obj=conftest.${OBJEXT-o}
 | 
|---|
| 4887 |       am__minus_obj=
 | 
|---|
| 4888 |       ;;
 | 
|---|
| 4889 |     none) break ;;
 | 
|---|
| 4890 |     esac
 | 
|---|
| 4891 |     if depmode=$depmode \
 | 
|---|
| 4892 |        source=sub/conftest.c object=$am__obj \
 | 
|---|
| 4893 |        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 | 
|---|
| 4894 |        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 | 
|---|
| 4895 |          >/dev/null 2>conftest.err &&
 | 
|---|
| 4896 |        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 4897 |        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 4898 |        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 4899 |        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 | 
|---|
| 4900 |       # icc doesn't choke on unknown options, it will just issue warnings
 | 
|---|
| 4901 |       # or remarks (even with -Werror).  So we grep stderr for any message
 | 
|---|
| 4902 |       # that says an option was ignored or not supported.
 | 
|---|
| 4903 |       # When given -MP, icc 7.0 and 7.1 complain thusly:
 | 
|---|
| 4904 |       #   icc: Command line warning: ignoring option '-M'; no argument required
 | 
|---|
| 4905 |       # The diagnosis changed in icc 8.0:
 | 
|---|
| 4906 |       #   icc: Command line remark: option '-MP' not supported
 | 
|---|
| 4907 |       if (grep 'ignoring option' conftest.err ||
 | 
|---|
| 4908 |           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 | 
|---|
| 4909 |         am_cv_CC_dependencies_compiler_type=$depmode
 | 
|---|
| 4910 |         break
 | 
|---|
| 4911 |       fi
 | 
|---|
| 4912 |     fi
 | 
|---|
| 4913 |   done
 | 
|---|
| 4914 | 
 | 
|---|
| 4915 |   cd ..
 | 
|---|
| 4916 |   rm -rf conftest.dir
 | 
|---|
| 4917 | else
 | 
|---|
| 4918 |   am_cv_CC_dependencies_compiler_type=none
 | 
|---|
| 4919 | fi
 | 
|---|
| 4920 | 
 | 
|---|
| 4921 | fi
 | 
|---|
| 4922 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 | 
|---|
| 4923 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 | 
|---|
| 4924 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 | 
|---|
| 4925 | 
 | 
|---|
| 4926 |  if
 | 
|---|
| 4927 |   test "x$enable_dependency_tracking" != xno \
 | 
|---|
| 4928 |   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 | 
|---|
| 4929 |   am__fastdepCC_TRUE=
 | 
|---|
| 4930 |   am__fastdepCC_FALSE='#'
 | 
|---|
| 4931 | else
 | 
|---|
| 4932 |   am__fastdepCC_TRUE='#'
 | 
|---|
| 4933 |   am__fastdepCC_FALSE=
 | 
|---|
| 4934 | fi
 | 
|---|
| 4935 | 
 | 
|---|
| 4936 | 
 | 
|---|
| 4937 | # By default we simply use the C compiler to build assembly code.
 | 
|---|
| 4938 | 
 | 
|---|
| 4939 | test "${CCAS+set}" = set || CCAS=$CC
 | 
|---|
| 4940 | test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
 | 
|---|
| 4941 | 
 | 
|---|
| 4942 | 
 | 
|---|
| 4943 | 
 | 
|---|
| 4944 | depcc="$CCAS"   am_compiler_list=
 | 
|---|
| 4945 | 
 | 
|---|
| 4946 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 | 
|---|
| 4947 | $as_echo_n "checking dependency style of $depcc... " >&6; }
 | 
|---|
| 4948 | if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
 | 
|---|
| 4949 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4950 | else
 | 
|---|
| 4951 |   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 | 
|---|
| 4952 |   # We make a subdir and do the tests there.  Otherwise we can end up
 | 
|---|
| 4953 |   # making bogus files that we don't know about and never remove.  For
 | 
|---|
| 4954 |   # instance it was reported that on HP-UX the gcc test will end up
 | 
|---|
| 4955 |   # making a dummy file named 'D' -- because '-MD' means "put the output
 | 
|---|
| 4956 |   # in D".
 | 
|---|
| 4957 |   rm -rf conftest.dir
 | 
|---|
| 4958 |   mkdir conftest.dir
 | 
|---|
| 4959 |   # Copy depcomp to subdir because otherwise we won't find it if we're
 | 
|---|
| 4960 |   # using a relative directory.
 | 
|---|
| 4961 |   cp "$am_depcomp" conftest.dir
 | 
|---|
| 4962 |   cd conftest.dir
 | 
|---|
| 4963 |   # We will build objects and dependencies in a subdirectory because
 | 
|---|
| 4964 |   # it helps to detect inapplicable dependency modes.  For instance
 | 
|---|
| 4965 |   # both Tru64's cc and ICC support -MD to output dependencies as a
 | 
|---|
| 4966 |   # side effect of compilation, but ICC will put the dependencies in
 | 
|---|
| 4967 |   # the current directory while Tru64 will put them in the object
 | 
|---|
| 4968 |   # directory.
 | 
|---|
| 4969 |   mkdir sub
 | 
|---|
| 4970 | 
 | 
|---|
| 4971 |   am_cv_CCAS_dependencies_compiler_type=none
 | 
|---|
| 4972 |   if test "$am_compiler_list" = ""; then
 | 
|---|
| 4973 |      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 | 
|---|
| 4974 |   fi
 | 
|---|
| 4975 |   am__universal=false
 | 
|---|
| 4976 | 
 | 
|---|
| 4977 | 
 | 
|---|
| 4978 |   for depmode in $am_compiler_list; do
 | 
|---|
| 4979 |     # Setup a source with many dependencies, because some compilers
 | 
|---|
| 4980 |     # like to wrap large dependency lists on column 80 (with \), and
 | 
|---|
| 4981 |     # we should not choose a depcomp mode which is confused by this.
 | 
|---|
| 4982 |     #
 | 
|---|
| 4983 |     # We need to recreate these files for each test, as the compiler may
 | 
|---|
| 4984 |     # overwrite some of them when testing with obscure command lines.
 | 
|---|
| 4985 |     # This happens at least with the AIX C compiler.
 | 
|---|
| 4986 |     : > sub/conftest.c
 | 
|---|
| 4987 |     for i in 1 2 3 4 5 6; do
 | 
|---|
| 4988 |       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 | 
|---|
| 4989 |       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 | 
|---|
| 4990 |       # Solaris 10 /bin/sh.
 | 
|---|
| 4991 |       echo '/* dummy */' > sub/conftst$i.h
 | 
|---|
| 4992 |     done
 | 
|---|
| 4993 |     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 | 
|---|
| 4994 | 
 | 
|---|
| 4995 |     # We check with '-c' and '-o' for the sake of the "dashmstdout"
 | 
|---|
| 4996 |     # mode.  It turns out that the SunPro C++ compiler does not properly
 | 
|---|
| 4997 |     # handle '-M -o', and we need to detect this.  Also, some Intel
 | 
|---|
| 4998 |     # versions had trouble with output in subdirs.
 | 
|---|
| 4999 |     am__obj=sub/conftest.${OBJEXT-o}
 | 
|---|
| 5000 |     am__minus_obj="-o $am__obj"
 | 
|---|
| 5001 |     case $depmode in
 | 
|---|
| 5002 |     gcc)
 | 
|---|
| 5003 |       # This depmode causes a compiler race in universal mode.
 | 
|---|
| 5004 |       test "$am__universal" = false || continue
 | 
|---|
| 5005 |       ;;
 | 
|---|
| 5006 |     nosideeffect)
 | 
|---|
| 5007 |       # After this tag, mechanisms are not by side-effect, so they'll
 | 
|---|
| 5008 |       # only be used when explicitly requested.
 | 
|---|
| 5009 |       if test "x$enable_dependency_tracking" = xyes; then
 | 
|---|
| 5010 |         continue
 | 
|---|
| 5011 |       else
 | 
|---|
| 5012 |         break
 | 
|---|
| 5013 |       fi
 | 
|---|
| 5014 |       ;;
 | 
|---|
| 5015 |     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 | 
|---|
| 5016 |       # This compiler won't grok '-c -o', but also, the minuso test has
 | 
|---|
| 5017 |       # not run yet.  These depmodes are late enough in the game, and
 | 
|---|
| 5018 |       # so weak that their functioning should not be impacted.
 | 
|---|
| 5019 |       am__obj=conftest.${OBJEXT-o}
 | 
|---|
| 5020 |       am__minus_obj=
 | 
|---|
| 5021 |       ;;
 | 
|---|
| 5022 |     none) break ;;
 | 
|---|
| 5023 |     esac
 | 
|---|
| 5024 |     if depmode=$depmode \
 | 
|---|
| 5025 |        source=sub/conftest.c object=$am__obj \
 | 
|---|
| 5026 |        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 | 
|---|
| 5027 |        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 | 
|---|
| 5028 |          >/dev/null 2>conftest.err &&
 | 
|---|
| 5029 |        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 5030 |        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 5031 |        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 5032 |        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 | 
|---|
| 5033 |       # icc doesn't choke on unknown options, it will just issue warnings
 | 
|---|
| 5034 |       # or remarks (even with -Werror).  So we grep stderr for any message
 | 
|---|
| 5035 |       # that says an option was ignored or not supported.
 | 
|---|
| 5036 |       # When given -MP, icc 7.0 and 7.1 complain thusly:
 | 
|---|
| 5037 |       #   icc: Command line warning: ignoring option '-M'; no argument required
 | 
|---|
| 5038 |       # The diagnosis changed in icc 8.0:
 | 
|---|
| 5039 |       #   icc: Command line remark: option '-MP' not supported
 | 
|---|
| 5040 |       if (grep 'ignoring option' conftest.err ||
 | 
|---|
| 5041 |           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 | 
|---|
| 5042 |         am_cv_CCAS_dependencies_compiler_type=$depmode
 | 
|---|
| 5043 |         break
 | 
|---|
| 5044 |       fi
 | 
|---|
| 5045 |     fi
 | 
|---|
| 5046 |   done
 | 
|---|
| 5047 | 
 | 
|---|
| 5048 |   cd ..
 | 
|---|
| 5049 |   rm -rf conftest.dir
 | 
|---|
| 5050 | else
 | 
|---|
| 5051 |   am_cv_CCAS_dependencies_compiler_type=none
 | 
|---|
| 5052 | fi
 | 
|---|
| 5053 | 
 | 
|---|
| 5054 | fi
 | 
|---|
| 5055 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
 | 
|---|
| 5056 | $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
 | 
|---|
| 5057 | CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
 | 
|---|
| 5058 | 
 | 
|---|
| 5059 |  if
 | 
|---|
| 5060 |   test "x$enable_dependency_tracking" != xno \
 | 
|---|
| 5061 |   && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
 | 
|---|
| 5062 |   am__fastdepCCAS_TRUE=
 | 
|---|
| 5063 |   am__fastdepCCAS_FALSE='#'
 | 
|---|
| 5064 | else
 | 
|---|
| 5065 |   am__fastdepCCAS_TRUE='#'
 | 
|---|
| 5066 |   am__fastdepCCAS_FALSE=
 | 
|---|
| 5067 | fi
 | 
|---|
| 5068 | 
 | 
|---|
| 5069 | 
 | 
|---|
| 5070 |         # deprecated
 | 
|---|
| 5071 | # These are often not installed and people miss seeing the "no", so stop the configure.
 | 
|---|
| 5072 | for ac_prog in 'bison -y' byacc
 | 
|---|
| 5073 | do
 | 
|---|
| 5074 |   # Extract the first word of "$ac_prog", so it can be a program name with args.
 | 
|---|
| 5075 | set dummy $ac_prog; ac_word=$2
 | 
|---|
| 5076 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 5077 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 5078 | if ${ac_cv_prog_YACC+:} false; then :
 | 
|---|
| 5079 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5080 | else
 | 
|---|
| 5081 |   if test -n "$YACC"; then
 | 
|---|
| 5082 |   ac_cv_prog_YACC="$YACC" # Let the user override the test.
 | 
|---|
| 5083 | else
 | 
|---|
| 5084 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 5085 | for as_dir in $PATH
 | 
|---|
| 5086 | do
 | 
|---|
| 5087 |   IFS=$as_save_IFS
 | 
|---|
| 5088 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 5089 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 5090 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 5091 |     ac_cv_prog_YACC="$ac_prog"
 | 
|---|
| 5092 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 5093 |     break 2
 | 
|---|
| 5094 |   fi
 | 
|---|
| 5095 | done
 | 
|---|
| 5096 |   done
 | 
|---|
| 5097 | IFS=$as_save_IFS
 | 
|---|
| 5098 | 
 | 
|---|
| 5099 | fi
 | 
|---|
| 5100 | fi
 | 
|---|
| 5101 | YACC=$ac_cv_prog_YACC
 | 
|---|
| 5102 | if test -n "$YACC"; then
 | 
|---|
| 5103 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
 | 
|---|
| 5104 | $as_echo "$YACC" >&6; }
 | 
|---|
| 5105 | else
 | 
|---|
| 5106 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 5107 | $as_echo "no" >&6; }
 | 
|---|
| 5108 | fi
 | 
|---|
| 5109 | 
 | 
|---|
| 5110 | 
 | 
|---|
| 5111 |   test -n "$YACC" && break
 | 
|---|
| 5112 | done
 | 
|---|
| 5113 | test -n "$YACC" || YACC="yacc"
 | 
|---|
| 5114 | 
 | 
|---|
| 5115 | if test "${YACC}" = "yacc" ; then echo "Error: bison required." ; exit 1 ; fi
 | 
|---|
| 5116 | 
 | 
|---|
| 5117 | for ac_prog in flex lex
 | 
|---|
| 5118 | do
 | 
|---|
| 5119 |   # Extract the first word of "$ac_prog", so it can be a program name with args.
 | 
|---|
| 5120 | set dummy $ac_prog; ac_word=$2
 | 
|---|
| 5121 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 5122 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 5123 | if ${ac_cv_prog_LEX+:} false; then :
 | 
|---|
| 5124 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5125 | else
 | 
|---|
| 5126 |   if test -n "$LEX"; then
 | 
|---|
| 5127 |   ac_cv_prog_LEX="$LEX" # Let the user override the test.
 | 
|---|
| 5128 | else
 | 
|---|
| 5129 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 5130 | for as_dir in $PATH
 | 
|---|
| 5131 | do
 | 
|---|
| 5132 |   IFS=$as_save_IFS
 | 
|---|
| 5133 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 5134 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 5135 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 5136 |     ac_cv_prog_LEX="$ac_prog"
 | 
|---|
| 5137 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 5138 |     break 2
 | 
|---|
| 5139 |   fi
 | 
|---|
| 5140 | done
 | 
|---|
| 5141 |   done
 | 
|---|
| 5142 | IFS=$as_save_IFS
 | 
|---|
| 5143 | 
 | 
|---|
| 5144 | fi
 | 
|---|
| 5145 | fi
 | 
|---|
| 5146 | LEX=$ac_cv_prog_LEX
 | 
|---|
| 5147 | if test -n "$LEX"; then
 | 
|---|
| 5148 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
 | 
|---|
| 5149 | $as_echo "$LEX" >&6; }
 | 
|---|
| 5150 | else
 | 
|---|
| 5151 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 5152 | $as_echo "no" >&6; }
 | 
|---|
| 5153 | fi
 | 
|---|
| 5154 | 
 | 
|---|
| 5155 | 
 | 
|---|
| 5156 |   test -n "$LEX" && break
 | 
|---|
| 5157 | done
 | 
|---|
| 5158 | test -n "$LEX" || LEX=":"
 | 
|---|
| 5159 | 
 | 
|---|
| 5160 | if test "x$LEX" != "x:"; then
 | 
|---|
| 5161 |   cat >conftest.l <<_ACEOF
 | 
|---|
| 5162 | %%
 | 
|---|
| 5163 | a { ECHO; }
 | 
|---|
| 5164 | b { REJECT; }
 | 
|---|
| 5165 | c { yymore (); }
 | 
|---|
| 5166 | d { yyless (1); }
 | 
|---|
| 5167 | e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
 | 
|---|
| 5168 |     yyless ((input () != 0)); }
 | 
|---|
| 5169 | f { unput (yytext[0]); }
 | 
|---|
| 5170 | . { BEGIN INITIAL; }
 | 
|---|
| 5171 | %%
 | 
|---|
| 5172 | #ifdef YYTEXT_POINTER
 | 
|---|
| 5173 | extern char *yytext;
 | 
|---|
| 5174 | #endif
 | 
|---|
| 5175 | int
 | 
|---|
| 5176 | main (void)
 | 
|---|
| 5177 | {
 | 
|---|
| 5178 |   return ! yylex () + ! yywrap ();
 | 
|---|
| 5179 | }
 | 
|---|
| 5180 | _ACEOF
 | 
|---|
| 5181 | { { ac_try="$LEX conftest.l"
 | 
|---|
| 5182 | case "(($ac_try" in
 | 
|---|
| 5183 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 5184 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 5185 | esac
 | 
|---|
| 5186 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 5187 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 5188 |   (eval "$LEX conftest.l") 2>&5
 | 
|---|
| 5189 |   ac_status=$?
 | 
|---|
| 5190 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 5191 |   test $ac_status = 0; }
 | 
|---|
| 5192 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
 | 
|---|
| 5193 | $as_echo_n "checking lex output file root... " >&6; }
 | 
|---|
| 5194 | if ${ac_cv_prog_lex_root+:} false; then :
 | 
|---|
| 5195 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5196 | else
 | 
|---|
| 5197 | 
 | 
|---|
| 5198 | if test -f lex.yy.c; then
 | 
|---|
| 5199 |   ac_cv_prog_lex_root=lex.yy
 | 
|---|
| 5200 | elif test -f lexyy.c; then
 | 
|---|
| 5201 |   ac_cv_prog_lex_root=lexyy
 | 
|---|
| 5202 | else
 | 
|---|
| 5203 |   as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
 | 
|---|
| 5204 | fi
 | 
|---|
| 5205 | fi
 | 
|---|
| 5206 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
 | 
|---|
| 5207 | $as_echo "$ac_cv_prog_lex_root" >&6; }
 | 
|---|
| 5208 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
 | 
|---|
| 5209 | 
 | 
|---|
| 5210 | if test -z "${LEXLIB+set}"; then
 | 
|---|
| 5211 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
 | 
|---|
| 5212 | $as_echo_n "checking lex library... " >&6; }
 | 
|---|
| 5213 | if ${ac_cv_lib_lex+:} false; then :
 | 
|---|
| 5214 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5215 | else
 | 
|---|
| 5216 | 
 | 
|---|
| 5217 |     ac_save_LIBS=$LIBS
 | 
|---|
| 5218 |     ac_cv_lib_lex='none needed'
 | 
|---|
| 5219 |     for ac_lib in '' -lfl -ll; do
 | 
|---|
| 5220 |       LIBS="$ac_lib $ac_save_LIBS"
 | 
|---|
| 5221 |       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5222 | /* end confdefs.h.  */
 | 
|---|
| 5223 | `cat $LEX_OUTPUT_ROOT.c`
 | 
|---|
| 5224 | _ACEOF
 | 
|---|
| 5225 | if ac_fn_c_try_link "$LINENO"; then :
 | 
|---|
| 5226 |   ac_cv_lib_lex=$ac_lib
 | 
|---|
| 5227 | fi
 | 
|---|
| 5228 | rm -f core conftest.err conftest.$ac_objext \
 | 
|---|
| 5229 |     conftest$ac_exeext conftest.$ac_ext
 | 
|---|
| 5230 |       test "$ac_cv_lib_lex" != 'none needed' && break
 | 
|---|
| 5231 |     done
 | 
|---|
| 5232 |     LIBS=$ac_save_LIBS
 | 
|---|
| 5233 | 
 | 
|---|
| 5234 | fi
 | 
|---|
| 5235 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
 | 
|---|
| 5236 | $as_echo "$ac_cv_lib_lex" >&6; }
 | 
|---|
| 5237 |   test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
 | 
|---|
| 5238 | fi
 | 
|---|
| 5239 | 
 | 
|---|
| 5240 | 
 | 
|---|
| 5241 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
 | 
|---|
| 5242 | $as_echo_n "checking whether yytext is a pointer... " >&6; }
 | 
|---|
| 5243 | if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
 | 
|---|
| 5244 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5245 | else
 | 
|---|
| 5246 |   # POSIX says lex can declare yytext either as a pointer or an array; the
 | 
|---|
| 5247 | # default is implementation-dependent.  Figure out which it is, since
 | 
|---|
| 5248 | # not all implementations provide the %pointer and %array declarations.
 | 
|---|
| 5249 | ac_cv_prog_lex_yytext_pointer=no
 | 
|---|
| 5250 | ac_save_LIBS=$LIBS
 | 
|---|
| 5251 | LIBS="$LEXLIB $ac_save_LIBS"
 | 
|---|
| 5252 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5253 | /* end confdefs.h.  */
 | 
|---|
| 5254 | 
 | 
|---|
| 5255 |   #define YYTEXT_POINTER 1
 | 
|---|
| 5256 | `cat $LEX_OUTPUT_ROOT.c`
 | 
|---|
| 5257 | _ACEOF
 | 
|---|
| 5258 | if ac_fn_c_try_link "$LINENO"; then :
 | 
|---|
| 5259 |   ac_cv_prog_lex_yytext_pointer=yes
 | 
|---|
| 5260 | fi
 | 
|---|
| 5261 | rm -f core conftest.err conftest.$ac_objext \
 | 
|---|
| 5262 |     conftest$ac_exeext conftest.$ac_ext
 | 
|---|
| 5263 | LIBS=$ac_save_LIBS
 | 
|---|
| 5264 | 
 | 
|---|
| 5265 | fi
 | 
|---|
| 5266 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
 | 
|---|
| 5267 | $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
 | 
|---|
| 5268 | if test $ac_cv_prog_lex_yytext_pointer = yes; then
 | 
|---|
| 5269 | 
 | 
|---|
| 5270 | $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
 | 
|---|
| 5271 | 
 | 
|---|
| 5272 | fi
 | 
|---|
| 5273 | rm -f conftest.l $LEX_OUTPUT_ROOT.c
 | 
|---|
| 5274 | 
 | 
|---|
| 5275 | fi
 | 
|---|
| 5276 | if test "${LEX}" = "lex" ; then echo "Error: flex required." ; exit 1 ; fi
 | 
|---|
| 5277 | 
 | 
|---|
| 5278 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 | 
|---|
| 5279 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 | 
|---|
| 5280 | set x ${MAKE-make}
 | 
|---|
| 5281 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 | 
|---|
| 5282 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 | 
|---|
| 5283 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5284 | else
 | 
|---|
| 5285 |   cat >conftest.make <<\_ACEOF
 | 
|---|
| 5286 | SHELL = /bin/sh
 | 
|---|
| 5287 | all:
 | 
|---|
| 5288 |         @echo '@@@%%%=$(MAKE)=@@@%%%'
 | 
|---|
| 5289 | _ACEOF
 | 
|---|
| 5290 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 | 
|---|
| 5291 | case `${MAKE-make} -f conftest.make 2>/dev/null` in
 | 
|---|
| 5292 |   *@@@%%%=?*=@@@%%%*)
 | 
|---|
| 5293 |     eval ac_cv_prog_make_${ac_make}_set=yes;;
 | 
|---|
| 5294 |   *)
 | 
|---|
| 5295 |     eval ac_cv_prog_make_${ac_make}_set=no;;
 | 
|---|
| 5296 | esac
 | 
|---|
| 5297 | rm -f conftest.make
 | 
|---|
| 5298 | fi
 | 
|---|
| 5299 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 | 
|---|
| 5300 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 | 
|---|
| 5301 | $as_echo "yes" >&6; }
 | 
|---|
| 5302 |   SET_MAKE=
 | 
|---|
| 5303 | else
 | 
|---|
| 5304 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 5305 | $as_echo "no" >&6; }
 | 
|---|
| 5306 |   SET_MAKE="MAKE=${MAKE-make}"
 | 
|---|
| 5307 | fi
 | 
|---|
| 5308 | 
 | 
|---|
| 5309 | if test -n "$ac_tool_prefix"; then
 | 
|---|
| 5310 |   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 | 
|---|
| 5311 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 | 
|---|
| 5312 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 5313 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 5314 | if ${ac_cv_prog_RANLIB+:} false; then :
 | 
|---|
| 5315 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5316 | else
 | 
|---|
| 5317 |   if test -n "$RANLIB"; then
 | 
|---|
| 5318 |   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 | 
|---|
| 5319 | else
 | 
|---|
| 5320 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 5321 | for as_dir in $PATH
 | 
|---|
| 5322 | do
 | 
|---|
| 5323 |   IFS=$as_save_IFS
 | 
|---|
| 5324 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 5325 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 5326 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 5327 |     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 | 
|---|
| 5328 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 5329 |     break 2
 | 
|---|
| 5330 |   fi
 | 
|---|
| 5331 | done
 | 
|---|
| 5332 |   done
 | 
|---|
| 5333 | IFS=$as_save_IFS
 | 
|---|
| 5334 | 
 | 
|---|
| 5335 | fi
 | 
|---|
| 5336 | fi
 | 
|---|
| 5337 | RANLIB=$ac_cv_prog_RANLIB
 | 
|---|
| 5338 | if test -n "$RANLIB"; then
 | 
|---|
| 5339 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 | 
|---|
| 5340 | $as_echo "$RANLIB" >&6; }
 | 
|---|
| 5341 | else
 | 
|---|
| 5342 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 5343 | $as_echo "no" >&6; }
 | 
|---|
| 5344 | fi
 | 
|---|
| 5345 | 
 | 
|---|
| 5346 | 
 | 
|---|
| 5347 | fi
 | 
|---|
| 5348 | if test -z "$ac_cv_prog_RANLIB"; then
 | 
|---|
| 5349 |   ac_ct_RANLIB=$RANLIB
 | 
|---|
| 5350 |   # Extract the first word of "ranlib", so it can be a program name with args.
 | 
|---|
| 5351 | set dummy ranlib; ac_word=$2
 | 
|---|
| 5352 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 5353 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 5354 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 | 
|---|
| 5355 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5356 | else
 | 
|---|
| 5357 |   if test -n "$ac_ct_RANLIB"; then
 | 
|---|
| 5358 |   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 | 
|---|
| 5359 | else
 | 
|---|
| 5360 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 5361 | for as_dir in $PATH
 | 
|---|
| 5362 | do
 | 
|---|
| 5363 |   IFS=$as_save_IFS
 | 
|---|
| 5364 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 5365 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 5366 |   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 | 
|---|
| 5367 |     ac_cv_prog_ac_ct_RANLIB="ranlib"
 | 
|---|
| 5368 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 5369 |     break 2
 | 
|---|
| 5370 |   fi
 | 
|---|
| 5371 | done
 | 
|---|
| 5372 |   done
 | 
|---|
| 5373 | IFS=$as_save_IFS
 | 
|---|
| 5374 | 
 | 
|---|
| 5375 | fi
 | 
|---|
| 5376 | fi
 | 
|---|
| 5377 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 | 
|---|
| 5378 | if test -n "$ac_ct_RANLIB"; then
 | 
|---|
| 5379 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 | 
|---|
| 5380 | $as_echo "$ac_ct_RANLIB" >&6; }
 | 
|---|
| 5381 | else
 | 
|---|
| 5382 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 5383 | $as_echo "no" >&6; }
 | 
|---|
| 5384 | fi
 | 
|---|
| 5385 | 
 | 
|---|
| 5386 |   if test "x$ac_ct_RANLIB" = x; then
 | 
|---|
| 5387 |     RANLIB=":"
 | 
|---|
| 5388 |   else
 | 
|---|
| 5389 |     case $cross_compiling:$ac_tool_warned in
 | 
|---|
| 5390 | yes:)
 | 
|---|
| 5391 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 | 
|---|
| 5392 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 | 
|---|
| 5393 | ac_tool_warned=yes ;;
 | 
|---|
| 5394 | esac
 | 
|---|
| 5395 |     RANLIB=$ac_ct_RANLIB
 | 
|---|
| 5396 |   fi
 | 
|---|
| 5397 | else
 | 
|---|
| 5398 |   RANLIB="$ac_cv_prog_RANLIB"
 | 
|---|
| 5399 | fi
 | 
|---|
| 5400 | 
 | 
|---|
| 5401 | 
 | 
|---|
| 5402 | # Checks for libraries.
 | 
|---|
| 5403 | 
 | 
|---|
| 5404 | # Checks for header files.
 | 
|---|
| 5405 | ac_ext=c
 | 
|---|
| 5406 | ac_cpp='$CPP $CPPFLAGS'
 | 
|---|
| 5407 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 5408 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 5409 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
 | 
|---|
| 5410 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 | 
|---|
| 5411 | $as_echo_n "checking how to run the C preprocessor... " >&6; }
 | 
|---|
| 5412 | # On Suns, sometimes $CPP names a directory.
 | 
|---|
| 5413 | if test -n "$CPP" && test -d "$CPP"; then
 | 
|---|
| 5414 |   CPP=
 | 
|---|
| 5415 | fi
 | 
|---|
| 5416 | if test -z "$CPP"; then
 | 
|---|
| 5417 |   if ${ac_cv_prog_CPP+:} false; then :
 | 
|---|
| 5418 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5419 | else
 | 
|---|
| 5420 |       # Double quotes because CPP needs to be expanded
 | 
|---|
| 5421 |     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 | 
|---|
| 5422 |     do
 | 
|---|
| 5423 |       ac_preproc_ok=false
 | 
|---|
| 5424 | for ac_c_preproc_warn_flag in '' yes
 | 
|---|
| 5425 | do
 | 
|---|
| 5426 |   # Use a header file that comes with gcc, so configuring glibc
 | 
|---|
| 5427 |   # with a fresh cross-compiler works.
 | 
|---|
| 5428 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 | 
|---|
| 5429 |   # <limits.h> exists even on freestanding compilers.
 | 
|---|
| 5430 |   # On the NeXT, cc -E runs the code through the compiler's parser,
 | 
|---|
| 5431 |   # not just through cpp. "Syntax error" is here to catch this case.
 | 
|---|
| 5432 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5433 | /* end confdefs.h.  */
 | 
|---|
| 5434 | #ifdef __STDC__
 | 
|---|
| 5435 | # include <limits.h>
 | 
|---|
| 5436 | #else
 | 
|---|
| 5437 | # include <assert.h>
 | 
|---|
| 5438 | #endif
 | 
|---|
| 5439 |                      Syntax error
 | 
|---|
| 5440 | _ACEOF
 | 
|---|
| 5441 | if ac_fn_c_try_cpp "$LINENO"; then :
 | 
|---|
| 5442 | 
 | 
|---|
| 5443 | else
 | 
|---|
| 5444 |   # Broken: fails on valid input.
 | 
|---|
| 5445 | continue
 | 
|---|
| 5446 | fi
 | 
|---|
| 5447 | rm -f conftest.err conftest.i conftest.$ac_ext
 | 
|---|
| 5448 | 
 | 
|---|
| 5449 |   # OK, works on sane cases.  Now check whether nonexistent headers
 | 
|---|
| 5450 |   # can be detected and how.
 | 
|---|
| 5451 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5452 | /* end confdefs.h.  */
 | 
|---|
| 5453 | #include <ac_nonexistent.h>
 | 
|---|
| 5454 | _ACEOF
 | 
|---|
| 5455 | if ac_fn_c_try_cpp "$LINENO"; then :
 | 
|---|
| 5456 |   # Broken: success on invalid input.
 | 
|---|
| 5457 | continue
 | 
|---|
| 5458 | else
 | 
|---|
| 5459 |   # Passes both tests.
 | 
|---|
| 5460 | ac_preproc_ok=:
 | 
|---|
| 5461 | break
 | 
|---|
| 5462 | fi
 | 
|---|
| 5463 | rm -f conftest.err conftest.i conftest.$ac_ext
 | 
|---|
| 5464 | 
 | 
|---|
| 5465 | done
 | 
|---|
| 5466 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 | 
|---|
| 5467 | rm -f conftest.i conftest.err conftest.$ac_ext
 | 
|---|
| 5468 | if $ac_preproc_ok; then :
 | 
|---|
| 5469 |   break
 | 
|---|
| 5470 | fi
 | 
|---|
| 5471 | 
 | 
|---|
| 5472 |     done
 | 
|---|
| 5473 |     ac_cv_prog_CPP=$CPP
 | 
|---|
| 5474 | 
 | 
|---|
| 5475 | fi
 | 
|---|
| 5476 |   CPP=$ac_cv_prog_CPP
 | 
|---|
| 5477 | else
 | 
|---|
| 5478 |   ac_cv_prog_CPP=$CPP
 | 
|---|
| 5479 | fi
 | 
|---|
| 5480 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 | 
|---|
| 5481 | $as_echo "$CPP" >&6; }
 | 
|---|
| 5482 | ac_preproc_ok=false
 | 
|---|
| 5483 | for ac_c_preproc_warn_flag in '' yes
 | 
|---|
| 5484 | do
 | 
|---|
| 5485 |   # Use a header file that comes with gcc, so configuring glibc
 | 
|---|
| 5486 |   # with a fresh cross-compiler works.
 | 
|---|
| 5487 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 | 
|---|
| 5488 |   # <limits.h> exists even on freestanding compilers.
 | 
|---|
| 5489 |   # On the NeXT, cc -E runs the code through the compiler's parser,
 | 
|---|
| 5490 |   # not just through cpp. "Syntax error" is here to catch this case.
 | 
|---|
| 5491 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5492 | /* end confdefs.h.  */
 | 
|---|
| 5493 | #ifdef __STDC__
 | 
|---|
| 5494 | # include <limits.h>
 | 
|---|
| 5495 | #else
 | 
|---|
| 5496 | # include <assert.h>
 | 
|---|
| 5497 | #endif
 | 
|---|
| 5498 |                      Syntax error
 | 
|---|
| 5499 | _ACEOF
 | 
|---|
| 5500 | if ac_fn_c_try_cpp "$LINENO"; then :
 | 
|---|
| 5501 | 
 | 
|---|
| 5502 | else
 | 
|---|
| 5503 |   # Broken: fails on valid input.
 | 
|---|
| 5504 | continue
 | 
|---|
| 5505 | fi
 | 
|---|
| 5506 | rm -f conftest.err conftest.i conftest.$ac_ext
 | 
|---|
| 5507 | 
 | 
|---|
| 5508 |   # OK, works on sane cases.  Now check whether nonexistent headers
 | 
|---|
| 5509 |   # can be detected and how.
 | 
|---|
| 5510 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5511 | /* end confdefs.h.  */
 | 
|---|
| 5512 | #include <ac_nonexistent.h>
 | 
|---|
| 5513 | _ACEOF
 | 
|---|
| 5514 | if ac_fn_c_try_cpp "$LINENO"; then :
 | 
|---|
| 5515 |   # Broken: success on invalid input.
 | 
|---|
| 5516 | continue
 | 
|---|
| 5517 | else
 | 
|---|
| 5518 |   # Passes both tests.
 | 
|---|
| 5519 | ac_preproc_ok=:
 | 
|---|
| 5520 | break
 | 
|---|
| 5521 | fi
 | 
|---|
| 5522 | rm -f conftest.err conftest.i conftest.$ac_ext
 | 
|---|
| 5523 | 
 | 
|---|
| 5524 | done
 | 
|---|
| 5525 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 | 
|---|
| 5526 | rm -f conftest.i conftest.err conftest.$ac_ext
 | 
|---|
| 5527 | if $ac_preproc_ok; then :
 | 
|---|
| 5528 | 
 | 
|---|
| 5529 | else
 | 
|---|
| 5530 |   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 5531 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 5532 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 | 
|---|
| 5533 | See \`config.log' for more details" "$LINENO" 5; }
 | 
|---|
| 5534 | fi
 | 
|---|
| 5535 | 
 | 
|---|
| 5536 | ac_ext=c
 | 
|---|
| 5537 | ac_cpp='$CPP $CPPFLAGS'
 | 
|---|
| 5538 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 5539 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 5540 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
 | 
|---|
| 5541 | 
 | 
|---|
| 5542 | 
 | 
|---|
| 5543 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 | 
|---|
| 5544 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 | 
|---|
| 5545 | if ${ac_cv_path_GREP+:} false; then :
 | 
|---|
| 5546 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5547 | else
 | 
|---|
| 5548 |   if test -z "$GREP"; then
 | 
|---|
| 5549 |   ac_path_GREP_found=false
 | 
|---|
| 5550 |   # Loop through the user's path and test for each of PROGNAME-LIST
 | 
|---|
| 5551 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 5552 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 | 
|---|
| 5553 | do
 | 
|---|
| 5554 |   IFS=$as_save_IFS
 | 
|---|
| 5555 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 5556 |     for ac_prog in grep ggrep; do
 | 
|---|
| 5557 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 5558 |       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 | 
|---|
| 5559 |       as_fn_executable_p "$ac_path_GREP" || continue
 | 
|---|
| 5560 | # Check for GNU ac_path_GREP and select it if it is found.
 | 
|---|
| 5561 |   # Check for GNU $ac_path_GREP
 | 
|---|
| 5562 | case `"$ac_path_GREP" --version 2>&1` in
 | 
|---|
| 5563 | *GNU*)
 | 
|---|
| 5564 |   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 | 
|---|
| 5565 | *)
 | 
|---|
| 5566 |   ac_count=0
 | 
|---|
| 5567 |   $as_echo_n 0123456789 >"conftest.in"
 | 
|---|
| 5568 |   while :
 | 
|---|
| 5569 |   do
 | 
|---|
| 5570 |     cat "conftest.in" "conftest.in" >"conftest.tmp"
 | 
|---|
| 5571 |     mv "conftest.tmp" "conftest.in"
 | 
|---|
| 5572 |     cp "conftest.in" "conftest.nl"
 | 
|---|
| 5573 |     $as_echo 'GREP' >> "conftest.nl"
 | 
|---|
| 5574 |     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 | 
|---|
| 5575 |     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 | 
|---|
| 5576 |     as_fn_arith $ac_count + 1 && ac_count=$as_val
 | 
|---|
| 5577 |     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 | 
|---|
| 5578 |       # Best one so far, save it but keep looking for a better one
 | 
|---|
| 5579 |       ac_cv_path_GREP="$ac_path_GREP"
 | 
|---|
| 5580 |       ac_path_GREP_max=$ac_count
 | 
|---|
| 5581 |     fi
 | 
|---|
| 5582 |     # 10*(2^10) chars as input seems more than enough
 | 
|---|
| 5583 |     test $ac_count -gt 10 && break
 | 
|---|
| 5584 |   done
 | 
|---|
| 5585 |   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 | 
|---|
| 5586 | esac
 | 
|---|
| 5587 | 
 | 
|---|
| 5588 |       $ac_path_GREP_found && break 3
 | 
|---|
| 5589 |     done
 | 
|---|
| 5590 |   done
 | 
|---|
| 5591 |   done
 | 
|---|
| 5592 | IFS=$as_save_IFS
 | 
|---|
| 5593 |   if test -z "$ac_cv_path_GREP"; then
 | 
|---|
| 5594 |     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 | 
|---|
| 5595 |   fi
 | 
|---|
| 5596 | else
 | 
|---|
| 5597 |   ac_cv_path_GREP=$GREP
 | 
|---|
| 5598 | fi
 | 
|---|
| 5599 | 
 | 
|---|
| 5600 | fi
 | 
|---|
| 5601 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 | 
|---|
| 5602 | $as_echo "$ac_cv_path_GREP" >&6; }
 | 
|---|
| 5603 |  GREP="$ac_cv_path_GREP"
 | 
|---|
| 5604 | 
 | 
|---|
| 5605 | 
 | 
|---|
| 5606 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 | 
|---|
| 5607 | $as_echo_n "checking for egrep... " >&6; }
 | 
|---|
| 5608 | if ${ac_cv_path_EGREP+:} false; then :
 | 
|---|
| 5609 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5610 | else
 | 
|---|
| 5611 |   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 | 
|---|
| 5612 |    then ac_cv_path_EGREP="$GREP -E"
 | 
|---|
| 5613 |    else
 | 
|---|
| 5614 |      if test -z "$EGREP"; then
 | 
|---|
| 5615 |   ac_path_EGREP_found=false
 | 
|---|
| 5616 |   # Loop through the user's path and test for each of PROGNAME-LIST
 | 
|---|
| 5617 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 5618 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 | 
|---|
| 5619 | do
 | 
|---|
| 5620 |   IFS=$as_save_IFS
 | 
|---|
| 5621 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 5622 |     for ac_prog in egrep; do
 | 
|---|
| 5623 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 5624 |       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 | 
|---|
| 5625 |       as_fn_executable_p "$ac_path_EGREP" || continue
 | 
|---|
| 5626 | # Check for GNU ac_path_EGREP and select it if it is found.
 | 
|---|
| 5627 |   # Check for GNU $ac_path_EGREP
 | 
|---|
| 5628 | case `"$ac_path_EGREP" --version 2>&1` in
 | 
|---|
| 5629 | *GNU*)
 | 
|---|
| 5630 |   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 | 
|---|
| 5631 | *)
 | 
|---|
| 5632 |   ac_count=0
 | 
|---|
| 5633 |   $as_echo_n 0123456789 >"conftest.in"
 | 
|---|
| 5634 |   while :
 | 
|---|
| 5635 |   do
 | 
|---|
| 5636 |     cat "conftest.in" "conftest.in" >"conftest.tmp"
 | 
|---|
| 5637 |     mv "conftest.tmp" "conftest.in"
 | 
|---|
| 5638 |     cp "conftest.in" "conftest.nl"
 | 
|---|
| 5639 |     $as_echo 'EGREP' >> "conftest.nl"
 | 
|---|
| 5640 |     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 | 
|---|
| 5641 |     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 | 
|---|
| 5642 |     as_fn_arith $ac_count + 1 && ac_count=$as_val
 | 
|---|
| 5643 |     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 | 
|---|
| 5644 |       # Best one so far, save it but keep looking for a better one
 | 
|---|
| 5645 |       ac_cv_path_EGREP="$ac_path_EGREP"
 | 
|---|
| 5646 |       ac_path_EGREP_max=$ac_count
 | 
|---|
| 5647 |     fi
 | 
|---|
| 5648 |     # 10*(2^10) chars as input seems more than enough
 | 
|---|
| 5649 |     test $ac_count -gt 10 && break
 | 
|---|
| 5650 |   done
 | 
|---|
| 5651 |   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 | 
|---|
| 5652 | esac
 | 
|---|
| 5653 | 
 | 
|---|
| 5654 |       $ac_path_EGREP_found && break 3
 | 
|---|
| 5655 |     done
 | 
|---|
| 5656 |   done
 | 
|---|
| 5657 |   done
 | 
|---|
| 5658 | IFS=$as_save_IFS
 | 
|---|
| 5659 |   if test -z "$ac_cv_path_EGREP"; then
 | 
|---|
| 5660 |     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 | 
|---|
| 5661 |   fi
 | 
|---|
| 5662 | else
 | 
|---|
| 5663 |   ac_cv_path_EGREP=$EGREP
 | 
|---|
| 5664 | fi
 | 
|---|
| 5665 | 
 | 
|---|
| 5666 |    fi
 | 
|---|
| 5667 | fi
 | 
|---|
| 5668 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 | 
|---|
| 5669 | $as_echo "$ac_cv_path_EGREP" >&6; }
 | 
|---|
| 5670 |  EGREP="$ac_cv_path_EGREP"
 | 
|---|
| 5671 | 
 | 
|---|
| 5672 | 
 | 
|---|
| 5673 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 | 
|---|
| 5674 | $as_echo_n "checking for ANSI C header files... " >&6; }
 | 
|---|
| 5675 | if ${ac_cv_header_stdc+:} false; then :
 | 
|---|
| 5676 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5677 | else
 | 
|---|
| 5678 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5679 | /* end confdefs.h.  */
 | 
|---|
| 5680 | #include <stdlib.h>
 | 
|---|
| 5681 | #include <stdarg.h>
 | 
|---|
| 5682 | #include <string.h>
 | 
|---|
| 5683 | #include <float.h>
 | 
|---|
| 5684 | 
 | 
|---|
| 5685 | int
 | 
|---|
| 5686 | main ()
 | 
|---|
| 5687 | {
 | 
|---|
| 5688 | 
 | 
|---|
| 5689 |   ;
 | 
|---|
| 5690 |   return 0;
 | 
|---|
| 5691 | }
 | 
|---|
| 5692 | _ACEOF
 | 
|---|
| 5693 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 5694 |   ac_cv_header_stdc=yes
 | 
|---|
| 5695 | else
 | 
|---|
| 5696 |   ac_cv_header_stdc=no
 | 
|---|
| 5697 | fi
 | 
|---|
| 5698 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 5699 | 
 | 
|---|
| 5700 | if test $ac_cv_header_stdc = yes; then
 | 
|---|
| 5701 |   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 | 
|---|
| 5702 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5703 | /* end confdefs.h.  */
 | 
|---|
| 5704 | #include <string.h>
 | 
|---|
| 5705 | 
 | 
|---|
| 5706 | _ACEOF
 | 
|---|
| 5707 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 | 
|---|
| 5708 |   $EGREP "memchr" >/dev/null 2>&1; then :
 | 
|---|
| 5709 | 
 | 
|---|
| 5710 | else
 | 
|---|
| 5711 |   ac_cv_header_stdc=no
 | 
|---|
| 5712 | fi
 | 
|---|
| 5713 | rm -f conftest*
 | 
|---|
| 5714 | 
 | 
|---|
| 5715 | fi
 | 
|---|
| 5716 | 
 | 
|---|
| 5717 | if test $ac_cv_header_stdc = yes; then
 | 
|---|
| 5718 |   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 | 
|---|
| 5719 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5720 | /* end confdefs.h.  */
 | 
|---|
| 5721 | #include <stdlib.h>
 | 
|---|
| 5722 | 
 | 
|---|
| 5723 | _ACEOF
 | 
|---|
| 5724 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 | 
|---|
| 5725 |   $EGREP "free" >/dev/null 2>&1; then :
 | 
|---|
| 5726 | 
 | 
|---|
| 5727 | else
 | 
|---|
| 5728 |   ac_cv_header_stdc=no
 | 
|---|
| 5729 | fi
 | 
|---|
| 5730 | rm -f conftest*
 | 
|---|
| 5731 | 
 | 
|---|
| 5732 | fi
 | 
|---|
| 5733 | 
 | 
|---|
| 5734 | if test $ac_cv_header_stdc = yes; then
 | 
|---|
| 5735 |   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 | 
|---|
| 5736 |   if test "$cross_compiling" = yes; then :
 | 
|---|
| 5737 |   :
 | 
|---|
| 5738 | else
 | 
|---|
| 5739 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5740 | /* end confdefs.h.  */
 | 
|---|
| 5741 | #include <ctype.h>
 | 
|---|
| 5742 | #include <stdlib.h>
 | 
|---|
| 5743 | #if ((' ' & 0x0FF) == 0x020)
 | 
|---|
| 5744 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 | 
|---|
| 5745 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 | 
|---|
| 5746 | #else
 | 
|---|
| 5747 | # define ISLOWER(c) \
 | 
|---|
| 5748 |                    (('a' <= (c) && (c) <= 'i') \
 | 
|---|
| 5749 |                      || ('j' <= (c) && (c) <= 'r') \
 | 
|---|
| 5750 |                      || ('s' <= (c) && (c) <= 'z'))
 | 
|---|
| 5751 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 | 
|---|
| 5752 | #endif
 | 
|---|
| 5753 | 
 | 
|---|
| 5754 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 | 
|---|
| 5755 | int
 | 
|---|
| 5756 | main ()
 | 
|---|
| 5757 | {
 | 
|---|
| 5758 |   int i;
 | 
|---|
| 5759 |   for (i = 0; i < 256; i++)
 | 
|---|
| 5760 |     if (XOR (islower (i), ISLOWER (i))
 | 
|---|
| 5761 |         || toupper (i) != TOUPPER (i))
 | 
|---|
| 5762 |       return 2;
 | 
|---|
| 5763 |   return 0;
 | 
|---|
| 5764 | }
 | 
|---|
| 5765 | _ACEOF
 | 
|---|
| 5766 | if ac_fn_c_try_run "$LINENO"; then :
 | 
|---|
| 5767 | 
 | 
|---|
| 5768 | else
 | 
|---|
| 5769 |   ac_cv_header_stdc=no
 | 
|---|
| 5770 | fi
 | 
|---|
| 5771 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 | 
|---|
| 5772 |   conftest.$ac_objext conftest.beam conftest.$ac_ext
 | 
|---|
| 5773 | fi
 | 
|---|
| 5774 | 
 | 
|---|
| 5775 | fi
 | 
|---|
| 5776 | fi
 | 
|---|
| 5777 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 | 
|---|
| 5778 | $as_echo "$ac_cv_header_stdc" >&6; }
 | 
|---|
| 5779 | if test $ac_cv_header_stdc = yes; then
 | 
|---|
| 5780 | 
 | 
|---|
| 5781 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 | 
|---|
| 5782 | 
 | 
|---|
| 5783 | fi
 | 
|---|
| 5784 | 
 | 
|---|
| 5785 | # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 | 
|---|
| 5786 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 | 
|---|
| 5787 |                   inttypes.h stdint.h unistd.h
 | 
|---|
| 5788 | do :
 | 
|---|
| 5789 |   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 | 
|---|
| 5790 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 | 
|---|
| 5791 | "
 | 
|---|
| 5792 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 | 
|---|
| 5793 |   cat >>confdefs.h <<_ACEOF
 | 
|---|
| 5794 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 | 
|---|
| 5795 | _ACEOF
 | 
|---|
| 5796 | 
 | 
|---|
| 5797 | fi
 | 
|---|
| 5798 | 
 | 
|---|
| 5799 | done
 | 
|---|
| 5800 | 
 | 
|---|
| 5801 | 
 | 
|---|
| 5802 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 | 
|---|
| 5803 | if test "x$ac_cv_type_size_t" = xyes; then :
 | 
|---|
| 5804 | 
 | 
|---|
| 5805 | else
 | 
|---|
| 5806 | 
 | 
|---|
| 5807 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 5808 | #define size_t unsigned int
 | 
|---|
| 5809 | _ACEOF
 | 
|---|
| 5810 | 
 | 
|---|
| 5811 | fi
 | 
|---|
| 5812 | 
 | 
|---|
| 5813 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
 | 
|---|
| 5814 | # for constant arguments.  Useless!
 | 
|---|
| 5815 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
 | 
|---|
| 5816 | $as_echo_n "checking for working alloca.h... " >&6; }
 | 
|---|
| 5817 | if ${ac_cv_working_alloca_h+:} false; then :
 | 
|---|
| 5818 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5819 | else
 | 
|---|
| 5820 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5821 | /* end confdefs.h.  */
 | 
|---|
| 5822 | #include <alloca.h>
 | 
|---|
| 5823 | int
 | 
|---|
| 5824 | main ()
 | 
|---|
| 5825 | {
 | 
|---|
| 5826 | char *p = (char *) alloca (2 * sizeof (int));
 | 
|---|
| 5827 |                           if (p) return 0;
 | 
|---|
| 5828 |   ;
 | 
|---|
| 5829 |   return 0;
 | 
|---|
| 5830 | }
 | 
|---|
| 5831 | _ACEOF
 | 
|---|
| 5832 | if ac_fn_c_try_link "$LINENO"; then :
 | 
|---|
| 5833 |   ac_cv_working_alloca_h=yes
 | 
|---|
| 5834 | else
 | 
|---|
| 5835 |   ac_cv_working_alloca_h=no
 | 
|---|
| 5836 | fi
 | 
|---|
| 5837 | rm -f core conftest.err conftest.$ac_objext \
 | 
|---|
| 5838 |     conftest$ac_exeext conftest.$ac_ext
 | 
|---|
| 5839 | fi
 | 
|---|
| 5840 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
 | 
|---|
| 5841 | $as_echo "$ac_cv_working_alloca_h" >&6; }
 | 
|---|
| 5842 | if test $ac_cv_working_alloca_h = yes; then
 | 
|---|
| 5843 | 
 | 
|---|
| 5844 | $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
 | 
|---|
| 5845 | 
 | 
|---|
| 5846 | fi
 | 
|---|
| 5847 | 
 | 
|---|
| 5848 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
 | 
|---|
| 5849 | $as_echo_n "checking for alloca... " >&6; }
 | 
|---|
| 5850 | if ${ac_cv_func_alloca_works+:} false; then :
 | 
|---|
| 5851 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5852 | else
 | 
|---|
| 5853 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5854 | /* end confdefs.h.  */
 | 
|---|
| 5855 | #ifdef __GNUC__
 | 
|---|
| 5856 | # define alloca __builtin_alloca
 | 
|---|
| 5857 | #else
 | 
|---|
| 5858 | # ifdef _MSC_VER
 | 
|---|
| 5859 | #  include <malloc.h>
 | 
|---|
| 5860 | #  define alloca _alloca
 | 
|---|
| 5861 | # else
 | 
|---|
| 5862 | #  ifdef HAVE_ALLOCA_H
 | 
|---|
| 5863 | #   include <alloca.h>
 | 
|---|
| 5864 | #  else
 | 
|---|
| 5865 | #   ifdef _AIX
 | 
|---|
| 5866 |  #pragma alloca
 | 
|---|
| 5867 | #   else
 | 
|---|
| 5868 | #    ifndef alloca /* predefined by HP cc +Olibcalls */
 | 
|---|
| 5869 | void *alloca (size_t);
 | 
|---|
| 5870 | #    endif
 | 
|---|
| 5871 | #   endif
 | 
|---|
| 5872 | #  endif
 | 
|---|
| 5873 | # endif
 | 
|---|
| 5874 | #endif
 | 
|---|
| 5875 | 
 | 
|---|
| 5876 | int
 | 
|---|
| 5877 | main ()
 | 
|---|
| 5878 | {
 | 
|---|
| 5879 | char *p = (char *) alloca (1);
 | 
|---|
| 5880 |                                     if (p) return 0;
 | 
|---|
| 5881 |   ;
 | 
|---|
| 5882 |   return 0;
 | 
|---|
| 5883 | }
 | 
|---|
| 5884 | _ACEOF
 | 
|---|
| 5885 | if ac_fn_c_try_link "$LINENO"; then :
 | 
|---|
| 5886 |   ac_cv_func_alloca_works=yes
 | 
|---|
| 5887 | else
 | 
|---|
| 5888 |   ac_cv_func_alloca_works=no
 | 
|---|
| 5889 | fi
 | 
|---|
| 5890 | rm -f core conftest.err conftest.$ac_objext \
 | 
|---|
| 5891 |     conftest$ac_exeext conftest.$ac_ext
 | 
|---|
| 5892 | fi
 | 
|---|
| 5893 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
 | 
|---|
| 5894 | $as_echo "$ac_cv_func_alloca_works" >&6; }
 | 
|---|
| 5895 | 
 | 
|---|
| 5896 | if test $ac_cv_func_alloca_works = yes; then
 | 
|---|
| 5897 | 
 | 
|---|
| 5898 | $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
 | 
|---|
| 5899 | 
 | 
|---|
| 5900 | else
 | 
|---|
| 5901 |   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
 | 
|---|
| 5902 | # that cause trouble.  Some versions do not even contain alloca or
 | 
|---|
| 5903 | # contain a buggy version.  If you still want to use their alloca,
 | 
|---|
| 5904 | # use ar to extract alloca.o from them instead of compiling alloca.c.
 | 
|---|
| 5905 | 
 | 
|---|
| 5906 | ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
 | 
|---|
| 5907 | 
 | 
|---|
| 5908 | $as_echo "#define C_ALLOCA 1" >>confdefs.h
 | 
|---|
| 5909 | 
 | 
|---|
| 5910 | 
 | 
|---|
| 5911 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
 | 
|---|
| 5912 | $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
 | 
|---|
| 5913 | if ${ac_cv_os_cray+:} false; then :
 | 
|---|
| 5914 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5915 | else
 | 
|---|
| 5916 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5917 | /* end confdefs.h.  */
 | 
|---|
| 5918 | #if defined CRAY && ! defined CRAY2
 | 
|---|
| 5919 | webecray
 | 
|---|
| 5920 | #else
 | 
|---|
| 5921 | wenotbecray
 | 
|---|
| 5922 | #endif
 | 
|---|
| 5923 | 
 | 
|---|
| 5924 | _ACEOF
 | 
|---|
| 5925 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 | 
|---|
| 5926 |   $EGREP "webecray" >/dev/null 2>&1; then :
 | 
|---|
| 5927 |   ac_cv_os_cray=yes
 | 
|---|
| 5928 | else
 | 
|---|
| 5929 |   ac_cv_os_cray=no
 | 
|---|
| 5930 | fi
 | 
|---|
| 5931 | rm -f conftest*
 | 
|---|
| 5932 | 
 | 
|---|
| 5933 | fi
 | 
|---|
| 5934 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
 | 
|---|
| 5935 | $as_echo "$ac_cv_os_cray" >&6; }
 | 
|---|
| 5936 | if test $ac_cv_os_cray = yes; then
 | 
|---|
| 5937 |   for ac_func in _getb67 GETB67 getb67; do
 | 
|---|
| 5938 |     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 | 
|---|
| 5939 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 | 
|---|
| 5940 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 | 
|---|
| 5941 | 
 | 
|---|
| 5942 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 5943 | #define CRAY_STACKSEG_END $ac_func
 | 
|---|
| 5944 | _ACEOF
 | 
|---|
| 5945 | 
 | 
|---|
| 5946 |     break
 | 
|---|
| 5947 | fi
 | 
|---|
| 5948 | 
 | 
|---|
| 5949 |   done
 | 
|---|
| 5950 | fi
 | 
|---|
| 5951 | 
 | 
|---|
| 5952 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
 | 
|---|
| 5953 | $as_echo_n "checking stack direction for C alloca... " >&6; }
 | 
|---|
| 5954 | if ${ac_cv_c_stack_direction+:} false; then :
 | 
|---|
| 5955 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5956 | else
 | 
|---|
| 5957 |   if test "$cross_compiling" = yes; then :
 | 
|---|
| 5958 |   ac_cv_c_stack_direction=0
 | 
|---|
| 5959 | else
 | 
|---|
| 5960 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5961 | /* end confdefs.h.  */
 | 
|---|
| 5962 | $ac_includes_default
 | 
|---|
| 5963 | int
 | 
|---|
| 5964 | find_stack_direction (int *addr, int depth)
 | 
|---|
| 5965 | {
 | 
|---|
| 5966 |   int dir, dummy = 0;
 | 
|---|
| 5967 |   if (! addr)
 | 
|---|
| 5968 |     addr = &dummy;
 | 
|---|
| 5969 |   *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
 | 
|---|
| 5970 |   dir = depth ? find_stack_direction (addr, depth - 1) : 0;
 | 
|---|
| 5971 |   return dir + dummy;
 | 
|---|
| 5972 | }
 | 
|---|
| 5973 | 
 | 
|---|
| 5974 | int
 | 
|---|
| 5975 | main (int argc, char **argv)
 | 
|---|
| 5976 | {
 | 
|---|
| 5977 |   return find_stack_direction (0, argc + !argv + 20) < 0;
 | 
|---|
| 5978 | }
 | 
|---|
| 5979 | _ACEOF
 | 
|---|
| 5980 | if ac_fn_c_try_run "$LINENO"; then :
 | 
|---|
| 5981 |   ac_cv_c_stack_direction=1
 | 
|---|
| 5982 | else
 | 
|---|
| 5983 |   ac_cv_c_stack_direction=-1
 | 
|---|
| 5984 | fi
 | 
|---|
| 5985 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 | 
|---|
| 5986 |   conftest.$ac_objext conftest.beam conftest.$ac_ext
 | 
|---|
| 5987 | fi
 | 
|---|
| 5988 | 
 | 
|---|
| 5989 | fi
 | 
|---|
| 5990 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
 | 
|---|
| 5991 | $as_echo "$ac_cv_c_stack_direction" >&6; }
 | 
|---|
| 5992 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 5993 | #define STACK_DIRECTION $ac_cv_c_stack_direction
 | 
|---|
| 5994 | _ACEOF
 | 
|---|
| 5995 | 
 | 
|---|
| 5996 | 
 | 
|---|
| 5997 | fi
 | 
|---|
| 5998 | 
 | 
|---|
| 5999 | for ac_header in fenv.h float.h inttypes.h libintl.h limits.h malloc.h stddef.h stdlib.h string.h unistd.h
 | 
|---|
| 6000 | do :
 | 
|---|
| 6001 |   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 | 
|---|
| 6002 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 | 
|---|
| 6003 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 | 
|---|
| 6004 |   cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6005 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 | 
|---|
| 6006 | _ACEOF
 | 
|---|
| 6007 | 
 | 
|---|
| 6008 | fi
 | 
|---|
| 6009 | 
 | 
|---|
| 6010 | done
 | 
|---|
| 6011 | 
 | 
|---|
| 6012 | 
 | 
|---|
| 6013 | # Checks for typedefs, structures, and compiler characteristics.
 | 
|---|
| 6014 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
 | 
|---|
| 6015 | $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
 | 
|---|
| 6016 | if ${ac_cv_header_stdbool_h+:} false; then :
 | 
|---|
| 6017 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 6018 | else
 | 
|---|
| 6019 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 6020 | /* end confdefs.h.  */
 | 
|---|
| 6021 | 
 | 
|---|
| 6022 |              #include <stdbool.h>
 | 
|---|
| 6023 |              #ifndef bool
 | 
|---|
| 6024 |               "error: bool is not defined"
 | 
|---|
| 6025 |              #endif
 | 
|---|
| 6026 |              #ifndef false
 | 
|---|
| 6027 |               "error: false is not defined"
 | 
|---|
| 6028 |              #endif
 | 
|---|
| 6029 |              #if false
 | 
|---|
| 6030 |               "error: false is not 0"
 | 
|---|
| 6031 |              #endif
 | 
|---|
| 6032 |              #ifndef true
 | 
|---|
| 6033 |               "error: true is not defined"
 | 
|---|
| 6034 |              #endif
 | 
|---|
| 6035 |              #if true != 1
 | 
|---|
| 6036 |               "error: true is not 1"
 | 
|---|
| 6037 |              #endif
 | 
|---|
| 6038 |              #ifndef __bool_true_false_are_defined
 | 
|---|
| 6039 |               "error: __bool_true_false_are_defined is not defined"
 | 
|---|
| 6040 |              #endif
 | 
|---|
| 6041 | 
 | 
|---|
| 6042 |              struct s { _Bool s: 1; _Bool t; } s;
 | 
|---|
| 6043 | 
 | 
|---|
| 6044 |              char a[true == 1 ? 1 : -1];
 | 
|---|
| 6045 |              char b[false == 0 ? 1 : -1];
 | 
|---|
| 6046 |              char c[__bool_true_false_are_defined == 1 ? 1 : -1];
 | 
|---|
| 6047 |              char d[(bool) 0.5 == true ? 1 : -1];
 | 
|---|
| 6048 |              /* See body of main program for 'e'.  */
 | 
|---|
| 6049 |              char f[(_Bool) 0.0 == false ? 1 : -1];
 | 
|---|
| 6050 |              char g[true];
 | 
|---|
| 6051 |              char h[sizeof (_Bool)];
 | 
|---|
| 6052 |              char i[sizeof s.t];
 | 
|---|
| 6053 |              enum { j = false, k = true, l = false * true, m = true * 256 };
 | 
|---|
| 6054 |              /* The following fails for
 | 
|---|
| 6055 |                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
 | 
|---|
| 6056 |              _Bool n[m];
 | 
|---|
| 6057 |              char o[sizeof n == m * sizeof n[0] ? 1 : -1];
 | 
|---|
| 6058 |              char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
 | 
|---|
| 6059 |              /* Catch a bug in an HP-UX C compiler.  See
 | 
|---|
| 6060 |                 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
 | 
|---|
| 6061 |                 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
 | 
|---|
| 6062 |               */
 | 
|---|
| 6063 |              _Bool q = true;
 | 
|---|
| 6064 |              _Bool *pq = &q;
 | 
|---|
| 6065 | 
 | 
|---|
| 6066 | int
 | 
|---|
| 6067 | main ()
 | 
|---|
| 6068 | {
 | 
|---|
| 6069 | 
 | 
|---|
| 6070 |              bool e = &s;
 | 
|---|
| 6071 |              *pq |= q;
 | 
|---|
| 6072 |              *pq |= ! q;
 | 
|---|
| 6073 |              /* Refer to every declared value, to avoid compiler optimizations.  */
 | 
|---|
| 6074 |              return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
 | 
|---|
| 6075 |                      + !m + !n + !o + !p + !q + !pq);
 | 
|---|
| 6076 | 
 | 
|---|
| 6077 |   ;
 | 
|---|
| 6078 |   return 0;
 | 
|---|
| 6079 | }
 | 
|---|
| 6080 | _ACEOF
 | 
|---|
| 6081 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 6082 |   ac_cv_header_stdbool_h=yes
 | 
|---|
| 6083 | else
 | 
|---|
| 6084 |   ac_cv_header_stdbool_h=no
 | 
|---|
| 6085 | fi
 | 
|---|
| 6086 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 6087 | fi
 | 
|---|
| 6088 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
 | 
|---|
| 6089 | $as_echo "$ac_cv_header_stdbool_h" >&6; }
 | 
|---|
| 6090 |    ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
 | 
|---|
| 6091 | if test "x$ac_cv_type__Bool" = xyes; then :
 | 
|---|
| 6092 | 
 | 
|---|
| 6093 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6094 | #define HAVE__BOOL 1
 | 
|---|
| 6095 | _ACEOF
 | 
|---|
| 6096 | 
 | 
|---|
| 6097 | 
 | 
|---|
| 6098 | fi
 | 
|---|
| 6099 | 
 | 
|---|
| 6100 | 
 | 
|---|
| 6101 | if test $ac_cv_header_stdbool_h = yes; then
 | 
|---|
| 6102 | 
 | 
|---|
| 6103 | $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
 | 
|---|
| 6104 | 
 | 
|---|
| 6105 | fi
 | 
|---|
| 6106 | 
 | 
|---|
| 6107 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
 | 
|---|
| 6108 | $as_echo_n "checking for inline... " >&6; }
 | 
|---|
| 6109 | if ${ac_cv_c_inline+:} false; then :
 | 
|---|
| 6110 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 6111 | else
 | 
|---|
| 6112 |   ac_cv_c_inline=no
 | 
|---|
| 6113 | for ac_kw in inline __inline__ __inline; do
 | 
|---|
| 6114 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 6115 | /* end confdefs.h.  */
 | 
|---|
| 6116 | #ifndef __cplusplus
 | 
|---|
| 6117 | typedef int foo_t;
 | 
|---|
| 6118 | static $ac_kw foo_t static_foo () {return 0; }
 | 
|---|
| 6119 | $ac_kw foo_t foo () {return 0; }
 | 
|---|
| 6120 | #endif
 | 
|---|
| 6121 | 
 | 
|---|
| 6122 | _ACEOF
 | 
|---|
| 6123 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 6124 |   ac_cv_c_inline=$ac_kw
 | 
|---|
| 6125 | fi
 | 
|---|
| 6126 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 6127 |   test "$ac_cv_c_inline" != no && break
 | 
|---|
| 6128 | done
 | 
|---|
| 6129 | 
 | 
|---|
| 6130 | fi
 | 
|---|
| 6131 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
 | 
|---|
| 6132 | $as_echo "$ac_cv_c_inline" >&6; }
 | 
|---|
| 6133 | 
 | 
|---|
| 6134 | case $ac_cv_c_inline in
 | 
|---|
| 6135 |   inline | yes) ;;
 | 
|---|
| 6136 |   *)
 | 
|---|
| 6137 |     case $ac_cv_c_inline in
 | 
|---|
| 6138 |       no) ac_val=;;
 | 
|---|
| 6139 |       *) ac_val=$ac_cv_c_inline;;
 | 
|---|
| 6140 |     esac
 | 
|---|
| 6141 |     cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6142 | #ifndef __cplusplus
 | 
|---|
| 6143 | #define inline $ac_val
 | 
|---|
| 6144 | #endif
 | 
|---|
| 6145 | _ACEOF
 | 
|---|
| 6146 |     ;;
 | 
|---|
| 6147 | esac
 | 
|---|
| 6148 | 
 | 
|---|
| 6149 | ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t"
 | 
|---|
| 6150 | case $ac_cv_c_int16_t in #(
 | 
|---|
| 6151 |   no|yes) ;; #(
 | 
|---|
| 6152 |   *)
 | 
|---|
| 6153 | 
 | 
|---|
| 6154 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6155 | #define int16_t $ac_cv_c_int16_t
 | 
|---|
| 6156 | _ACEOF
 | 
|---|
| 6157 | ;;
 | 
|---|
| 6158 | esac
 | 
|---|
| 6159 | 
 | 
|---|
| 6160 | ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
 | 
|---|
| 6161 | case $ac_cv_c_int32_t in #(
 | 
|---|
| 6162 |   no|yes) ;; #(
 | 
|---|
| 6163 |   *)
 | 
|---|
| 6164 | 
 | 
|---|
| 6165 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6166 | #define int32_t $ac_cv_c_int32_t
 | 
|---|
| 6167 | _ACEOF
 | 
|---|
| 6168 | ;;
 | 
|---|
| 6169 | esac
 | 
|---|
| 6170 | 
 | 
|---|
| 6171 | ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t"
 | 
|---|
| 6172 | case $ac_cv_c_int8_t in #(
 | 
|---|
| 6173 |   no|yes) ;; #(
 | 
|---|
| 6174 |   *)
 | 
|---|
| 6175 | 
 | 
|---|
| 6176 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6177 | #define int8_t $ac_cv_c_int8_t
 | 
|---|
| 6178 | _ACEOF
 | 
|---|
| 6179 | ;;
 | 
|---|
| 6180 | esac
 | 
|---|
| 6181 | 
 | 
|---|
| 6182 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
 | 
|---|
| 6183 | $as_echo_n "checking for C/C++ restrict keyword... " >&6; }
 | 
|---|
| 6184 | if ${ac_cv_c_restrict+:} false; then :
 | 
|---|
| 6185 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 6186 | else
 | 
|---|
| 6187 |   ac_cv_c_restrict=no
 | 
|---|
| 6188 |    # The order here caters to the fact that C++ does not require restrict.
 | 
|---|
| 6189 |    for ac_kw in __restrict __restrict__ _Restrict restrict; do
 | 
|---|
| 6190 |      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 6191 | /* end confdefs.h.  */
 | 
|---|
| 6192 | typedef int * int_ptr;
 | 
|---|
| 6193 |         int foo (int_ptr $ac_kw ip) {
 | 
|---|
| 6194 |         return ip[0];
 | 
|---|
| 6195 |        }
 | 
|---|
| 6196 | int
 | 
|---|
| 6197 | main ()
 | 
|---|
| 6198 | {
 | 
|---|
| 6199 | int s[1];
 | 
|---|
| 6200 |         int * $ac_kw t = s;
 | 
|---|
| 6201 |         t[0] = 0;
 | 
|---|
| 6202 |         return foo(t)
 | 
|---|
| 6203 |   ;
 | 
|---|
| 6204 |   return 0;
 | 
|---|
| 6205 | }
 | 
|---|
| 6206 | _ACEOF
 | 
|---|
| 6207 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 6208 |   ac_cv_c_restrict=$ac_kw
 | 
|---|
| 6209 | fi
 | 
|---|
| 6210 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 6211 |      test "$ac_cv_c_restrict" != no && break
 | 
|---|
| 6212 |    done
 | 
|---|
| 6213 | 
 | 
|---|
| 6214 | fi
 | 
|---|
| 6215 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
 | 
|---|
| 6216 | $as_echo "$ac_cv_c_restrict" >&6; }
 | 
|---|
| 6217 | 
 | 
|---|
| 6218 |  case $ac_cv_c_restrict in
 | 
|---|
| 6219 |    restrict) ;;
 | 
|---|
| 6220 |    no) $as_echo "#define restrict /**/" >>confdefs.h
 | 
|---|
| 6221 |  ;;
 | 
|---|
| 6222 |    *)  cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6223 | #define restrict $ac_cv_c_restrict
 | 
|---|
| 6224 | _ACEOF
 | 
|---|
| 6225 |  ;;
 | 
|---|
| 6226 |  esac
 | 
|---|
| 6227 | 
 | 
|---|
| 6228 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 | 
|---|
| 6229 | if test "x$ac_cv_type_size_t" = xyes; then :
 | 
|---|
| 6230 | 
 | 
|---|
| 6231 | else
 | 
|---|
| 6232 | 
 | 
|---|
| 6233 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6234 | #define size_t unsigned int
 | 
|---|
| 6235 | _ACEOF
 | 
|---|
| 6236 | 
 | 
|---|
| 6237 | fi
 | 
|---|
| 6238 | 
 | 
|---|
| 6239 | ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
 | 
|---|
| 6240 | case $ac_cv_c_uint16_t in #(
 | 
|---|
| 6241 |   no|yes) ;; #(
 | 
|---|
| 6242 |   *)
 | 
|---|
| 6243 | 
 | 
|---|
| 6244 | 
 | 
|---|
| 6245 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6246 | #define uint16_t $ac_cv_c_uint16_t
 | 
|---|
| 6247 | _ACEOF
 | 
|---|
| 6248 | ;;
 | 
|---|
| 6249 |   esac
 | 
|---|
| 6250 | 
 | 
|---|
| 6251 | ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
 | 
|---|
| 6252 | case $ac_cv_c_uint32_t in #(
 | 
|---|
| 6253 |   no|yes) ;; #(
 | 
|---|
| 6254 |   *)
 | 
|---|
| 6255 | 
 | 
|---|
| 6256 | $as_echo "#define _UINT32_T 1" >>confdefs.h
 | 
|---|
| 6257 | 
 | 
|---|
| 6258 | 
 | 
|---|
| 6259 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6260 | #define uint32_t $ac_cv_c_uint32_t
 | 
|---|
| 6261 | _ACEOF
 | 
|---|
| 6262 | ;;
 | 
|---|
| 6263 |   esac
 | 
|---|
| 6264 | 
 | 
|---|
| 6265 | ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
 | 
|---|
| 6266 | case $ac_cv_c_uint8_t in #(
 | 
|---|
| 6267 |   no|yes) ;; #(
 | 
|---|
| 6268 |   *)
 | 
|---|
| 6269 | 
 | 
|---|
| 6270 | $as_echo "#define _UINT8_T 1" >>confdefs.h
 | 
|---|
| 6271 | 
 | 
|---|
| 6272 | 
 | 
|---|
| 6273 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6274 | #define uint8_t $ac_cv_c_uint8_t
 | 
|---|
| 6275 | _ACEOF
 | 
|---|
| 6276 | ;;
 | 
|---|
| 6277 |   esac
 | 
|---|
| 6278 | 
 | 
|---|
| 6279 | 
 | 
|---|
| 6280 | # Checks for library functions.
 | 
|---|
| 6281 | for ac_func in memset putenv strchr strtol
 | 
|---|
| 6282 | do :
 | 
|---|
| 6283 |   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 | 
|---|
| 6284 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 | 
|---|
| 6285 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 | 
|---|
| 6286 |   cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6287 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 | 
|---|
| 6288 | _ACEOF
 | 
|---|
| 6289 | 
 | 
|---|
| 6290 | fi
 | 
|---|
| 6291 | done
 | 
|---|
| 6292 | 
 | 
|---|
| 6293 | 
 | 
|---|
| 6294 | ac_config_files="$ac_config_files Makefile src/driver/Makefile src/Makefile src/benchmark/Makefile src/examples/Makefile src/tests/Makefile src/tests/preempt_longrun/Makefile src/prelude/Makefile src/libcfa/Makefile tools/Makefile tools/prettyprinter/Makefile"
 | 
|---|
| 6295 | 
 | 
|---|
| 6296 | 
 | 
|---|
| 6297 | ac_config_files="$ac_config_files src/tests/config.py"
 | 
|---|
| 6298 | 
 | 
|---|
| 6299 | cat >confcache <<\_ACEOF
 | 
|---|
| 6300 | # This file is a shell script that caches the results of configure
 | 
|---|
| 6301 | # tests run on this system so they can be shared between configure
 | 
|---|
| 6302 | # scripts and configure runs, see configure's option --config-cache.
 | 
|---|
| 6303 | # It is not useful on other systems.  If it contains results you don't
 | 
|---|
| 6304 | # want to keep, you may remove or edit it.
 | 
|---|
| 6305 | #
 | 
|---|
| 6306 | # config.status only pays attention to the cache file if you give it
 | 
|---|
| 6307 | # the --recheck option to rerun configure.
 | 
|---|
| 6308 | #
 | 
|---|
| 6309 | # `ac_cv_env_foo' variables (set or unset) will be overridden when
 | 
|---|
| 6310 | # loading this file, other *unset* `ac_cv_foo' will be assigned the
 | 
|---|
| 6311 | # following values.
 | 
|---|
| 6312 | 
 | 
|---|
| 6313 | _ACEOF
 | 
|---|
| 6314 | 
 | 
|---|
| 6315 | # The following way of writing the cache mishandles newlines in values,
 | 
|---|
| 6316 | # but we know of no workaround that is simple, portable, and efficient.
 | 
|---|
| 6317 | # So, we kill variables containing newlines.
 | 
|---|
| 6318 | # Ultrix sh set writes to stderr and can't be redirected directly,
 | 
|---|
| 6319 | # and sets the high bit in the cache file unless we assign to the vars.
 | 
|---|
| 6320 | (
 | 
|---|
| 6321 |   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 | 
|---|
| 6322 |     eval ac_val=\$$ac_var
 | 
|---|
| 6323 |     case $ac_val in #(
 | 
|---|
| 6324 |     *${as_nl}*)
 | 
|---|
| 6325 |       case $ac_var in #(
 | 
|---|
| 6326 |       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 | 
|---|
| 6327 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 | 
|---|
| 6328 |       esac
 | 
|---|
| 6329 |       case $ac_var in #(
 | 
|---|
| 6330 |       _ | IFS | as_nl) ;; #(
 | 
|---|
| 6331 |       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 | 
|---|
| 6332 |       *) { eval $ac_var=; unset $ac_var;} ;;
 | 
|---|
| 6333 |       esac ;;
 | 
|---|
| 6334 |     esac
 | 
|---|
| 6335 |   done
 | 
|---|
| 6336 | 
 | 
|---|
| 6337 |   (set) 2>&1 |
 | 
|---|
| 6338 |     case $as_nl`(ac_space=' '; set) 2>&1` in #(
 | 
|---|
| 6339 |     *${as_nl}ac_space=\ *)
 | 
|---|
| 6340 |       # `set' does not quote correctly, so add quotes: double-quote
 | 
|---|
| 6341 |       # substitution turns \\\\ into \\, and sed turns \\ into \.
 | 
|---|
| 6342 |       sed -n \
 | 
|---|
| 6343 |         "s/'/'\\\\''/g;
 | 
|---|
| 6344 |           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 | 
|---|
| 6345 |       ;; #(
 | 
|---|
| 6346 |     *)
 | 
|---|
| 6347 |       # `set' quotes correctly as required by POSIX, so do not add quotes.
 | 
|---|
| 6348 |       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 | 
|---|
| 6349 |       ;;
 | 
|---|
| 6350 |     esac |
 | 
|---|
| 6351 |     sort
 | 
|---|
| 6352 | ) |
 | 
|---|
| 6353 |   sed '
 | 
|---|
| 6354 |      /^ac_cv_env_/b end
 | 
|---|
| 6355 |      t clear
 | 
|---|
| 6356 |      :clear
 | 
|---|
| 6357 |      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 | 
|---|
| 6358 |      t end
 | 
|---|
| 6359 |      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 | 
|---|
| 6360 |      :end' >>confcache
 | 
|---|
| 6361 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 | 
|---|
| 6362 |   if test -w "$cache_file"; then
 | 
|---|
| 6363 |     if test "x$cache_file" != "x/dev/null"; then
 | 
|---|
| 6364 |       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 | 
|---|
| 6365 | $as_echo "$as_me: updating cache $cache_file" >&6;}
 | 
|---|
| 6366 |       if test ! -f "$cache_file" || test -h "$cache_file"; then
 | 
|---|
| 6367 |         cat confcache >"$cache_file"
 | 
|---|
| 6368 |       else
 | 
|---|
| 6369 |         case $cache_file in #(
 | 
|---|
| 6370 |         */* | ?:*)
 | 
|---|
| 6371 |           mv -f confcache "$cache_file"$$ &&
 | 
|---|
| 6372 |           mv -f "$cache_file"$$ "$cache_file" ;; #(
 | 
|---|
| 6373 |         *)
 | 
|---|
| 6374 |           mv -f confcache "$cache_file" ;;
 | 
|---|
| 6375 |         esac
 | 
|---|
| 6376 |       fi
 | 
|---|
| 6377 |     fi
 | 
|---|
| 6378 |   else
 | 
|---|
| 6379 |     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 | 
|---|
| 6380 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 | 
|---|
| 6381 |   fi
 | 
|---|
| 6382 | fi
 | 
|---|
| 6383 | rm -f confcache
 | 
|---|
| 6384 | 
 | 
|---|
| 6385 | test "x$prefix" = xNONE && prefix=$ac_default_prefix
 | 
|---|
| 6386 | # Let make expand exec_prefix.
 | 
|---|
| 6387 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 | 
|---|
| 6388 | 
 | 
|---|
| 6389 | DEFS=-DHAVE_CONFIG_H
 | 
|---|
| 6390 | 
 | 
|---|
| 6391 | ac_libobjs=
 | 
|---|
| 6392 | ac_ltlibobjs=
 | 
|---|
| 6393 | U=
 | 
|---|
| 6394 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 | 
|---|
| 6395 |   # 1. Remove the extension, and $U if already installed.
 | 
|---|
| 6396 |   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 | 
|---|
| 6397 |   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 | 
|---|
| 6398 |   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 | 
|---|
| 6399 |   #    will be set to the directory where LIBOBJS objects are built.
 | 
|---|
| 6400 |   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 | 
|---|
| 6401 |   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 | 
|---|
| 6402 | done
 | 
|---|
| 6403 | LIBOBJS=$ac_libobjs
 | 
|---|
| 6404 | 
 | 
|---|
| 6405 | LTLIBOBJS=$ac_ltlibobjs
 | 
|---|
| 6406 | 
 | 
|---|
| 6407 | 
 | 
|---|
| 6408 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
 | 
|---|
| 6409 | $as_echo_n "checking that generated files are newer than configure... " >&6; }
 | 
|---|
| 6410 |    if test -n "$am_sleep_pid"; then
 | 
|---|
| 6411 |      # Hide warnings about reused PIDs.
 | 
|---|
| 6412 |      wait $am_sleep_pid 2>/dev/null
 | 
|---|
| 6413 |    fi
 | 
|---|
| 6414 |    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
 | 
|---|
| 6415 | $as_echo "done" >&6; }
 | 
|---|
| 6416 |  if test -n "$EXEEXT"; then
 | 
|---|
| 6417 |   am__EXEEXT_TRUE=
 | 
|---|
| 6418 |   am__EXEEXT_FALSE='#'
 | 
|---|
| 6419 | else
 | 
|---|
| 6420 |   am__EXEEXT_TRUE='#'
 | 
|---|
| 6421 |   am__EXEEXT_FALSE=
 | 
|---|
| 6422 | fi
 | 
|---|
| 6423 | 
 | 
|---|
| 6424 | if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 | 
|---|
| 6425 |   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
 | 
|---|
| 6426 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
 | 
|---|
| 6427 | fi
 | 
|---|
| 6428 | if test -z "${BUILD_RELEASE_TRUE}" && test -z "${BUILD_RELEASE_FALSE}"; then
 | 
|---|
| 6429 |   as_fn_error $? "conditional \"BUILD_RELEASE\" was never defined.
 | 
|---|
| 6430 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
 | 
|---|
| 6431 | fi
 | 
|---|
| 6432 | if test -z "${BUILD_DEBUG_TRUE}" && test -z "${BUILD_DEBUG_FALSE}"; then
 | 
|---|
| 6433 |   as_fn_error $? "conditional \"BUILD_DEBUG\" was never defined.
 | 
|---|
| 6434 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
 | 
|---|
| 6435 | fi
 | 
|---|
| 6436 | if test -z "${BUILD_NO_LIB_TRUE}" && test -z "${BUILD_NO_LIB_FALSE}"; then
 | 
|---|
| 6437 |   as_fn_error $? "conditional \"BUILD_NO_LIB\" was never defined.
 | 
|---|
| 6438 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
 | 
|---|
| 6439 | fi
 | 
|---|
| 6440 | if test -z "${BUILD_CONCURRENCY_TRUE}" && test -z "${BUILD_CONCURRENCY_FALSE}"; then
 | 
|---|
| 6441 |   as_fn_error $? "conditional \"BUILD_CONCURRENCY\" was never defined.
 | 
|---|
| 6442 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
 | 
|---|
| 6443 | fi
 | 
|---|
| 6444 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 | 
|---|
| 6445 |   as_fn_error $? "conditional \"AMDEP\" was never defined.
 | 
|---|
| 6446 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
 | 
|---|
| 6447 | fi
 | 
|---|
| 6448 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 | 
|---|
| 6449 |   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
 | 
|---|
| 6450 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
 | 
|---|
| 6451 | fi
 | 
|---|
| 6452 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 | 
|---|
| 6453 |   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 | 
|---|
| 6454 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
 | 
|---|
| 6455 | fi
 | 
|---|
| 6456 | if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
 | 
|---|
| 6457 |   as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
 | 
|---|
| 6458 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
 | 
|---|
| 6459 | fi
 | 
|---|
| 6460 | 
 | 
|---|
| 6461 | : "${CONFIG_STATUS=./config.status}"
 | 
|---|
| 6462 | ac_write_fail=0
 | 
|---|
| 6463 | ac_clean_files_save=$ac_clean_files
 | 
|---|
| 6464 | ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 | 
|---|
| 6465 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 | 
|---|
| 6466 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 | 
|---|
| 6467 | as_write_fail=0
 | 
|---|
| 6468 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 | 
|---|
| 6469 | #! $SHELL
 | 
|---|
| 6470 | # Generated by $as_me.
 | 
|---|
| 6471 | # Run this file to recreate the current configuration.
 | 
|---|
| 6472 | # Compiler output produced by configure, useful for debugging
 | 
|---|
| 6473 | # configure, is in config.log if it exists.
 | 
|---|
| 6474 | 
 | 
|---|
| 6475 | debug=false
 | 
|---|
| 6476 | ac_cs_recheck=false
 | 
|---|
| 6477 | ac_cs_silent=false
 | 
|---|
| 6478 | 
 | 
|---|
| 6479 | SHELL=\${CONFIG_SHELL-$SHELL}
 | 
|---|
| 6480 | export SHELL
 | 
|---|
| 6481 | _ASEOF
 | 
|---|
| 6482 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 | 
|---|
| 6483 | ## -------------------- ##
 | 
|---|
| 6484 | ## M4sh Initialization. ##
 | 
|---|
| 6485 | ## -------------------- ##
 | 
|---|
| 6486 | 
 | 
|---|
| 6487 | # Be more Bourne compatible
 | 
|---|
| 6488 | DUALCASE=1; export DUALCASE # for MKS sh
 | 
|---|
| 6489 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 | 
|---|
| 6490 |   emulate sh
 | 
|---|
| 6491 |   NULLCMD=:
 | 
|---|
| 6492 |   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 | 
|---|
| 6493 |   # is contrary to our usage.  Disable this feature.
 | 
|---|
| 6494 |   alias -g '${1+"$@"}'='"$@"'
 | 
|---|
| 6495 |   setopt NO_GLOB_SUBST
 | 
|---|
| 6496 | else
 | 
|---|
| 6497 |   case `(set -o) 2>/dev/null` in #(
 | 
|---|
| 6498 |   *posix*) :
 | 
|---|
| 6499 |     set -o posix ;; #(
 | 
|---|
| 6500 |   *) :
 | 
|---|
| 6501 |      ;;
 | 
|---|
| 6502 | esac
 | 
|---|
| 6503 | fi
 | 
|---|
| 6504 | 
 | 
|---|
| 6505 | 
 | 
|---|
| 6506 | as_nl='
 | 
|---|
| 6507 | '
 | 
|---|
| 6508 | export as_nl
 | 
|---|
| 6509 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
 | 
|---|
| 6510 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 | 
|---|
| 6511 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 | 
|---|
| 6512 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 | 
|---|
| 6513 | # Prefer a ksh shell builtin over an external printf program on Solaris,
 | 
|---|
| 6514 | # but without wasting forks for bash or zsh.
 | 
|---|
| 6515 | if test -z "$BASH_VERSION$ZSH_VERSION" \
 | 
|---|
| 6516 |     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 | 
|---|
| 6517 |   as_echo='print -r --'
 | 
|---|
| 6518 |   as_echo_n='print -rn --'
 | 
|---|
| 6519 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 | 
|---|
| 6520 |   as_echo='printf %s\n'
 | 
|---|
| 6521 |   as_echo_n='printf %s'
 | 
|---|
| 6522 | else
 | 
|---|
| 6523 |   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 | 
|---|
| 6524 |     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 | 
|---|
| 6525 |     as_echo_n='/usr/ucb/echo -n'
 | 
|---|
| 6526 |   else
 | 
|---|
| 6527 |     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 | 
|---|
| 6528 |     as_echo_n_body='eval
 | 
|---|
| 6529 |       arg=$1;
 | 
|---|
| 6530 |       case $arg in #(
 | 
|---|
| 6531 |       *"$as_nl"*)
 | 
|---|
| 6532 |         expr "X$arg" : "X\\(.*\\)$as_nl";
 | 
|---|
| 6533 |         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 | 
|---|
| 6534 |       esac;
 | 
|---|
| 6535 |       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 | 
|---|
| 6536 |     '
 | 
|---|
| 6537 |     export as_echo_n_body
 | 
|---|
| 6538 |     as_echo_n='sh -c $as_echo_n_body as_echo'
 | 
|---|
| 6539 |   fi
 | 
|---|
| 6540 |   export as_echo_body
 | 
|---|
| 6541 |   as_echo='sh -c $as_echo_body as_echo'
 | 
|---|
| 6542 | fi
 | 
|---|
| 6543 | 
 | 
|---|
| 6544 | # The user is always right.
 | 
|---|
| 6545 | if test "${PATH_SEPARATOR+set}" != set; then
 | 
|---|
| 6546 |   PATH_SEPARATOR=:
 | 
|---|
| 6547 |   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 | 
|---|
| 6548 |     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 | 
|---|
| 6549 |       PATH_SEPARATOR=';'
 | 
|---|
| 6550 |   }
 | 
|---|
| 6551 | fi
 | 
|---|
| 6552 | 
 | 
|---|
| 6553 | 
 | 
|---|
| 6554 | # IFS
 | 
|---|
| 6555 | # We need space, tab and new line, in precisely that order.  Quoting is
 | 
|---|
| 6556 | # there to prevent editors from complaining about space-tab.
 | 
|---|
| 6557 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 | 
|---|
| 6558 | # splitting by setting IFS to empty value.)
 | 
|---|
| 6559 | IFS=" ""        $as_nl"
 | 
|---|
| 6560 | 
 | 
|---|
| 6561 | # Find who we are.  Look in the path if we contain no directory separator.
 | 
|---|
| 6562 | as_myself=
 | 
|---|
| 6563 | case $0 in #((
 | 
|---|
| 6564 |   *[\\/]* ) as_myself=$0 ;;
 | 
|---|
| 6565 |   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 6566 | for as_dir in $PATH
 | 
|---|
| 6567 | do
 | 
|---|
| 6568 |   IFS=$as_save_IFS
 | 
|---|
| 6569 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 6570 |     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 | 
|---|
| 6571 |   done
 | 
|---|
| 6572 | IFS=$as_save_IFS
 | 
|---|
| 6573 | 
 | 
|---|
| 6574 |      ;;
 | 
|---|
| 6575 | esac
 | 
|---|
| 6576 | # We did not find ourselves, most probably we were run as `sh COMMAND'
 | 
|---|
| 6577 | # in which case we are not to be found in the path.
 | 
|---|
| 6578 | if test "x$as_myself" = x; then
 | 
|---|
| 6579 |   as_myself=$0
 | 
|---|
| 6580 | fi
 | 
|---|
| 6581 | if test ! -f "$as_myself"; then
 | 
|---|
| 6582 |   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 | 
|---|
| 6583 |   exit 1
 | 
|---|
| 6584 | fi
 | 
|---|
| 6585 | 
 | 
|---|
| 6586 | # Unset variables that we do not need and which cause bugs (e.g. in
 | 
|---|
| 6587 | # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 | 
|---|
| 6588 | # suppresses any "Segmentation fault" message there.  '((' could
 | 
|---|
| 6589 | # trigger a bug in pdksh 5.2.14.
 | 
|---|
| 6590 | for as_var in BASH_ENV ENV MAIL MAILPATH
 | 
|---|
| 6591 | do eval test x\${$as_var+set} = xset \
 | 
|---|
| 6592 |   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 | 
|---|
| 6593 | done
 | 
|---|
| 6594 | PS1='$ '
 | 
|---|
| 6595 | PS2='> '
 | 
|---|
| 6596 | PS4='+ '
 | 
|---|
| 6597 | 
 | 
|---|
| 6598 | # NLS nuisances.
 | 
|---|
| 6599 | LC_ALL=C
 | 
|---|
| 6600 | export LC_ALL
 | 
|---|
| 6601 | LANGUAGE=C
 | 
|---|
| 6602 | export LANGUAGE
 | 
|---|
| 6603 | 
 | 
|---|
| 6604 | # CDPATH.
 | 
|---|
| 6605 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 | 
|---|
| 6606 | 
 | 
|---|
| 6607 | 
 | 
|---|
| 6608 | # as_fn_error STATUS ERROR [LINENO LOG_FD]
 | 
|---|
| 6609 | # ----------------------------------------
 | 
|---|
| 6610 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 | 
|---|
| 6611 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 | 
|---|
| 6612 | # script with STATUS, using 1 if that was 0.
 | 
|---|
| 6613 | as_fn_error ()
 | 
|---|
| 6614 | {
 | 
|---|
| 6615 |   as_status=$1; test $as_status -eq 0 && as_status=1
 | 
|---|
| 6616 |   if test "$4"; then
 | 
|---|
| 6617 |     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 6618 |     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 | 
|---|
| 6619 |   fi
 | 
|---|
| 6620 |   $as_echo "$as_me: error: $2" >&2
 | 
|---|
| 6621 |   as_fn_exit $as_status
 | 
|---|
| 6622 | } # as_fn_error
 | 
|---|
| 6623 | 
 | 
|---|
| 6624 | 
 | 
|---|
| 6625 | # as_fn_set_status STATUS
 | 
|---|
| 6626 | # -----------------------
 | 
|---|
| 6627 | # Set $? to STATUS, without forking.
 | 
|---|
| 6628 | as_fn_set_status ()
 | 
|---|
| 6629 | {
 | 
|---|
| 6630 |   return $1
 | 
|---|
| 6631 | } # as_fn_set_status
 | 
|---|
| 6632 | 
 | 
|---|
| 6633 | # as_fn_exit STATUS
 | 
|---|
| 6634 | # -----------------
 | 
|---|
| 6635 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 | 
|---|
| 6636 | as_fn_exit ()
 | 
|---|
| 6637 | {
 | 
|---|
| 6638 |   set +e
 | 
|---|
| 6639 |   as_fn_set_status $1
 | 
|---|
| 6640 |   exit $1
 | 
|---|
| 6641 | } # as_fn_exit
 | 
|---|
| 6642 | 
 | 
|---|
| 6643 | # as_fn_unset VAR
 | 
|---|
| 6644 | # ---------------
 | 
|---|
| 6645 | # Portably unset VAR.
 | 
|---|
| 6646 | as_fn_unset ()
 | 
|---|
| 6647 | {
 | 
|---|
| 6648 |   { eval $1=; unset $1;}
 | 
|---|
| 6649 | }
 | 
|---|
| 6650 | as_unset=as_fn_unset
 | 
|---|
| 6651 | # as_fn_append VAR VALUE
 | 
|---|
| 6652 | # ----------------------
 | 
|---|
| 6653 | # Append the text in VALUE to the end of the definition contained in VAR. Take
 | 
|---|
| 6654 | # advantage of any shell optimizations that allow amortized linear growth over
 | 
|---|
| 6655 | # repeated appends, instead of the typical quadratic growth present in naive
 | 
|---|
| 6656 | # implementations.
 | 
|---|
| 6657 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 | 
|---|
| 6658 |   eval 'as_fn_append ()
 | 
|---|
| 6659 |   {
 | 
|---|
| 6660 |     eval $1+=\$2
 | 
|---|
| 6661 |   }'
 | 
|---|
| 6662 | else
 | 
|---|
| 6663 |   as_fn_append ()
 | 
|---|
| 6664 |   {
 | 
|---|
| 6665 |     eval $1=\$$1\$2
 | 
|---|
| 6666 |   }
 | 
|---|
| 6667 | fi # as_fn_append
 | 
|---|
| 6668 | 
 | 
|---|
| 6669 | # as_fn_arith ARG...
 | 
|---|
| 6670 | # ------------------
 | 
|---|
| 6671 | # Perform arithmetic evaluation on the ARGs, and store the result in the
 | 
|---|
| 6672 | # global $as_val. Take advantage of shells that can avoid forks. The arguments
 | 
|---|
| 6673 | # must be portable across $(()) and expr.
 | 
|---|
| 6674 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 | 
|---|
| 6675 |   eval 'as_fn_arith ()
 | 
|---|
| 6676 |   {
 | 
|---|
| 6677 |     as_val=$(( $* ))
 | 
|---|
| 6678 |   }'
 | 
|---|
| 6679 | else
 | 
|---|
| 6680 |   as_fn_arith ()
 | 
|---|
| 6681 |   {
 | 
|---|
| 6682 |     as_val=`expr "$@" || test $? -eq 1`
 | 
|---|
| 6683 |   }
 | 
|---|
| 6684 | fi # as_fn_arith
 | 
|---|
| 6685 | 
 | 
|---|
| 6686 | 
 | 
|---|
| 6687 | if expr a : '\(a\)' >/dev/null 2>&1 &&
 | 
|---|
| 6688 |    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 | 
|---|
| 6689 |   as_expr=expr
 | 
|---|
| 6690 | else
 | 
|---|
| 6691 |   as_expr=false
 | 
|---|
| 6692 | fi
 | 
|---|
| 6693 | 
 | 
|---|
| 6694 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 | 
|---|
| 6695 |   as_basename=basename
 | 
|---|
| 6696 | else
 | 
|---|
| 6697 |   as_basename=false
 | 
|---|
| 6698 | fi
 | 
|---|
| 6699 | 
 | 
|---|
| 6700 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 | 
|---|
| 6701 |   as_dirname=dirname
 | 
|---|
| 6702 | else
 | 
|---|
| 6703 |   as_dirname=false
 | 
|---|
| 6704 | fi
 | 
|---|
| 6705 | 
 | 
|---|
| 6706 | as_me=`$as_basename -- "$0" ||
 | 
|---|
| 6707 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 | 
|---|
| 6708 |          X"$0" : 'X\(//\)$' \| \
 | 
|---|
| 6709 |          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 6710 | $as_echo X/"$0" |
 | 
|---|
| 6711 |     sed '/^.*\/\([^/][^/]*\)\/*$/{
 | 
|---|
| 6712 |             s//\1/
 | 
|---|
| 6713 |             q
 | 
|---|
| 6714 |           }
 | 
|---|
| 6715 |           /^X\/\(\/\/\)$/{
 | 
|---|
| 6716 |             s//\1/
 | 
|---|
| 6717 |             q
 | 
|---|
| 6718 |           }
 | 
|---|
| 6719 |           /^X\/\(\/\).*/{
 | 
|---|
| 6720 |             s//\1/
 | 
|---|
| 6721 |             q
 | 
|---|
| 6722 |           }
 | 
|---|
| 6723 |           s/.*/./; q'`
 | 
|---|
| 6724 | 
 | 
|---|
| 6725 | # Avoid depending upon Character Ranges.
 | 
|---|
| 6726 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 | 
|---|
| 6727 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 | 
|---|
| 6728 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 | 
|---|
| 6729 | as_cr_digits='0123456789'
 | 
|---|
| 6730 | as_cr_alnum=$as_cr_Letters$as_cr_digits
 | 
|---|
| 6731 | 
 | 
|---|
| 6732 | ECHO_C= ECHO_N= ECHO_T=
 | 
|---|
| 6733 | case `echo -n x` in #(((((
 | 
|---|
| 6734 | -n*)
 | 
|---|
| 6735 |   case `echo 'xy\c'` in
 | 
|---|
| 6736 |   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 | 
|---|
| 6737 |   xy)  ECHO_C='\c';;
 | 
|---|
| 6738 |   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 | 
|---|
| 6739 |        ECHO_T=' ';;
 | 
|---|
| 6740 |   esac;;
 | 
|---|
| 6741 | *)
 | 
|---|
| 6742 |   ECHO_N='-n';;
 | 
|---|
| 6743 | esac
 | 
|---|
| 6744 | 
 | 
|---|
| 6745 | rm -f conf$$ conf$$.exe conf$$.file
 | 
|---|
| 6746 | if test -d conf$$.dir; then
 | 
|---|
| 6747 |   rm -f conf$$.dir/conf$$.file
 | 
|---|
| 6748 | else
 | 
|---|
| 6749 |   rm -f conf$$.dir
 | 
|---|
| 6750 |   mkdir conf$$.dir 2>/dev/null
 | 
|---|
| 6751 | fi
 | 
|---|
| 6752 | if (echo >conf$$.file) 2>/dev/null; then
 | 
|---|
| 6753 |   if ln -s conf$$.file conf$$ 2>/dev/null; then
 | 
|---|
| 6754 |     as_ln_s='ln -s'
 | 
|---|
| 6755 |     # ... but there are two gotchas:
 | 
|---|
| 6756 |     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 | 
|---|
| 6757 |     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 | 
|---|
| 6758 |     # In both cases, we have to default to `cp -pR'.
 | 
|---|
| 6759 |     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 | 
|---|
| 6760 |       as_ln_s='cp -pR'
 | 
|---|
| 6761 |   elif ln conf$$.file conf$$ 2>/dev/null; then
 | 
|---|
| 6762 |     as_ln_s=ln
 | 
|---|
| 6763 |   else
 | 
|---|
| 6764 |     as_ln_s='cp -pR'
 | 
|---|
| 6765 |   fi
 | 
|---|
| 6766 | else
 | 
|---|
| 6767 |   as_ln_s='cp -pR'
 | 
|---|
| 6768 | fi
 | 
|---|
| 6769 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 | 
|---|
| 6770 | rmdir conf$$.dir 2>/dev/null
 | 
|---|
| 6771 | 
 | 
|---|
| 6772 | 
 | 
|---|
| 6773 | # as_fn_mkdir_p
 | 
|---|
| 6774 | # -------------
 | 
|---|
| 6775 | # Create "$as_dir" as a directory, including parents if necessary.
 | 
|---|
| 6776 | as_fn_mkdir_p ()
 | 
|---|
| 6777 | {
 | 
|---|
| 6778 | 
 | 
|---|
| 6779 |   case $as_dir in #(
 | 
|---|
| 6780 |   -*) as_dir=./$as_dir;;
 | 
|---|
| 6781 |   esac
 | 
|---|
| 6782 |   test -d "$as_dir" || eval $as_mkdir_p || {
 | 
|---|
| 6783 |     as_dirs=
 | 
|---|
| 6784 |     while :; do
 | 
|---|
| 6785 |       case $as_dir in #(
 | 
|---|
| 6786 |       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 | 
|---|
| 6787 |       *) as_qdir=$as_dir;;
 | 
|---|
| 6788 |       esac
 | 
|---|
| 6789 |       as_dirs="'$as_qdir' $as_dirs"
 | 
|---|
| 6790 |       as_dir=`$as_dirname -- "$as_dir" ||
 | 
|---|
| 6791 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 | 
|---|
| 6792 |          X"$as_dir" : 'X\(//\)[^/]' \| \
 | 
|---|
| 6793 |          X"$as_dir" : 'X\(//\)$' \| \
 | 
|---|
| 6794 |          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 6795 | $as_echo X"$as_dir" |
 | 
|---|
| 6796 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 | 
|---|
| 6797 |             s//\1/
 | 
|---|
| 6798 |             q
 | 
|---|
| 6799 |           }
 | 
|---|
| 6800 |           /^X\(\/\/\)[^/].*/{
 | 
|---|
| 6801 |             s//\1/
 | 
|---|
| 6802 |             q
 | 
|---|
| 6803 |           }
 | 
|---|
| 6804 |           /^X\(\/\/\)$/{
 | 
|---|
| 6805 |             s//\1/
 | 
|---|
| 6806 |             q
 | 
|---|
| 6807 |           }
 | 
|---|
| 6808 |           /^X\(\/\).*/{
 | 
|---|
| 6809 |             s//\1/
 | 
|---|
| 6810 |             q
 | 
|---|
| 6811 |           }
 | 
|---|
| 6812 |           s/.*/./; q'`
 | 
|---|
| 6813 |       test -d "$as_dir" && break
 | 
|---|
| 6814 |     done
 | 
|---|
| 6815 |     test -z "$as_dirs" || eval "mkdir $as_dirs"
 | 
|---|
| 6816 |   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 | 
|---|
| 6817 | 
 | 
|---|
| 6818 | 
 | 
|---|
| 6819 | } # as_fn_mkdir_p
 | 
|---|
| 6820 | if mkdir -p . 2>/dev/null; then
 | 
|---|
| 6821 |   as_mkdir_p='mkdir -p "$as_dir"'
 | 
|---|
| 6822 | else
 | 
|---|
| 6823 |   test -d ./-p && rmdir ./-p
 | 
|---|
| 6824 |   as_mkdir_p=false
 | 
|---|
| 6825 | fi
 | 
|---|
| 6826 | 
 | 
|---|
| 6827 | 
 | 
|---|
| 6828 | # as_fn_executable_p FILE
 | 
|---|
| 6829 | # -----------------------
 | 
|---|
| 6830 | # Test if FILE is an executable regular file.
 | 
|---|
| 6831 | as_fn_executable_p ()
 | 
|---|
| 6832 | {
 | 
|---|
| 6833 |   test -f "$1" && test -x "$1"
 | 
|---|
| 6834 | } # as_fn_executable_p
 | 
|---|
| 6835 | as_test_x='test -x'
 | 
|---|
| 6836 | as_executable_p=as_fn_executable_p
 | 
|---|
| 6837 | 
 | 
|---|
| 6838 | # Sed expression to map a string onto a valid CPP name.
 | 
|---|
| 6839 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 | 
|---|
| 6840 | 
 | 
|---|
| 6841 | # Sed expression to map a string onto a valid variable name.
 | 
|---|
| 6842 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 | 
|---|
| 6843 | 
 | 
|---|
| 6844 | 
 | 
|---|
| 6845 | exec 6>&1
 | 
|---|
| 6846 | ## ----------------------------------- ##
 | 
|---|
| 6847 | ## Main body of $CONFIG_STATUS script. ##
 | 
|---|
| 6848 | ## ----------------------------------- ##
 | 
|---|
| 6849 | _ASEOF
 | 
|---|
| 6850 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 | 
|---|
| 6851 | 
 | 
|---|
| 6852 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 6853 | # Save the log message, to keep $0 and so on meaningful, and to
 | 
|---|
| 6854 | # report actual input values of CONFIG_FILES etc. instead of their
 | 
|---|
| 6855 | # values after options handling.
 | 
|---|
| 6856 | ac_log="
 | 
|---|
| 6857 | This file was extended by cfa-cc $as_me 1.0.0.0, which was
 | 
|---|
| 6858 | generated by GNU Autoconf 2.69.  Invocation command line was
 | 
|---|
| 6859 | 
 | 
|---|
| 6860 |   CONFIG_FILES    = $CONFIG_FILES
 | 
|---|
| 6861 |   CONFIG_HEADERS  = $CONFIG_HEADERS
 | 
|---|
| 6862 |   CONFIG_LINKS    = $CONFIG_LINKS
 | 
|---|
| 6863 |   CONFIG_COMMANDS = $CONFIG_COMMANDS
 | 
|---|
| 6864 |   $ $0 $@
 | 
|---|
| 6865 | 
 | 
|---|
| 6866 | on `(hostname || uname -n) 2>/dev/null | sed 1q`
 | 
|---|
| 6867 | "
 | 
|---|
| 6868 | 
 | 
|---|
| 6869 | _ACEOF
 | 
|---|
| 6870 | 
 | 
|---|
| 6871 | case $ac_config_files in *"
 | 
|---|
| 6872 | "*) set x $ac_config_files; shift; ac_config_files=$*;;
 | 
|---|
| 6873 | esac
 | 
|---|
| 6874 | 
 | 
|---|
| 6875 | case $ac_config_headers in *"
 | 
|---|
| 6876 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 | 
|---|
| 6877 | esac
 | 
|---|
| 6878 | 
 | 
|---|
| 6879 | 
 | 
|---|
| 6880 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 6881 | # Files that config.status was made for.
 | 
|---|
| 6882 | config_files="$ac_config_files"
 | 
|---|
| 6883 | config_headers="$ac_config_headers"
 | 
|---|
| 6884 | config_commands="$ac_config_commands"
 | 
|---|
| 6885 | 
 | 
|---|
| 6886 | _ACEOF
 | 
|---|
| 6887 | 
 | 
|---|
| 6888 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 6889 | ac_cs_usage="\
 | 
|---|
| 6890 | \`$as_me' instantiates files and other configuration actions
 | 
|---|
| 6891 | from templates according to the current configuration.  Unless the files
 | 
|---|
| 6892 | and actions are specified as TAGs, all are instantiated by default.
 | 
|---|
| 6893 | 
 | 
|---|
| 6894 | Usage: $0 [OPTION]... [TAG]...
 | 
|---|
| 6895 | 
 | 
|---|
| 6896 |   -h, --help       print this help, then exit
 | 
|---|
| 6897 |   -V, --version    print version number and configuration settings, then exit
 | 
|---|
| 6898 |       --config     print configuration, then exit
 | 
|---|
| 6899 |   -q, --quiet, --silent
 | 
|---|
| 6900 |                    do not print progress messages
 | 
|---|
| 6901 |   -d, --debug      don't remove temporary files
 | 
|---|
| 6902 |       --recheck    update $as_me by reconfiguring in the same conditions
 | 
|---|
| 6903 |       --file=FILE[:TEMPLATE]
 | 
|---|
| 6904 |                    instantiate the configuration file FILE
 | 
|---|
| 6905 |       --header=FILE[:TEMPLATE]
 | 
|---|
| 6906 |                    instantiate the configuration header FILE
 | 
|---|
| 6907 | 
 | 
|---|
| 6908 | Configuration files:
 | 
|---|
| 6909 | $config_files
 | 
|---|
| 6910 | 
 | 
|---|
| 6911 | Configuration headers:
 | 
|---|
| 6912 | $config_headers
 | 
|---|
| 6913 | 
 | 
|---|
| 6914 | Configuration commands:
 | 
|---|
| 6915 | $config_commands
 | 
|---|
| 6916 | 
 | 
|---|
| 6917 | Report bugs to <cforall@plg.uwaterloo.ca>."
 | 
|---|
| 6918 | 
 | 
|---|
| 6919 | _ACEOF
 | 
|---|
| 6920 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 6921 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 | 
|---|
| 6922 | ac_cs_version="\\
 | 
|---|
| 6923 | cfa-cc config.status 1.0.0.0
 | 
|---|
| 6924 | configured by $0, generated by GNU Autoconf 2.69,
 | 
|---|
| 6925 |   with options \\"\$ac_cs_config\\"
 | 
|---|
| 6926 | 
 | 
|---|
| 6927 | Copyright (C) 2012 Free Software Foundation, Inc.
 | 
|---|
| 6928 | This config.status script is free software; the Free Software Foundation
 | 
|---|
| 6929 | gives unlimited permission to copy, distribute and modify it."
 | 
|---|
| 6930 | 
 | 
|---|
| 6931 | ac_pwd='$ac_pwd'
 | 
|---|
| 6932 | srcdir='$srcdir'
 | 
|---|
| 6933 | INSTALL='$INSTALL'
 | 
|---|
| 6934 | MKDIR_P='$MKDIR_P'
 | 
|---|
| 6935 | AWK='$AWK'
 | 
|---|
| 6936 | test -n "\$AWK" || AWK=awk
 | 
|---|
| 6937 | _ACEOF
 | 
|---|
| 6938 | 
 | 
|---|
| 6939 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 6940 | # The default lists apply if the user does not specify any file.
 | 
|---|
| 6941 | ac_need_defaults=:
 | 
|---|
| 6942 | while test $# != 0
 | 
|---|
| 6943 | do
 | 
|---|
| 6944 |   case $1 in
 | 
|---|
| 6945 |   --*=?*)
 | 
|---|
| 6946 |     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 | 
|---|
| 6947 |     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 | 
|---|
| 6948 |     ac_shift=:
 | 
|---|
| 6949 |     ;;
 | 
|---|
| 6950 |   --*=)
 | 
|---|
| 6951 |     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 | 
|---|
| 6952 |     ac_optarg=
 | 
|---|
| 6953 |     ac_shift=:
 | 
|---|
| 6954 |     ;;
 | 
|---|
| 6955 |   *)
 | 
|---|
| 6956 |     ac_option=$1
 | 
|---|
| 6957 |     ac_optarg=$2
 | 
|---|
| 6958 |     ac_shift=shift
 | 
|---|
| 6959 |     ;;
 | 
|---|
| 6960 |   esac
 | 
|---|
| 6961 | 
 | 
|---|
| 6962 |   case $ac_option in
 | 
|---|
| 6963 |   # Handling of the options.
 | 
|---|
| 6964 |   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 | 
|---|
| 6965 |     ac_cs_recheck=: ;;
 | 
|---|
| 6966 |   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 | 
|---|
| 6967 |     $as_echo "$ac_cs_version"; exit ;;
 | 
|---|
| 6968 |   --config | --confi | --conf | --con | --co | --c )
 | 
|---|
| 6969 |     $as_echo "$ac_cs_config"; exit ;;
 | 
|---|
| 6970 |   --debug | --debu | --deb | --de | --d | -d )
 | 
|---|
| 6971 |     debug=: ;;
 | 
|---|
| 6972 |   --file | --fil | --fi | --f )
 | 
|---|
| 6973 |     $ac_shift
 | 
|---|
| 6974 |     case $ac_optarg in
 | 
|---|
| 6975 |     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 | 
|---|
| 6976 |     '') as_fn_error $? "missing file argument" ;;
 | 
|---|
| 6977 |     esac
 | 
|---|
| 6978 |     as_fn_append CONFIG_FILES " '$ac_optarg'"
 | 
|---|
| 6979 |     ac_need_defaults=false;;
 | 
|---|
| 6980 |   --header | --heade | --head | --hea )
 | 
|---|
| 6981 |     $ac_shift
 | 
|---|
| 6982 |     case $ac_optarg in
 | 
|---|
| 6983 |     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 | 
|---|
| 6984 |     esac
 | 
|---|
| 6985 |     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 | 
|---|
| 6986 |     ac_need_defaults=false;;
 | 
|---|
| 6987 |   --he | --h)
 | 
|---|
| 6988 |     # Conflict between --help and --header
 | 
|---|
| 6989 |     as_fn_error $? "ambiguous option: \`$1'
 | 
|---|
| 6990 | Try \`$0 --help' for more information.";;
 | 
|---|
| 6991 |   --help | --hel | -h )
 | 
|---|
| 6992 |     $as_echo "$ac_cs_usage"; exit ;;
 | 
|---|
| 6993 |   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 | 
|---|
| 6994 |   | -silent | --silent | --silen | --sile | --sil | --si | --s)
 | 
|---|
| 6995 |     ac_cs_silent=: ;;
 | 
|---|
| 6996 | 
 | 
|---|
| 6997 |   # This is an error.
 | 
|---|
| 6998 |   -*) as_fn_error $? "unrecognized option: \`$1'
 | 
|---|
| 6999 | Try \`$0 --help' for more information." ;;
 | 
|---|
| 7000 | 
 | 
|---|
| 7001 |   *) as_fn_append ac_config_targets " $1"
 | 
|---|
| 7002 |      ac_need_defaults=false ;;
 | 
|---|
| 7003 | 
 | 
|---|
| 7004 |   esac
 | 
|---|
| 7005 |   shift
 | 
|---|
| 7006 | done
 | 
|---|
| 7007 | 
 | 
|---|
| 7008 | ac_configure_extra_args=
 | 
|---|
| 7009 | 
 | 
|---|
| 7010 | if $ac_cs_silent; then
 | 
|---|
| 7011 |   exec 6>/dev/null
 | 
|---|
| 7012 |   ac_configure_extra_args="$ac_configure_extra_args --silent"
 | 
|---|
| 7013 | fi
 | 
|---|
| 7014 | 
 | 
|---|
| 7015 | _ACEOF
 | 
|---|
| 7016 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 7017 | if \$ac_cs_recheck; then
 | 
|---|
| 7018 |   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 | 
|---|
| 7019 |   shift
 | 
|---|
| 7020 |   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 | 
|---|
| 7021 |   CONFIG_SHELL='$SHELL'
 | 
|---|
| 7022 |   export CONFIG_SHELL
 | 
|---|
| 7023 |   exec "\$@"
 | 
|---|
| 7024 | fi
 | 
|---|
| 7025 | 
 | 
|---|
| 7026 | _ACEOF
 | 
|---|
| 7027 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 7028 | exec 5>>config.log
 | 
|---|
| 7029 | {
 | 
|---|
| 7030 |   echo
 | 
|---|
| 7031 |   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 | 
|---|
| 7032 | ## Running $as_me. ##
 | 
|---|
| 7033 | _ASBOX
 | 
|---|
| 7034 |   $as_echo "$ac_log"
 | 
|---|
| 7035 | } >&5
 | 
|---|
| 7036 | 
 | 
|---|
| 7037 | _ACEOF
 | 
|---|
| 7038 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 7039 | #
 | 
|---|
| 7040 | # INIT-COMMANDS
 | 
|---|
| 7041 | #
 | 
|---|
| 7042 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 | 
|---|
| 7043 | 
 | 
|---|
| 7044 | _ACEOF
 | 
|---|
| 7045 | 
 | 
|---|
| 7046 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 7047 | 
 | 
|---|
| 7048 | # Handling of arguments.
 | 
|---|
| 7049 | for ac_config_target in $ac_config_targets
 | 
|---|
| 7050 | do
 | 
|---|
| 7051 |   case $ac_config_target in
 | 
|---|
| 7052 |     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 | 
|---|
| 7053 |     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 | 
|---|
| 7054 |     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 | 
|---|
| 7055 |     "src/driver/Makefile") CONFIG_FILES="$CONFIG_FILES src/driver/Makefile" ;;
 | 
|---|
| 7056 |     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 | 
|---|
| 7057 |     "src/benchmark/Makefile") CONFIG_FILES="$CONFIG_FILES src/benchmark/Makefile" ;;
 | 
|---|
| 7058 |     "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
 | 
|---|
| 7059 |     "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
 | 
|---|
| 7060 |     "src/tests/preempt_longrun/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/preempt_longrun/Makefile" ;;
 | 
|---|
| 7061 |     "src/prelude/Makefile") CONFIG_FILES="$CONFIG_FILES src/prelude/Makefile" ;;
 | 
|---|
| 7062 |     "src/libcfa/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcfa/Makefile" ;;
 | 
|---|
| 7063 |     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
 | 
|---|
| 7064 |     "tools/prettyprinter/Makefile") CONFIG_FILES="$CONFIG_FILES tools/prettyprinter/Makefile" ;;
 | 
|---|
| 7065 |     "src/tests/config.py") CONFIG_FILES="$CONFIG_FILES src/tests/config.py" ;;
 | 
|---|
| 7066 | 
 | 
|---|
| 7067 |   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 | 
|---|
| 7068 |   esac
 | 
|---|
| 7069 | done
 | 
|---|
| 7070 | 
 | 
|---|
| 7071 | 
 | 
|---|
| 7072 | # If the user did not use the arguments to specify the items to instantiate,
 | 
|---|
| 7073 | # then the envvar interface is used.  Set only those that are not.
 | 
|---|
| 7074 | # We use the long form for the default assignment because of an extremely
 | 
|---|
| 7075 | # bizarre bug on SunOS 4.1.3.
 | 
|---|
| 7076 | if $ac_need_defaults; then
 | 
|---|
| 7077 |   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 | 
|---|
| 7078 |   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 | 
|---|
| 7079 |   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 | 
|---|
| 7080 | fi
 | 
|---|
| 7081 | 
 | 
|---|
| 7082 | # Have a temporary directory for convenience.  Make it in the build tree
 | 
|---|
| 7083 | # simply because there is no reason against having it here, and in addition,
 | 
|---|
| 7084 | # creating and moving files from /tmp can sometimes cause problems.
 | 
|---|
| 7085 | # Hook for its removal unless debugging.
 | 
|---|
| 7086 | # Note that there is a small window in which the directory will not be cleaned:
 | 
|---|
| 7087 | # after its creation but before its name has been assigned to `$tmp'.
 | 
|---|
| 7088 | $debug ||
 | 
|---|
| 7089 | {
 | 
|---|
| 7090 |   tmp= ac_tmp=
 | 
|---|
| 7091 |   trap 'exit_status=$?
 | 
|---|
| 7092 |   : "${ac_tmp:=$tmp}"
 | 
|---|
| 7093 |   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 | 
|---|
| 7094 | ' 0
 | 
|---|
| 7095 |   trap 'as_fn_exit 1' 1 2 13 15
 | 
|---|
| 7096 | }
 | 
|---|
| 7097 | # Create a (secure) tmp directory for tmp files.
 | 
|---|
| 7098 | 
 | 
|---|
| 7099 | {
 | 
|---|
| 7100 |   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 | 
|---|
| 7101 |   test -d "$tmp"
 | 
|---|
| 7102 | }  ||
 | 
|---|
| 7103 | {
 | 
|---|
| 7104 |   tmp=./conf$$-$RANDOM
 | 
|---|
| 7105 |   (umask 077 && mkdir "$tmp")
 | 
|---|
| 7106 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 | 
|---|
| 7107 | ac_tmp=$tmp
 | 
|---|
| 7108 | 
 | 
|---|
| 7109 | # Set up the scripts for CONFIG_FILES section.
 | 
|---|
| 7110 | # No need to generate them if there are no CONFIG_FILES.
 | 
|---|
| 7111 | # This happens for instance with `./config.status config.h'.
 | 
|---|
| 7112 | if test -n "$CONFIG_FILES"; then
 | 
|---|
| 7113 | 
 | 
|---|
| 7114 | 
 | 
|---|
| 7115 | ac_cr=`echo X | tr X '\015'`
 | 
|---|
| 7116 | # On cygwin, bash can eat \r inside `` if the user requested igncr.
 | 
|---|
| 7117 | # But we know of no other shell where ac_cr would be empty at this
 | 
|---|
| 7118 | # point, so we can use a bashism as a fallback.
 | 
|---|
| 7119 | if test "x$ac_cr" = x; then
 | 
|---|
| 7120 |   eval ac_cr=\$\'\\r\'
 | 
|---|
| 7121 | fi
 | 
|---|
| 7122 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 | 
|---|
| 7123 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 | 
|---|
| 7124 |   ac_cs_awk_cr='\\r'
 | 
|---|
| 7125 | else
 | 
|---|
| 7126 |   ac_cs_awk_cr=$ac_cr
 | 
|---|
| 7127 | fi
 | 
|---|
| 7128 | 
 | 
|---|
| 7129 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 | 
|---|
| 7130 | _ACEOF
 | 
|---|
| 7131 | 
 | 
|---|
| 7132 | 
 | 
|---|
| 7133 | {
 | 
|---|
| 7134 |   echo "cat >conf$$subs.awk <<_ACEOF" &&
 | 
|---|
| 7135 |   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 | 
|---|
| 7136 |   echo "_ACEOF"
 | 
|---|
| 7137 | } >conf$$subs.sh ||
 | 
|---|
| 7138 |   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 | 
|---|
| 7139 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 | 
|---|
| 7140 | ac_delim='%!_!# '
 | 
|---|
| 7141 | for ac_last_try in false false false false false :; do
 | 
|---|
| 7142 |   . ./conf$$subs.sh ||
 | 
|---|
| 7143 |     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 | 
|---|
| 7144 | 
 | 
|---|
| 7145 |   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 | 
|---|
| 7146 |   if test $ac_delim_n = $ac_delim_num; then
 | 
|---|
| 7147 |     break
 | 
|---|
| 7148 |   elif $ac_last_try; then
 | 
|---|
| 7149 |     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 | 
|---|
| 7150 |   else
 | 
|---|
| 7151 |     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 | 
|---|
| 7152 |   fi
 | 
|---|
| 7153 | done
 | 
|---|
| 7154 | rm -f conf$$subs.sh
 | 
|---|
| 7155 | 
 | 
|---|
| 7156 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 7157 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 | 
|---|
| 7158 | _ACEOF
 | 
|---|
| 7159 | sed -n '
 | 
|---|
| 7160 | h
 | 
|---|
| 7161 | s/^/S["/; s/!.*/"]=/
 | 
|---|
| 7162 | p
 | 
|---|
| 7163 | g
 | 
|---|
| 7164 | s/^[^!]*!//
 | 
|---|
| 7165 | :repl
 | 
|---|
| 7166 | t repl
 | 
|---|
| 7167 | s/'"$ac_delim"'$//
 | 
|---|
| 7168 | t delim
 | 
|---|
| 7169 | :nl
 | 
|---|
| 7170 | h
 | 
|---|
| 7171 | s/\(.\{148\}\)..*/\1/
 | 
|---|
| 7172 | t more1
 | 
|---|
| 7173 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 | 
|---|
| 7174 | p
 | 
|---|
| 7175 | n
 | 
|---|
| 7176 | b repl
 | 
|---|
| 7177 | :more1
 | 
|---|
| 7178 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 | 
|---|
| 7179 | p
 | 
|---|
| 7180 | g
 | 
|---|
| 7181 | s/.\{148\}//
 | 
|---|
| 7182 | t nl
 | 
|---|
| 7183 | :delim
 | 
|---|
| 7184 | h
 | 
|---|
| 7185 | s/\(.\{148\}\)..*/\1/
 | 
|---|
| 7186 | t more2
 | 
|---|
| 7187 | s/["\\]/\\&/g; s/^/"/; s/$/"/
 | 
|---|
| 7188 | p
 | 
|---|
| 7189 | b
 | 
|---|
| 7190 | :more2
 | 
|---|
| 7191 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 | 
|---|
| 7192 | p
 | 
|---|
| 7193 | g
 | 
|---|
| 7194 | s/.\{148\}//
 | 
|---|
| 7195 | t delim
 | 
|---|
| 7196 | ' <conf$$subs.awk | sed '
 | 
|---|
| 7197 | /^[^""]/{
 | 
|---|
| 7198 |   N
 | 
|---|
| 7199 |   s/\n//
 | 
|---|
| 7200 | }
 | 
|---|
| 7201 | ' >>$CONFIG_STATUS || ac_write_fail=1
 | 
|---|
| 7202 | rm -f conf$$subs.awk
 | 
|---|
| 7203 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 7204 | _ACAWK
 | 
|---|
| 7205 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 | 
|---|
| 7206 |   for (key in S) S_is_set[key] = 1
 | 
|---|
| 7207 |   FS = ""
 | 
|---|
| 7208 | 
 | 
|---|
| 7209 | }
 | 
|---|
| 7210 | {
 | 
|---|
| 7211 |   line = $ 0
 | 
|---|
| 7212 |   nfields = split(line, field, "@")
 | 
|---|
| 7213 |   substed = 0
 | 
|---|
| 7214 |   len = length(field[1])
 | 
|---|
| 7215 |   for (i = 2; i < nfields; i++) {
 | 
|---|
| 7216 |     key = field[i]
 | 
|---|
| 7217 |     keylen = length(key)
 | 
|---|
| 7218 |     if (S_is_set[key]) {
 | 
|---|
| 7219 |       value = S[key]
 | 
|---|
| 7220 |       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 | 
|---|
| 7221 |       len += length(value) + length(field[++i])
 | 
|---|
| 7222 |       substed = 1
 | 
|---|
| 7223 |     } else
 | 
|---|
| 7224 |       len += 1 + keylen
 | 
|---|
| 7225 |   }
 | 
|---|
| 7226 | 
 | 
|---|
| 7227 |   print line
 | 
|---|
| 7228 | }
 | 
|---|
| 7229 | 
 | 
|---|
| 7230 | _ACAWK
 | 
|---|
| 7231 | _ACEOF
 | 
|---|
| 7232 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 7233 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 | 
|---|
| 7234 |   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 | 
|---|
| 7235 | else
 | 
|---|
| 7236 |   cat
 | 
|---|
| 7237 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 | 
|---|
| 7238 |   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 | 
|---|
| 7239 | _ACEOF
 | 
|---|
| 7240 | 
 | 
|---|
| 7241 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 | 
|---|
| 7242 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 | 
|---|
| 7243 | # trailing colons and then remove the whole line if VPATH becomes empty
 | 
|---|
| 7244 | # (actually we leave an empty line to preserve line numbers).
 | 
|---|
| 7245 | if test "x$srcdir" = x.; then
 | 
|---|
| 7246 |   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 | 
|---|
| 7247 | h
 | 
|---|
| 7248 | s///
 | 
|---|
| 7249 | s/^/:/
 | 
|---|
| 7250 | s/[      ]*$/:/
 | 
|---|
| 7251 | s/:\$(srcdir):/:/g
 | 
|---|
| 7252 | s/:\${srcdir}:/:/g
 | 
|---|
| 7253 | s/:@srcdir@:/:/g
 | 
|---|
| 7254 | s/^:*//
 | 
|---|
| 7255 | s/:*$//
 | 
|---|
| 7256 | x
 | 
|---|
| 7257 | s/\(=[   ]*\).*/\1/
 | 
|---|
| 7258 | G
 | 
|---|
| 7259 | s/\n//
 | 
|---|
| 7260 | s/^[^=]*=[       ]*$//
 | 
|---|
| 7261 | }'
 | 
|---|
| 7262 | fi
 | 
|---|
| 7263 | 
 | 
|---|
| 7264 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 7265 | fi # test -n "$CONFIG_FILES"
 | 
|---|
| 7266 | 
 | 
|---|
| 7267 | # Set up the scripts for CONFIG_HEADERS section.
 | 
|---|
| 7268 | # No need to generate them if there are no CONFIG_HEADERS.
 | 
|---|
| 7269 | # This happens for instance with `./config.status Makefile'.
 | 
|---|
| 7270 | if test -n "$CONFIG_HEADERS"; then
 | 
|---|
| 7271 | cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 | 
|---|
| 7272 | BEGIN {
 | 
|---|
| 7273 | _ACEOF
 | 
|---|
| 7274 | 
 | 
|---|
| 7275 | # Transform confdefs.h into an awk script `defines.awk', embedded as
 | 
|---|
| 7276 | # here-document in config.status, that substitutes the proper values into
 | 
|---|
| 7277 | # config.h.in to produce config.h.
 | 
|---|
| 7278 | 
 | 
|---|
| 7279 | # Create a delimiter string that does not exist in confdefs.h, to ease
 | 
|---|
| 7280 | # handling of long lines.
 | 
|---|
| 7281 | ac_delim='%!_!# '
 | 
|---|
| 7282 | for ac_last_try in false false :; do
 | 
|---|
| 7283 |   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 | 
|---|
| 7284 |   if test -z "$ac_tt"; then
 | 
|---|
| 7285 |     break
 | 
|---|
| 7286 |   elif $ac_last_try; then
 | 
|---|
| 7287 |     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 | 
|---|
| 7288 |   else
 | 
|---|
| 7289 |     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 | 
|---|
| 7290 |   fi
 | 
|---|
| 7291 | done
 | 
|---|
| 7292 | 
 | 
|---|
| 7293 | # For the awk script, D is an array of macro values keyed by name,
 | 
|---|
| 7294 | # likewise P contains macro parameters if any.  Preserve backslash
 | 
|---|
| 7295 | # newline sequences.
 | 
|---|
| 7296 | 
 | 
|---|
| 7297 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 | 
|---|
| 7298 | sed -n '
 | 
|---|
| 7299 | s/.\{148\}/&'"$ac_delim"'/g
 | 
|---|
| 7300 | t rset
 | 
|---|
| 7301 | :rset
 | 
|---|
| 7302 | s/^[     ]*#[    ]*define[       ][      ]*/ /
 | 
|---|
| 7303 | t def
 | 
|---|
| 7304 | d
 | 
|---|
| 7305 | :def
 | 
|---|
| 7306 | s/\\$//
 | 
|---|
| 7307 | t bsnl
 | 
|---|
| 7308 | s/["\\]/\\&/g
 | 
|---|
| 7309 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 | 
|---|
| 7310 | D["\1"]=" \3"/p
 | 
|---|
| 7311 | s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 | 
|---|
| 7312 | d
 | 
|---|
| 7313 | :bsnl
 | 
|---|
| 7314 | s/["\\]/\\&/g
 | 
|---|
| 7315 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 | 
|---|
| 7316 | D["\1"]=" \3\\\\\\n"\\/p
 | 
|---|
| 7317 | t cont
 | 
|---|
| 7318 | s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 | 
|---|
| 7319 | t cont
 | 
|---|
| 7320 | d
 | 
|---|
| 7321 | :cont
 | 
|---|
| 7322 | n
 | 
|---|
| 7323 | s/.\{148\}/&'"$ac_delim"'/g
 | 
|---|
| 7324 | t clear
 | 
|---|
| 7325 | :clear
 | 
|---|
| 7326 | s/\\$//
 | 
|---|
| 7327 | t bsnlc
 | 
|---|
| 7328 | s/["\\]/\\&/g; s/^/"/; s/$/"/p
 | 
|---|
| 7329 | d
 | 
|---|
| 7330 | :bsnlc
 | 
|---|
| 7331 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 | 
|---|
| 7332 | b cont
 | 
|---|
| 7333 | ' <confdefs.h | sed '
 | 
|---|
| 7334 | s/'"$ac_delim"'/"\\\
 | 
|---|
| 7335 | "/g' >>$CONFIG_STATUS || ac_write_fail=1
 | 
|---|
| 7336 | 
 | 
|---|
| 7337 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 7338 |   for (key in D) D_is_set[key] = 1
 | 
|---|
| 7339 |   FS = ""
 | 
|---|
| 7340 | }
 | 
|---|
| 7341 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 | 
|---|
| 7342 |   line = \$ 0
 | 
|---|
| 7343 |   split(line, arg, " ")
 | 
|---|
| 7344 |   if (arg[1] == "#") {
 | 
|---|
| 7345 |     defundef = arg[2]
 | 
|---|
| 7346 |     mac1 = arg[3]
 | 
|---|
| 7347 |   } else {
 | 
|---|
| 7348 |     defundef = substr(arg[1], 2)
 | 
|---|
| 7349 |     mac1 = arg[2]
 | 
|---|
| 7350 |   }
 | 
|---|
| 7351 |   split(mac1, mac2, "(") #)
 | 
|---|
| 7352 |   macro = mac2[1]
 | 
|---|
| 7353 |   prefix = substr(line, 1, index(line, defundef) - 1)
 | 
|---|
| 7354 |   if (D_is_set[macro]) {
 | 
|---|
| 7355 |     # Preserve the white space surrounding the "#".
 | 
|---|
| 7356 |     print prefix "define", macro P[macro] D[macro]
 | 
|---|
| 7357 |     next
 | 
|---|
| 7358 |   } else {
 | 
|---|
| 7359 |     # Replace #undef with comments.  This is necessary, for example,
 | 
|---|
| 7360 |     # in the case of _POSIX_SOURCE, which is predefined and required
 | 
|---|
| 7361 |     # on some systems where configure will not decide to define it.
 | 
|---|
| 7362 |     if (defundef == "undef") {
 | 
|---|
| 7363 |       print "/*", prefix defundef, macro, "*/"
 | 
|---|
| 7364 |       next
 | 
|---|
| 7365 |     }
 | 
|---|
| 7366 |   }
 | 
|---|
| 7367 | }
 | 
|---|
| 7368 | { print }
 | 
|---|
| 7369 | _ACAWK
 | 
|---|
| 7370 | _ACEOF
 | 
|---|
| 7371 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 7372 |   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 | 
|---|
| 7373 | fi # test -n "$CONFIG_HEADERS"
 | 
|---|
| 7374 | 
 | 
|---|
| 7375 | 
 | 
|---|
| 7376 | eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 | 
|---|
| 7377 | shift
 | 
|---|
| 7378 | for ac_tag
 | 
|---|
| 7379 | do
 | 
|---|
| 7380 |   case $ac_tag in
 | 
|---|
| 7381 |   :[FHLC]) ac_mode=$ac_tag; continue;;
 | 
|---|
| 7382 |   esac
 | 
|---|
| 7383 |   case $ac_mode$ac_tag in
 | 
|---|
| 7384 |   :[FHL]*:*);;
 | 
|---|
| 7385 |   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 | 
|---|
| 7386 |   :[FH]-) ac_tag=-:-;;
 | 
|---|
| 7387 |   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 | 
|---|
| 7388 |   esac
 | 
|---|
| 7389 |   ac_save_IFS=$IFS
 | 
|---|
| 7390 |   IFS=:
 | 
|---|
| 7391 |   set x $ac_tag
 | 
|---|
| 7392 |   IFS=$ac_save_IFS
 | 
|---|
| 7393 |   shift
 | 
|---|
| 7394 |   ac_file=$1
 | 
|---|
| 7395 |   shift
 | 
|---|
| 7396 | 
 | 
|---|
| 7397 |   case $ac_mode in
 | 
|---|
| 7398 |   :L) ac_source=$1;;
 | 
|---|
| 7399 |   :[FH])
 | 
|---|
| 7400 |     ac_file_inputs=
 | 
|---|
| 7401 |     for ac_f
 | 
|---|
| 7402 |     do
 | 
|---|
| 7403 |       case $ac_f in
 | 
|---|
| 7404 |       -) ac_f="$ac_tmp/stdin";;
 | 
|---|
| 7405 |       *) # Look for the file first in the build tree, then in the source tree
 | 
|---|
| 7406 |          # (if the path is not absolute).  The absolute path cannot be DOS-style,
 | 
|---|
| 7407 |          # because $ac_f cannot contain `:'.
 | 
|---|
| 7408 |          test -f "$ac_f" ||
 | 
|---|
| 7409 |            case $ac_f in
 | 
|---|
| 7410 |            [\\/$]*) false;;
 | 
|---|
| 7411 |            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 | 
|---|
| 7412 |            esac ||
 | 
|---|
| 7413 |            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 | 
|---|
| 7414 |       esac
 | 
|---|
| 7415 |       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 | 
|---|
| 7416 |       as_fn_append ac_file_inputs " '$ac_f'"
 | 
|---|
| 7417 |     done
 | 
|---|
| 7418 | 
 | 
|---|
| 7419 |     # Let's still pretend it is `configure' which instantiates (i.e., don't
 | 
|---|
| 7420 |     # use $as_me), people would be surprised to read:
 | 
|---|
| 7421 |     #    /* config.h.  Generated by config.status.  */
 | 
|---|
| 7422 |     configure_input='Generated from '`
 | 
|---|
| 7423 |           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 | 
|---|
| 7424 |         `' by configure.'
 | 
|---|
| 7425 |     if test x"$ac_file" != x-; then
 | 
|---|
| 7426 |       configure_input="$ac_file.  $configure_input"
 | 
|---|
| 7427 |       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 | 
|---|
| 7428 | $as_echo "$as_me: creating $ac_file" >&6;}
 | 
|---|
| 7429 |     fi
 | 
|---|
| 7430 |     # Neutralize special characters interpreted by sed in replacement strings.
 | 
|---|
| 7431 |     case $configure_input in #(
 | 
|---|
| 7432 |     *\&* | *\|* | *\\* )
 | 
|---|
| 7433 |        ac_sed_conf_input=`$as_echo "$configure_input" |
 | 
|---|
| 7434 |        sed 's/[\\\\&|]/\\\\&/g'`;; #(
 | 
|---|
| 7435 |     *) ac_sed_conf_input=$configure_input;;
 | 
|---|
| 7436 |     esac
 | 
|---|
| 7437 | 
 | 
|---|
| 7438 |     case $ac_tag in
 | 
|---|
| 7439 |     *:-:* | *:-) cat >"$ac_tmp/stdin" \
 | 
|---|
| 7440 |       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 | 
|---|
| 7441 |     esac
 | 
|---|
| 7442 |     ;;
 | 
|---|
| 7443 |   esac
 | 
|---|
| 7444 | 
 | 
|---|
| 7445 |   ac_dir=`$as_dirname -- "$ac_file" ||
 | 
|---|
| 7446 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 | 
|---|
| 7447 |          X"$ac_file" : 'X\(//\)[^/]' \| \
 | 
|---|
| 7448 |          X"$ac_file" : 'X\(//\)$' \| \
 | 
|---|
| 7449 |          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 7450 | $as_echo X"$ac_file" |
 | 
|---|
| 7451 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 | 
|---|
| 7452 |             s//\1/
 | 
|---|
| 7453 |             q
 | 
|---|
| 7454 |           }
 | 
|---|
| 7455 |           /^X\(\/\/\)[^/].*/{
 | 
|---|
| 7456 |             s//\1/
 | 
|---|
| 7457 |             q
 | 
|---|
| 7458 |           }
 | 
|---|
| 7459 |           /^X\(\/\/\)$/{
 | 
|---|
| 7460 |             s//\1/
 | 
|---|
| 7461 |             q
 | 
|---|
| 7462 |           }
 | 
|---|
| 7463 |           /^X\(\/\).*/{
 | 
|---|
| 7464 |             s//\1/
 | 
|---|
| 7465 |             q
 | 
|---|
| 7466 |           }
 | 
|---|
| 7467 |           s/.*/./; q'`
 | 
|---|
| 7468 |   as_dir="$ac_dir"; as_fn_mkdir_p
 | 
|---|
| 7469 |   ac_builddir=.
 | 
|---|
| 7470 | 
 | 
|---|
| 7471 | case "$ac_dir" in
 | 
|---|
| 7472 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 | 
|---|
| 7473 | *)
 | 
|---|
| 7474 |   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 | 
|---|
| 7475 |   # A ".." for each directory in $ac_dir_suffix.
 | 
|---|
| 7476 |   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 | 
|---|
| 7477 |   case $ac_top_builddir_sub in
 | 
|---|
| 7478 |   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 | 
|---|
| 7479 |   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 | 
|---|
| 7480 |   esac ;;
 | 
|---|
| 7481 | esac
 | 
|---|
| 7482 | ac_abs_top_builddir=$ac_pwd
 | 
|---|
| 7483 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
 | 
|---|
| 7484 | # for backward compatibility:
 | 
|---|
| 7485 | ac_top_builddir=$ac_top_build_prefix
 | 
|---|
| 7486 | 
 | 
|---|
| 7487 | case $srcdir in
 | 
|---|
| 7488 |   .)  # We are building in place.
 | 
|---|
| 7489 |     ac_srcdir=.
 | 
|---|
| 7490 |     ac_top_srcdir=$ac_top_builddir_sub
 | 
|---|
| 7491 |     ac_abs_top_srcdir=$ac_pwd ;;
 | 
|---|
| 7492 |   [\\/]* | ?:[\\/]* )  # Absolute name.
 | 
|---|
| 7493 |     ac_srcdir=$srcdir$ac_dir_suffix;
 | 
|---|
| 7494 |     ac_top_srcdir=$srcdir
 | 
|---|
| 7495 |     ac_abs_top_srcdir=$srcdir ;;
 | 
|---|
| 7496 |   *) # Relative name.
 | 
|---|
| 7497 |     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 | 
|---|
| 7498 |     ac_top_srcdir=$ac_top_build_prefix$srcdir
 | 
|---|
| 7499 |     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 | 
|---|
| 7500 | esac
 | 
|---|
| 7501 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 | 
|---|
| 7502 | 
 | 
|---|
| 7503 | 
 | 
|---|
| 7504 |   case $ac_mode in
 | 
|---|
| 7505 |   :F)
 | 
|---|
| 7506 |   #
 | 
|---|
| 7507 |   # CONFIG_FILE
 | 
|---|
| 7508 |   #
 | 
|---|
| 7509 | 
 | 
|---|
| 7510 |   case $INSTALL in
 | 
|---|
| 7511 |   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 | 
|---|
| 7512 |   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 | 
|---|
| 7513 |   esac
 | 
|---|
| 7514 |   ac_MKDIR_P=$MKDIR_P
 | 
|---|
| 7515 |   case $MKDIR_P in
 | 
|---|
| 7516 |   [\\/$]* | ?:[\\/]* ) ;;
 | 
|---|
| 7517 |   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 | 
|---|
| 7518 |   esac
 | 
|---|
| 7519 | _ACEOF
 | 
|---|
| 7520 | 
 | 
|---|
| 7521 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 7522 | # If the template does not know about datarootdir, expand it.
 | 
|---|
| 7523 | # FIXME: This hack should be removed a few years after 2.60.
 | 
|---|
| 7524 | ac_datarootdir_hack=; ac_datarootdir_seen=
 | 
|---|
| 7525 | ac_sed_dataroot='
 | 
|---|
| 7526 | /datarootdir/ {
 | 
|---|
| 7527 |   p
 | 
|---|
| 7528 |   q
 | 
|---|
| 7529 | }
 | 
|---|
| 7530 | /@datadir@/p
 | 
|---|
| 7531 | /@docdir@/p
 | 
|---|
| 7532 | /@infodir@/p
 | 
|---|
| 7533 | /@localedir@/p
 | 
|---|
| 7534 | /@mandir@/p'
 | 
|---|
| 7535 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 | 
|---|
| 7536 | *datarootdir*) ac_datarootdir_seen=yes;;
 | 
|---|
| 7537 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 | 
|---|
| 7538 |   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 | 
|---|
| 7539 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 | 
|---|
| 7540 | _ACEOF
 | 
|---|
| 7541 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 7542 |   ac_datarootdir_hack='
 | 
|---|
| 7543 |   s&@datadir@&$datadir&g
 | 
|---|
| 7544 |   s&@docdir@&$docdir&g
 | 
|---|
| 7545 |   s&@infodir@&$infodir&g
 | 
|---|
| 7546 |   s&@localedir@&$localedir&g
 | 
|---|
| 7547 |   s&@mandir@&$mandir&g
 | 
|---|
| 7548 |   s&\\\${datarootdir}&$datarootdir&g' ;;
 | 
|---|
| 7549 | esac
 | 
|---|
| 7550 | _ACEOF
 | 
|---|
| 7551 | 
 | 
|---|
| 7552 | # Neutralize VPATH when `$srcdir' = `.'.
 | 
|---|
| 7553 | # Shell code in configure.ac might set extrasub.
 | 
|---|
| 7554 | # FIXME: do we really want to maintain this feature?
 | 
|---|
| 7555 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 7556 | ac_sed_extra="$ac_vpsub
 | 
|---|
| 7557 | $extrasub
 | 
|---|
| 7558 | _ACEOF
 | 
|---|
| 7559 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 7560 | :t
 | 
|---|
| 7561 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 | 
|---|
| 7562 | s|@configure_input@|$ac_sed_conf_input|;t t
 | 
|---|
| 7563 | s&@top_builddir@&$ac_top_builddir_sub&;t t
 | 
|---|
| 7564 | s&@top_build_prefix@&$ac_top_build_prefix&;t t
 | 
|---|
| 7565 | s&@srcdir@&$ac_srcdir&;t t
 | 
|---|
| 7566 | s&@abs_srcdir@&$ac_abs_srcdir&;t t
 | 
|---|
| 7567 | s&@top_srcdir@&$ac_top_srcdir&;t t
 | 
|---|
| 7568 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 | 
|---|
| 7569 | s&@builddir@&$ac_builddir&;t t
 | 
|---|
| 7570 | s&@abs_builddir@&$ac_abs_builddir&;t t
 | 
|---|
| 7571 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 | 
|---|
| 7572 | s&@INSTALL@&$ac_INSTALL&;t t
 | 
|---|
| 7573 | s&@MKDIR_P@&$ac_MKDIR_P&;t t
 | 
|---|
| 7574 | $ac_datarootdir_hack
 | 
|---|
| 7575 | "
 | 
|---|
| 7576 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 | 
|---|
| 7577 |   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 | 
|---|
| 7578 | 
 | 
|---|
| 7579 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 | 
|---|
| 7580 |   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 | 
|---|
| 7581 |   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 | 
|---|
| 7582 |       "$ac_tmp/out"`; test -z "$ac_out"; } &&
 | 
|---|
| 7583 |   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 | 
|---|
| 7584 | which seems to be undefined.  Please make sure it is defined" >&5
 | 
|---|
| 7585 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 | 
|---|
| 7586 | which seems to be undefined.  Please make sure it is defined" >&2;}
 | 
|---|
| 7587 | 
 | 
|---|
| 7588 |   rm -f "$ac_tmp/stdin"
 | 
|---|
| 7589 |   case $ac_file in
 | 
|---|
| 7590 |   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 | 
|---|
| 7591 |   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 | 
|---|
| 7592 |   esac \
 | 
|---|
| 7593 |   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 | 
|---|
| 7594 |  ;;
 | 
|---|
| 7595 |   :H)
 | 
|---|
| 7596 |   #
 | 
|---|
| 7597 |   # CONFIG_HEADER
 | 
|---|
| 7598 |   #
 | 
|---|
| 7599 |   if test x"$ac_file" != x-; then
 | 
|---|
| 7600 |     {
 | 
|---|
| 7601 |       $as_echo "/* $configure_input  */" \
 | 
|---|
| 7602 |       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 | 
|---|
| 7603 |     } >"$ac_tmp/config.h" \
 | 
|---|
| 7604 |       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 | 
|---|
| 7605 |     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 | 
|---|
| 7606 |       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 | 
|---|
| 7607 | $as_echo "$as_me: $ac_file is unchanged" >&6;}
 | 
|---|
| 7608 |     else
 | 
|---|
| 7609 |       rm -f "$ac_file"
 | 
|---|
| 7610 |       mv "$ac_tmp/config.h" "$ac_file" \
 | 
|---|
| 7611 |         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 | 
|---|
| 7612 |     fi
 | 
|---|
| 7613 |   else
 | 
|---|
| 7614 |     $as_echo "/* $configure_input  */" \
 | 
|---|
| 7615 |       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 | 
|---|
| 7616 |       || as_fn_error $? "could not create -" "$LINENO" 5
 | 
|---|
| 7617 |   fi
 | 
|---|
| 7618 | # Compute "$ac_file"'s index in $config_headers.
 | 
|---|
| 7619 | _am_arg="$ac_file"
 | 
|---|
| 7620 | _am_stamp_count=1
 | 
|---|
| 7621 | for _am_header in $config_headers :; do
 | 
|---|
| 7622 |   case $_am_header in
 | 
|---|
| 7623 |     $_am_arg | $_am_arg:* )
 | 
|---|
| 7624 |       break ;;
 | 
|---|
| 7625 |     * )
 | 
|---|
| 7626 |       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 | 
|---|
| 7627 |   esac
 | 
|---|
| 7628 | done
 | 
|---|
| 7629 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 | 
|---|
| 7630 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 | 
|---|
| 7631 |          X"$_am_arg" : 'X\(//\)[^/]' \| \
 | 
|---|
| 7632 |          X"$_am_arg" : 'X\(//\)$' \| \
 | 
|---|
| 7633 |          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 7634 | $as_echo X"$_am_arg" |
 | 
|---|
| 7635 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 | 
|---|
| 7636 |             s//\1/
 | 
|---|
| 7637 |             q
 | 
|---|
| 7638 |           }
 | 
|---|
| 7639 |           /^X\(\/\/\)[^/].*/{
 | 
|---|
| 7640 |             s//\1/
 | 
|---|
| 7641 |             q
 | 
|---|
| 7642 |           }
 | 
|---|
| 7643 |           /^X\(\/\/\)$/{
 | 
|---|
| 7644 |             s//\1/
 | 
|---|
| 7645 |             q
 | 
|---|
| 7646 |           }
 | 
|---|
| 7647 |           /^X\(\/\).*/{
 | 
|---|
| 7648 |             s//\1/
 | 
|---|
| 7649 |             q
 | 
|---|
| 7650 |           }
 | 
|---|
| 7651 |           s/.*/./; q'`/stamp-h$_am_stamp_count
 | 
|---|
| 7652 |  ;;
 | 
|---|
| 7653 | 
 | 
|---|
| 7654 |   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 | 
|---|
| 7655 | $as_echo "$as_me: executing $ac_file commands" >&6;}
 | 
|---|
| 7656 |  ;;
 | 
|---|
| 7657 |   esac
 | 
|---|
| 7658 | 
 | 
|---|
| 7659 | 
 | 
|---|
| 7660 |   case $ac_file$ac_mode in
 | 
|---|
| 7661 |     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 | 
|---|
| 7662 |   # Older Autoconf quotes --file arguments for eval, but not when files
 | 
|---|
| 7663 |   # are listed without --file.  Let's play safe and only enable the eval
 | 
|---|
| 7664 |   # if we detect the quoting.
 | 
|---|
| 7665 |   case $CONFIG_FILES in
 | 
|---|
| 7666 |   *\'*) eval set x "$CONFIG_FILES" ;;
 | 
|---|
| 7667 |   *)   set x $CONFIG_FILES ;;
 | 
|---|
| 7668 |   esac
 | 
|---|
| 7669 |   shift
 | 
|---|
| 7670 |   for mf
 | 
|---|
| 7671 |   do
 | 
|---|
| 7672 |     # Strip MF so we end up with the name of the file.
 | 
|---|
| 7673 |     mf=`echo "$mf" | sed -e 's/:.*$//'`
 | 
|---|
| 7674 |     # Check whether this is an Automake generated Makefile or not.
 | 
|---|
| 7675 |     # We used to match only the files named 'Makefile.in', but
 | 
|---|
| 7676 |     # some people rename them; so instead we look at the file content.
 | 
|---|
| 7677 |     # Grep'ing the first line is not enough: some people post-process
 | 
|---|
| 7678 |     # each Makefile.in and add a new line on top of each file to say so.
 | 
|---|
| 7679 |     # Grep'ing the whole file is not good either: AIX grep has a line
 | 
|---|
| 7680 |     # limit of 2048, but all sed's we know have understand at least 4000.
 | 
|---|
| 7681 |     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 | 
|---|
| 7682 |       dirpart=`$as_dirname -- "$mf" ||
 | 
|---|
| 7683 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 | 
|---|
| 7684 |          X"$mf" : 'X\(//\)[^/]' \| \
 | 
|---|
| 7685 |          X"$mf" : 'X\(//\)$' \| \
 | 
|---|
| 7686 |          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 7687 | $as_echo X"$mf" |
 | 
|---|
| 7688 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 | 
|---|
| 7689 |             s//\1/
 | 
|---|
| 7690 |             q
 | 
|---|
| 7691 |           }
 | 
|---|
| 7692 |           /^X\(\/\/\)[^/].*/{
 | 
|---|
| 7693 |             s//\1/
 | 
|---|
| 7694 |             q
 | 
|---|
| 7695 |           }
 | 
|---|
| 7696 |           /^X\(\/\/\)$/{
 | 
|---|
| 7697 |             s//\1/
 | 
|---|
| 7698 |             q
 | 
|---|
| 7699 |           }
 | 
|---|
| 7700 |           /^X\(\/\).*/{
 | 
|---|
| 7701 |             s//\1/
 | 
|---|
| 7702 |             q
 | 
|---|
| 7703 |           }
 | 
|---|
| 7704 |           s/.*/./; q'`
 | 
|---|
| 7705 |     else
 | 
|---|
| 7706 |       continue
 | 
|---|
| 7707 |     fi
 | 
|---|
| 7708 |     # Extract the definition of DEPDIR, am__include, and am__quote
 | 
|---|
| 7709 |     # from the Makefile without running 'make'.
 | 
|---|
| 7710 |     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 | 
|---|
| 7711 |     test -z "$DEPDIR" && continue
 | 
|---|
| 7712 |     am__include=`sed -n 's/^am__include = //p' < "$mf"`
 | 
|---|
| 7713 |     test -z "$am__include" && continue
 | 
|---|
| 7714 |     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 | 
|---|
| 7715 |     # Find all dependency output files, they are included files with
 | 
|---|
| 7716 |     # $(DEPDIR) in their names.  We invoke sed twice because it is the
 | 
|---|
| 7717 |     # simplest approach to changing $(DEPDIR) to its actual value in the
 | 
|---|
| 7718 |     # expansion.
 | 
|---|
| 7719 |     for file in `sed -n "
 | 
|---|
| 7720 |       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 | 
|---|
| 7721 |          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
 | 
|---|
| 7722 |       # Make sure the directory exists.
 | 
|---|
| 7723 |       test -f "$dirpart/$file" && continue
 | 
|---|
| 7724 |       fdir=`$as_dirname -- "$file" ||
 | 
|---|
| 7725 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 | 
|---|
| 7726 |          X"$file" : 'X\(//\)[^/]' \| \
 | 
|---|
| 7727 |          X"$file" : 'X\(//\)$' \| \
 | 
|---|
| 7728 |          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 7729 | $as_echo X"$file" |
 | 
|---|
| 7730 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 | 
|---|
| 7731 |             s//\1/
 | 
|---|
| 7732 |             q
 | 
|---|
| 7733 |           }
 | 
|---|
| 7734 |           /^X\(\/\/\)[^/].*/{
 | 
|---|
| 7735 |             s//\1/
 | 
|---|
| 7736 |             q
 | 
|---|
| 7737 |           }
 | 
|---|
| 7738 |           /^X\(\/\/\)$/{
 | 
|---|
| 7739 |             s//\1/
 | 
|---|
| 7740 |             q
 | 
|---|
| 7741 |           }
 | 
|---|
| 7742 |           /^X\(\/\).*/{
 | 
|---|
| 7743 |             s//\1/
 | 
|---|
| 7744 |             q
 | 
|---|
| 7745 |           }
 | 
|---|
| 7746 |           s/.*/./; q'`
 | 
|---|
| 7747 |       as_dir=$dirpart/$fdir; as_fn_mkdir_p
 | 
|---|
| 7748 |       # echo "creating $dirpart/$file"
 | 
|---|
| 7749 |       echo '# dummy' > "$dirpart/$file"
 | 
|---|
| 7750 |     done
 | 
|---|
| 7751 |   done
 | 
|---|
| 7752 | }
 | 
|---|
| 7753 |  ;;
 | 
|---|
| 7754 | 
 | 
|---|
| 7755 |   esac
 | 
|---|
| 7756 | done # for ac_tag
 | 
|---|
| 7757 | 
 | 
|---|
| 7758 | 
 | 
|---|
| 7759 | as_fn_exit 0
 | 
|---|
| 7760 | _ACEOF
 | 
|---|
| 7761 | ac_clean_files=$ac_clean_files_save
 | 
|---|
| 7762 | 
 | 
|---|
| 7763 | test $ac_write_fail = 0 ||
 | 
|---|
| 7764 |   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 | 
|---|
| 7765 | 
 | 
|---|
| 7766 | 
 | 
|---|
| 7767 | # configure is writing to config.log, and then calls config.status.
 | 
|---|
| 7768 | # config.status does its own redirection, appending to config.log.
 | 
|---|
| 7769 | # Unfortunately, on DOS this fails, as config.log is still kept open
 | 
|---|
| 7770 | # by configure, so config.status won't be able to write to it; its
 | 
|---|
| 7771 | # output is simply discarded.  So we exec the FD to /dev/null,
 | 
|---|
| 7772 | # effectively closing config.log, so it can be properly (re)opened and
 | 
|---|
| 7773 | # appended to by config.status.  When coming back to configure, we
 | 
|---|
| 7774 | # need to make the FD available again.
 | 
|---|
| 7775 | if test "$no_create" != yes; then
 | 
|---|
| 7776 |   ac_cs_success=:
 | 
|---|
| 7777 |   ac_config_status_args=
 | 
|---|
| 7778 |   test "$silent" = yes &&
 | 
|---|
| 7779 |     ac_config_status_args="$ac_config_status_args --quiet"
 | 
|---|
| 7780 |   exec 5>/dev/null
 | 
|---|
| 7781 |   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 | 
|---|
| 7782 |   exec 5>>config.log
 | 
|---|
| 7783 |   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 | 
|---|
| 7784 |   # would make configure fail if this is the last instruction.
 | 
|---|
| 7785 |   $ac_cs_success || as_fn_exit 1
 | 
|---|
| 7786 | fi
 | 
|---|
| 7787 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 | 
|---|
| 7788 |   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 | 
|---|
| 7789 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 | 
|---|
| 7790 | fi
 | 
|---|
| 7791 | 
 | 
|---|
| 7792 | 
 | 
|---|
| 7793 | if test -z "$BUILD_RELEASE_TRUE"; then :
 | 
|---|
| 7794 |   if test -z "$BUILD_DEBUG_TRUE"; then :
 | 
|---|
| 7795 |   { $as_echo "$as_me:${as_lineno-$LINENO}: Building libcfa for target: release & debug" >&5
 | 
|---|
| 7796 | $as_echo "$as_me: Building libcfa for target: release & debug" >&6;}
 | 
|---|
| 7797 | else
 | 
|---|
| 7798 |   { $as_echo "$as_me:${as_lineno-$LINENO}: Building libcfa for target: release" >&5
 | 
|---|
| 7799 | $as_echo "$as_me: Building libcfa for target: release" >&6;}
 | 
|---|
| 7800 | fi
 | 
|---|
| 7801 | else
 | 
|---|
| 7802 |   if test -z "$BUILD_DEBUG_TRUE"; then :
 | 
|---|
| 7803 |   { $as_echo "$as_me:${as_lineno-$LINENO}: Building libcfa for target: debug" >&5
 | 
|---|
| 7804 | $as_echo "$as_me: Building libcfa for target: debug" >&6;}
 | 
|---|
| 7805 | else
 | 
|---|
| 7806 |   { $as_echo "$as_me:${as_lineno-$LINENO}: Running cfa without libcfa" >&5
 | 
|---|
| 7807 | $as_echo "$as_me: Running cfa without libcfa" >&6;}
 | 
|---|
| 7808 | fi
 | 
|---|
| 7809 | fi
 | 
|---|
| 7810 | 
 | 
|---|
| 7811 | # Final text
 | 
|---|
| 7812 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: Cforall configuraton completed. Type \"make -j 8 install\"." >&5
 | 
|---|
| 7813 | $as_echo "Cforall configuraton completed. Type \"make -j 8 install\"." >&6; }
 | 
|---|