| 1 | #! /bin/sh
 | 
|---|
| 2 | # Guess values for system-dependent variables and create Makefiles.
 | 
|---|
| 3 | # Generated by GNU Autoconf 2.68 for cfa-cc 1.0.0.0.
 | 
|---|
| 4 | #
 | 
|---|
| 5 | # Report bugs to <cforall@plg.uwaterloo.ca>.
 | 
|---|
| 6 | #
 | 
|---|
| 7 | #
 | 
|---|
| 8 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 | 
|---|
| 9 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 | 
|---|
| 10 | # Foundation, Inc.
 | 
|---|
| 11 | #
 | 
|---|
| 12 | #
 | 
|---|
| 13 | # This configure script is free software; the Free Software Foundation
 | 
|---|
| 14 | # gives unlimited permission to copy, distribute and modify it.
 | 
|---|
| 15 | ## -------------------- ##
 | 
|---|
| 16 | ## M4sh Initialization. ##
 | 
|---|
| 17 | ## -------------------- ##
 | 
|---|
| 18 | 
 | 
|---|
| 19 | # Be more Bourne compatible
 | 
|---|
| 20 | DUALCASE=1; export DUALCASE # for MKS sh
 | 
|---|
| 21 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 | 
|---|
| 22 |   emulate sh
 | 
|---|
| 23 |   NULLCMD=:
 | 
|---|
| 24 |   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 | 
|---|
| 25 |   # is contrary to our usage.  Disable this feature.
 | 
|---|
| 26 |   alias -g '${1+"$@"}'='"$@"'
 | 
|---|
| 27 |   setopt NO_GLOB_SUBST
 | 
|---|
| 28 | else
 | 
|---|
| 29 |   case `(set -o) 2>/dev/null` in #(
 | 
|---|
| 30 |   *posix*) :
 | 
|---|
| 31 |     set -o posix ;; #(
 | 
|---|
| 32 |   *) :
 | 
|---|
| 33 |      ;;
 | 
|---|
| 34 | esac
 | 
|---|
| 35 | fi
 | 
|---|
| 36 | 
 | 
|---|
| 37 | 
 | 
|---|
| 38 | as_nl='
 | 
|---|
| 39 | '
 | 
|---|
| 40 | export as_nl
 | 
|---|
| 41 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
 | 
|---|
| 42 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 | 
|---|
| 43 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 | 
|---|
| 44 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 | 
|---|
| 45 | # Prefer a ksh shell builtin over an external printf program on Solaris,
 | 
|---|
| 46 | # but without wasting forks for bash or zsh.
 | 
|---|
| 47 | if test -z "$BASH_VERSION$ZSH_VERSION" \
 | 
|---|
| 48 |     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 | 
|---|
| 49 |   as_echo='print -r --'
 | 
|---|
| 50 |   as_echo_n='print -rn --'
 | 
|---|
| 51 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 | 
|---|
| 52 |   as_echo='printf %s\n'
 | 
|---|
| 53 |   as_echo_n='printf %s'
 | 
|---|
| 54 | else
 | 
|---|
| 55 |   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 | 
|---|
| 56 |     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 | 
|---|
| 57 |     as_echo_n='/usr/ucb/echo -n'
 | 
|---|
| 58 |   else
 | 
|---|
| 59 |     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 | 
|---|
| 60 |     as_echo_n_body='eval
 | 
|---|
| 61 |       arg=$1;
 | 
|---|
| 62 |       case $arg in #(
 | 
|---|
| 63 |       *"$as_nl"*)
 | 
|---|
| 64 |         expr "X$arg" : "X\\(.*\\)$as_nl";
 | 
|---|
| 65 |         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 | 
|---|
| 66 |       esac;
 | 
|---|
| 67 |       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 | 
|---|
| 68 |     '
 | 
|---|
| 69 |     export as_echo_n_body
 | 
|---|
| 70 |     as_echo_n='sh -c $as_echo_n_body as_echo'
 | 
|---|
| 71 |   fi
 | 
|---|
| 72 |   export as_echo_body
 | 
|---|
| 73 |   as_echo='sh -c $as_echo_body as_echo'
 | 
|---|
| 74 | fi
 | 
|---|
| 75 | 
 | 
|---|
| 76 | # The user is always right.
 | 
|---|
| 77 | if test "${PATH_SEPARATOR+set}" != set; then
 | 
|---|
| 78 |   PATH_SEPARATOR=:
 | 
|---|
| 79 |   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 | 
|---|
| 80 |     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 | 
|---|
| 81 |       PATH_SEPARATOR=';'
 | 
|---|
| 82 |   }
 | 
|---|
| 83 | fi
 | 
|---|
| 84 | 
 | 
|---|
| 85 | 
 | 
|---|
| 86 | # IFS
 | 
|---|
| 87 | # We need space, tab and new line, in precisely that order.  Quoting is
 | 
|---|
| 88 | # there to prevent editors from complaining about space-tab.
 | 
|---|
| 89 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 | 
|---|
| 90 | # splitting by setting IFS to empty value.)
 | 
|---|
| 91 | IFS=" ""        $as_nl"
 | 
|---|
| 92 | 
 | 
|---|
| 93 | # Find who we are.  Look in the path if we contain no directory separator.
 | 
|---|
| 94 | as_myself=
 | 
|---|
| 95 | case $0 in #((
 | 
|---|
| 96 |   *[\\/]* ) as_myself=$0 ;;
 | 
|---|
| 97 |   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 98 | for as_dir in $PATH
 | 
|---|
| 99 | do
 | 
|---|
| 100 |   IFS=$as_save_IFS
 | 
|---|
| 101 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 102 |     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 | 
|---|
| 103 |   done
 | 
|---|
| 104 | IFS=$as_save_IFS
 | 
|---|
| 105 | 
 | 
|---|
| 106 |      ;;
 | 
|---|
| 107 | esac
 | 
|---|
| 108 | # We did not find ourselves, most probably we were run as `sh COMMAND'
 | 
|---|
| 109 | # in which case we are not to be found in the path.
 | 
|---|
| 110 | if test "x$as_myself" = x; then
 | 
|---|
| 111 |   as_myself=$0
 | 
|---|
| 112 | fi
 | 
|---|
| 113 | if test ! -f "$as_myself"; then
 | 
|---|
| 114 |   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 | 
|---|
| 115 |   exit 1
 | 
|---|
| 116 | fi
 | 
|---|
| 117 | 
 | 
|---|
| 118 | # Unset variables that we do not need and which cause bugs (e.g. in
 | 
|---|
| 119 | # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 | 
|---|
| 120 | # suppresses any "Segmentation fault" message there.  '((' could
 | 
|---|
| 121 | # trigger a bug in pdksh 5.2.14.
 | 
|---|
| 122 | for as_var in BASH_ENV ENV MAIL MAILPATH
 | 
|---|
| 123 | do eval test x\${$as_var+set} = xset \
 | 
|---|
| 124 |   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 | 
|---|
| 125 | done
 | 
|---|
| 126 | PS1='$ '
 | 
|---|
| 127 | PS2='> '
 | 
|---|
| 128 | PS4='+ '
 | 
|---|
| 129 | 
 | 
|---|
| 130 | # NLS nuisances.
 | 
|---|
| 131 | LC_ALL=C
 | 
|---|
| 132 | export LC_ALL
 | 
|---|
| 133 | LANGUAGE=C
 | 
|---|
| 134 | export LANGUAGE
 | 
|---|
| 135 | 
 | 
|---|
| 136 | # CDPATH.
 | 
|---|
| 137 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 | 
|---|
| 138 | 
 | 
|---|
| 139 | if test "x$CONFIG_SHELL" = x; then
 | 
|---|
| 140 |   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 | 
|---|
| 141 |   emulate sh
 | 
|---|
| 142 |   NULLCMD=:
 | 
|---|
| 143 |   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 | 
|---|
| 144 |   # is contrary to our usage.  Disable this feature.
 | 
|---|
| 145 |   alias -g '\${1+\"\$@\"}'='\"\$@\"'
 | 
|---|
| 146 |   setopt NO_GLOB_SUBST
 | 
|---|
| 147 | else
 | 
|---|
| 148 |   case \`(set -o) 2>/dev/null\` in #(
 | 
|---|
| 149 |   *posix*) :
 | 
|---|
| 150 |     set -o posix ;; #(
 | 
|---|
| 151 |   *) :
 | 
|---|
| 152 |      ;;
 | 
|---|
| 153 | esac
 | 
|---|
| 154 | fi
 | 
|---|
| 155 | "
 | 
|---|
| 156 |   as_required="as_fn_return () { (exit \$1); }
 | 
|---|
| 157 | as_fn_success () { as_fn_return 0; }
 | 
|---|
| 158 | as_fn_failure () { as_fn_return 1; }
 | 
|---|
| 159 | as_fn_ret_success () { return 0; }
 | 
|---|
| 160 | as_fn_ret_failure () { return 1; }
 | 
|---|
| 161 | 
 | 
|---|
| 162 | exitcode=0
 | 
|---|
| 163 | as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 | 
|---|
| 164 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 | 
|---|
| 165 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 | 
|---|
| 166 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 | 
|---|
| 167 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 | 
|---|
| 168 | 
 | 
|---|
| 169 | else
 | 
|---|
| 170 |   exitcode=1; echo positional parameters were not saved.
 | 
|---|
| 171 | fi
 | 
|---|
| 172 | test x\$exitcode = x0 || exit 1"
 | 
|---|
| 173 |   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 | 
|---|
| 174 |   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 | 
|---|
| 175 |   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 | 
|---|
| 176 |   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 | 
|---|
| 177 | test \$(( 1 + 1 )) = 2 || exit 1"
 | 
|---|
| 178 |   if (eval "$as_required") 2>/dev/null; then :
 | 
|---|
| 179 |   as_have_required=yes
 | 
|---|
| 180 | else
 | 
|---|
| 181 |   as_have_required=no
 | 
|---|
| 182 | fi
 | 
|---|
| 183 |   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 | 
|---|
| 184 | 
 | 
|---|
| 185 | else
 | 
|---|
| 186 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 187 | as_found=false
 | 
|---|
| 188 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 | 
|---|
| 189 | do
 | 
|---|
| 190 |   IFS=$as_save_IFS
 | 
|---|
| 191 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 192 |   as_found=:
 | 
|---|
| 193 |   case $as_dir in #(
 | 
|---|
| 194 |          /*)
 | 
|---|
| 195 |            for as_base in sh bash ksh sh5; do
 | 
|---|
| 196 |              # Try only shells that exist, to save several forks.
 | 
|---|
| 197 |              as_shell=$as_dir/$as_base
 | 
|---|
| 198 |              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 | 
|---|
| 199 |                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 | 
|---|
| 200 |   CONFIG_SHELL=$as_shell as_have_required=yes
 | 
|---|
| 201 |                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 | 
|---|
| 202 |   break 2
 | 
|---|
| 203 | fi
 | 
|---|
| 204 | fi
 | 
|---|
| 205 |            done;;
 | 
|---|
| 206 |        esac
 | 
|---|
| 207 |   as_found=false
 | 
|---|
| 208 | done
 | 
|---|
| 209 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 | 
|---|
| 210 |               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 | 
|---|
| 211 |   CONFIG_SHELL=$SHELL as_have_required=yes
 | 
|---|
| 212 | fi; }
 | 
|---|
| 213 | IFS=$as_save_IFS
 | 
|---|
| 214 | 
 | 
|---|
| 215 | 
 | 
|---|
| 216 |       if test "x$CONFIG_SHELL" != x; then :
 | 
|---|
| 217 |   # We cannot yet assume a decent shell, so we have to provide a
 | 
|---|
| 218 |         # neutralization value for shells without unset; and this also
 | 
|---|
| 219 |         # works around shells that cannot unset nonexistent variables.
 | 
|---|
| 220 |         # Preserve -v and -x to the replacement shell.
 | 
|---|
| 221 |         BASH_ENV=/dev/null
 | 
|---|
| 222 |         ENV=/dev/null
 | 
|---|
| 223 |         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 | 
|---|
| 224 |         export CONFIG_SHELL
 | 
|---|
| 225 |         case $- in # ((((
 | 
|---|
| 226 |           *v*x* | *x*v* ) as_opts=-vx ;;
 | 
|---|
| 227 |           *v* ) as_opts=-v ;;
 | 
|---|
| 228 |           *x* ) as_opts=-x ;;
 | 
|---|
| 229 |           * ) as_opts= ;;
 | 
|---|
| 230 |         esac
 | 
|---|
| 231 |         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
 | 
|---|
| 232 | fi
 | 
|---|
| 233 | 
 | 
|---|
| 234 |     if test x$as_have_required = xno; then :
 | 
|---|
| 235 |   $as_echo "$0: This script requires a shell more modern than all"
 | 
|---|
| 236 |   $as_echo "$0: the shells that I found on your system."
 | 
|---|
| 237 |   if test x${ZSH_VERSION+set} = xset ; then
 | 
|---|
| 238 |     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 | 
|---|
| 239 |     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 | 
|---|
| 240 |   else
 | 
|---|
| 241 |     $as_echo "$0: Please tell bug-autoconf@gnu.org and
 | 
|---|
| 242 | $0: cforall@plg.uwaterloo.ca about your system, including
 | 
|---|
| 243 | $0: any error possibly output before this message. Then
 | 
|---|
| 244 | $0: install a modern shell, or manually run the script
 | 
|---|
| 245 | $0: under such a shell if you do have one."
 | 
|---|
| 246 |   fi
 | 
|---|
| 247 |   exit 1
 | 
|---|
| 248 | fi
 | 
|---|
| 249 | fi
 | 
|---|
| 250 | fi
 | 
|---|
| 251 | SHELL=${CONFIG_SHELL-/bin/sh}
 | 
|---|
| 252 | export SHELL
 | 
|---|
| 253 | # Unset more variables known to interfere with behavior of common tools.
 | 
|---|
| 254 | CLICOLOR_FORCE= GREP_OPTIONS=
 | 
|---|
| 255 | unset CLICOLOR_FORCE GREP_OPTIONS
 | 
|---|
| 256 | 
 | 
|---|
| 257 | ## --------------------- ##
 | 
|---|
| 258 | ## M4sh Shell Functions. ##
 | 
|---|
| 259 | ## --------------------- ##
 | 
|---|
| 260 | # as_fn_unset VAR
 | 
|---|
| 261 | # ---------------
 | 
|---|
| 262 | # Portably unset VAR.
 | 
|---|
| 263 | as_fn_unset ()
 | 
|---|
| 264 | {
 | 
|---|
| 265 |   { eval $1=; unset $1;}
 | 
|---|
| 266 | }
 | 
|---|
| 267 | as_unset=as_fn_unset
 | 
|---|
| 268 | 
 | 
|---|
| 269 | # as_fn_set_status STATUS
 | 
|---|
| 270 | # -----------------------
 | 
|---|
| 271 | # Set $? to STATUS, without forking.
 | 
|---|
| 272 | as_fn_set_status ()
 | 
|---|
| 273 | {
 | 
|---|
| 274 |   return $1
 | 
|---|
| 275 | } # as_fn_set_status
 | 
|---|
| 276 | 
 | 
|---|
| 277 | # as_fn_exit STATUS
 | 
|---|
| 278 | # -----------------
 | 
|---|
| 279 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 | 
|---|
| 280 | as_fn_exit ()
 | 
|---|
| 281 | {
 | 
|---|
| 282 |   set +e
 | 
|---|
| 283 |   as_fn_set_status $1
 | 
|---|
| 284 |   exit $1
 | 
|---|
| 285 | } # as_fn_exit
 | 
|---|
| 286 | 
 | 
|---|
| 287 | # as_fn_mkdir_p
 | 
|---|
| 288 | # -------------
 | 
|---|
| 289 | # Create "$as_dir" as a directory, including parents if necessary.
 | 
|---|
| 290 | as_fn_mkdir_p ()
 | 
|---|
| 291 | {
 | 
|---|
| 292 | 
 | 
|---|
| 293 |   case $as_dir in #(
 | 
|---|
| 294 |   -*) as_dir=./$as_dir;;
 | 
|---|
| 295 |   esac
 | 
|---|
| 296 |   test -d "$as_dir" || eval $as_mkdir_p || {
 | 
|---|
| 297 |     as_dirs=
 | 
|---|
| 298 |     while :; do
 | 
|---|
| 299 |       case $as_dir in #(
 | 
|---|
| 300 |       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 | 
|---|
| 301 |       *) as_qdir=$as_dir;;
 | 
|---|
| 302 |       esac
 | 
|---|
| 303 |       as_dirs="'$as_qdir' $as_dirs"
 | 
|---|
| 304 |       as_dir=`$as_dirname -- "$as_dir" ||
 | 
|---|
| 305 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 | 
|---|
| 306 |          X"$as_dir" : 'X\(//\)[^/]' \| \
 | 
|---|
| 307 |          X"$as_dir" : 'X\(//\)$' \| \
 | 
|---|
| 308 |          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 309 | $as_echo X"$as_dir" |
 | 
|---|
| 310 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 | 
|---|
| 311 |             s//\1/
 | 
|---|
| 312 |             q
 | 
|---|
| 313 |           }
 | 
|---|
| 314 |           /^X\(\/\/\)[^/].*/{
 | 
|---|
| 315 |             s//\1/
 | 
|---|
| 316 |             q
 | 
|---|
| 317 |           }
 | 
|---|
| 318 |           /^X\(\/\/\)$/{
 | 
|---|
| 319 |             s//\1/
 | 
|---|
| 320 |             q
 | 
|---|
| 321 |           }
 | 
|---|
| 322 |           /^X\(\/\).*/{
 | 
|---|
| 323 |             s//\1/
 | 
|---|
| 324 |             q
 | 
|---|
| 325 |           }
 | 
|---|
| 326 |           s/.*/./; q'`
 | 
|---|
| 327 |       test -d "$as_dir" && break
 | 
|---|
| 328 |     done
 | 
|---|
| 329 |     test -z "$as_dirs" || eval "mkdir $as_dirs"
 | 
|---|
| 330 |   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 | 
|---|
| 331 | 
 | 
|---|
| 332 | 
 | 
|---|
| 333 | } # as_fn_mkdir_p
 | 
|---|
| 334 | # as_fn_append VAR VALUE
 | 
|---|
| 335 | # ----------------------
 | 
|---|
| 336 | # Append the text in VALUE to the end of the definition contained in VAR. Take
 | 
|---|
| 337 | # advantage of any shell optimizations that allow amortized linear growth over
 | 
|---|
| 338 | # repeated appends, instead of the typical quadratic growth present in naive
 | 
|---|
| 339 | # implementations.
 | 
|---|
| 340 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 | 
|---|
| 341 |   eval 'as_fn_append ()
 | 
|---|
| 342 |   {
 | 
|---|
| 343 |     eval $1+=\$2
 | 
|---|
| 344 |   }'
 | 
|---|
| 345 | else
 | 
|---|
| 346 |   as_fn_append ()
 | 
|---|
| 347 |   {
 | 
|---|
| 348 |     eval $1=\$$1\$2
 | 
|---|
| 349 |   }
 | 
|---|
| 350 | fi # as_fn_append
 | 
|---|
| 351 | 
 | 
|---|
| 352 | # as_fn_arith ARG...
 | 
|---|
| 353 | # ------------------
 | 
|---|
| 354 | # Perform arithmetic evaluation on the ARGs, and store the result in the
 | 
|---|
| 355 | # global $as_val. Take advantage of shells that can avoid forks. The arguments
 | 
|---|
| 356 | # must be portable across $(()) and expr.
 | 
|---|
| 357 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 | 
|---|
| 358 |   eval 'as_fn_arith ()
 | 
|---|
| 359 |   {
 | 
|---|
| 360 |     as_val=$(( $* ))
 | 
|---|
| 361 |   }'
 | 
|---|
| 362 | else
 | 
|---|
| 363 |   as_fn_arith ()
 | 
|---|
| 364 |   {
 | 
|---|
| 365 |     as_val=`expr "$@" || test $? -eq 1`
 | 
|---|
| 366 |   }
 | 
|---|
| 367 | fi # as_fn_arith
 | 
|---|
| 368 | 
 | 
|---|
| 369 | 
 | 
|---|
| 370 | # as_fn_error STATUS ERROR [LINENO LOG_FD]
 | 
|---|
| 371 | # ----------------------------------------
 | 
|---|
| 372 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 | 
|---|
| 373 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 | 
|---|
| 374 | # script with STATUS, using 1 if that was 0.
 | 
|---|
| 375 | as_fn_error ()
 | 
|---|
| 376 | {
 | 
|---|
| 377 |   as_status=$1; test $as_status -eq 0 && as_status=1
 | 
|---|
| 378 |   if test "$4"; then
 | 
|---|
| 379 |     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 380 |     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 | 
|---|
| 381 |   fi
 | 
|---|
| 382 |   $as_echo "$as_me: error: $2" >&2
 | 
|---|
| 383 |   as_fn_exit $as_status
 | 
|---|
| 384 | } # as_fn_error
 | 
|---|
| 385 | 
 | 
|---|
| 386 | if expr a : '\(a\)' >/dev/null 2>&1 &&
 | 
|---|
| 387 |    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 | 
|---|
| 388 |   as_expr=expr
 | 
|---|
| 389 | else
 | 
|---|
| 390 |   as_expr=false
 | 
|---|
| 391 | fi
 | 
|---|
| 392 | 
 | 
|---|
| 393 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 | 
|---|
| 394 |   as_basename=basename
 | 
|---|
| 395 | else
 | 
|---|
| 396 |   as_basename=false
 | 
|---|
| 397 | fi
 | 
|---|
| 398 | 
 | 
|---|
| 399 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 | 
|---|
| 400 |   as_dirname=dirname
 | 
|---|
| 401 | else
 | 
|---|
| 402 |   as_dirname=false
 | 
|---|
| 403 | fi
 | 
|---|
| 404 | 
 | 
|---|
| 405 | as_me=`$as_basename -- "$0" ||
 | 
|---|
| 406 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 | 
|---|
| 407 |          X"$0" : 'X\(//\)$' \| \
 | 
|---|
| 408 |          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 409 | $as_echo X/"$0" |
 | 
|---|
| 410 |     sed '/^.*\/\([^/][^/]*\)\/*$/{
 | 
|---|
| 411 |             s//\1/
 | 
|---|
| 412 |             q
 | 
|---|
| 413 |           }
 | 
|---|
| 414 |           /^X\/\(\/\/\)$/{
 | 
|---|
| 415 |             s//\1/
 | 
|---|
| 416 |             q
 | 
|---|
| 417 |           }
 | 
|---|
| 418 |           /^X\/\(\/\).*/{
 | 
|---|
| 419 |             s//\1/
 | 
|---|
| 420 |             q
 | 
|---|
| 421 |           }
 | 
|---|
| 422 |           s/.*/./; q'`
 | 
|---|
| 423 | 
 | 
|---|
| 424 | # Avoid depending upon Character Ranges.
 | 
|---|
| 425 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 | 
|---|
| 426 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 | 
|---|
| 427 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 | 
|---|
| 428 | as_cr_digits='0123456789'
 | 
|---|
| 429 | as_cr_alnum=$as_cr_Letters$as_cr_digits
 | 
|---|
| 430 | 
 | 
|---|
| 431 | 
 | 
|---|
| 432 |   as_lineno_1=$LINENO as_lineno_1a=$LINENO
 | 
|---|
| 433 |   as_lineno_2=$LINENO as_lineno_2a=$LINENO
 | 
|---|
| 434 |   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 | 
|---|
| 435 |   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 | 
|---|
| 436 |   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
 | 
|---|
| 437 |   sed -n '
 | 
|---|
| 438 |     p
 | 
|---|
| 439 |     /[$]LINENO/=
 | 
|---|
| 440 |   ' <$as_myself |
 | 
|---|
| 441 |     sed '
 | 
|---|
| 442 |       s/[$]LINENO.*/&-/
 | 
|---|
| 443 |       t lineno
 | 
|---|
| 444 |       b
 | 
|---|
| 445 |       :lineno
 | 
|---|
| 446 |       N
 | 
|---|
| 447 |       :loop
 | 
|---|
| 448 |       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 | 
|---|
| 449 |       t loop
 | 
|---|
| 450 |       s/-\n.*//
 | 
|---|
| 451 |     ' >$as_me.lineno &&
 | 
|---|
| 452 |   chmod +x "$as_me.lineno" ||
 | 
|---|
| 453 |     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 | 
|---|
| 454 | 
 | 
|---|
| 455 |   # Don't try to exec as it changes $[0], causing all sort of problems
 | 
|---|
| 456 |   # (the dirname of $[0] is not the place where we might find the
 | 
|---|
| 457 |   # original and so on.  Autoconf is especially sensitive to this).
 | 
|---|
| 458 |   . "./$as_me.lineno"
 | 
|---|
| 459 |   # Exit status is that of the last command.
 | 
|---|
| 460 |   exit
 | 
|---|
| 461 | }
 | 
|---|
| 462 | 
 | 
|---|
| 463 | ECHO_C= ECHO_N= ECHO_T=
 | 
|---|
| 464 | case `echo -n x` in #(((((
 | 
|---|
| 465 | -n*)
 | 
|---|
| 466 |   case `echo 'xy\c'` in
 | 
|---|
| 467 |   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 | 
|---|
| 468 |   xy)  ECHO_C='\c';;
 | 
|---|
| 469 |   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 | 
|---|
| 470 |        ECHO_T=' ';;
 | 
|---|
| 471 |   esac;;
 | 
|---|
| 472 | *)
 | 
|---|
| 473 |   ECHO_N='-n';;
 | 
|---|
| 474 | esac
 | 
|---|
| 475 | 
 | 
|---|
| 476 | rm -f conf$$ conf$$.exe conf$$.file
 | 
|---|
| 477 | if test -d conf$$.dir; then
 | 
|---|
| 478 |   rm -f conf$$.dir/conf$$.file
 | 
|---|
| 479 | else
 | 
|---|
| 480 |   rm -f conf$$.dir
 | 
|---|
| 481 |   mkdir conf$$.dir 2>/dev/null
 | 
|---|
| 482 | fi
 | 
|---|
| 483 | if (echo >conf$$.file) 2>/dev/null; then
 | 
|---|
| 484 |   if ln -s conf$$.file conf$$ 2>/dev/null; then
 | 
|---|
| 485 |     as_ln_s='ln -s'
 | 
|---|
| 486 |     # ... but there are two gotchas:
 | 
|---|
| 487 |     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 | 
|---|
| 488 |     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 | 
|---|
| 489 |     # In both cases, we have to default to `cp -p'.
 | 
|---|
| 490 |     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 | 
|---|
| 491 |       as_ln_s='cp -p'
 | 
|---|
| 492 |   elif ln conf$$.file conf$$ 2>/dev/null; then
 | 
|---|
| 493 |     as_ln_s=ln
 | 
|---|
| 494 |   else
 | 
|---|
| 495 |     as_ln_s='cp -p'
 | 
|---|
| 496 |   fi
 | 
|---|
| 497 | else
 | 
|---|
| 498 |   as_ln_s='cp -p'
 | 
|---|
| 499 | fi
 | 
|---|
| 500 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 | 
|---|
| 501 | rmdir conf$$.dir 2>/dev/null
 | 
|---|
| 502 | 
 | 
|---|
| 503 | if mkdir -p . 2>/dev/null; then
 | 
|---|
| 504 |   as_mkdir_p='mkdir -p "$as_dir"'
 | 
|---|
| 505 | else
 | 
|---|
| 506 |   test -d ./-p && rmdir ./-p
 | 
|---|
| 507 |   as_mkdir_p=false
 | 
|---|
| 508 | fi
 | 
|---|
| 509 | 
 | 
|---|
| 510 | if test -x / >/dev/null 2>&1; then
 | 
|---|
| 511 |   as_test_x='test -x'
 | 
|---|
| 512 | else
 | 
|---|
| 513 |   if ls -dL / >/dev/null 2>&1; then
 | 
|---|
| 514 |     as_ls_L_option=L
 | 
|---|
| 515 |   else
 | 
|---|
| 516 |     as_ls_L_option=
 | 
|---|
| 517 |   fi
 | 
|---|
| 518 |   as_test_x='
 | 
|---|
| 519 |     eval sh -c '\''
 | 
|---|
| 520 |       if test -d "$1"; then
 | 
|---|
| 521 |         test -d "$1/.";
 | 
|---|
| 522 |       else
 | 
|---|
| 523 |         case $1 in #(
 | 
|---|
| 524 |         -*)set "./$1";;
 | 
|---|
| 525 |         esac;
 | 
|---|
| 526 |         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 | 
|---|
| 527 |         ???[sx]*):;;*)false;;esac;fi
 | 
|---|
| 528 |     '\'' sh
 | 
|---|
| 529 |   '
 | 
|---|
| 530 | fi
 | 
|---|
| 531 | as_executable_p=$as_test_x
 | 
|---|
| 532 | 
 | 
|---|
| 533 | # Sed expression to map a string onto a valid CPP name.
 | 
|---|
| 534 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 | 
|---|
| 535 | 
 | 
|---|
| 536 | # Sed expression to map a string onto a valid variable name.
 | 
|---|
| 537 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 | 
|---|
| 538 | 
 | 
|---|
| 539 | 
 | 
|---|
| 540 | test -n "$DJDIR" || exec 7<&0 </dev/null
 | 
|---|
| 541 | exec 6>&1
 | 
|---|
| 542 | 
 | 
|---|
| 543 | # Name of the host.
 | 
|---|
| 544 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
 | 
|---|
| 545 | # so uname gets run too.
 | 
|---|
| 546 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 | 
|---|
| 547 | 
 | 
|---|
| 548 | #
 | 
|---|
| 549 | # Initializations.
 | 
|---|
| 550 | #
 | 
|---|
| 551 | ac_default_prefix=/usr/local
 | 
|---|
| 552 | ac_clean_files=
 | 
|---|
| 553 | ac_config_libobj_dir=.
 | 
|---|
| 554 | LIBOBJS=
 | 
|---|
| 555 | cross_compiling=no
 | 
|---|
| 556 | subdirs=
 | 
|---|
| 557 | MFLAGS=
 | 
|---|
| 558 | MAKEFLAGS=
 | 
|---|
| 559 | 
 | 
|---|
| 560 | # Identity of this package.
 | 
|---|
| 561 | PACKAGE_NAME='cfa-cc'
 | 
|---|
| 562 | PACKAGE_TARNAME='cfa-cc'
 | 
|---|
| 563 | PACKAGE_VERSION='1.0.0.0'
 | 
|---|
| 564 | PACKAGE_STRING='cfa-cc 1.0.0.0'
 | 
|---|
| 565 | PACKAGE_BUGREPORT='cforall@plg.uwaterloo.ca'
 | 
|---|
| 566 | PACKAGE_URL=''
 | 
|---|
| 567 | 
 | 
|---|
| 568 | # Factoring default headers for most tests.
 | 
|---|
| 569 | ac_includes_default="\
 | 
|---|
| 570 | #include <stdio.h>
 | 
|---|
| 571 | #ifdef HAVE_SYS_TYPES_H
 | 
|---|
| 572 | # include <sys/types.h>
 | 
|---|
| 573 | #endif
 | 
|---|
| 574 | #ifdef HAVE_SYS_STAT_H
 | 
|---|
| 575 | # include <sys/stat.h>
 | 
|---|
| 576 | #endif
 | 
|---|
| 577 | #ifdef STDC_HEADERS
 | 
|---|
| 578 | # include <stdlib.h>
 | 
|---|
| 579 | # include <stddef.h>
 | 
|---|
| 580 | #else
 | 
|---|
| 581 | # ifdef HAVE_STDLIB_H
 | 
|---|
| 582 | #  include <stdlib.h>
 | 
|---|
| 583 | # endif
 | 
|---|
| 584 | #endif
 | 
|---|
| 585 | #ifdef HAVE_STRING_H
 | 
|---|
| 586 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 | 
|---|
| 587 | #  include <memory.h>
 | 
|---|
| 588 | # endif
 | 
|---|
| 589 | # include <string.h>
 | 
|---|
| 590 | #endif
 | 
|---|
| 591 | #ifdef HAVE_STRINGS_H
 | 
|---|
| 592 | # include <strings.h>
 | 
|---|
| 593 | #endif
 | 
|---|
| 594 | #ifdef HAVE_INTTYPES_H
 | 
|---|
| 595 | # include <inttypes.h>
 | 
|---|
| 596 | #endif
 | 
|---|
| 597 | #ifdef HAVE_STDINT_H
 | 
|---|
| 598 | # include <stdint.h>
 | 
|---|
| 599 | #endif
 | 
|---|
| 600 | #ifdef HAVE_UNISTD_H
 | 
|---|
| 601 | # include <unistd.h>
 | 
|---|
| 602 | #endif"
 | 
|---|
| 603 | 
 | 
|---|
| 604 | ac_subst_vars='am__EXEEXT_FALSE
 | 
|---|
| 605 | am__EXEEXT_TRUE
 | 
|---|
| 606 | LTLIBOBJS
 | 
|---|
| 607 | LIBOBJS
 | 
|---|
| 608 | ALLOCA
 | 
|---|
| 609 | EGREP
 | 
|---|
| 610 | GREP
 | 
|---|
| 611 | CPP
 | 
|---|
| 612 | RANLIB
 | 
|---|
| 613 | LEXLIB
 | 
|---|
| 614 | LEX_OUTPUT_ROOT
 | 
|---|
| 615 | LEX
 | 
|---|
| 616 | YFLAGS
 | 
|---|
| 617 | YACC
 | 
|---|
| 618 | am__fastdepCCAS_FALSE
 | 
|---|
| 619 | am__fastdepCCAS_TRUE
 | 
|---|
| 620 | CCASDEPMODE
 | 
|---|
| 621 | CCASFLAGS
 | 
|---|
| 622 | CCAS
 | 
|---|
| 623 | am__fastdepCC_FALSE
 | 
|---|
| 624 | am__fastdepCC_TRUE
 | 
|---|
| 625 | CCDEPMODE
 | 
|---|
| 626 | ac_ct_CC
 | 
|---|
| 627 | CFLAGS
 | 
|---|
| 628 | CC
 | 
|---|
| 629 | am__fastdepCXX_FALSE
 | 
|---|
| 630 | am__fastdepCXX_TRUE
 | 
|---|
| 631 | CXXDEPMODE
 | 
|---|
| 632 | am__nodep
 | 
|---|
| 633 | AMDEPBACKSLASH
 | 
|---|
| 634 | AMDEP_FALSE
 | 
|---|
| 635 | AMDEP_TRUE
 | 
|---|
| 636 | am__quote
 | 
|---|
| 637 | am__include
 | 
|---|
| 638 | DEPDIR
 | 
|---|
| 639 | OBJEXT
 | 
|---|
| 640 | EXEEXT
 | 
|---|
| 641 | ac_ct_CXX
 | 
|---|
| 642 | CPPFLAGS
 | 
|---|
| 643 | LDFLAGS
 | 
|---|
| 644 | CXXFLAGS
 | 
|---|
| 645 | CXX
 | 
|---|
| 646 | MACHINE_TYPE
 | 
|---|
| 647 | host_os
 | 
|---|
| 648 | host_vendor
 | 
|---|
| 649 | host_cpu
 | 
|---|
| 650 | host
 | 
|---|
| 651 | build_os
 | 
|---|
| 652 | build_vendor
 | 
|---|
| 653 | build_cpu
 | 
|---|
| 654 | build
 | 
|---|
| 655 | CFA_FLAGS
 | 
|---|
| 656 | CFA_LIBDIR
 | 
|---|
| 657 | CFA_BINDIR
 | 
|---|
| 658 | CFA_INCDIR
 | 
|---|
| 659 | CFA_PREFIX
 | 
|---|
| 660 | BUILD_CONCURRENCY_FALSE
 | 
|---|
| 661 | BUILD_CONCURRENCY_TRUE
 | 
|---|
| 662 | BUILD_NO_LIB_FALSE
 | 
|---|
| 663 | BUILD_NO_LIB_TRUE
 | 
|---|
| 664 | BUILD_DEBUG_FALSE
 | 
|---|
| 665 | BUILD_DEBUG_TRUE
 | 
|---|
| 666 | BUILD_RELEASE_FALSE
 | 
|---|
| 667 | BUILD_RELEASE_TRUE
 | 
|---|
| 668 | CFA_BACKEND_CC
 | 
|---|
| 669 | BACKEND_CC
 | 
|---|
| 670 | MAINT
 | 
|---|
| 671 | MAINTAINER_MODE_FALSE
 | 
|---|
| 672 | MAINTAINER_MODE_TRUE
 | 
|---|
| 673 | am__untar
 | 
|---|
| 674 | am__tar
 | 
|---|
| 675 | AMTAR
 | 
|---|
| 676 | am__leading_dot
 | 
|---|
| 677 | SET_MAKE
 | 
|---|
| 678 | AWK
 | 
|---|
| 679 | mkdir_p
 | 
|---|
| 680 | MKDIR_P
 | 
|---|
| 681 | INSTALL_STRIP_PROGRAM
 | 
|---|
| 682 | STRIP
 | 
|---|
| 683 | install_sh
 | 
|---|
| 684 | MAKEINFO
 | 
|---|
| 685 | AUTOHEADER
 | 
|---|
| 686 | AUTOMAKE
 | 
|---|
| 687 | AUTOCONF
 | 
|---|
| 688 | ACLOCAL
 | 
|---|
| 689 | VERSION
 | 
|---|
| 690 | PACKAGE
 | 
|---|
| 691 | CYGPATH_W
 | 
|---|
| 692 | am__isrc
 | 
|---|
| 693 | INSTALL_DATA
 | 
|---|
| 694 | INSTALL_SCRIPT
 | 
|---|
| 695 | INSTALL_PROGRAM
 | 
|---|
| 696 | AM_BACKSLASH
 | 
|---|
| 697 | AM_DEFAULT_VERBOSITY
 | 
|---|
| 698 | AM_DEFAULT_V
 | 
|---|
| 699 | AM_V
 | 
|---|
| 700 | target_alias
 | 
|---|
| 701 | host_alias
 | 
|---|
| 702 | build_alias
 | 
|---|
| 703 | LIBS
 | 
|---|
| 704 | ECHO_T
 | 
|---|
| 705 | ECHO_N
 | 
|---|
| 706 | ECHO_C
 | 
|---|
| 707 | DEFS
 | 
|---|
| 708 | mandir
 | 
|---|
| 709 | localedir
 | 
|---|
| 710 | libdir
 | 
|---|
| 711 | psdir
 | 
|---|
| 712 | pdfdir
 | 
|---|
| 713 | dvidir
 | 
|---|
| 714 | htmldir
 | 
|---|
| 715 | infodir
 | 
|---|
| 716 | docdir
 | 
|---|
| 717 | oldincludedir
 | 
|---|
| 718 | includedir
 | 
|---|
| 719 | localstatedir
 | 
|---|
| 720 | sharedstatedir
 | 
|---|
| 721 | sysconfdir
 | 
|---|
| 722 | datadir
 | 
|---|
| 723 | datarootdir
 | 
|---|
| 724 | libexecdir
 | 
|---|
| 725 | sbindir
 | 
|---|
| 726 | bindir
 | 
|---|
| 727 | program_transform_name
 | 
|---|
| 728 | prefix
 | 
|---|
| 729 | exec_prefix
 | 
|---|
| 730 | PACKAGE_URL
 | 
|---|
| 731 | PACKAGE_BUGREPORT
 | 
|---|
| 732 | PACKAGE_STRING
 | 
|---|
| 733 | PACKAGE_VERSION
 | 
|---|
| 734 | PACKAGE_TARNAME
 | 
|---|
| 735 | PACKAGE_NAME
 | 
|---|
| 736 | PATH_SEPARATOR
 | 
|---|
| 737 | SHELL'
 | 
|---|
| 738 | ac_subst_files=''
 | 
|---|
| 739 | ac_user_opts='
 | 
|---|
| 740 | enable_option_checking
 | 
|---|
| 741 | enable_silent_rules
 | 
|---|
| 742 | enable_maintainer_mode
 | 
|---|
| 743 | with_backend_compiler
 | 
|---|
| 744 | enable_target_release
 | 
|---|
| 745 | enable_target_debug
 | 
|---|
| 746 | enable_threading
 | 
|---|
| 747 | enable_dependency_tracking
 | 
|---|
| 748 | '
 | 
|---|
| 749 |       ac_precious_vars='build_alias
 | 
|---|
| 750 | host_alias
 | 
|---|
| 751 | target_alias
 | 
|---|
| 752 | CXX
 | 
|---|
| 753 | CXXFLAGS
 | 
|---|
| 754 | LDFLAGS
 | 
|---|
| 755 | LIBS
 | 
|---|
| 756 | CPPFLAGS
 | 
|---|
| 757 | CCC
 | 
|---|
| 758 | CC
 | 
|---|
| 759 | CFLAGS
 | 
|---|
| 760 | CCAS
 | 
|---|
| 761 | CCASFLAGS
 | 
|---|
| 762 | YACC
 | 
|---|
| 763 | YFLAGS
 | 
|---|
| 764 | CPP'
 | 
|---|
| 765 | 
 | 
|---|
| 766 | 
 | 
|---|
| 767 | # Initialize some variables set by options.
 | 
|---|
| 768 | ac_init_help=
 | 
|---|
| 769 | ac_init_version=false
 | 
|---|
| 770 | ac_unrecognized_opts=
 | 
|---|
| 771 | ac_unrecognized_sep=
 | 
|---|
| 772 | # The variables have the same names as the options, with
 | 
|---|
| 773 | # dashes changed to underlines.
 | 
|---|
| 774 | cache_file=/dev/null
 | 
|---|
| 775 | exec_prefix=NONE
 | 
|---|
| 776 | no_create=
 | 
|---|
| 777 | no_recursion=
 | 
|---|
| 778 | prefix=NONE
 | 
|---|
| 779 | program_prefix=NONE
 | 
|---|
| 780 | program_suffix=NONE
 | 
|---|
| 781 | program_transform_name=s,x,x,
 | 
|---|
| 782 | silent=
 | 
|---|
| 783 | site=
 | 
|---|
| 784 | srcdir=
 | 
|---|
| 785 | verbose=
 | 
|---|
| 786 | x_includes=NONE
 | 
|---|
| 787 | x_libraries=NONE
 | 
|---|
| 788 | 
 | 
|---|
| 789 | # Installation directory options.
 | 
|---|
| 790 | # These are left unexpanded so users can "make install exec_prefix=/foo"
 | 
|---|
| 791 | # and all the variables that are supposed to be based on exec_prefix
 | 
|---|
| 792 | # by default will actually change.
 | 
|---|
| 793 | # Use braces instead of parens because sh, perl, etc. also accept them.
 | 
|---|
| 794 | # (The list follows the same order as the GNU Coding Standards.)
 | 
|---|
| 795 | bindir='${exec_prefix}/bin'
 | 
|---|
| 796 | sbindir='${exec_prefix}/sbin'
 | 
|---|
| 797 | libexecdir='${exec_prefix}/libexec'
 | 
|---|
| 798 | datarootdir='${prefix}/share'
 | 
|---|
| 799 | datadir='${datarootdir}'
 | 
|---|
| 800 | sysconfdir='${prefix}/etc'
 | 
|---|
| 801 | sharedstatedir='${prefix}/com'
 | 
|---|
| 802 | localstatedir='${prefix}/var'
 | 
|---|
| 803 | includedir='${prefix}/include'
 | 
|---|
| 804 | oldincludedir='/usr/include'
 | 
|---|
| 805 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 | 
|---|
| 806 | infodir='${datarootdir}/info'
 | 
|---|
| 807 | htmldir='${docdir}'
 | 
|---|
| 808 | dvidir='${docdir}'
 | 
|---|
| 809 | pdfdir='${docdir}'
 | 
|---|
| 810 | psdir='${docdir}'
 | 
|---|
| 811 | libdir='${exec_prefix}/lib'
 | 
|---|
| 812 | localedir='${datarootdir}/locale'
 | 
|---|
| 813 | mandir='${datarootdir}/man'
 | 
|---|
| 814 | 
 | 
|---|
| 815 | ac_prev=
 | 
|---|
| 816 | ac_dashdash=
 | 
|---|
| 817 | for ac_option
 | 
|---|
| 818 | do
 | 
|---|
| 819 |   # If the previous option needs an argument, assign it.
 | 
|---|
| 820 |   if test -n "$ac_prev"; then
 | 
|---|
| 821 |     eval $ac_prev=\$ac_option
 | 
|---|
| 822 |     ac_prev=
 | 
|---|
| 823 |     continue
 | 
|---|
| 824 |   fi
 | 
|---|
| 825 | 
 | 
|---|
| 826 |   case $ac_option in
 | 
|---|
| 827 |   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 | 
|---|
| 828 |   *=)   ac_optarg= ;;
 | 
|---|
| 829 |   *)    ac_optarg=yes ;;
 | 
|---|
| 830 |   esac
 | 
|---|
| 831 | 
 | 
|---|
| 832 |   # Accept the important Cygnus configure options, so we can diagnose typos.
 | 
|---|
| 833 | 
 | 
|---|
| 834 |   case $ac_dashdash$ac_option in
 | 
|---|
| 835 |   --)
 | 
|---|
| 836 |     ac_dashdash=yes ;;
 | 
|---|
| 837 | 
 | 
|---|
| 838 |   -bindir | --bindir | --bindi | --bind | --bin | --bi)
 | 
|---|
| 839 |     ac_prev=bindir ;;
 | 
|---|
| 840 |   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 | 
|---|
| 841 |     bindir=$ac_optarg ;;
 | 
|---|
| 842 | 
 | 
|---|
| 843 |   -build | --build | --buil | --bui | --bu)
 | 
|---|
| 844 |     ac_prev=build_alias ;;
 | 
|---|
| 845 |   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 | 
|---|
| 846 |     build_alias=$ac_optarg ;;
 | 
|---|
| 847 | 
 | 
|---|
| 848 |   -cache-file | --cache-file | --cache-fil | --cache-fi \
 | 
|---|
| 849 |   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 | 
|---|
| 850 |     ac_prev=cache_file ;;
 | 
|---|
| 851 |   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 | 
|---|
| 852 |   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 | 
|---|
| 853 |     cache_file=$ac_optarg ;;
 | 
|---|
| 854 | 
 | 
|---|
| 855 |   --config-cache | -C)
 | 
|---|
| 856 |     cache_file=config.cache ;;
 | 
|---|
| 857 | 
 | 
|---|
| 858 |   -datadir | --datadir | --datadi | --datad)
 | 
|---|
| 859 |     ac_prev=datadir ;;
 | 
|---|
| 860 |   -datadir=* | --datadir=* | --datadi=* | --datad=*)
 | 
|---|
| 861 |     datadir=$ac_optarg ;;
 | 
|---|
| 862 | 
 | 
|---|
| 863 |   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 | 
|---|
| 864 |   | --dataroo | --dataro | --datar)
 | 
|---|
| 865 |     ac_prev=datarootdir ;;
 | 
|---|
| 866 |   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 | 
|---|
| 867 |   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 | 
|---|
| 868 |     datarootdir=$ac_optarg ;;
 | 
|---|
| 869 | 
 | 
|---|
| 870 |   -disable-* | --disable-*)
 | 
|---|
| 871 |     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 | 
|---|
| 872 |     # Reject names that are not valid shell variable names.
 | 
|---|
| 873 |     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 | 
|---|
| 874 |       as_fn_error $? "invalid feature name: $ac_useropt"
 | 
|---|
| 875 |     ac_useropt_orig=$ac_useropt
 | 
|---|
| 876 |     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 | 
|---|
| 877 |     case $ac_user_opts in
 | 
|---|
| 878 |       *"
 | 
|---|
| 879 | "enable_$ac_useropt"
 | 
|---|
| 880 | "*) ;;
 | 
|---|
| 881 |       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 | 
|---|
| 882 |          ac_unrecognized_sep=', ';;
 | 
|---|
| 883 |     esac
 | 
|---|
| 884 |     eval enable_$ac_useropt=no ;;
 | 
|---|
| 885 | 
 | 
|---|
| 886 |   -docdir | --docdir | --docdi | --doc | --do)
 | 
|---|
| 887 |     ac_prev=docdir ;;
 | 
|---|
| 888 |   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 | 
|---|
| 889 |     docdir=$ac_optarg ;;
 | 
|---|
| 890 | 
 | 
|---|
| 891 |   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 | 
|---|
| 892 |     ac_prev=dvidir ;;
 | 
|---|
| 893 |   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 | 
|---|
| 894 |     dvidir=$ac_optarg ;;
 | 
|---|
| 895 | 
 | 
|---|
| 896 |   -enable-* | --enable-*)
 | 
|---|
| 897 |     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 | 
|---|
| 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--enable-$ac_useropt_orig"
 | 
|---|
| 908 |          ac_unrecognized_sep=', ';;
 | 
|---|
| 909 |     esac
 | 
|---|
| 910 |     eval enable_$ac_useropt=\$ac_optarg ;;
 | 
|---|
| 911 | 
 | 
|---|
| 912 |   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 | 
|---|
| 913 |   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 | 
|---|
| 914 |   | --exec | --exe | --ex)
 | 
|---|
| 915 |     ac_prev=exec_prefix ;;
 | 
|---|
| 916 |   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 | 
|---|
| 917 |   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 | 
|---|
| 918 |   | --exec=* | --exe=* | --ex=*)
 | 
|---|
| 919 |     exec_prefix=$ac_optarg ;;
 | 
|---|
| 920 | 
 | 
|---|
| 921 |   -gas | --gas | --ga | --g)
 | 
|---|
| 922 |     # Obsolete; use --with-gas.
 | 
|---|
| 923 |     with_gas=yes ;;
 | 
|---|
| 924 | 
 | 
|---|
| 925 |   -help | --help | --hel | --he | -h)
 | 
|---|
| 926 |     ac_init_help=long ;;
 | 
|---|
| 927 |   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 | 
|---|
| 928 |     ac_init_help=recursive ;;
 | 
|---|
| 929 |   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 | 
|---|
| 930 |     ac_init_help=short ;;
 | 
|---|
| 931 | 
 | 
|---|
| 932 |   -host | --host | --hos | --ho)
 | 
|---|
| 933 |     ac_prev=host_alias ;;
 | 
|---|
| 934 |   -host=* | --host=* | --hos=* | --ho=*)
 | 
|---|
| 935 |     host_alias=$ac_optarg ;;
 | 
|---|
| 936 | 
 | 
|---|
| 937 |   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 | 
|---|
| 938 |     ac_prev=htmldir ;;
 | 
|---|
| 939 |   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 | 
|---|
| 940 |   | --ht=*)
 | 
|---|
| 941 |     htmldir=$ac_optarg ;;
 | 
|---|
| 942 | 
 | 
|---|
| 943 |   -includedir | --includedir | --includedi | --included | --include \
 | 
|---|
| 944 |   | --includ | --inclu | --incl | --inc)
 | 
|---|
| 945 |     ac_prev=includedir ;;
 | 
|---|
| 946 |   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 | 
|---|
| 947 |   | --includ=* | --inclu=* | --incl=* | --inc=*)
 | 
|---|
| 948 |     includedir=$ac_optarg ;;
 | 
|---|
| 949 | 
 | 
|---|
| 950 |   -infodir | --infodir | --infodi | --infod | --info | --inf)
 | 
|---|
| 951 |     ac_prev=infodir ;;
 | 
|---|
| 952 |   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 | 
|---|
| 953 |     infodir=$ac_optarg ;;
 | 
|---|
| 954 | 
 | 
|---|
| 955 |   -libdir | --libdir | --libdi | --libd)
 | 
|---|
| 956 |     ac_prev=libdir ;;
 | 
|---|
| 957 |   -libdir=* | --libdir=* | --libdi=* | --libd=*)
 | 
|---|
| 958 |     libdir=$ac_optarg ;;
 | 
|---|
| 959 | 
 | 
|---|
| 960 |   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 | 
|---|
| 961 |   | --libexe | --libex | --libe)
 | 
|---|
| 962 |     ac_prev=libexecdir ;;
 | 
|---|
| 963 |   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 | 
|---|
| 964 |   | --libexe=* | --libex=* | --libe=*)
 | 
|---|
| 965 |     libexecdir=$ac_optarg ;;
 | 
|---|
| 966 | 
 | 
|---|
| 967 |   -localedir | --localedir | --localedi | --localed | --locale)
 | 
|---|
| 968 |     ac_prev=localedir ;;
 | 
|---|
| 969 |   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 | 
|---|
| 970 |     localedir=$ac_optarg ;;
 | 
|---|
| 971 | 
 | 
|---|
| 972 |   -localstatedir | --localstatedir | --localstatedi | --localstated \
 | 
|---|
| 973 |   | --localstate | --localstat | --localsta | --localst | --locals)
 | 
|---|
| 974 |     ac_prev=localstatedir ;;
 | 
|---|
| 975 |   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 | 
|---|
| 976 |   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 | 
|---|
| 977 |     localstatedir=$ac_optarg ;;
 | 
|---|
| 978 | 
 | 
|---|
| 979 |   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 | 
|---|
| 980 |     ac_prev=mandir ;;
 | 
|---|
| 981 |   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 | 
|---|
| 982 |     mandir=$ac_optarg ;;
 | 
|---|
| 983 | 
 | 
|---|
| 984 |   -nfp | --nfp | --nf)
 | 
|---|
| 985 |     # Obsolete; use --without-fp.
 | 
|---|
| 986 |     with_fp=no ;;
 | 
|---|
| 987 | 
 | 
|---|
| 988 |   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 | 
|---|
| 989 |   | --no-cr | --no-c | -n)
 | 
|---|
| 990 |     no_create=yes ;;
 | 
|---|
| 991 | 
 | 
|---|
| 992 |   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 | 
|---|
| 993 |   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 | 
|---|
| 994 |     no_recursion=yes ;;
 | 
|---|
| 995 | 
 | 
|---|
| 996 |   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 | 
|---|
| 997 |   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 | 
|---|
| 998 |   | --oldin | --oldi | --old | --ol | --o)
 | 
|---|
| 999 |     ac_prev=oldincludedir ;;
 | 
|---|
| 1000 |   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 | 
|---|
| 1001 |   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 | 
|---|
| 1002 |   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 | 
|---|
| 1003 |     oldincludedir=$ac_optarg ;;
 | 
|---|
| 1004 | 
 | 
|---|
| 1005 |   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 | 
|---|
| 1006 |     ac_prev=prefix ;;
 | 
|---|
| 1007 |   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 | 
|---|
| 1008 |     prefix=$ac_optarg ;;
 | 
|---|
| 1009 | 
 | 
|---|
| 1010 |   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 | 
|---|
| 1011 |   | --program-pre | --program-pr | --program-p)
 | 
|---|
| 1012 |     ac_prev=program_prefix ;;
 | 
|---|
| 1013 |   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 | 
|---|
| 1014 |   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 | 
|---|
| 1015 |     program_prefix=$ac_optarg ;;
 | 
|---|
| 1016 | 
 | 
|---|
| 1017 |   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 | 
|---|
| 1018 |   | --program-suf | --program-su | --program-s)
 | 
|---|
| 1019 |     ac_prev=program_suffix ;;
 | 
|---|
| 1020 |   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 | 
|---|
| 1021 |   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 | 
|---|
| 1022 |     program_suffix=$ac_optarg ;;
 | 
|---|
| 1023 | 
 | 
|---|
| 1024 |   -program-transform-name | --program-transform-name \
 | 
|---|
| 1025 |   | --program-transform-nam | --program-transform-na \
 | 
|---|
| 1026 |   | --program-transform-n | --program-transform- \
 | 
|---|
| 1027 |   | --program-transform | --program-transfor \
 | 
|---|
| 1028 |   | --program-transfo | --program-transf \
 | 
|---|
| 1029 |   | --program-trans | --program-tran \
 | 
|---|
| 1030 |   | --progr-tra | --program-tr | --program-t)
 | 
|---|
| 1031 |     ac_prev=program_transform_name ;;
 | 
|---|
| 1032 |   -program-transform-name=* | --program-transform-name=* \
 | 
|---|
| 1033 |   | --program-transform-nam=* | --program-transform-na=* \
 | 
|---|
| 1034 |   | --program-transform-n=* | --program-transform-=* \
 | 
|---|
| 1035 |   | --program-transform=* | --program-transfor=* \
 | 
|---|
| 1036 |   | --program-transfo=* | --program-transf=* \
 | 
|---|
| 1037 |   | --program-trans=* | --program-tran=* \
 | 
|---|
| 1038 |   | --progr-tra=* | --program-tr=* | --program-t=*)
 | 
|---|
| 1039 |     program_transform_name=$ac_optarg ;;
 | 
|---|
| 1040 | 
 | 
|---|
| 1041 |   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 | 
|---|
| 1042 |     ac_prev=pdfdir ;;
 | 
|---|
| 1043 |   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 | 
|---|
| 1044 |     pdfdir=$ac_optarg ;;
 | 
|---|
| 1045 | 
 | 
|---|
| 1046 |   -psdir | --psdir | --psdi | --psd | --ps)
 | 
|---|
| 1047 |     ac_prev=psdir ;;
 | 
|---|
| 1048 |   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 | 
|---|
| 1049 |     psdir=$ac_optarg ;;
 | 
|---|
| 1050 | 
 | 
|---|
| 1051 |   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 | 
|---|
| 1052 |   | -silent | --silent | --silen | --sile | --sil)
 | 
|---|
| 1053 |     silent=yes ;;
 | 
|---|
| 1054 | 
 | 
|---|
| 1055 |   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 | 
|---|
| 1056 |     ac_prev=sbindir ;;
 | 
|---|
| 1057 |   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 | 
|---|
| 1058 |   | --sbi=* | --sb=*)
 | 
|---|
| 1059 |     sbindir=$ac_optarg ;;
 | 
|---|
| 1060 | 
 | 
|---|
| 1061 |   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 | 
|---|
| 1062 |   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 | 
|---|
| 1063 |   | --sharedst | --shareds | --shared | --share | --shar \
 | 
|---|
| 1064 |   | --sha | --sh)
 | 
|---|
| 1065 |     ac_prev=sharedstatedir ;;
 | 
|---|
| 1066 |   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 | 
|---|
| 1067 |   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 | 
|---|
| 1068 |   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 | 
|---|
| 1069 |   | --sha=* | --sh=*)
 | 
|---|
| 1070 |     sharedstatedir=$ac_optarg ;;
 | 
|---|
| 1071 | 
 | 
|---|
| 1072 |   -site | --site | --sit)
 | 
|---|
| 1073 |     ac_prev=site ;;
 | 
|---|
| 1074 |   -site=* | --site=* | --sit=*)
 | 
|---|
| 1075 |     site=$ac_optarg ;;
 | 
|---|
| 1076 | 
 | 
|---|
| 1077 |   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 | 
|---|
| 1078 |     ac_prev=srcdir ;;
 | 
|---|
| 1079 |   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 | 
|---|
| 1080 |     srcdir=$ac_optarg ;;
 | 
|---|
| 1081 | 
 | 
|---|
| 1082 |   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 | 
|---|
| 1083 |   | --syscon | --sysco | --sysc | --sys | --sy)
 | 
|---|
| 1084 |     ac_prev=sysconfdir ;;
 | 
|---|
| 1085 |   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 | 
|---|
| 1086 |   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 | 
|---|
| 1087 |     sysconfdir=$ac_optarg ;;
 | 
|---|
| 1088 | 
 | 
|---|
| 1089 |   -target | --target | --targe | --targ | --tar | --ta | --t)
 | 
|---|
| 1090 |     ac_prev=target_alias ;;
 | 
|---|
| 1091 |   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 | 
|---|
| 1092 |     target_alias=$ac_optarg ;;
 | 
|---|
| 1093 | 
 | 
|---|
| 1094 |   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 | 
|---|
| 1095 |     verbose=yes ;;
 | 
|---|
| 1096 | 
 | 
|---|
| 1097 |   -version | --version | --versio | --versi | --vers | -V)
 | 
|---|
| 1098 |     ac_init_version=: ;;
 | 
|---|
| 1099 | 
 | 
|---|
| 1100 |   -with-* | --with-*)
 | 
|---|
| 1101 |     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 | 
|---|
| 1102 |     # Reject names that are not valid shell variable names.
 | 
|---|
| 1103 |     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 | 
|---|
| 1104 |       as_fn_error $? "invalid package name: $ac_useropt"
 | 
|---|
| 1105 |     ac_useropt_orig=$ac_useropt
 | 
|---|
| 1106 |     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 | 
|---|
| 1107 |     case $ac_user_opts in
 | 
|---|
| 1108 |       *"
 | 
|---|
| 1109 | "with_$ac_useropt"
 | 
|---|
| 1110 | "*) ;;
 | 
|---|
| 1111 |       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 | 
|---|
| 1112 |          ac_unrecognized_sep=', ';;
 | 
|---|
| 1113 |     esac
 | 
|---|
| 1114 |     eval with_$ac_useropt=\$ac_optarg ;;
 | 
|---|
| 1115 | 
 | 
|---|
| 1116 |   -without-* | --without-*)
 | 
|---|
| 1117 |     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 | 
|---|
| 1118 |     # Reject names that are not valid shell variable names.
 | 
|---|
| 1119 |     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 | 
|---|
| 1120 |       as_fn_error $? "invalid package name: $ac_useropt"
 | 
|---|
| 1121 |     ac_useropt_orig=$ac_useropt
 | 
|---|
| 1122 |     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 | 
|---|
| 1123 |     case $ac_user_opts in
 | 
|---|
| 1124 |       *"
 | 
|---|
| 1125 | "with_$ac_useropt"
 | 
|---|
| 1126 | "*) ;;
 | 
|---|
| 1127 |       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 | 
|---|
| 1128 |          ac_unrecognized_sep=', ';;
 | 
|---|
| 1129 |     esac
 | 
|---|
| 1130 |     eval with_$ac_useropt=no ;;
 | 
|---|
| 1131 | 
 | 
|---|
| 1132 |   --x)
 | 
|---|
| 1133 |     # Obsolete; use --with-x.
 | 
|---|
| 1134 |     with_x=yes ;;
 | 
|---|
| 1135 | 
 | 
|---|
| 1136 |   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 | 
|---|
| 1137 |   | --x-incl | --x-inc | --x-in | --x-i)
 | 
|---|
| 1138 |     ac_prev=x_includes ;;
 | 
|---|
| 1139 |   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 | 
|---|
| 1140 |   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 | 
|---|
| 1141 |     x_includes=$ac_optarg ;;
 | 
|---|
| 1142 | 
 | 
|---|
| 1143 |   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 | 
|---|
| 1144 |   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 | 
|---|
| 1145 |     ac_prev=x_libraries ;;
 | 
|---|
| 1146 |   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 | 
|---|
| 1147 |   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 | 
|---|
| 1148 |     x_libraries=$ac_optarg ;;
 | 
|---|
| 1149 | 
 | 
|---|
| 1150 |   -*) as_fn_error $? "unrecognized option: \`$ac_option'
 | 
|---|
| 1151 | Try \`$0 --help' for more information"
 | 
|---|
| 1152 |     ;;
 | 
|---|
| 1153 | 
 | 
|---|
| 1154 |   *=*)
 | 
|---|
| 1155 |     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 | 
|---|
| 1156 |     # Reject names that are not valid shell variable names.
 | 
|---|
| 1157 |     case $ac_envvar in #(
 | 
|---|
| 1158 |       '' | [0-9]* | *[!_$as_cr_alnum]* )
 | 
|---|
| 1159 |       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 | 
|---|
| 1160 |     esac
 | 
|---|
| 1161 |     eval $ac_envvar=\$ac_optarg
 | 
|---|
| 1162 |     export $ac_envvar ;;
 | 
|---|
| 1163 | 
 | 
|---|
| 1164 |   *)
 | 
|---|
| 1165 |     # FIXME: should be removed in autoconf 3.0.
 | 
|---|
| 1166 |     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 | 
|---|
| 1167 |     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 | 
|---|
| 1168 |       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 | 
|---|
| 1169 |     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 | 
|---|
| 1170 |     ;;
 | 
|---|
| 1171 | 
 | 
|---|
| 1172 |   esac
 | 
|---|
| 1173 | done
 | 
|---|
| 1174 | 
 | 
|---|
| 1175 | if test -n "$ac_prev"; then
 | 
|---|
| 1176 |   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 | 
|---|
| 1177 |   as_fn_error $? "missing argument to $ac_option"
 | 
|---|
| 1178 | fi
 | 
|---|
| 1179 | 
 | 
|---|
| 1180 | if test -n "$ac_unrecognized_opts"; then
 | 
|---|
| 1181 |   case $enable_option_checking in
 | 
|---|
| 1182 |     no) ;;
 | 
|---|
| 1183 |     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 | 
|---|
| 1184 |     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 | 
|---|
| 1185 |   esac
 | 
|---|
| 1186 | fi
 | 
|---|
| 1187 | 
 | 
|---|
| 1188 | # Check all directory arguments for consistency.
 | 
|---|
| 1189 | for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 | 
|---|
| 1190 |                 datadir sysconfdir sharedstatedir localstatedir includedir \
 | 
|---|
| 1191 |                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 | 
|---|
| 1192 |                 libdir localedir mandir
 | 
|---|
| 1193 | do
 | 
|---|
| 1194 |   eval ac_val=\$$ac_var
 | 
|---|
| 1195 |   # Remove trailing slashes.
 | 
|---|
| 1196 |   case $ac_val in
 | 
|---|
| 1197 |     */ )
 | 
|---|
| 1198 |       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 | 
|---|
| 1199 |       eval $ac_var=\$ac_val;;
 | 
|---|
| 1200 |   esac
 | 
|---|
| 1201 |   # Be sure to have absolute directory names.
 | 
|---|
| 1202 |   case $ac_val in
 | 
|---|
| 1203 |     [\\/$]* | ?:[\\/]* )  continue;;
 | 
|---|
| 1204 |     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 | 
|---|
| 1205 |   esac
 | 
|---|
| 1206 |   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 | 
|---|
| 1207 | done
 | 
|---|
| 1208 | 
 | 
|---|
| 1209 | # There might be people who depend on the old broken behavior: `$host'
 | 
|---|
| 1210 | # used to hold the argument of --host etc.
 | 
|---|
| 1211 | # FIXME: To remove some day.
 | 
|---|
| 1212 | build=$build_alias
 | 
|---|
| 1213 | host=$host_alias
 | 
|---|
| 1214 | target=$target_alias
 | 
|---|
| 1215 | 
 | 
|---|
| 1216 | # FIXME: To remove some day.
 | 
|---|
| 1217 | if test "x$host_alias" != x; then
 | 
|---|
| 1218 |   if test "x$build_alias" = x; then
 | 
|---|
| 1219 |     cross_compiling=maybe
 | 
|---|
| 1220 |     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 | 
|---|
| 1221 |     If a cross compiler is detected then cross compile mode will be used" >&2
 | 
|---|
| 1222 |   elif test "x$build_alias" != "x$host_alias"; then
 | 
|---|
| 1223 |     cross_compiling=yes
 | 
|---|
| 1224 |   fi
 | 
|---|
| 1225 | fi
 | 
|---|
| 1226 | 
 | 
|---|
| 1227 | ac_tool_prefix=
 | 
|---|
| 1228 | test -n "$host_alias" && ac_tool_prefix=$host_alias-
 | 
|---|
| 1229 | 
 | 
|---|
| 1230 | test "$silent" = yes && exec 6>/dev/null
 | 
|---|
| 1231 | 
 | 
|---|
| 1232 | 
 | 
|---|
| 1233 | ac_pwd=`pwd` && test -n "$ac_pwd" &&
 | 
|---|
| 1234 | ac_ls_di=`ls -di .` &&
 | 
|---|
| 1235 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 | 
|---|
| 1236 |   as_fn_error $? "working directory cannot be determined"
 | 
|---|
| 1237 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 | 
|---|
| 1238 |   as_fn_error $? "pwd does not report name of working directory"
 | 
|---|
| 1239 | 
 | 
|---|
| 1240 | 
 | 
|---|
| 1241 | # Find the source files, if location was not specified.
 | 
|---|
| 1242 | if test -z "$srcdir"; then
 | 
|---|
| 1243 |   ac_srcdir_defaulted=yes
 | 
|---|
| 1244 |   # Try the directory containing this script, then the parent directory.
 | 
|---|
| 1245 |   ac_confdir=`$as_dirname -- "$as_myself" ||
 | 
|---|
| 1246 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 | 
|---|
| 1247 |          X"$as_myself" : 'X\(//\)[^/]' \| \
 | 
|---|
| 1248 |          X"$as_myself" : 'X\(//\)$' \| \
 | 
|---|
| 1249 |          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 1250 | $as_echo X"$as_myself" |
 | 
|---|
| 1251 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 | 
|---|
| 1252 |             s//\1/
 | 
|---|
| 1253 |             q
 | 
|---|
| 1254 |           }
 | 
|---|
| 1255 |           /^X\(\/\/\)[^/].*/{
 | 
|---|
| 1256 |             s//\1/
 | 
|---|
| 1257 |             q
 | 
|---|
| 1258 |           }
 | 
|---|
| 1259 |           /^X\(\/\/\)$/{
 | 
|---|
| 1260 |             s//\1/
 | 
|---|
| 1261 |             q
 | 
|---|
| 1262 |           }
 | 
|---|
| 1263 |           /^X\(\/\).*/{
 | 
|---|
| 1264 |             s//\1/
 | 
|---|
| 1265 |             q
 | 
|---|
| 1266 |           }
 | 
|---|
| 1267 |           s/.*/./; q'`
 | 
|---|
| 1268 |   srcdir=$ac_confdir
 | 
|---|
| 1269 |   if test ! -r "$srcdir/$ac_unique_file"; then
 | 
|---|
| 1270 |     srcdir=..
 | 
|---|
| 1271 |   fi
 | 
|---|
| 1272 | else
 | 
|---|
| 1273 |   ac_srcdir_defaulted=no
 | 
|---|
| 1274 | fi
 | 
|---|
| 1275 | if test ! -r "$srcdir/$ac_unique_file"; then
 | 
|---|
| 1276 |   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 | 
|---|
| 1277 |   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 | 
|---|
| 1278 | fi
 | 
|---|
| 1279 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 | 
|---|
| 1280 | ac_abs_confdir=`(
 | 
|---|
| 1281 |         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 | 
|---|
| 1282 |         pwd)`
 | 
|---|
| 1283 | # When building in place, set srcdir=.
 | 
|---|
| 1284 | if test "$ac_abs_confdir" = "$ac_pwd"; then
 | 
|---|
| 1285 |   srcdir=.
 | 
|---|
| 1286 | fi
 | 
|---|
| 1287 | # Remove unnecessary trailing slashes from srcdir.
 | 
|---|
| 1288 | # Double slashes in file names in object file debugging info
 | 
|---|
| 1289 | # mess up M-x gdb in Emacs.
 | 
|---|
| 1290 | case $srcdir in
 | 
|---|
| 1291 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 | 
|---|
| 1292 | esac
 | 
|---|
| 1293 | for ac_var in $ac_precious_vars; do
 | 
|---|
| 1294 |   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 | 
|---|
| 1295 |   eval ac_env_${ac_var}_value=\$${ac_var}
 | 
|---|
| 1296 |   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 | 
|---|
| 1297 |   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 | 
|---|
| 1298 | done
 | 
|---|
| 1299 | 
 | 
|---|
| 1300 | #
 | 
|---|
| 1301 | # Report the --help message.
 | 
|---|
| 1302 | #
 | 
|---|
| 1303 | if test "$ac_init_help" = "long"; then
 | 
|---|
| 1304 |   # Omit some internal or obsolete options to make the list less imposing.
 | 
|---|
| 1305 |   # This message is too long to be a string in the A/UX 3.1 sh.
 | 
|---|
| 1306 |   cat <<_ACEOF
 | 
|---|
| 1307 | \`configure' configures cfa-cc 1.0.0.0 to adapt to many kinds of systems.
 | 
|---|
| 1308 | 
 | 
|---|
| 1309 | Usage: $0 [OPTION]... [VAR=VALUE]...
 | 
|---|
| 1310 | 
 | 
|---|
| 1311 | To assign environment variables (e.g., CC, CFLAGS...), specify them as
 | 
|---|
| 1312 | VAR=VALUE.  See below for descriptions of some of the useful variables.
 | 
|---|
| 1313 | 
 | 
|---|
| 1314 | Defaults for the options are specified in brackets.
 | 
|---|
| 1315 | 
 | 
|---|
| 1316 | Configuration:
 | 
|---|
| 1317 |   -h, --help              display this help and exit
 | 
|---|
| 1318 |       --help=short        display options specific to this package
 | 
|---|
| 1319 |       --help=recursive    display the short help of all the included packages
 | 
|---|
| 1320 |   -V, --version           display version information and exit
 | 
|---|
| 1321 |   -q, --quiet, --silent   do not print \`checking ...' messages
 | 
|---|
| 1322 |       --cache-file=FILE   cache test results in FILE [disabled]
 | 
|---|
| 1323 |   -C, --config-cache      alias for \`--cache-file=config.cache'
 | 
|---|
| 1324 |   -n, --no-create         do not create output files
 | 
|---|
| 1325 |       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 | 
|---|
| 1326 | 
 | 
|---|
| 1327 | Installation directories:
 | 
|---|
| 1328 |   --prefix=PREFIX         install architecture-independent files in PREFIX
 | 
|---|
| 1329 |                           [$ac_default_prefix]
 | 
|---|
| 1330 |   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 | 
|---|
| 1331 |                           [PREFIX]
 | 
|---|
| 1332 | 
 | 
|---|
| 1333 | By default, \`make install' will install all the files in
 | 
|---|
| 1334 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 | 
|---|
| 1335 | an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 | 
|---|
| 1336 | for instance \`--prefix=\$HOME'.
 | 
|---|
| 1337 | 
 | 
|---|
| 1338 | For better control, use the options below.
 | 
|---|
| 1339 | 
 | 
|---|
| 1340 | Fine tuning of the installation directories:
 | 
|---|
| 1341 |   --bindir=DIR            user executables [EPREFIX/bin]
 | 
|---|
| 1342 |   --sbindir=DIR           system admin executables [EPREFIX/sbin]
 | 
|---|
| 1343 |   --libexecdir=DIR        program executables [EPREFIX/libexec]
 | 
|---|
| 1344 |   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 | 
|---|
| 1345 |   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 | 
|---|
| 1346 |   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 | 
|---|
| 1347 |   --libdir=DIR            object code libraries [EPREFIX/lib]
 | 
|---|
| 1348 |   --includedir=DIR        C header files [PREFIX/include]
 | 
|---|
| 1349 |   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 | 
|---|
| 1350 |   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 | 
|---|
| 1351 |   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 | 
|---|
| 1352 |   --infodir=DIR           info documentation [DATAROOTDIR/info]
 | 
|---|
| 1353 |   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 | 
|---|
| 1354 |   --mandir=DIR            man documentation [DATAROOTDIR/man]
 | 
|---|
| 1355 |   --docdir=DIR            documentation root [DATAROOTDIR/doc/cfa-cc]
 | 
|---|
| 1356 |   --htmldir=DIR           html documentation [DOCDIR]
 | 
|---|
| 1357 |   --dvidir=DIR            dvi documentation [DOCDIR]
 | 
|---|
| 1358 |   --pdfdir=DIR            pdf documentation [DOCDIR]
 | 
|---|
| 1359 |   --psdir=DIR             ps documentation [DOCDIR]
 | 
|---|
| 1360 | _ACEOF
 | 
|---|
| 1361 | 
 | 
|---|
| 1362 |   cat <<\_ACEOF
 | 
|---|
| 1363 | 
 | 
|---|
| 1364 | Program names:
 | 
|---|
| 1365 |   --program-prefix=PREFIX            prepend PREFIX to installed program names
 | 
|---|
| 1366 |   --program-suffix=SUFFIX            append SUFFIX to installed program names
 | 
|---|
| 1367 |   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 | 
|---|
| 1368 | 
 | 
|---|
| 1369 | System types:
 | 
|---|
| 1370 |   --build=BUILD     configure for building on BUILD [guessed]
 | 
|---|
| 1371 |   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 | 
|---|
| 1372 | _ACEOF
 | 
|---|
| 1373 | fi
 | 
|---|
| 1374 | 
 | 
|---|
| 1375 | if test -n "$ac_init_help"; then
 | 
|---|
| 1376 |   case $ac_init_help in
 | 
|---|
| 1377 |      short | recursive ) echo "Configuration of cfa-cc 1.0.0.0:";;
 | 
|---|
| 1378 |    esac
 | 
|---|
| 1379 |   cat <<\_ACEOF
 | 
|---|
| 1380 | 
 | 
|---|
| 1381 | Optional Features:
 | 
|---|
| 1382 |   --disable-option-checking  ignore unrecognized --enable/--with options
 | 
|---|
| 1383 |   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 | 
|---|
| 1384 |   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 | 
|---|
| 1385 |   --enable-silent-rules          less verbose build output (undo: `make V=1')
 | 
|---|
| 1386 |   --disable-silent-rules         verbose build output (undo: `make V=0')
 | 
|---|
| 1387 |   --disable-maintainer-mode  disable make rules and dependencies not useful
 | 
|---|
| 1388 |                           (and sometimes confusing) to the casual installer
 | 
|---|
| 1389 |   --enable-target-release Build and install the release target
 | 
|---|
| 1390 |   --enable-target-debug   Build and install the debug target
 | 
|---|
| 1391 |   --enable-threading      Build and install libcfa with threading support
 | 
|---|
| 1392 |                           (Enabled by default)
 | 
|---|
| 1393 |   --disable-dependency-tracking  speeds up one-time build
 | 
|---|
| 1394 |   --enable-dependency-tracking   do not reject slow dependency extractors
 | 
|---|
| 1395 | 
 | 
|---|
| 1396 | Optional Packages:
 | 
|---|
| 1397 |   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 | 
|---|
| 1398 |   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 | 
|---|
| 1399 |   --with-backend-compiler=PROGRAM     PROGRAM that performs the final code compilation (must be gcc-compatible)
 | 
|---|
| 1400 | 
 | 
|---|
| 1401 | Some influential environment variables:
 | 
|---|
| 1402 |   CXX         C++ compiler command
 | 
|---|
| 1403 |   CXXFLAGS    C++ compiler flags
 | 
|---|
| 1404 |   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 | 
|---|
| 1405 |               nonstandard directory <lib dir>
 | 
|---|
| 1406 |   LIBS        libraries to pass to the linker, e.g. -l<library>
 | 
|---|
| 1407 |   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 | 
|---|
| 1408 |               you have headers in a nonstandard directory <include dir>
 | 
|---|
| 1409 |   CC          C compiler command
 | 
|---|
| 1410 |   CFLAGS      C compiler flags
 | 
|---|
| 1411 |   CCAS        assembler compiler command (defaults to CC)
 | 
|---|
| 1412 |   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
 | 
|---|
| 1413 |   YACC        The `Yet Another Compiler Compiler' implementation to use.
 | 
|---|
| 1414 |               Defaults to the first program found out of: `bison -y', `byacc',
 | 
|---|
| 1415 |               `yacc'.
 | 
|---|
| 1416 |   YFLAGS      The list of arguments that will be passed by default to $YACC.
 | 
|---|
| 1417 |               This script will default YFLAGS to the empty string to avoid a
 | 
|---|
| 1418 |               default value of `-d' given by some make applications.
 | 
|---|
| 1419 |   CPP         C preprocessor
 | 
|---|
| 1420 | 
 | 
|---|
| 1421 | Use these variables to override the choices made by `configure' or to help
 | 
|---|
| 1422 | it to find libraries and programs with nonstandard names/locations.
 | 
|---|
| 1423 | 
 | 
|---|
| 1424 | Report bugs to <cforall@plg.uwaterloo.ca>.
 | 
|---|
| 1425 | _ACEOF
 | 
|---|
| 1426 | ac_status=$?
 | 
|---|
| 1427 | fi
 | 
|---|
| 1428 | 
 | 
|---|
| 1429 | if test "$ac_init_help" = "recursive"; then
 | 
|---|
| 1430 |   # If there are subdirs, report their specific --help.
 | 
|---|
| 1431 |   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 | 
|---|
| 1432 |     test -d "$ac_dir" ||
 | 
|---|
| 1433 |       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 | 
|---|
| 1434 |       continue
 | 
|---|
| 1435 |     ac_builddir=.
 | 
|---|
| 1436 | 
 | 
|---|
| 1437 | case "$ac_dir" in
 | 
|---|
| 1438 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 | 
|---|
| 1439 | *)
 | 
|---|
| 1440 |   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 | 
|---|
| 1441 |   # A ".." for each directory in $ac_dir_suffix.
 | 
|---|
| 1442 |   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 | 
|---|
| 1443 |   case $ac_top_builddir_sub in
 | 
|---|
| 1444 |   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 | 
|---|
| 1445 |   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 | 
|---|
| 1446 |   esac ;;
 | 
|---|
| 1447 | esac
 | 
|---|
| 1448 | ac_abs_top_builddir=$ac_pwd
 | 
|---|
| 1449 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
 | 
|---|
| 1450 | # for backward compatibility:
 | 
|---|
| 1451 | ac_top_builddir=$ac_top_build_prefix
 | 
|---|
| 1452 | 
 | 
|---|
| 1453 | case $srcdir in
 | 
|---|
| 1454 |   .)  # We are building in place.
 | 
|---|
| 1455 |     ac_srcdir=.
 | 
|---|
| 1456 |     ac_top_srcdir=$ac_top_builddir_sub
 | 
|---|
| 1457 |     ac_abs_top_srcdir=$ac_pwd ;;
 | 
|---|
| 1458 |   [\\/]* | ?:[\\/]* )  # Absolute name.
 | 
|---|
| 1459 |     ac_srcdir=$srcdir$ac_dir_suffix;
 | 
|---|
| 1460 |     ac_top_srcdir=$srcdir
 | 
|---|
| 1461 |     ac_abs_top_srcdir=$srcdir ;;
 | 
|---|
| 1462 |   *) # Relative name.
 | 
|---|
| 1463 |     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 | 
|---|
| 1464 |     ac_top_srcdir=$ac_top_build_prefix$srcdir
 | 
|---|
| 1465 |     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 | 
|---|
| 1466 | esac
 | 
|---|
| 1467 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 | 
|---|
| 1468 | 
 | 
|---|
| 1469 |     cd "$ac_dir" || { ac_status=$?; continue; }
 | 
|---|
| 1470 |     # Check for guested configure.
 | 
|---|
| 1471 |     if test -f "$ac_srcdir/configure.gnu"; then
 | 
|---|
| 1472 |       echo &&
 | 
|---|
| 1473 |       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 | 
|---|
| 1474 |     elif test -f "$ac_srcdir/configure"; then
 | 
|---|
| 1475 |       echo &&
 | 
|---|
| 1476 |       $SHELL "$ac_srcdir/configure" --help=recursive
 | 
|---|
| 1477 |     else
 | 
|---|
| 1478 |       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 | 
|---|
| 1479 |     fi || ac_status=$?
 | 
|---|
| 1480 |     cd "$ac_pwd" || { ac_status=$?; break; }
 | 
|---|
| 1481 |   done
 | 
|---|
| 1482 | fi
 | 
|---|
| 1483 | 
 | 
|---|
| 1484 | test -n "$ac_init_help" && exit $ac_status
 | 
|---|
| 1485 | if $ac_init_version; then
 | 
|---|
| 1486 |   cat <<\_ACEOF
 | 
|---|
| 1487 | cfa-cc configure 1.0.0.0
 | 
|---|
| 1488 | generated by GNU Autoconf 2.68
 | 
|---|
| 1489 | 
 | 
|---|
| 1490 | Copyright (C) 2010 Free Software Foundation, Inc.
 | 
|---|
| 1491 | This configure script is free software; the Free Software Foundation
 | 
|---|
| 1492 | gives unlimited permission to copy, distribute and modify it.
 | 
|---|
| 1493 | _ACEOF
 | 
|---|
| 1494 |   exit
 | 
|---|
| 1495 | fi
 | 
|---|
| 1496 | 
 | 
|---|
| 1497 | ## ------------------------ ##
 | 
|---|
| 1498 | ## Autoconf initialization. ##
 | 
|---|
| 1499 | ## ------------------------ ##
 | 
|---|
| 1500 | 
 | 
|---|
| 1501 | # ac_fn_cxx_try_compile LINENO
 | 
|---|
| 1502 | # ----------------------------
 | 
|---|
| 1503 | # Try to compile conftest.$ac_ext, and return whether this succeeded.
 | 
|---|
| 1504 | ac_fn_cxx_try_compile ()
 | 
|---|
| 1505 | {
 | 
|---|
| 1506 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1507 |   rm -f conftest.$ac_objext
 | 
|---|
| 1508 |   if { { ac_try="$ac_compile"
 | 
|---|
| 1509 | case "(($ac_try" in
 | 
|---|
| 1510 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 1511 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 1512 | esac
 | 
|---|
| 1513 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 1514 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 1515 |   (eval "$ac_compile") 2>conftest.err
 | 
|---|
| 1516 |   ac_status=$?
 | 
|---|
| 1517 |   if test -s conftest.err; then
 | 
|---|
| 1518 |     grep -v '^ *+' conftest.err >conftest.er1
 | 
|---|
| 1519 |     cat conftest.er1 >&5
 | 
|---|
| 1520 |     mv -f conftest.er1 conftest.err
 | 
|---|
| 1521 |   fi
 | 
|---|
| 1522 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 1523 |   test $ac_status = 0; } && {
 | 
|---|
| 1524 |          test -z "$ac_cxx_werror_flag" ||
 | 
|---|
| 1525 |          test ! -s conftest.err
 | 
|---|
| 1526 |        } && test -s conftest.$ac_objext; then :
 | 
|---|
| 1527 |   ac_retval=0
 | 
|---|
| 1528 | else
 | 
|---|
| 1529 |   $as_echo "$as_me: failed program was:" >&5
 | 
|---|
| 1530 | sed 's/^/| /' conftest.$ac_ext >&5
 | 
|---|
| 1531 | 
 | 
|---|
| 1532 |         ac_retval=1
 | 
|---|
| 1533 | fi
 | 
|---|
| 1534 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1535 |   as_fn_set_status $ac_retval
 | 
|---|
| 1536 | 
 | 
|---|
| 1537 | } # ac_fn_cxx_try_compile
 | 
|---|
| 1538 | 
 | 
|---|
| 1539 | # ac_fn_c_try_compile LINENO
 | 
|---|
| 1540 | # --------------------------
 | 
|---|
| 1541 | # Try to compile conftest.$ac_ext, and return whether this succeeded.
 | 
|---|
| 1542 | ac_fn_c_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_c_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_c_try_compile
 | 
|---|
| 1576 | 
 | 
|---|
| 1577 | # ac_fn_c_try_link LINENO
 | 
|---|
| 1578 | # -----------------------
 | 
|---|
| 1579 | # Try to link conftest.$ac_ext, and return whether this succeeded.
 | 
|---|
| 1580 | ac_fn_c_try_link ()
 | 
|---|
| 1581 | {
 | 
|---|
| 1582 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1583 |   rm -f conftest.$ac_objext conftest$ac_exeext
 | 
|---|
| 1584 |   if { { ac_try="$ac_link"
 | 
|---|
| 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_link") 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_exeext && {
 | 
|---|
| 1603 |          test "$cross_compiling" = yes ||
 | 
|---|
| 1604 |          $as_test_x conftest$ac_exeext
 | 
|---|
| 1605 |        }; then :
 | 
|---|
| 1606 |   ac_retval=0
 | 
|---|
| 1607 | else
 | 
|---|
| 1608 |   $as_echo "$as_me: failed program was:" >&5
 | 
|---|
| 1609 | sed 's/^/| /' conftest.$ac_ext >&5
 | 
|---|
| 1610 | 
 | 
|---|
| 1611 |         ac_retval=1
 | 
|---|
| 1612 | fi
 | 
|---|
| 1613 |   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 | 
|---|
| 1614 |   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 | 
|---|
| 1615 |   # interfere with the next link command; also delete a directory that is
 | 
|---|
| 1616 |   # left behind by Apple's compiler.  We do this before executing the actions.
 | 
|---|
| 1617 |   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 | 
|---|
| 1618 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1619 |   as_fn_set_status $ac_retval
 | 
|---|
| 1620 | 
 | 
|---|
| 1621 | } # ac_fn_c_try_link
 | 
|---|
| 1622 | 
 | 
|---|
| 1623 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 | 
|---|
| 1624 | # -------------------------------------------
 | 
|---|
| 1625 | # Tests whether TYPE exists after having included INCLUDES, setting cache
 | 
|---|
| 1626 | # variable VAR accordingly.
 | 
|---|
| 1627 | ac_fn_c_check_type ()
 | 
|---|
| 1628 | {
 | 
|---|
| 1629 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1630 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 | 
|---|
| 1631 | $as_echo_n "checking for $2... " >&6; }
 | 
|---|
| 1632 | if eval \${$3+:} false; then :
 | 
|---|
| 1633 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 1634 | else
 | 
|---|
| 1635 |   eval "$3=no"
 | 
|---|
| 1636 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 1637 | /* end confdefs.h.  */
 | 
|---|
| 1638 | $4
 | 
|---|
| 1639 | int
 | 
|---|
| 1640 | main ()
 | 
|---|
| 1641 | {
 | 
|---|
| 1642 | if (sizeof ($2))
 | 
|---|
| 1643 |          return 0;
 | 
|---|
| 1644 |   ;
 | 
|---|
| 1645 |   return 0;
 | 
|---|
| 1646 | }
 | 
|---|
| 1647 | _ACEOF
 | 
|---|
| 1648 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 1649 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 1650 | /* end confdefs.h.  */
 | 
|---|
| 1651 | $4
 | 
|---|
| 1652 | int
 | 
|---|
| 1653 | main ()
 | 
|---|
| 1654 | {
 | 
|---|
| 1655 | if (sizeof (($2)))
 | 
|---|
| 1656 |             return 0;
 | 
|---|
| 1657 |   ;
 | 
|---|
| 1658 |   return 0;
 | 
|---|
| 1659 | }
 | 
|---|
| 1660 | _ACEOF
 | 
|---|
| 1661 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 1662 | 
 | 
|---|
| 1663 | else
 | 
|---|
| 1664 |   eval "$3=yes"
 | 
|---|
| 1665 | fi
 | 
|---|
| 1666 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 1667 | fi
 | 
|---|
| 1668 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 1669 | fi
 | 
|---|
| 1670 | eval ac_res=\$$3
 | 
|---|
| 1671 |                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 | 
|---|
| 1672 | $as_echo "$ac_res" >&6; }
 | 
|---|
| 1673 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1674 | 
 | 
|---|
| 1675 | } # ac_fn_c_check_type
 | 
|---|
| 1676 | 
 | 
|---|
| 1677 | # ac_fn_c_try_cpp LINENO
 | 
|---|
| 1678 | # ----------------------
 | 
|---|
| 1679 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 | 
|---|
| 1680 | ac_fn_c_try_cpp ()
 | 
|---|
| 1681 | {
 | 
|---|
| 1682 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1683 |   if { { ac_try="$ac_cpp conftest.$ac_ext"
 | 
|---|
| 1684 | case "(($ac_try" in
 | 
|---|
| 1685 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 1686 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 1687 | esac
 | 
|---|
| 1688 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 1689 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 1690 |   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 | 
|---|
| 1691 |   ac_status=$?
 | 
|---|
| 1692 |   if test -s conftest.err; then
 | 
|---|
| 1693 |     grep -v '^ *+' conftest.err >conftest.er1
 | 
|---|
| 1694 |     cat conftest.er1 >&5
 | 
|---|
| 1695 |     mv -f conftest.er1 conftest.err
 | 
|---|
| 1696 |   fi
 | 
|---|
| 1697 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 1698 |   test $ac_status = 0; } > conftest.i && {
 | 
|---|
| 1699 |          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 | 
|---|
| 1700 |          test ! -s conftest.err
 | 
|---|
| 1701 |        }; then :
 | 
|---|
| 1702 |   ac_retval=0
 | 
|---|
| 1703 | else
 | 
|---|
| 1704 |   $as_echo "$as_me: failed program was:" >&5
 | 
|---|
| 1705 | sed 's/^/| /' conftest.$ac_ext >&5
 | 
|---|
| 1706 | 
 | 
|---|
| 1707 |     ac_retval=1
 | 
|---|
| 1708 | fi
 | 
|---|
| 1709 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1710 |   as_fn_set_status $ac_retval
 | 
|---|
| 1711 | 
 | 
|---|
| 1712 | } # ac_fn_c_try_cpp
 | 
|---|
| 1713 | 
 | 
|---|
| 1714 | # ac_fn_c_try_run LINENO
 | 
|---|
| 1715 | # ----------------------
 | 
|---|
| 1716 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 | 
|---|
| 1717 | # that executables *can* be run.
 | 
|---|
| 1718 | ac_fn_c_try_run ()
 | 
|---|
| 1719 | {
 | 
|---|
| 1720 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1721 |   if { { ac_try="$ac_link"
 | 
|---|
| 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_link") 2>&5
 | 
|---|
| 1729 |   ac_status=$?
 | 
|---|
| 1730 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 1731 |   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 | 
|---|
| 1732 |   { { case "(($ac_try" in
 | 
|---|
| 1733 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 1734 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 1735 | esac
 | 
|---|
| 1736 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 1737 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 1738 |   (eval "$ac_try") 2>&5
 | 
|---|
| 1739 |   ac_status=$?
 | 
|---|
| 1740 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 1741 |   test $ac_status = 0; }; }; then :
 | 
|---|
| 1742 |   ac_retval=0
 | 
|---|
| 1743 | else
 | 
|---|
| 1744 |   $as_echo "$as_me: program exited with status $ac_status" >&5
 | 
|---|
| 1745 |        $as_echo "$as_me: failed program was:" >&5
 | 
|---|
| 1746 | sed 's/^/| /' conftest.$ac_ext >&5
 | 
|---|
| 1747 | 
 | 
|---|
| 1748 |        ac_retval=$ac_status
 | 
|---|
| 1749 | fi
 | 
|---|
| 1750 |   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 | 
|---|
| 1751 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1752 |   as_fn_set_status $ac_retval
 | 
|---|
| 1753 | 
 | 
|---|
| 1754 | } # ac_fn_c_try_run
 | 
|---|
| 1755 | 
 | 
|---|
| 1756 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 | 
|---|
| 1757 | # -------------------------------------------------------
 | 
|---|
| 1758 | # Tests whether HEADER exists and can be compiled using the include files in
 | 
|---|
| 1759 | # INCLUDES, setting the cache variable VAR accordingly.
 | 
|---|
| 1760 | ac_fn_c_check_header_compile ()
 | 
|---|
| 1761 | {
 | 
|---|
| 1762 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1763 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 | 
|---|
| 1764 | $as_echo_n "checking for $2... " >&6; }
 | 
|---|
| 1765 | if eval \${$3+:} false; then :
 | 
|---|
| 1766 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 1767 | else
 | 
|---|
| 1768 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 1769 | /* end confdefs.h.  */
 | 
|---|
| 1770 | $4
 | 
|---|
| 1771 | #include <$2>
 | 
|---|
| 1772 | _ACEOF
 | 
|---|
| 1773 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 1774 |   eval "$3=yes"
 | 
|---|
| 1775 | else
 | 
|---|
| 1776 |   eval "$3=no"
 | 
|---|
| 1777 | fi
 | 
|---|
| 1778 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 1779 | fi
 | 
|---|
| 1780 | eval ac_res=\$$3
 | 
|---|
| 1781 |                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 | 
|---|
| 1782 | $as_echo "$ac_res" >&6; }
 | 
|---|
| 1783 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1784 | 
 | 
|---|
| 1785 | } # ac_fn_c_check_header_compile
 | 
|---|
| 1786 | 
 | 
|---|
| 1787 | # ac_fn_c_check_func LINENO FUNC VAR
 | 
|---|
| 1788 | # ----------------------------------
 | 
|---|
| 1789 | # Tests whether FUNC exists, setting the cache variable VAR accordingly
 | 
|---|
| 1790 | ac_fn_c_check_func ()
 | 
|---|
| 1791 | {
 | 
|---|
| 1792 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1793 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 | 
|---|
| 1794 | $as_echo_n "checking for $2... " >&6; }
 | 
|---|
| 1795 | if eval \${$3+:} false; then :
 | 
|---|
| 1796 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 1797 | else
 | 
|---|
| 1798 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 1799 | /* end confdefs.h.  */
 | 
|---|
| 1800 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 | 
|---|
| 1801 |    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 | 
|---|
| 1802 | #define $2 innocuous_$2
 | 
|---|
| 1803 | 
 | 
|---|
| 1804 | /* System header to define __stub macros and hopefully few prototypes,
 | 
|---|
| 1805 |     which can conflict with char $2 (); below.
 | 
|---|
| 1806 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 | 
|---|
| 1807 |     <limits.h> exists even on freestanding compilers.  */
 | 
|---|
| 1808 | 
 | 
|---|
| 1809 | #ifdef __STDC__
 | 
|---|
| 1810 | # include <limits.h>
 | 
|---|
| 1811 | #else
 | 
|---|
| 1812 | # include <assert.h>
 | 
|---|
| 1813 | #endif
 | 
|---|
| 1814 | 
 | 
|---|
| 1815 | #undef $2
 | 
|---|
| 1816 | 
 | 
|---|
| 1817 | /* Override any GCC internal prototype to avoid an error.
 | 
|---|
| 1818 |    Use char because int might match the return type of a GCC
 | 
|---|
| 1819 |    builtin and then its argument prototype would still apply.  */
 | 
|---|
| 1820 | #ifdef __cplusplus
 | 
|---|
| 1821 | extern "C"
 | 
|---|
| 1822 | #endif
 | 
|---|
| 1823 | char $2 ();
 | 
|---|
| 1824 | /* The GNU C library defines this for functions which it implements
 | 
|---|
| 1825 |     to always fail with ENOSYS.  Some functions are actually named
 | 
|---|
| 1826 |     something starting with __ and the normal name is an alias.  */
 | 
|---|
| 1827 | #if defined __stub_$2 || defined __stub___$2
 | 
|---|
| 1828 | choke me
 | 
|---|
| 1829 | #endif
 | 
|---|
| 1830 | 
 | 
|---|
| 1831 | int
 | 
|---|
| 1832 | main ()
 | 
|---|
| 1833 | {
 | 
|---|
| 1834 | return $2 ();
 | 
|---|
| 1835 |   ;
 | 
|---|
| 1836 |   return 0;
 | 
|---|
| 1837 | }
 | 
|---|
| 1838 | _ACEOF
 | 
|---|
| 1839 | if ac_fn_c_try_link "$LINENO"; then :
 | 
|---|
| 1840 |   eval "$3=yes"
 | 
|---|
| 1841 | else
 | 
|---|
| 1842 |   eval "$3=no"
 | 
|---|
| 1843 | fi
 | 
|---|
| 1844 | rm -f core conftest.err conftest.$ac_objext \
 | 
|---|
| 1845 |     conftest$ac_exeext conftest.$ac_ext
 | 
|---|
| 1846 | fi
 | 
|---|
| 1847 | eval ac_res=\$$3
 | 
|---|
| 1848 |                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 | 
|---|
| 1849 | $as_echo "$ac_res" >&6; }
 | 
|---|
| 1850 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1851 | 
 | 
|---|
| 1852 | } # ac_fn_c_check_func
 | 
|---|
| 1853 | 
 | 
|---|
| 1854 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 | 
|---|
| 1855 | # -------------------------------------------------------
 | 
|---|
| 1856 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using
 | 
|---|
| 1857 | # the include files in INCLUDES and setting the cache variable VAR
 | 
|---|
| 1858 | # accordingly.
 | 
|---|
| 1859 | ac_fn_c_check_header_mongrel ()
 | 
|---|
| 1860 | {
 | 
|---|
| 1861 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1862 |   if eval \${$3+:} false; then :
 | 
|---|
| 1863 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 | 
|---|
| 1864 | $as_echo_n "checking for $2... " >&6; }
 | 
|---|
| 1865 | if eval \${$3+:} false; then :
 | 
|---|
| 1866 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 1867 | fi
 | 
|---|
| 1868 | eval ac_res=\$$3
 | 
|---|
| 1869 |                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 | 
|---|
| 1870 | $as_echo "$ac_res" >&6; }
 | 
|---|
| 1871 | else
 | 
|---|
| 1872 |   # Is the header compilable?
 | 
|---|
| 1873 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 | 
|---|
| 1874 | $as_echo_n "checking $2 usability... " >&6; }
 | 
|---|
| 1875 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 1876 | /* end confdefs.h.  */
 | 
|---|
| 1877 | $4
 | 
|---|
| 1878 | #include <$2>
 | 
|---|
| 1879 | _ACEOF
 | 
|---|
| 1880 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 1881 |   ac_header_compiler=yes
 | 
|---|
| 1882 | else
 | 
|---|
| 1883 |   ac_header_compiler=no
 | 
|---|
| 1884 | fi
 | 
|---|
| 1885 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 1886 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 | 
|---|
| 1887 | $as_echo "$ac_header_compiler" >&6; }
 | 
|---|
| 1888 | 
 | 
|---|
| 1889 | # Is the header present?
 | 
|---|
| 1890 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 | 
|---|
| 1891 | $as_echo_n "checking $2 presence... " >&6; }
 | 
|---|
| 1892 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 1893 | /* end confdefs.h.  */
 | 
|---|
| 1894 | #include <$2>
 | 
|---|
| 1895 | _ACEOF
 | 
|---|
| 1896 | if ac_fn_c_try_cpp "$LINENO"; then :
 | 
|---|
| 1897 |   ac_header_preproc=yes
 | 
|---|
| 1898 | else
 | 
|---|
| 1899 |   ac_header_preproc=no
 | 
|---|
| 1900 | fi
 | 
|---|
| 1901 | rm -f conftest.err conftest.i conftest.$ac_ext
 | 
|---|
| 1902 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 | 
|---|
| 1903 | $as_echo "$ac_header_preproc" >&6; }
 | 
|---|
| 1904 | 
 | 
|---|
| 1905 | # So?  What about this header?
 | 
|---|
| 1906 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 | 
|---|
| 1907 |   yes:no: )
 | 
|---|
| 1908 |     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 | 
|---|
| 1909 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 | 
|---|
| 1910 |     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 | 
|---|
| 1911 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 | 
|---|
| 1912 |     ;;
 | 
|---|
| 1913 |   no:yes:* )
 | 
|---|
| 1914 |     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 | 
|---|
| 1915 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 | 
|---|
| 1916 |     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 | 
|---|
| 1917 | $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 | 
|---|
| 1918 |     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 | 
|---|
| 1919 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 | 
|---|
| 1920 |     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 | 
|---|
| 1921 | $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 | 
|---|
| 1922 |     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 | 
|---|
| 1923 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 | 
|---|
| 1924 | ( $as_echo "## --------------------------------------- ##
 | 
|---|
| 1925 | ## Report this to cforall@plg.uwaterloo.ca ##
 | 
|---|
| 1926 | ## --------------------------------------- ##"
 | 
|---|
| 1927 |      ) | sed "s/^/$as_me: WARNING:     /" >&2
 | 
|---|
| 1928 |     ;;
 | 
|---|
| 1929 | esac
 | 
|---|
| 1930 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 | 
|---|
| 1931 | $as_echo_n "checking for $2... " >&6; }
 | 
|---|
| 1932 | if eval \${$3+:} false; then :
 | 
|---|
| 1933 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 1934 | else
 | 
|---|
| 1935 |   eval "$3=\$ac_header_compiler"
 | 
|---|
| 1936 | fi
 | 
|---|
| 1937 | eval ac_res=\$$3
 | 
|---|
| 1938 |                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 | 
|---|
| 1939 | $as_echo "$ac_res" >&6; }
 | 
|---|
| 1940 | fi
 | 
|---|
| 1941 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1942 | 
 | 
|---|
| 1943 | } # ac_fn_c_check_header_mongrel
 | 
|---|
| 1944 | 
 | 
|---|
| 1945 | # ac_fn_c_find_intX_t LINENO BITS VAR
 | 
|---|
| 1946 | # -----------------------------------
 | 
|---|
| 1947 | # Finds a signed integer type with width BITS, setting cache variable VAR
 | 
|---|
| 1948 | # accordingly.
 | 
|---|
| 1949 | ac_fn_c_find_intX_t ()
 | 
|---|
| 1950 | {
 | 
|---|
| 1951 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1952 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
 | 
|---|
| 1953 | $as_echo_n "checking for int$2_t... " >&6; }
 | 
|---|
| 1954 | if eval \${$3+:} false; then :
 | 
|---|
| 1955 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 1956 | else
 | 
|---|
| 1957 |   eval "$3=no"
 | 
|---|
| 1958 |      # Order is important - never check a type that is potentially smaller
 | 
|---|
| 1959 |      # than half of the expected target width.
 | 
|---|
| 1960 |      for ac_type in int$2_t 'int' 'long int' \
 | 
|---|
| 1961 |          'long long int' 'short int' 'signed char'; do
 | 
|---|
| 1962 |        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 1963 | /* end confdefs.h.  */
 | 
|---|
| 1964 | $ac_includes_default
 | 
|---|
| 1965 |              enum { N = $2 / 2 - 1 };
 | 
|---|
| 1966 | int
 | 
|---|
| 1967 | main ()
 | 
|---|
| 1968 | {
 | 
|---|
| 1969 | static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
 | 
|---|
| 1970 | test_array [0] = 0
 | 
|---|
| 1971 | 
 | 
|---|
| 1972 |   ;
 | 
|---|
| 1973 |   return 0;
 | 
|---|
| 1974 | }
 | 
|---|
| 1975 | _ACEOF
 | 
|---|
| 1976 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 1977 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 1978 | /* end confdefs.h.  */
 | 
|---|
| 1979 | $ac_includes_default
 | 
|---|
| 1980 |                 enum { N = $2 / 2 - 1 };
 | 
|---|
| 1981 | int
 | 
|---|
| 1982 | main ()
 | 
|---|
| 1983 | {
 | 
|---|
| 1984 | static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
 | 
|---|
| 1985 |                  < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
 | 
|---|
| 1986 | test_array [0] = 0
 | 
|---|
| 1987 | 
 | 
|---|
| 1988 |   ;
 | 
|---|
| 1989 |   return 0;
 | 
|---|
| 1990 | }
 | 
|---|
| 1991 | _ACEOF
 | 
|---|
| 1992 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 1993 | 
 | 
|---|
| 1994 | else
 | 
|---|
| 1995 |   case $ac_type in #(
 | 
|---|
| 1996 |   int$2_t) :
 | 
|---|
| 1997 |     eval "$3=yes" ;; #(
 | 
|---|
| 1998 |   *) :
 | 
|---|
| 1999 |     eval "$3=\$ac_type" ;;
 | 
|---|
| 2000 | esac
 | 
|---|
| 2001 | fi
 | 
|---|
| 2002 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 2003 | fi
 | 
|---|
| 2004 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 2005 |        if eval test \"x\$"$3"\" = x"no"; then :
 | 
|---|
| 2006 | 
 | 
|---|
| 2007 | else
 | 
|---|
| 2008 |   break
 | 
|---|
| 2009 | fi
 | 
|---|
| 2010 |      done
 | 
|---|
| 2011 | fi
 | 
|---|
| 2012 | eval ac_res=\$$3
 | 
|---|
| 2013 |                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 | 
|---|
| 2014 | $as_echo "$ac_res" >&6; }
 | 
|---|
| 2015 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 2016 | 
 | 
|---|
| 2017 | } # ac_fn_c_find_intX_t
 | 
|---|
| 2018 | 
 | 
|---|
| 2019 | # ac_fn_c_find_uintX_t LINENO BITS VAR
 | 
|---|
| 2020 | # ------------------------------------
 | 
|---|
| 2021 | # Finds an unsigned integer type with width BITS, setting cache variable VAR
 | 
|---|
| 2022 | # accordingly.
 | 
|---|
| 2023 | ac_fn_c_find_uintX_t ()
 | 
|---|
| 2024 | {
 | 
|---|
| 2025 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 2026 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
 | 
|---|
| 2027 | $as_echo_n "checking for uint$2_t... " >&6; }
 | 
|---|
| 2028 | if eval \${$3+:} false; then :
 | 
|---|
| 2029 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 2030 | else
 | 
|---|
| 2031 |   eval "$3=no"
 | 
|---|
| 2032 |      # Order is important - never check a type that is potentially smaller
 | 
|---|
| 2033 |      # than half of the expected target width.
 | 
|---|
| 2034 |      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
 | 
|---|
| 2035 |          'unsigned long long int' 'unsigned short int' 'unsigned char'; do
 | 
|---|
| 2036 |        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 2037 | /* end confdefs.h.  */
 | 
|---|
| 2038 | $ac_includes_default
 | 
|---|
| 2039 | int
 | 
|---|
| 2040 | main ()
 | 
|---|
| 2041 | {
 | 
|---|
| 2042 | static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
 | 
|---|
| 2043 | test_array [0] = 0
 | 
|---|
| 2044 | 
 | 
|---|
| 2045 |   ;
 | 
|---|
| 2046 |   return 0;
 | 
|---|
| 2047 | }
 | 
|---|
| 2048 | _ACEOF
 | 
|---|
| 2049 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 2050 |   case $ac_type in #(
 | 
|---|
| 2051 |   uint$2_t) :
 | 
|---|
| 2052 |     eval "$3=yes" ;; #(
 | 
|---|
| 2053 |   *) :
 | 
|---|
| 2054 |     eval "$3=\$ac_type" ;;
 | 
|---|
| 2055 | esac
 | 
|---|
| 2056 | fi
 | 
|---|
| 2057 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 2058 |        if eval test \"x\$"$3"\" = x"no"; then :
 | 
|---|
| 2059 | 
 | 
|---|
| 2060 | else
 | 
|---|
| 2061 |   break
 | 
|---|
| 2062 | fi
 | 
|---|
| 2063 |      done
 | 
|---|
| 2064 | fi
 | 
|---|
| 2065 | eval ac_res=\$$3
 | 
|---|
| 2066 |                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 | 
|---|
| 2067 | $as_echo "$ac_res" >&6; }
 | 
|---|
| 2068 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 2069 | 
 | 
|---|
| 2070 | } # ac_fn_c_find_uintX_t
 | 
|---|
| 2071 | cat >config.log <<_ACEOF
 | 
|---|
| 2072 | This file contains any messages produced by compilers while
 | 
|---|
| 2073 | running configure, to aid debugging if configure makes a mistake.
 | 
|---|
| 2074 | 
 | 
|---|
| 2075 | It was created by cfa-cc $as_me 1.0.0.0, which was
 | 
|---|
| 2076 | generated by GNU Autoconf 2.68.  Invocation command line was
 | 
|---|
| 2077 | 
 | 
|---|
| 2078 |   $ $0 $@
 | 
|---|
| 2079 | 
 | 
|---|
| 2080 | _ACEOF
 | 
|---|
| 2081 | exec 5>>config.log
 | 
|---|
| 2082 | {
 | 
|---|
| 2083 | cat <<_ASUNAME
 | 
|---|
| 2084 | ## --------- ##
 | 
|---|
| 2085 | ## Platform. ##
 | 
|---|
| 2086 | ## --------- ##
 | 
|---|
| 2087 | 
 | 
|---|
| 2088 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 | 
|---|
| 2089 | uname -m = `(uname -m) 2>/dev/null || echo unknown`
 | 
|---|
| 2090 | uname -r = `(uname -r) 2>/dev/null || echo unknown`
 | 
|---|
| 2091 | uname -s = `(uname -s) 2>/dev/null || echo unknown`
 | 
|---|
| 2092 | uname -v = `(uname -v) 2>/dev/null || echo unknown`
 | 
|---|
| 2093 | 
 | 
|---|
| 2094 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 | 
|---|
| 2095 | /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 | 
|---|
| 2096 | 
 | 
|---|
| 2097 | /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 | 
|---|
| 2098 | /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 | 
|---|
| 2099 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 | 
|---|
| 2100 | /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 | 
|---|
| 2101 | /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 | 
|---|
| 2102 | /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 | 
|---|
| 2103 | /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 | 
|---|
| 2104 | 
 | 
|---|
| 2105 | _ASUNAME
 | 
|---|
| 2106 | 
 | 
|---|
| 2107 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 2108 | for as_dir in $PATH
 | 
|---|
| 2109 | do
 | 
|---|
| 2110 |   IFS=$as_save_IFS
 | 
|---|
| 2111 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 2112 |     $as_echo "PATH: $as_dir"
 | 
|---|
| 2113 |   done
 | 
|---|
| 2114 | IFS=$as_save_IFS
 | 
|---|
| 2115 | 
 | 
|---|
| 2116 | } >&5
 | 
|---|
| 2117 | 
 | 
|---|
| 2118 | cat >&5 <<_ACEOF
 | 
|---|
| 2119 | 
 | 
|---|
| 2120 | 
 | 
|---|
| 2121 | ## ----------- ##
 | 
|---|
| 2122 | ## Core tests. ##
 | 
|---|
| 2123 | ## ----------- ##
 | 
|---|
| 2124 | 
 | 
|---|
| 2125 | _ACEOF
 | 
|---|
| 2126 | 
 | 
|---|
| 2127 | 
 | 
|---|
| 2128 | # Keep a trace of the command line.
 | 
|---|
| 2129 | # Strip out --no-create and --no-recursion so they do not pile up.
 | 
|---|
| 2130 | # Strip out --silent because we don't want to record it for future runs.
 | 
|---|
| 2131 | # Also quote any args containing shell meta-characters.
 | 
|---|
| 2132 | # Make two passes to allow for proper duplicate-argument suppression.
 | 
|---|
| 2133 | ac_configure_args=
 | 
|---|
| 2134 | ac_configure_args0=
 | 
|---|
| 2135 | ac_configure_args1=
 | 
|---|
| 2136 | ac_must_keep_next=false
 | 
|---|
| 2137 | for ac_pass in 1 2
 | 
|---|
| 2138 | do
 | 
|---|
| 2139 |   for ac_arg
 | 
|---|
| 2140 |   do
 | 
|---|
| 2141 |     case $ac_arg in
 | 
|---|
| 2142 |     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 | 
|---|
| 2143 |     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 | 
|---|
| 2144 |     | -silent | --silent | --silen | --sile | --sil)
 | 
|---|
| 2145 |       continue ;;
 | 
|---|
| 2146 |     *\'*)
 | 
|---|
| 2147 |       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 | 
|---|
| 2148 |     esac
 | 
|---|
| 2149 |     case $ac_pass in
 | 
|---|
| 2150 |     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 | 
|---|
| 2151 |     2)
 | 
|---|
| 2152 |       as_fn_append ac_configure_args1 " '$ac_arg'"
 | 
|---|
| 2153 |       if test $ac_must_keep_next = true; then
 | 
|---|
| 2154 |         ac_must_keep_next=false # Got value, back to normal.
 | 
|---|
| 2155 |       else
 | 
|---|
| 2156 |         case $ac_arg in
 | 
|---|
| 2157 |           *=* | --config-cache | -C | -disable-* | --disable-* \
 | 
|---|
| 2158 |           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 | 
|---|
| 2159 |           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 | 
|---|
| 2160 |           | -with-* | --with-* | -without-* | --without-* | --x)
 | 
|---|
| 2161 |             case "$ac_configure_args0 " in
 | 
|---|
| 2162 |               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 | 
|---|
| 2163 |             esac
 | 
|---|
| 2164 |             ;;
 | 
|---|
| 2165 |           -* ) ac_must_keep_next=true ;;
 | 
|---|
| 2166 |         esac
 | 
|---|
| 2167 |       fi
 | 
|---|
| 2168 |       as_fn_append ac_configure_args " '$ac_arg'"
 | 
|---|
| 2169 |       ;;
 | 
|---|
| 2170 |     esac
 | 
|---|
| 2171 |   done
 | 
|---|
| 2172 | done
 | 
|---|
| 2173 | { ac_configure_args0=; unset ac_configure_args0;}
 | 
|---|
| 2174 | { ac_configure_args1=; unset ac_configure_args1;}
 | 
|---|
| 2175 | 
 | 
|---|
| 2176 | # When interrupted or exit'd, cleanup temporary files, and complete
 | 
|---|
| 2177 | # config.log.  We remove comments because anyway the quotes in there
 | 
|---|
| 2178 | # would cause problems or look ugly.
 | 
|---|
| 2179 | # WARNING: Use '\'' to represent an apostrophe within the trap.
 | 
|---|
| 2180 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 | 
|---|
| 2181 | trap 'exit_status=$?
 | 
|---|
| 2182 |   # Save into config.log some information that might help in debugging.
 | 
|---|
| 2183 |   {
 | 
|---|
| 2184 |     echo
 | 
|---|
| 2185 | 
 | 
|---|
| 2186 |     $as_echo "## ---------------- ##
 | 
|---|
| 2187 | ## Cache variables. ##
 | 
|---|
| 2188 | ## ---------------- ##"
 | 
|---|
| 2189 |     echo
 | 
|---|
| 2190 |     # The following way of writing the cache mishandles newlines in values,
 | 
|---|
| 2191 | (
 | 
|---|
| 2192 |   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 | 
|---|
| 2193 |     eval ac_val=\$$ac_var
 | 
|---|
| 2194 |     case $ac_val in #(
 | 
|---|
| 2195 |     *${as_nl}*)
 | 
|---|
| 2196 |       case $ac_var in #(
 | 
|---|
| 2197 |       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 | 
|---|
| 2198 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 | 
|---|
| 2199 |       esac
 | 
|---|
| 2200 |       case $ac_var in #(
 | 
|---|
| 2201 |       _ | IFS | as_nl) ;; #(
 | 
|---|
| 2202 |       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 | 
|---|
| 2203 |       *) { eval $ac_var=; unset $ac_var;} ;;
 | 
|---|
| 2204 |       esac ;;
 | 
|---|
| 2205 |     esac
 | 
|---|
| 2206 |   done
 | 
|---|
| 2207 |   (set) 2>&1 |
 | 
|---|
| 2208 |     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 | 
|---|
| 2209 |     *${as_nl}ac_space=\ *)
 | 
|---|
| 2210 |       sed -n \
 | 
|---|
| 2211 |         "s/'\''/'\''\\\\'\'''\''/g;
 | 
|---|
| 2212 |           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 | 
|---|
| 2213 |       ;; #(
 | 
|---|
| 2214 |     *)
 | 
|---|
| 2215 |       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 | 
|---|
| 2216 |       ;;
 | 
|---|
| 2217 |     esac |
 | 
|---|
| 2218 |     sort
 | 
|---|
| 2219 | )
 | 
|---|
| 2220 |     echo
 | 
|---|
| 2221 | 
 | 
|---|
| 2222 |     $as_echo "## ----------------- ##
 | 
|---|
| 2223 | ## Output variables. ##
 | 
|---|
| 2224 | ## ----------------- ##"
 | 
|---|
| 2225 |     echo
 | 
|---|
| 2226 |     for ac_var in $ac_subst_vars
 | 
|---|
| 2227 |     do
 | 
|---|
| 2228 |       eval ac_val=\$$ac_var
 | 
|---|
| 2229 |       case $ac_val in
 | 
|---|
| 2230 |       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 | 
|---|
| 2231 |       esac
 | 
|---|
| 2232 |       $as_echo "$ac_var='\''$ac_val'\''"
 | 
|---|
| 2233 |     done | sort
 | 
|---|
| 2234 |     echo
 | 
|---|
| 2235 | 
 | 
|---|
| 2236 |     if test -n "$ac_subst_files"; then
 | 
|---|
| 2237 |       $as_echo "## ------------------- ##
 | 
|---|
| 2238 | ## File substitutions. ##
 | 
|---|
| 2239 | ## ------------------- ##"
 | 
|---|
| 2240 |       echo
 | 
|---|
| 2241 |       for ac_var in $ac_subst_files
 | 
|---|
| 2242 |       do
 | 
|---|
| 2243 |         eval ac_val=\$$ac_var
 | 
|---|
| 2244 |         case $ac_val in
 | 
|---|
| 2245 |         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 | 
|---|
| 2246 |         esac
 | 
|---|
| 2247 |         $as_echo "$ac_var='\''$ac_val'\''"
 | 
|---|
| 2248 |       done | sort
 | 
|---|
| 2249 |       echo
 | 
|---|
| 2250 |     fi
 | 
|---|
| 2251 | 
 | 
|---|
| 2252 |     if test -s confdefs.h; then
 | 
|---|
| 2253 |       $as_echo "## ----------- ##
 | 
|---|
| 2254 | ## confdefs.h. ##
 | 
|---|
| 2255 | ## ----------- ##"
 | 
|---|
| 2256 |       echo
 | 
|---|
| 2257 |       cat confdefs.h
 | 
|---|
| 2258 |       echo
 | 
|---|
| 2259 |     fi
 | 
|---|
| 2260 |     test "$ac_signal" != 0 &&
 | 
|---|
| 2261 |       $as_echo "$as_me: caught signal $ac_signal"
 | 
|---|
| 2262 |     $as_echo "$as_me: exit $exit_status"
 | 
|---|
| 2263 |   } >&5
 | 
|---|
| 2264 |   rm -f core *.core core.conftest.* &&
 | 
|---|
| 2265 |     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 | 
|---|
| 2266 |     exit $exit_status
 | 
|---|
| 2267 | ' 0
 | 
|---|
| 2268 | for ac_signal in 1 2 13 15; do
 | 
|---|
| 2269 |   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 | 
|---|
| 2270 | done
 | 
|---|
| 2271 | ac_signal=0
 | 
|---|
| 2272 | 
 | 
|---|
| 2273 | # confdefs.h avoids OS command line length limits that DEFS can exceed.
 | 
|---|
| 2274 | rm -f -r conftest* confdefs.h
 | 
|---|
| 2275 | 
 | 
|---|
| 2276 | $as_echo "/* confdefs.h */" > confdefs.h
 | 
|---|
| 2277 | 
 | 
|---|
| 2278 | # Predefined preprocessor variables.
 | 
|---|
| 2279 | 
 | 
|---|
| 2280 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2281 | #define PACKAGE_NAME "$PACKAGE_NAME"
 | 
|---|
| 2282 | _ACEOF
 | 
|---|
| 2283 | 
 | 
|---|
| 2284 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2285 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 | 
|---|
| 2286 | _ACEOF
 | 
|---|
| 2287 | 
 | 
|---|
| 2288 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2289 | #define PACKAGE_VERSION "$PACKAGE_VERSION"
 | 
|---|
| 2290 | _ACEOF
 | 
|---|
| 2291 | 
 | 
|---|
| 2292 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2293 | #define PACKAGE_STRING "$PACKAGE_STRING"
 | 
|---|
| 2294 | _ACEOF
 | 
|---|
| 2295 | 
 | 
|---|
| 2296 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2297 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 | 
|---|
| 2298 | _ACEOF
 | 
|---|
| 2299 | 
 | 
|---|
| 2300 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2301 | #define PACKAGE_URL "$PACKAGE_URL"
 | 
|---|
| 2302 | _ACEOF
 | 
|---|
| 2303 | 
 | 
|---|
| 2304 | 
 | 
|---|
| 2305 | # Let the site file select an alternate cache file if it wants to.
 | 
|---|
| 2306 | # Prefer an explicitly selected file to automatically selected ones.
 | 
|---|
| 2307 | ac_site_file1=NONE
 | 
|---|
| 2308 | ac_site_file2=NONE
 | 
|---|
| 2309 | if test -n "$CONFIG_SITE"; then
 | 
|---|
| 2310 |   # We do not want a PATH search for config.site.
 | 
|---|
| 2311 |   case $CONFIG_SITE in #((
 | 
|---|
| 2312 |     -*)  ac_site_file1=./$CONFIG_SITE;;
 | 
|---|
| 2313 |     */*) ac_site_file1=$CONFIG_SITE;;
 | 
|---|
| 2314 |     *)   ac_site_file1=./$CONFIG_SITE;;
 | 
|---|
| 2315 |   esac
 | 
|---|
| 2316 | elif test "x$prefix" != xNONE; then
 | 
|---|
| 2317 |   ac_site_file1=$prefix/share/config.site
 | 
|---|
| 2318 |   ac_site_file2=$prefix/etc/config.site
 | 
|---|
| 2319 | else
 | 
|---|
| 2320 |   ac_site_file1=$ac_default_prefix/share/config.site
 | 
|---|
| 2321 |   ac_site_file2=$ac_default_prefix/etc/config.site
 | 
|---|
| 2322 | fi
 | 
|---|
| 2323 | for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 | 
|---|
| 2324 | do
 | 
|---|
| 2325 |   test "x$ac_site_file" = xNONE && continue
 | 
|---|
| 2326 |   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 | 
|---|
| 2327 |     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 | 
|---|
| 2328 | $as_echo "$as_me: loading site script $ac_site_file" >&6;}
 | 
|---|
| 2329 |     sed 's/^/| /' "$ac_site_file" >&5
 | 
|---|
| 2330 |     . "$ac_site_file" \
 | 
|---|
| 2331 |       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 2332 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 2333 | as_fn_error $? "failed to load site script $ac_site_file
 | 
|---|
| 2334 | See \`config.log' for more details" "$LINENO" 5; }
 | 
|---|
| 2335 |   fi
 | 
|---|
| 2336 | done
 | 
|---|
| 2337 | 
 | 
|---|
| 2338 | if test -r "$cache_file"; then
 | 
|---|
| 2339 |   # Some versions of bash will fail to source /dev/null (special files
 | 
|---|
| 2340 |   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 | 
|---|
| 2341 |   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 | 
|---|
| 2342 |     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 | 
|---|
| 2343 | $as_echo "$as_me: loading cache $cache_file" >&6;}
 | 
|---|
| 2344 |     case $cache_file in
 | 
|---|
| 2345 |       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 | 
|---|
| 2346 |       *)                      . "./$cache_file";;
 | 
|---|
| 2347 |     esac
 | 
|---|
| 2348 |   fi
 | 
|---|
| 2349 | else
 | 
|---|
| 2350 |   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 | 
|---|
| 2351 | $as_echo "$as_me: creating cache $cache_file" >&6;}
 | 
|---|
| 2352 |   >$cache_file
 | 
|---|
| 2353 | fi
 | 
|---|
| 2354 | 
 | 
|---|
| 2355 | # Check that the precious variables saved in the cache have kept the same
 | 
|---|
| 2356 | # value.
 | 
|---|
| 2357 | ac_cache_corrupted=false
 | 
|---|
| 2358 | for ac_var in $ac_precious_vars; do
 | 
|---|
| 2359 |   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 | 
|---|
| 2360 |   eval ac_new_set=\$ac_env_${ac_var}_set
 | 
|---|
| 2361 |   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 | 
|---|
| 2362 |   eval ac_new_val=\$ac_env_${ac_var}_value
 | 
|---|
| 2363 |   case $ac_old_set,$ac_new_set in
 | 
|---|
| 2364 |     set,)
 | 
|---|
| 2365 |       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 | 
|---|
| 2366 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 | 
|---|
| 2367 |       ac_cache_corrupted=: ;;
 | 
|---|
| 2368 |     ,set)
 | 
|---|
| 2369 |       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 | 
|---|
| 2370 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 | 
|---|
| 2371 |       ac_cache_corrupted=: ;;
 | 
|---|
| 2372 |     ,);;
 | 
|---|
| 2373 |     *)
 | 
|---|
| 2374 |       if test "x$ac_old_val" != "x$ac_new_val"; then
 | 
|---|
| 2375 |         # differences in whitespace do not lead to failure.
 | 
|---|
| 2376 |         ac_old_val_w=`echo x $ac_old_val`
 | 
|---|
| 2377 |         ac_new_val_w=`echo x $ac_new_val`
 | 
|---|
| 2378 |         if test "$ac_old_val_w" != "$ac_new_val_w"; then
 | 
|---|
| 2379 |           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 | 
|---|
| 2380 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 | 
|---|
| 2381 |           ac_cache_corrupted=:
 | 
|---|
| 2382 |         else
 | 
|---|
| 2383 |           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 | 
|---|
| 2384 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 | 
|---|
| 2385 |           eval $ac_var=\$ac_old_val
 | 
|---|
| 2386 |         fi
 | 
|---|
| 2387 |         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 | 
|---|
| 2388 | $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 | 
|---|
| 2389 |         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 | 
|---|
| 2390 | $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 | 
|---|
| 2391 |       fi;;
 | 
|---|
| 2392 |   esac
 | 
|---|
| 2393 |   # Pass precious variables to config.status.
 | 
|---|
| 2394 |   if test "$ac_new_set" = set; then
 | 
|---|
| 2395 |     case $ac_new_val in
 | 
|---|
| 2396 |     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 | 
|---|
| 2397 |     *) ac_arg=$ac_var=$ac_new_val ;;
 | 
|---|
| 2398 |     esac
 | 
|---|
| 2399 |     case " $ac_configure_args " in
 | 
|---|
| 2400 |       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 | 
|---|
| 2401 |       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 | 
|---|
| 2402 |     esac
 | 
|---|
| 2403 |   fi
 | 
|---|
| 2404 | done
 | 
|---|
| 2405 | if $ac_cache_corrupted; then
 | 
|---|
| 2406 |   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 2407 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 2408 |   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 | 
|---|
| 2409 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 | 
|---|
| 2410 |   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 | 
|---|
| 2411 | fi
 | 
|---|
| 2412 | ## -------------------- ##
 | 
|---|
| 2413 | ## Main body of script. ##
 | 
|---|
| 2414 | ## -------------------- ##
 | 
|---|
| 2415 | 
 | 
|---|
| 2416 | ac_ext=c
 | 
|---|
| 2417 | ac_cpp='$CPP $CPPFLAGS'
 | 
|---|
| 2418 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 2419 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 2420 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
 | 
|---|
| 2421 | 
 | 
|---|
| 2422 | 
 | 
|---|
| 2423 | ac_aux_dir=
 | 
|---|
| 2424 | for ac_dir in automake "$srcdir"/automake; do
 | 
|---|
| 2425 |   if test -f "$ac_dir/install-sh"; then
 | 
|---|
| 2426 |     ac_aux_dir=$ac_dir
 | 
|---|
| 2427 |     ac_install_sh="$ac_aux_dir/install-sh -c"
 | 
|---|
| 2428 |     break
 | 
|---|
| 2429 |   elif test -f "$ac_dir/install.sh"; then
 | 
|---|
| 2430 |     ac_aux_dir=$ac_dir
 | 
|---|
| 2431 |     ac_install_sh="$ac_aux_dir/install.sh -c"
 | 
|---|
| 2432 |     break
 | 
|---|
| 2433 |   elif test -f "$ac_dir/shtool"; then
 | 
|---|
| 2434 |     ac_aux_dir=$ac_dir
 | 
|---|
| 2435 |     ac_install_sh="$ac_aux_dir/shtool install -c"
 | 
|---|
| 2436 |     break
 | 
|---|
| 2437 |   fi
 | 
|---|
| 2438 | done
 | 
|---|
| 2439 | if test -z "$ac_aux_dir"; then
 | 
|---|
| 2440 |   as_fn_error $? "cannot find install-sh, install.sh, or shtool in automake \"$srcdir\"/automake" "$LINENO" 5
 | 
|---|
| 2441 | fi
 | 
|---|
| 2442 | 
 | 
|---|
| 2443 | # These three variables are undocumented and unsupported,
 | 
|---|
| 2444 | # and are intended to be withdrawn in a future Autoconf release.
 | 
|---|
| 2445 | # They can cause serious problems if a builder's source tree is in a directory
 | 
|---|
| 2446 | # whose full name contains unusual characters.
 | 
|---|
| 2447 | ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 | 
|---|
| 2448 | ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 | 
|---|
| 2449 | ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 | 
|---|
| 2450 | 
 | 
|---|
| 2451 | 
 | 
|---|
| 2452 | #AC_CONFIG_SRCDIR([src/main.cc])
 | 
|---|
| 2453 | ac_config_headers="$ac_config_headers config.h"
 | 
|---|
| 2454 | 
 | 
|---|
| 2455 | # Check whether --enable-silent-rules was given.
 | 
|---|
| 2456 | if test "${enable_silent_rules+set}" = set; then :
 | 
|---|
| 2457 |   enableval=$enable_silent_rules;
 | 
|---|
| 2458 | fi
 | 
|---|
| 2459 | 
 | 
|---|
| 2460 | case $enable_silent_rules in
 | 
|---|
| 2461 | yes) AM_DEFAULT_VERBOSITY=0;;
 | 
|---|
| 2462 | no)  AM_DEFAULT_VERBOSITY=1;;
 | 
|---|
| 2463 | *)   AM_DEFAULT_VERBOSITY=1;;
 | 
|---|
| 2464 | esac
 | 
|---|
| 2465 | am_make=${MAKE-make}
 | 
|---|
| 2466 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 | 
|---|
| 2467 | $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 | 
|---|
| 2468 | if ${am_cv_make_support_nested_variables+:} false; then :
 | 
|---|
| 2469 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 2470 | else
 | 
|---|
| 2471 |   if $as_echo 'TRUE=$(BAR$(V))
 | 
|---|
| 2472 | BAR0=false
 | 
|---|
| 2473 | BAR1=true
 | 
|---|
| 2474 | V=1
 | 
|---|
| 2475 | am__doit:
 | 
|---|
| 2476 |         @$(TRUE)
 | 
|---|
| 2477 | .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 | 
|---|
| 2478 |   am_cv_make_support_nested_variables=yes
 | 
|---|
| 2479 | else
 | 
|---|
| 2480 |   am_cv_make_support_nested_variables=no
 | 
|---|
| 2481 | fi
 | 
|---|
| 2482 | fi
 | 
|---|
| 2483 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 | 
|---|
| 2484 | $as_echo "$am_cv_make_support_nested_variables" >&6; }
 | 
|---|
| 2485 | if test $am_cv_make_support_nested_variables = yes; then
 | 
|---|
| 2486 |     AM_V='$(V)'
 | 
|---|
| 2487 |   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 | 
|---|
| 2488 | else
 | 
|---|
| 2489 |   AM_V=$AM_DEFAULT_VERBOSITY
 | 
|---|
| 2490 |   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 | 
|---|
| 2491 | fi
 | 
|---|
| 2492 | AM_BACKSLASH='\'
 | 
|---|
| 2493 | 
 | 
|---|
| 2494 | 
 | 
|---|
| 2495 | if test "x${CXXFLAGS}" = "x"; then
 | 
|---|
| 2496 |    export CXXFLAGS="-std=c++11 -g ${CXXFLAGS}"  # defaults, no -O2 for debugging and failures
 | 
|---|
| 2497 | else
 | 
|---|
| 2498 |    export CXXFLAGS="-std=c++11 ${CXXFLAGS}"     # flags from configure command
 | 
|---|
| 2499 | fi
 | 
|---|
| 2500 | 
 | 
|---|
| 2501 | am__api_version='1.11'
 | 
|---|
| 2502 | 
 | 
|---|
| 2503 | # Find a good install program.  We prefer a C program (faster),
 | 
|---|
| 2504 | # so one script is as good as another.  But avoid the broken or
 | 
|---|
| 2505 | # incompatible versions:
 | 
|---|
| 2506 | # SysV /etc/install, /usr/sbin/install
 | 
|---|
| 2507 | # SunOS /usr/etc/install
 | 
|---|
| 2508 | # IRIX /sbin/install
 | 
|---|
| 2509 | # AIX /bin/install
 | 
|---|
| 2510 | # AmigaOS /C/install, which installs bootblocks on floppy discs
 | 
|---|
| 2511 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 | 
|---|
| 2512 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 | 
|---|
| 2513 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 | 
|---|
| 2514 | # OS/2's system install, which has a completely different semantic
 | 
|---|
| 2515 | # ./install, which can be erroneously created by make from ./install.sh.
 | 
|---|
| 2516 | # Reject install programs that cannot install multiple files.
 | 
|---|
| 2517 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 | 
|---|
| 2518 | $as_echo_n "checking for a BSD-compatible install... " >&6; }
 | 
|---|
| 2519 | if test -z "$INSTALL"; then
 | 
|---|
| 2520 | if ${ac_cv_path_install+:} false; then :
 | 
|---|
| 2521 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 2522 | else
 | 
|---|
| 2523 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 2524 | for as_dir in $PATH
 | 
|---|
| 2525 | do
 | 
|---|
| 2526 |   IFS=$as_save_IFS
 | 
|---|
| 2527 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 2528 |     # Account for people who put trailing slashes in PATH elements.
 | 
|---|
| 2529 | case $as_dir/ in #((
 | 
|---|
| 2530 |   ./ | .// | /[cC]/* | \
 | 
|---|
| 2531 |   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 | 
|---|
| 2532 |   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 | 
|---|
| 2533 |   /usr/ucb/* ) ;;
 | 
|---|
| 2534 |   *)
 | 
|---|
| 2535 |     # OSF1 and SCO ODT 3.0 have their own names for install.
 | 
|---|
| 2536 |     # Don't use installbsd from OSF since it installs stuff as root
 | 
|---|
| 2537 |     # by default.
 | 
|---|
| 2538 |     for ac_prog in ginstall scoinst install; do
 | 
|---|
| 2539 |       for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 2540 |         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 | 
|---|
| 2541 |           if test $ac_prog = install &&
 | 
|---|
| 2542 |             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 | 
|---|
| 2543 |             # AIX install.  It has an incompatible calling convention.
 | 
|---|
| 2544 |             :
 | 
|---|
| 2545 |           elif test $ac_prog = install &&
 | 
|---|
| 2546 |             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 | 
|---|
| 2547 |             # program-specific install script used by HP pwplus--don't use.
 | 
|---|
| 2548 |             :
 | 
|---|
| 2549 |           else
 | 
|---|
| 2550 |             rm -rf conftest.one conftest.two conftest.dir
 | 
|---|
| 2551 |             echo one > conftest.one
 | 
|---|
| 2552 |             echo two > conftest.two
 | 
|---|
| 2553 |             mkdir conftest.dir
 | 
|---|
| 2554 |             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 | 
|---|
| 2555 |               test -s conftest.one && test -s conftest.two &&
 | 
|---|
| 2556 |               test -s conftest.dir/conftest.one &&
 | 
|---|
| 2557 |               test -s conftest.dir/conftest.two
 | 
|---|
| 2558 |             then
 | 
|---|
| 2559 |               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 | 
|---|
| 2560 |               break 3
 | 
|---|
| 2561 |             fi
 | 
|---|
| 2562 |           fi
 | 
|---|
| 2563 |         fi
 | 
|---|
| 2564 |       done
 | 
|---|
| 2565 |     done
 | 
|---|
| 2566 |     ;;
 | 
|---|
| 2567 | esac
 | 
|---|
| 2568 | 
 | 
|---|
| 2569 |   done
 | 
|---|
| 2570 | IFS=$as_save_IFS
 | 
|---|
| 2571 | 
 | 
|---|
| 2572 | rm -rf conftest.one conftest.two conftest.dir
 | 
|---|
| 2573 | 
 | 
|---|
| 2574 | fi
 | 
|---|
| 2575 |   if test "${ac_cv_path_install+set}" = set; then
 | 
|---|
| 2576 |     INSTALL=$ac_cv_path_install
 | 
|---|
| 2577 |   else
 | 
|---|
| 2578 |     # As a last resort, use the slow shell script.  Don't cache a
 | 
|---|
| 2579 |     # value for INSTALL within a source directory, because that will
 | 
|---|
| 2580 |     # break other packages using the cache if that directory is
 | 
|---|
| 2581 |     # removed, or if the value is a relative name.
 | 
|---|
| 2582 |     INSTALL=$ac_install_sh
 | 
|---|
| 2583 |   fi
 | 
|---|
| 2584 | fi
 | 
|---|
| 2585 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 | 
|---|
| 2586 | $as_echo "$INSTALL" >&6; }
 | 
|---|
| 2587 | 
 | 
|---|
| 2588 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 | 
|---|
| 2589 | # It thinks the first close brace ends the variable substitution.
 | 
|---|
| 2590 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 | 
|---|
| 2591 | 
 | 
|---|
| 2592 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 | 
|---|
| 2593 | 
 | 
|---|
| 2594 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 | 
|---|
| 2595 | 
 | 
|---|
| 2596 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 | 
|---|
| 2597 | $as_echo_n "checking whether build environment is sane... " >&6; }
 | 
|---|
| 2598 | # Just in case
 | 
|---|
| 2599 | sleep 1
 | 
|---|
| 2600 | echo timestamp > conftest.file
 | 
|---|
| 2601 | # Reject unsafe characters in $srcdir or the absolute working directory
 | 
|---|
| 2602 | # name.  Accept space and tab only in the latter.
 | 
|---|
| 2603 | am_lf='
 | 
|---|
| 2604 | '
 | 
|---|
| 2605 | case `pwd` in
 | 
|---|
| 2606 |   *[\\\"\#\$\&\'\`$am_lf]*)
 | 
|---|
| 2607 |     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 | 
|---|
| 2608 | esac
 | 
|---|
| 2609 | case $srcdir in
 | 
|---|
| 2610 |   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 | 
|---|
| 2611 |     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 | 
|---|
| 2612 | esac
 | 
|---|
| 2613 | 
 | 
|---|
| 2614 | # Do `set' in a subshell so we don't clobber the current shell's
 | 
|---|
| 2615 | # arguments.  Must try -L first in case configure is actually a
 | 
|---|
| 2616 | # symlink; some systems play weird games with the mod time of symlinks
 | 
|---|
| 2617 | # (eg FreeBSD returns the mod time of the symlink's containing
 | 
|---|
| 2618 | # directory).
 | 
|---|
| 2619 | if (
 | 
|---|
| 2620 |    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 | 
|---|
| 2621 |    if test "$*" = "X"; then
 | 
|---|
| 2622 |       # -L didn't work.
 | 
|---|
| 2623 |       set X `ls -t "$srcdir/configure" conftest.file`
 | 
|---|
| 2624 |    fi
 | 
|---|
| 2625 |    rm -f conftest.file
 | 
|---|
| 2626 |    if test "$*" != "X $srcdir/configure conftest.file" \
 | 
|---|
| 2627 |       && test "$*" != "X conftest.file $srcdir/configure"; then
 | 
|---|
| 2628 | 
 | 
|---|
| 2629 |       # If neither matched, then we have a broken ls.  This can happen
 | 
|---|
| 2630 |       # if, for instance, CONFIG_SHELL is bash and it inherits a
 | 
|---|
| 2631 |       # broken ls alias from the environment.  This has actually
 | 
|---|
| 2632 |       # happened.  Such a system could not be considered "sane".
 | 
|---|
| 2633 |       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 | 
|---|
| 2634 | alias in your environment" "$LINENO" 5
 | 
|---|
| 2635 |    fi
 | 
|---|
| 2636 | 
 | 
|---|
| 2637 |    test "$2" = conftest.file
 | 
|---|
| 2638 |    )
 | 
|---|
| 2639 | then
 | 
|---|
| 2640 |    # Ok.
 | 
|---|
| 2641 |    :
 | 
|---|
| 2642 | else
 | 
|---|
| 2643 |    as_fn_error $? "newly created file is older than distributed files!
 | 
|---|
| 2644 | Check your system clock" "$LINENO" 5
 | 
|---|
| 2645 | fi
 | 
|---|
| 2646 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 | 
|---|
| 2647 | $as_echo "yes" >&6; }
 | 
|---|
| 2648 | test "$program_prefix" != NONE &&
 | 
|---|
| 2649 |   program_transform_name="s&^&$program_prefix&;$program_transform_name"
 | 
|---|
| 2650 | # Use a double $ so make ignores it.
 | 
|---|
| 2651 | test "$program_suffix" != NONE &&
 | 
|---|
| 2652 |   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 | 
|---|
| 2653 | # Double any \ or $.
 | 
|---|
| 2654 | # By default was `s,x,x', remove it if useless.
 | 
|---|
| 2655 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 | 
|---|
| 2656 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 | 
|---|
| 2657 | 
 | 
|---|
| 2658 | # expand $ac_aux_dir to an absolute path
 | 
|---|
| 2659 | am_aux_dir=`cd $ac_aux_dir && pwd`
 | 
|---|
| 2660 | 
 | 
|---|
| 2661 | if test x"${MISSING+set}" != xset; then
 | 
|---|
| 2662 |   case $am_aux_dir in
 | 
|---|
| 2663 |   *\ * | *\     *)
 | 
|---|
| 2664 |     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 | 
|---|
| 2665 |   *)
 | 
|---|
| 2666 |     MISSING="\${SHELL} $am_aux_dir/missing" ;;
 | 
|---|
| 2667 |   esac
 | 
|---|
| 2668 | fi
 | 
|---|
| 2669 | # Use eval to expand $SHELL
 | 
|---|
| 2670 | if eval "$MISSING --run true"; then
 | 
|---|
| 2671 |   am_missing_run="$MISSING --run "
 | 
|---|
| 2672 | else
 | 
|---|
| 2673 |   am_missing_run=
 | 
|---|
| 2674 |   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 | 
|---|
| 2675 | $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 | 
|---|
| 2676 | fi
 | 
|---|
| 2677 | 
 | 
|---|
| 2678 | if test x"${install_sh}" != xset; then
 | 
|---|
| 2679 |   case $am_aux_dir in
 | 
|---|
| 2680 |   *\ * | *\     *)
 | 
|---|
| 2681 |     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 | 
|---|
| 2682 |   *)
 | 
|---|
| 2683 |     install_sh="\${SHELL} $am_aux_dir/install-sh"
 | 
|---|
| 2684 |   esac
 | 
|---|
| 2685 | fi
 | 
|---|
| 2686 | 
 | 
|---|
| 2687 | # Installed binaries are usually stripped using `strip' when the user
 | 
|---|
| 2688 | # run `make install-strip'.  However `strip' might not be the right
 | 
|---|
| 2689 | # tool to use in cross-compilation environments, therefore Automake
 | 
|---|
| 2690 | # will honor the `STRIP' environment variable to overrule this program.
 | 
|---|
| 2691 | if test "$cross_compiling" != no; then
 | 
|---|
| 2692 |   if test -n "$ac_tool_prefix"; then
 | 
|---|
| 2693 |   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 | 
|---|
| 2694 | set dummy ${ac_tool_prefix}strip; ac_word=$2
 | 
|---|
| 2695 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 2696 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 2697 | if ${ac_cv_prog_STRIP+:} false; then :
 | 
|---|
| 2698 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 2699 | else
 | 
|---|
| 2700 |   if test -n "$STRIP"; then
 | 
|---|
| 2701 |   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 | 
|---|
| 2702 | else
 | 
|---|
| 2703 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 2704 | for as_dir in $PATH
 | 
|---|
| 2705 | do
 | 
|---|
| 2706 |   IFS=$as_save_IFS
 | 
|---|
| 2707 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 2708 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 2709 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 2710 |     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 | 
|---|
| 2711 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 2712 |     break 2
 | 
|---|
| 2713 |   fi
 | 
|---|
| 2714 | done
 | 
|---|
| 2715 |   done
 | 
|---|
| 2716 | IFS=$as_save_IFS
 | 
|---|
| 2717 | 
 | 
|---|
| 2718 | fi
 | 
|---|
| 2719 | fi
 | 
|---|
| 2720 | STRIP=$ac_cv_prog_STRIP
 | 
|---|
| 2721 | if test -n "$STRIP"; then
 | 
|---|
| 2722 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 | 
|---|
| 2723 | $as_echo "$STRIP" >&6; }
 | 
|---|
| 2724 | else
 | 
|---|
| 2725 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 2726 | $as_echo "no" >&6; }
 | 
|---|
| 2727 | fi
 | 
|---|
| 2728 | 
 | 
|---|
| 2729 | 
 | 
|---|
| 2730 | fi
 | 
|---|
| 2731 | if test -z "$ac_cv_prog_STRIP"; then
 | 
|---|
| 2732 |   ac_ct_STRIP=$STRIP
 | 
|---|
| 2733 |   # Extract the first word of "strip", so it can be a program name with args.
 | 
|---|
| 2734 | set dummy strip; ac_word=$2
 | 
|---|
| 2735 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 2736 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 2737 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 | 
|---|
| 2738 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 2739 | else
 | 
|---|
| 2740 |   if test -n "$ac_ct_STRIP"; then
 | 
|---|
| 2741 |   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 | 
|---|
| 2742 | else
 | 
|---|
| 2743 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 2744 | for as_dir in $PATH
 | 
|---|
| 2745 | do
 | 
|---|
| 2746 |   IFS=$as_save_IFS
 | 
|---|
| 2747 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 2748 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 2749 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 2750 |     ac_cv_prog_ac_ct_STRIP="strip"
 | 
|---|
| 2751 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 2752 |     break 2
 | 
|---|
| 2753 |   fi
 | 
|---|
| 2754 | done
 | 
|---|
| 2755 |   done
 | 
|---|
| 2756 | IFS=$as_save_IFS
 | 
|---|
| 2757 | 
 | 
|---|
| 2758 | fi
 | 
|---|
| 2759 | fi
 | 
|---|
| 2760 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 | 
|---|
| 2761 | if test -n "$ac_ct_STRIP"; then
 | 
|---|
| 2762 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 | 
|---|
| 2763 | $as_echo "$ac_ct_STRIP" >&6; }
 | 
|---|
| 2764 | else
 | 
|---|
| 2765 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 2766 | $as_echo "no" >&6; }
 | 
|---|
| 2767 | fi
 | 
|---|
| 2768 | 
 | 
|---|
| 2769 |   if test "x$ac_ct_STRIP" = x; then
 | 
|---|
| 2770 |     STRIP=":"
 | 
|---|
| 2771 |   else
 | 
|---|
| 2772 |     case $cross_compiling:$ac_tool_warned in
 | 
|---|
| 2773 | yes:)
 | 
|---|
| 2774 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 | 
|---|
| 2775 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 | 
|---|
| 2776 | ac_tool_warned=yes ;;
 | 
|---|
| 2777 | esac
 | 
|---|
| 2778 |     STRIP=$ac_ct_STRIP
 | 
|---|
| 2779 |   fi
 | 
|---|
| 2780 | else
 | 
|---|
| 2781 |   STRIP="$ac_cv_prog_STRIP"
 | 
|---|
| 2782 | fi
 | 
|---|
| 2783 | 
 | 
|---|
| 2784 | fi
 | 
|---|
| 2785 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 | 
|---|
| 2786 | 
 | 
|---|
| 2787 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 | 
|---|
| 2788 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 | 
|---|
| 2789 | if test -z "$MKDIR_P"; then
 | 
|---|
| 2790 |   if ${ac_cv_path_mkdir+:} false; then :
 | 
|---|
| 2791 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 2792 | else
 | 
|---|
| 2793 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 2794 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 | 
|---|
| 2795 | do
 | 
|---|
| 2796 |   IFS=$as_save_IFS
 | 
|---|
| 2797 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 2798 |     for ac_prog in mkdir gmkdir; do
 | 
|---|
| 2799 |          for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 2800 |            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 | 
|---|
| 2801 |            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 | 
|---|
| 2802 |              'mkdir (GNU coreutils) '* | \
 | 
|---|
| 2803 |              'mkdir (coreutils) '* | \
 | 
|---|
| 2804 |              'mkdir (fileutils) '4.1*)
 | 
|---|
| 2805 |                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 | 
|---|
| 2806 |                break 3;;
 | 
|---|
| 2807 |            esac
 | 
|---|
| 2808 |          done
 | 
|---|
| 2809 |        done
 | 
|---|
| 2810 |   done
 | 
|---|
| 2811 | IFS=$as_save_IFS
 | 
|---|
| 2812 | 
 | 
|---|
| 2813 | fi
 | 
|---|
| 2814 | 
 | 
|---|
| 2815 |   test -d ./--version && rmdir ./--version
 | 
|---|
| 2816 |   if test "${ac_cv_path_mkdir+set}" = set; then
 | 
|---|
| 2817 |     MKDIR_P="$ac_cv_path_mkdir -p"
 | 
|---|
| 2818 |   else
 | 
|---|
| 2819 |     # As a last resort, use the slow shell script.  Don't cache a
 | 
|---|
| 2820 |     # value for MKDIR_P within a source directory, because that will
 | 
|---|
| 2821 |     # break other packages using the cache if that directory is
 | 
|---|
| 2822 |     # removed, or if the value is a relative name.
 | 
|---|
| 2823 |     MKDIR_P="$ac_install_sh -d"
 | 
|---|
| 2824 |   fi
 | 
|---|
| 2825 | fi
 | 
|---|
| 2826 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 | 
|---|
| 2827 | $as_echo "$MKDIR_P" >&6; }
 | 
|---|
| 2828 | 
 | 
|---|
| 2829 | mkdir_p="$MKDIR_P"
 | 
|---|
| 2830 | case $mkdir_p in
 | 
|---|
| 2831 |   [\\/$]* | ?:[\\/]*) ;;
 | 
|---|
| 2832 |   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 | 
|---|
| 2833 | esac
 | 
|---|
| 2834 | 
 | 
|---|
| 2835 | for ac_prog in gawk mawk nawk awk
 | 
|---|
| 2836 | do
 | 
|---|
| 2837 |   # Extract the first word of "$ac_prog", so it can be a program name with args.
 | 
|---|
| 2838 | set dummy $ac_prog; ac_word=$2
 | 
|---|
| 2839 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 2840 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 2841 | if ${ac_cv_prog_AWK+:} false; then :
 | 
|---|
| 2842 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 2843 | else
 | 
|---|
| 2844 |   if test -n "$AWK"; then
 | 
|---|
| 2845 |   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 | 
|---|
| 2846 | else
 | 
|---|
| 2847 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 2848 | for as_dir in $PATH
 | 
|---|
| 2849 | do
 | 
|---|
| 2850 |   IFS=$as_save_IFS
 | 
|---|
| 2851 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 2852 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 2853 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 2854 |     ac_cv_prog_AWK="$ac_prog"
 | 
|---|
| 2855 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 2856 |     break 2
 | 
|---|
| 2857 |   fi
 | 
|---|
| 2858 | done
 | 
|---|
| 2859 |   done
 | 
|---|
| 2860 | IFS=$as_save_IFS
 | 
|---|
| 2861 | 
 | 
|---|
| 2862 | fi
 | 
|---|
| 2863 | fi
 | 
|---|
| 2864 | AWK=$ac_cv_prog_AWK
 | 
|---|
| 2865 | if test -n "$AWK"; then
 | 
|---|
| 2866 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 | 
|---|
| 2867 | $as_echo "$AWK" >&6; }
 | 
|---|
| 2868 | else
 | 
|---|
| 2869 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 2870 | $as_echo "no" >&6; }
 | 
|---|
| 2871 | fi
 | 
|---|
| 2872 | 
 | 
|---|
| 2873 | 
 | 
|---|
| 2874 |   test -n "$AWK" && break
 | 
|---|
| 2875 | done
 | 
|---|
| 2876 | 
 | 
|---|
| 2877 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 | 
|---|
| 2878 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 | 
|---|
| 2879 | set x ${MAKE-make}
 | 
|---|
| 2880 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 | 
|---|
| 2881 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 | 
|---|
| 2882 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 2883 | else
 | 
|---|
| 2884 |   cat >conftest.make <<\_ACEOF
 | 
|---|
| 2885 | SHELL = /bin/sh
 | 
|---|
| 2886 | all:
 | 
|---|
| 2887 |         @echo '@@@%%%=$(MAKE)=@@@%%%'
 | 
|---|
| 2888 | _ACEOF
 | 
|---|
| 2889 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 | 
|---|
| 2890 | case `${MAKE-make} -f conftest.make 2>/dev/null` in
 | 
|---|
| 2891 |   *@@@%%%=?*=@@@%%%*)
 | 
|---|
| 2892 |     eval ac_cv_prog_make_${ac_make}_set=yes;;
 | 
|---|
| 2893 |   *)
 | 
|---|
| 2894 |     eval ac_cv_prog_make_${ac_make}_set=no;;
 | 
|---|
| 2895 | esac
 | 
|---|
| 2896 | rm -f conftest.make
 | 
|---|
| 2897 | fi
 | 
|---|
| 2898 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 | 
|---|
| 2899 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 | 
|---|
| 2900 | $as_echo "yes" >&6; }
 | 
|---|
| 2901 |   SET_MAKE=
 | 
|---|
| 2902 | else
 | 
|---|
| 2903 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 2904 | $as_echo "no" >&6; }
 | 
|---|
| 2905 |   SET_MAKE="MAKE=${MAKE-make}"
 | 
|---|
| 2906 | fi
 | 
|---|
| 2907 | 
 | 
|---|
| 2908 | rm -rf .tst 2>/dev/null
 | 
|---|
| 2909 | mkdir .tst 2>/dev/null
 | 
|---|
| 2910 | if test -d .tst; then
 | 
|---|
| 2911 |   am__leading_dot=.
 | 
|---|
| 2912 | else
 | 
|---|
| 2913 |   am__leading_dot=_
 | 
|---|
| 2914 | fi
 | 
|---|
| 2915 | rmdir .tst 2>/dev/null
 | 
|---|
| 2916 | 
 | 
|---|
| 2917 | if test "`cd $srcdir && pwd`" != "`pwd`"; then
 | 
|---|
| 2918 |   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 | 
|---|
| 2919 |   # is not polluted with repeated "-I."
 | 
|---|
| 2920 |   am__isrc=' -I$(srcdir)'
 | 
|---|
| 2921 |   # test to see if srcdir already configured
 | 
|---|
| 2922 |   if test -f $srcdir/config.status; then
 | 
|---|
| 2923 |     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 | 
|---|
| 2924 |   fi
 | 
|---|
| 2925 | fi
 | 
|---|
| 2926 | 
 | 
|---|
| 2927 | # test whether we have cygpath
 | 
|---|
| 2928 | if test -z "$CYGPATH_W"; then
 | 
|---|
| 2929 |   if (cygpath --version) >/dev/null 2>/dev/null; then
 | 
|---|
| 2930 |     CYGPATH_W='cygpath -w'
 | 
|---|
| 2931 |   else
 | 
|---|
| 2932 |     CYGPATH_W=echo
 | 
|---|
| 2933 |   fi
 | 
|---|
| 2934 | fi
 | 
|---|
| 2935 | 
 | 
|---|
| 2936 | 
 | 
|---|
| 2937 | # Define the identity of the package.
 | 
|---|
| 2938 |  PACKAGE='cfa-cc'
 | 
|---|
| 2939 |  VERSION='1.0.0.0'
 | 
|---|
| 2940 | 
 | 
|---|
| 2941 | 
 | 
|---|
| 2942 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2943 | #define PACKAGE "$PACKAGE"
 | 
|---|
| 2944 | _ACEOF
 | 
|---|
| 2945 | 
 | 
|---|
| 2946 | 
 | 
|---|
| 2947 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2948 | #define VERSION "$VERSION"
 | 
|---|
| 2949 | _ACEOF
 | 
|---|
| 2950 | 
 | 
|---|
| 2951 | # Some tools Automake needs.
 | 
|---|
| 2952 | 
 | 
|---|
| 2953 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 | 
|---|
| 2954 | 
 | 
|---|
| 2955 | 
 | 
|---|
| 2956 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 | 
|---|
| 2957 | 
 | 
|---|
| 2958 | 
 | 
|---|
| 2959 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 | 
|---|
| 2960 | 
 | 
|---|
| 2961 | 
 | 
|---|
| 2962 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 | 
|---|
| 2963 | 
 | 
|---|
| 2964 | 
 | 
|---|
| 2965 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 | 
|---|
| 2966 | 
 | 
|---|
| 2967 | # We need awk for the "check" target.  The system "awk" is bad on
 | 
|---|
| 2968 | # some platforms.
 | 
|---|
| 2969 | # Always define AMTAR for backward compatibility.  Yes, it's still used
 | 
|---|
| 2970 | # in the wild :-(  We should find a proper way to deprecate it ...
 | 
|---|
| 2971 | AMTAR='$${TAR-tar}'
 | 
|---|
| 2972 | 
 | 
|---|
| 2973 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
 | 
|---|
| 2974 | 
 | 
|---|
| 2975 | 
 | 
|---|
| 2976 | 
 | 
|---|
| 2977 | 
 | 
|---|
| 2978 | 
 | 
|---|
| 2979 | 
 | 
|---|
| 2980 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
 | 
|---|
| 2981 | $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
 | 
|---|
| 2982 |     # Check whether --enable-maintainer-mode was given.
 | 
|---|
| 2983 | if test "${enable_maintainer_mode+set}" = set; then :
 | 
|---|
| 2984 |   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
 | 
|---|
| 2985 | else
 | 
|---|
| 2986 |   USE_MAINTAINER_MODE=yes
 | 
|---|
| 2987 | fi
 | 
|---|
| 2988 | 
 | 
|---|
| 2989 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
 | 
|---|
| 2990 | $as_echo "$USE_MAINTAINER_MODE" >&6; }
 | 
|---|
| 2991 |    if test $USE_MAINTAINER_MODE = yes; then
 | 
|---|
| 2992 |   MAINTAINER_MODE_TRUE=
 | 
|---|
| 2993 |   MAINTAINER_MODE_FALSE='#'
 | 
|---|
| 2994 | else
 | 
|---|
| 2995 |   MAINTAINER_MODE_TRUE='#'
 | 
|---|
| 2996 |   MAINTAINER_MODE_FALSE=
 | 
|---|
| 2997 | fi
 | 
|---|
| 2998 | 
 | 
|---|
| 2999 |   MAINT=$MAINTAINER_MODE_TRUE
 | 
|---|
| 3000 | 
 | 
|---|
| 3001 |                         # may require auto* software to be installed
 | 
|---|
| 3002 | 
 | 
|---|
| 3003 | rm -f version
 | 
|---|
| 3004 | echo ${PACKAGE_VERSION} > version               # file containing version number for other tools
 | 
|---|
| 3005 | chmod ugo-w version
 | 
|---|
| 3006 | ver_major=`cut -d '.' -f1 version`              # subdivide version number into components at periods
 | 
|---|
| 3007 | ver_minor=`cut -d '.' -f2 version`
 | 
|---|
| 3008 | ver_patch=`cut -d '.' -f3 version`
 | 
|---|
| 3009 | ver_build=`cut -d '.' -f4 version`
 | 
|---|
| 3010 | 
 | 
|---|
| 3011 | # AC_SUBST([CONFIG_STATUS_DEPENDENCIES], ['$(top_srcdir)/version'])
 | 
|---|
| 3012 | 
 | 
|---|
| 3013 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3014 | #define CFA_VERSION_MAJOR ${ver_major}
 | 
|---|
| 3015 | _ACEOF
 | 
|---|
| 3016 | 
 | 
|---|
| 3017 | 
 | 
|---|
| 3018 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3019 | #define CFA_VERSION_MINOR ${ver_minor}
 | 
|---|
| 3020 | _ACEOF
 | 
|---|
| 3021 | 
 | 
|---|
| 3022 | 
 | 
|---|
| 3023 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3024 | #define CFA_VERSION_PATCH ${ver_patch}
 | 
|---|
| 3025 | _ACEOF
 | 
|---|
| 3026 | 
 | 
|---|
| 3027 | 
 | 
|---|
| 3028 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3029 | #define CFA_VERSION_BUILD ${ver_build}
 | 
|---|
| 3030 | _ACEOF
 | 
|---|
| 3031 | 
 | 
|---|
| 3032 | 
 | 
|---|
| 3033 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3034 | #define CFA_VERSION_SHORT "${ver_major}"
 | 
|---|
| 3035 | _ACEOF
 | 
|---|
| 3036 | 
 | 
|---|
| 3037 | 
 | 
|---|
| 3038 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3039 | #define CFA_VERSION "${ver_major}.${ver_minor}"
 | 
|---|
| 3040 | _ACEOF
 | 
|---|
| 3041 | 
 | 
|---|
| 3042 | 
 | 
|---|
| 3043 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3044 | #define CFA_VERSION_LONG "${ver_major}.${ver_minor}.${ver_patch}"
 | 
|---|
| 3045 | _ACEOF
 | 
|---|
| 3046 | 
 | 
|---|
| 3047 | 
 | 
|---|
| 3048 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3049 | #define CFA_VERSION_FULL "${ver_major}.${ver_minor}.${ver_patch}.${ver_build}"
 | 
|---|
| 3050 | _ACEOF
 | 
|---|
| 3051 | 
 | 
|---|
| 3052 | 
 | 
|---|
| 3053 | # Installation paths
 | 
|---|
| 3054 | 
 | 
|---|
| 3055 | 
 | 
|---|
| 3056 | # Check whether --with-backend-compiler was given.
 | 
|---|
| 3057 | if test "${with_backend_compiler+set}" = set; then :
 | 
|---|
| 3058 |   withval=$with_backend_compiler; backendcompiler=$withval
 | 
|---|
| 3059 | else
 | 
|---|
| 3060 |   backendcompiler=""
 | 
|---|
| 3061 | fi
 | 
|---|
| 3062 | 
 | 
|---|
| 3063 | if test "x$backendcompiler" != "x"; then
 | 
|---|
| 3064 |         BACKEND_CC=${backendcompiler}
 | 
|---|
| 3065 | else
 | 
|---|
| 3066 |         # Extract the first word of "gcc", so it can be a program name with args.
 | 
|---|
| 3067 | set dummy gcc; ac_word=$2
 | 
|---|
| 3068 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 3069 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 3070 | if ${ac_cv_path_BACKEND_CC+:} false; then :
 | 
|---|
| 3071 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3072 | else
 | 
|---|
| 3073 |   case $BACKEND_CC in
 | 
|---|
| 3074 |   [\\/]* | ?:[\\/]*)
 | 
|---|
| 3075 |   ac_cv_path_BACKEND_CC="$BACKEND_CC" # Let the user override the test with a path.
 | 
|---|
| 3076 |   ;;
 | 
|---|
| 3077 |   *)
 | 
|---|
| 3078 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 3079 | for as_dir in $PATH
 | 
|---|
| 3080 | do
 | 
|---|
| 3081 |   IFS=$as_save_IFS
 | 
|---|
| 3082 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 3083 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 3084 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 3085 |     ac_cv_path_BACKEND_CC="$as_dir/$ac_word$ac_exec_ext"
 | 
|---|
| 3086 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 3087 |     break 2
 | 
|---|
| 3088 |   fi
 | 
|---|
| 3089 | done
 | 
|---|
| 3090 |   done
 | 
|---|
| 3091 | IFS=$as_save_IFS
 | 
|---|
| 3092 | 
 | 
|---|
| 3093 |   ;;
 | 
|---|
| 3094 | esac
 | 
|---|
| 3095 | fi
 | 
|---|
| 3096 | BACKEND_CC=$ac_cv_path_BACKEND_CC
 | 
|---|
| 3097 | if test -n "$BACKEND_CC"; then
 | 
|---|
| 3098 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKEND_CC" >&5
 | 
|---|
| 3099 | $as_echo "$BACKEND_CC" >&6; }
 | 
|---|
| 3100 | else
 | 
|---|
| 3101 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 3102 | $as_echo "no" >&6; }
 | 
|---|
| 3103 | fi
 | 
|---|
| 3104 | 
 | 
|---|
| 3105 |         # check gcc installed
 | 
|---|
| 3106 |         if test "x$BACKEND_CC" = "x"; then
 | 
|---|
| 3107 |                 as_fn_error $? "some version of gcc is needed. Get it at ftp://ftp.gnu.org" "$LINENO" 5
 | 
|---|
| 3108 |                 exit 1
 | 
|---|
| 3109 |         fi
 | 
|---|
| 3110 | fi
 | 
|---|
| 3111 | 
 | 
|---|
| 3112 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3113 | #define CFA_BACKEND_CC "${BACKEND_CC}"
 | 
|---|
| 3114 | _ACEOF
 | 
|---|
| 3115 | 
 | 
|---|
| 3116 | 
 | 
|---|
| 3117 | 
 | 
|---|
| 3118 | 
 | 
|---|
| 3119 | 
 | 
|---|
| 3120 | # Check whether --enable-target-release was given.
 | 
|---|
| 3121 | if test "${enable_target_release+set}" = set; then :
 | 
|---|
| 3122 |   enableval=$enable_target_release;
 | 
|---|
| 3123 | fi
 | 
|---|
| 3124 | 
 | 
|---|
| 3125 | # Check whether --enable-target-debug was given.
 | 
|---|
| 3126 | if test "${enable_target_debug+set}" = set; then :
 | 
|---|
| 3127 |   enableval=$enable_target_debug;
 | 
|---|
| 3128 | fi
 | 
|---|
| 3129 | 
 | 
|---|
| 3130 | # Check whether --enable-threading was given.
 | 
|---|
| 3131 | if test "${enable_threading+set}" = set; then :
 | 
|---|
| 3132 |   enableval=$enable_threading; case "${enableval}" in
 | 
|---|
| 3133 |   yes) build_threading="yes" ;;
 | 
|---|
| 3134 |   no)  build_threading="no" ;;
 | 
|---|
| 3135 |   *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
 | 
|---|
| 3136 | esac
 | 
|---|
| 3137 | else
 | 
|---|
| 3138 |   build_threading="yes"
 | 
|---|
| 3139 | fi
 | 
|---|
| 3140 | 
 | 
|---|
| 3141 | 
 | 
|---|
| 3142 | case "$enable_target_release" in
 | 
|---|
| 3143 |         yes)
 | 
|---|
| 3144 |                 case "$enable_target_debug" in
 | 
|---|
| 3145 |                         yes)
 | 
|---|
| 3146 |                                 build_release="yes"
 | 
|---|
| 3147 |                                 build_debug="yes"
 | 
|---|
| 3148 |                                 ;;
 | 
|---|
| 3149 |                         no)
 | 
|---|
| 3150 |                                 build_release="yes"
 | 
|---|
| 3151 |                                 build_debug="no"
 | 
|---|
| 3152 |                                 ;;
 | 
|---|
| 3153 |                         *)
 | 
|---|
| 3154 |                                 build_release="yes"
 | 
|---|
| 3155 |                                 build_debug="no"
 | 
|---|
| 3156 |                                 ;;
 | 
|---|
| 3157 |                 esac
 | 
|---|
| 3158 |                 ;;
 | 
|---|
| 3159 |         no)
 | 
|---|
| 3160 |                 case "$enable_target_debug" in
 | 
|---|
| 3161 |                         yes)
 | 
|---|
| 3162 |                                 build_release="no"
 | 
|---|
| 3163 |                                 build_debug="yes"
 | 
|---|
| 3164 |                                 ;;
 | 
|---|
| 3165 |                         no)
 | 
|---|
| 3166 |                                 build_release="no"
 | 
|---|
| 3167 |                                 build_debug="no"
 | 
|---|
| 3168 |                                 ;;
 | 
|---|
| 3169 |                         *)
 | 
|---|
| 3170 |                                 build_release="no"
 | 
|---|
| 3171 |                                 build_debug="yes"
 | 
|---|
| 3172 |                                 ;;
 | 
|---|
| 3173 |                 esac
 | 
|---|
| 3174 |                 ;;
 | 
|---|
| 3175 |         *)
 | 
|---|
| 3176 |                 case "$enable_target_debug" in
 | 
|---|
| 3177 |                         yes)
 | 
|---|
| 3178 |                                 build_release="no"
 | 
|---|
| 3179 |                                 build_debug="yes"
 | 
|---|
| 3180 |                                 ;;
 | 
|---|
| 3181 |                         no)
 | 
|---|
| 3182 |                                 build_release="yes"
 | 
|---|
| 3183 |                                 build_debug="no"
 | 
|---|
| 3184 |                                 ;;
 | 
|---|
| 3185 |                         *)
 | 
|---|
| 3186 |                                 build_release="yes"
 | 
|---|
| 3187 |                                 build_debug="yes"
 | 
|---|
| 3188 |                                 ;;
 | 
|---|
| 3189 |                 esac
 | 
|---|
| 3190 |                 ;;
 | 
|---|
| 3191 | esac
 | 
|---|
| 3192 | 
 | 
|---|
| 3193 |  if test "x$build_release" = "xyes"; then
 | 
|---|
| 3194 |   BUILD_RELEASE_TRUE=
 | 
|---|
| 3195 |   BUILD_RELEASE_FALSE='#'
 | 
|---|
| 3196 | else
 | 
|---|
| 3197 |   BUILD_RELEASE_TRUE='#'
 | 
|---|
| 3198 |   BUILD_RELEASE_FALSE=
 | 
|---|
| 3199 | fi
 | 
|---|
| 3200 | 
 | 
|---|
| 3201 |  if test "x$build_debug" = "xyes"; then
 | 
|---|
| 3202 |   BUILD_DEBUG_TRUE=
 | 
|---|
| 3203 |   BUILD_DEBUG_FALSE='#'
 | 
|---|
| 3204 | else
 | 
|---|
| 3205 |   BUILD_DEBUG_TRUE='#'
 | 
|---|
| 3206 |   BUILD_DEBUG_FALSE=
 | 
|---|
| 3207 | fi
 | 
|---|
| 3208 | 
 | 
|---|
| 3209 |  if test "x$build_release$build_debug" = "xnono"; then
 | 
|---|
| 3210 |   BUILD_NO_LIB_TRUE=
 | 
|---|
| 3211 |   BUILD_NO_LIB_FALSE='#'
 | 
|---|
| 3212 | else
 | 
|---|
| 3213 |   BUILD_NO_LIB_TRUE='#'
 | 
|---|
| 3214 |   BUILD_NO_LIB_FALSE=
 | 
|---|
| 3215 | fi
 | 
|---|
| 3216 | 
 | 
|---|
| 3217 |  if test "x$build_threading" = "xyes"; then
 | 
|---|
| 3218 |   BUILD_CONCURRENCY_TRUE=
 | 
|---|
| 3219 |   BUILD_CONCURRENCY_FALSE='#'
 | 
|---|
| 3220 | else
 | 
|---|
| 3221 |   BUILD_CONCURRENCY_TRUE='#'
 | 
|---|
| 3222 |   BUILD_CONCURRENCY_FALSE=
 | 
|---|
| 3223 | fi
 | 
|---|
| 3224 | 
 | 
|---|
| 3225 | 
 | 
|---|
| 3226 | echo $build_threading
 | 
|---|
| 3227 | 
 | 
|---|
| 3228 | if test "x$prefix" = "xNONE"; then
 | 
|---|
| 3229 |         cfa_prefix=${ac_default_prefix}
 | 
|---|
| 3230 | else
 | 
|---|
| 3231 |         cfa_prefix=${prefix}
 | 
|---|
| 3232 | fi
 | 
|---|
| 3233 | 
 | 
|---|
| 3234 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3235 | #define CFA_PREFIX "${cfa_prefix}"
 | 
|---|
| 3236 | _ACEOF
 | 
|---|
| 3237 | 
 | 
|---|
| 3238 | CFA_PREFIX=${cfa_prefix}
 | 
|---|
| 3239 | 
 | 
|---|
| 3240 | 
 | 
|---|
| 3241 | if test "$includedir" = '${prefix}/include'; then
 | 
|---|
| 3242 |         cfa_incdir="${cfa_prefix}/include/cfa"
 | 
|---|
| 3243 | else
 | 
|---|
| 3244 |         cfa_incdir=${includedir}
 | 
|---|
| 3245 | fi
 | 
|---|
| 3246 | 
 | 
|---|
| 3247 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3248 | #define CFA_INCDIR "${cfa_incdir}"
 | 
|---|
| 3249 | _ACEOF
 | 
|---|
| 3250 | 
 | 
|---|
| 3251 | CFA_INCDIR=${cfa_incdir}
 | 
|---|
| 3252 | 
 | 
|---|
| 3253 | 
 | 
|---|
| 3254 | if test "$bindir" = '${exec_prefix}/bin'; then
 | 
|---|
| 3255 |         cfa_bindir="${cfa_prefix}/bin"
 | 
|---|
| 3256 | else
 | 
|---|
| 3257 |         cfa_bindir=${bindir}
 | 
|---|
| 3258 | fi
 | 
|---|
| 3259 | 
 | 
|---|
| 3260 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3261 | #define CFA_BINDIR "${cfa_bindir}"
 | 
|---|
| 3262 | _ACEOF
 | 
|---|
| 3263 | 
 | 
|---|
| 3264 | CFA_BINDIR=${cfa_bindir}
 | 
|---|
| 3265 | 
 | 
|---|
| 3266 | 
 | 
|---|
| 3267 | if test "$libdir" = '${exec_prefix}/lib'; then
 | 
|---|
| 3268 |         cfa_libdir=${cfa_prefix}/lib
 | 
|---|
| 3269 | else
 | 
|---|
| 3270 |         cfa_libdir=${libdir}
 | 
|---|
| 3271 | fi
 | 
|---|
| 3272 | 
 | 
|---|
| 3273 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3274 | #define CFA_LIBDIR "${cfa_libdir}"
 | 
|---|
| 3275 | _ACEOF
 | 
|---|
| 3276 | 
 | 
|---|
| 3277 | CFA_LIBDIR=${cfa_libdir}
 | 
|---|
| 3278 | 
 | 
|---|
| 3279 | 
 | 
|---|
| 3280 | 
 | 
|---|
| 3281 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3282 | #define CFA_FLAGS "${CFAFLAGS}"
 | 
|---|
| 3283 | _ACEOF
 | 
|---|
| 3284 | 
 | 
|---|
| 3285 | CFA_FLAGS=${CFAFLAGS}
 | 
|---|
| 3286 | 
 | 
|---|
| 3287 | 
 | 
|---|
| 3288 | # Make sure we can run config.sub.
 | 
|---|
| 3289 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 | 
|---|
| 3290 |   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 | 
|---|
| 3291 | 
 | 
|---|
| 3292 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 | 
|---|
| 3293 | $as_echo_n "checking build system type... " >&6; }
 | 
|---|
| 3294 | if ${ac_cv_build+:} false; then :
 | 
|---|
| 3295 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3296 | else
 | 
|---|
| 3297 |   ac_build_alias=$build_alias
 | 
|---|
| 3298 | test "x$ac_build_alias" = x &&
 | 
|---|
| 3299 |   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 | 
|---|
| 3300 | test "x$ac_build_alias" = x &&
 | 
|---|
| 3301 |   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 | 
|---|
| 3302 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 | 
|---|
| 3303 |   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 | 
|---|
| 3304 | 
 | 
|---|
| 3305 | fi
 | 
|---|
| 3306 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 | 
|---|
| 3307 | $as_echo "$ac_cv_build" >&6; }
 | 
|---|
| 3308 | case $ac_cv_build in
 | 
|---|
| 3309 | *-*-*) ;;
 | 
|---|
| 3310 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 | 
|---|
| 3311 | esac
 | 
|---|
| 3312 | build=$ac_cv_build
 | 
|---|
| 3313 | ac_save_IFS=$IFS; IFS='-'
 | 
|---|
| 3314 | set x $ac_cv_build
 | 
|---|
| 3315 | shift
 | 
|---|
| 3316 | build_cpu=$1
 | 
|---|
| 3317 | build_vendor=$2
 | 
|---|
| 3318 | shift; shift
 | 
|---|
| 3319 | # Remember, the first character of IFS is used to create $*,
 | 
|---|
| 3320 | # except with old shells:
 | 
|---|
| 3321 | build_os=$*
 | 
|---|
| 3322 | IFS=$ac_save_IFS
 | 
|---|
| 3323 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 | 
|---|
| 3324 | 
 | 
|---|
| 3325 | 
 | 
|---|
| 3326 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 | 
|---|
| 3327 | $as_echo_n "checking host system type... " >&6; }
 | 
|---|
| 3328 | if ${ac_cv_host+:} false; then :
 | 
|---|
| 3329 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3330 | else
 | 
|---|
| 3331 |   if test "x$host_alias" = x; then
 | 
|---|
| 3332 |   ac_cv_host=$ac_cv_build
 | 
|---|
| 3333 | else
 | 
|---|
| 3334 |   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 | 
|---|
| 3335 |     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 | 
|---|
| 3336 | fi
 | 
|---|
| 3337 | 
 | 
|---|
| 3338 | fi
 | 
|---|
| 3339 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 | 
|---|
| 3340 | $as_echo "$ac_cv_host" >&6; }
 | 
|---|
| 3341 | case $ac_cv_host in
 | 
|---|
| 3342 | *-*-*) ;;
 | 
|---|
| 3343 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 | 
|---|
| 3344 | esac
 | 
|---|
| 3345 | host=$ac_cv_host
 | 
|---|
| 3346 | ac_save_IFS=$IFS; IFS='-'
 | 
|---|
| 3347 | set x $ac_cv_host
 | 
|---|
| 3348 | shift
 | 
|---|
| 3349 | host_cpu=$1
 | 
|---|
| 3350 | host_vendor=$2
 | 
|---|
| 3351 | shift; shift
 | 
|---|
| 3352 | # Remember, the first character of IFS is used to create $*,
 | 
|---|
| 3353 | # except with old shells:
 | 
|---|
| 3354 | host_os=$*
 | 
|---|
| 3355 | IFS=$ac_save_IFS
 | 
|---|
| 3356 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 | 
|---|
| 3357 | 
 | 
|---|
| 3358 | 
 | 
|---|
| 3359 | MACHINE_TYPE=$host_cpu
 | 
|---|
| 3360 | 
 | 
|---|
| 3361 | 
 | 
|---|
| 3362 | # Checks for programs.
 | 
|---|
| 3363 | ac_ext=cpp
 | 
|---|
| 3364 | ac_cpp='$CXXCPP $CPPFLAGS'
 | 
|---|
| 3365 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 3366 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 3367 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 | 
|---|
| 3368 | if test -z "$CXX"; then
 | 
|---|
| 3369 |   if test -n "$CCC"; then
 | 
|---|
| 3370 |     CXX=$CCC
 | 
|---|
| 3371 |   else
 | 
|---|
| 3372 |     if test -n "$ac_tool_prefix"; then
 | 
|---|
| 3373 |   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 | 
|---|
| 3374 |   do
 | 
|---|
| 3375 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 | 
|---|
| 3376 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 | 
|---|
| 3377 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 3378 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 3379 | if ${ac_cv_prog_CXX+:} false; then :
 | 
|---|
| 3380 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3381 | else
 | 
|---|
| 3382 |   if test -n "$CXX"; then
 | 
|---|
| 3383 |   ac_cv_prog_CXX="$CXX" # Let the user override the test.
 | 
|---|
| 3384 | else
 | 
|---|
| 3385 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 3386 | for as_dir in $PATH
 | 
|---|
| 3387 | do
 | 
|---|
| 3388 |   IFS=$as_save_IFS
 | 
|---|
| 3389 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 3390 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 3391 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 3392 |     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 | 
|---|
| 3393 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 3394 |     break 2
 | 
|---|
| 3395 |   fi
 | 
|---|
| 3396 | done
 | 
|---|
| 3397 |   done
 | 
|---|
| 3398 | IFS=$as_save_IFS
 | 
|---|
| 3399 | 
 | 
|---|
| 3400 | fi
 | 
|---|
| 3401 | fi
 | 
|---|
| 3402 | CXX=$ac_cv_prog_CXX
 | 
|---|
| 3403 | if test -n "$CXX"; then
 | 
|---|
| 3404 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 | 
|---|
| 3405 | $as_echo "$CXX" >&6; }
 | 
|---|
| 3406 | else
 | 
|---|
| 3407 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 3408 | $as_echo "no" >&6; }
 | 
|---|
| 3409 | fi
 | 
|---|
| 3410 | 
 | 
|---|
| 3411 | 
 | 
|---|
| 3412 |     test -n "$CXX" && break
 | 
|---|
| 3413 |   done
 | 
|---|
| 3414 | fi
 | 
|---|
| 3415 | if test -z "$CXX"; then
 | 
|---|
| 3416 |   ac_ct_CXX=$CXX
 | 
|---|
| 3417 |   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 | 
|---|
| 3418 | do
 | 
|---|
| 3419 |   # Extract the first word of "$ac_prog", so it can be a program name with args.
 | 
|---|
| 3420 | set dummy $ac_prog; ac_word=$2
 | 
|---|
| 3421 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 3422 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 3423 | if ${ac_cv_prog_ac_ct_CXX+:} false; then :
 | 
|---|
| 3424 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3425 | else
 | 
|---|
| 3426 |   if test -n "$ac_ct_CXX"; then
 | 
|---|
| 3427 |   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 | 
|---|
| 3428 | else
 | 
|---|
| 3429 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 3430 | for as_dir in $PATH
 | 
|---|
| 3431 | do
 | 
|---|
| 3432 |   IFS=$as_save_IFS
 | 
|---|
| 3433 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 3434 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 3435 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 3436 |     ac_cv_prog_ac_ct_CXX="$ac_prog"
 | 
|---|
| 3437 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 3438 |     break 2
 | 
|---|
| 3439 |   fi
 | 
|---|
| 3440 | done
 | 
|---|
| 3441 |   done
 | 
|---|
| 3442 | IFS=$as_save_IFS
 | 
|---|
| 3443 | 
 | 
|---|
| 3444 | fi
 | 
|---|
| 3445 | fi
 | 
|---|
| 3446 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 | 
|---|
| 3447 | if test -n "$ac_ct_CXX"; then
 | 
|---|
| 3448 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 | 
|---|
| 3449 | $as_echo "$ac_ct_CXX" >&6; }
 | 
|---|
| 3450 | else
 | 
|---|
| 3451 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 3452 | $as_echo "no" >&6; }
 | 
|---|
| 3453 | fi
 | 
|---|
| 3454 | 
 | 
|---|
| 3455 | 
 | 
|---|
| 3456 |   test -n "$ac_ct_CXX" && break
 | 
|---|
| 3457 | done
 | 
|---|
| 3458 | 
 | 
|---|
| 3459 |   if test "x$ac_ct_CXX" = x; then
 | 
|---|
| 3460 |     CXX="g++"
 | 
|---|
| 3461 |   else
 | 
|---|
| 3462 |     case $cross_compiling:$ac_tool_warned in
 | 
|---|
| 3463 | yes:)
 | 
|---|
| 3464 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 | 
|---|
| 3465 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 | 
|---|
| 3466 | ac_tool_warned=yes ;;
 | 
|---|
| 3467 | esac
 | 
|---|
| 3468 |     CXX=$ac_ct_CXX
 | 
|---|
| 3469 |   fi
 | 
|---|
| 3470 | fi
 | 
|---|
| 3471 | 
 | 
|---|
| 3472 |   fi
 | 
|---|
| 3473 | fi
 | 
|---|
| 3474 | # Provide some information about the compiler.
 | 
|---|
| 3475 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 | 
|---|
| 3476 | set X $ac_compile
 | 
|---|
| 3477 | ac_compiler=$2
 | 
|---|
| 3478 | for ac_option in --version -v -V -qversion; do
 | 
|---|
| 3479 |   { { ac_try="$ac_compiler $ac_option >&5"
 | 
|---|
| 3480 | case "(($ac_try" in
 | 
|---|
| 3481 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 3482 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 3483 | esac
 | 
|---|
| 3484 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 3485 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 3486 |   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 | 
|---|
| 3487 |   ac_status=$?
 | 
|---|
| 3488 |   if test -s conftest.err; then
 | 
|---|
| 3489 |     sed '10a\
 | 
|---|
| 3490 | ... rest of stderr output deleted ...
 | 
|---|
| 3491 |          10q' conftest.err >conftest.er1
 | 
|---|
| 3492 |     cat conftest.er1 >&5
 | 
|---|
| 3493 |   fi
 | 
|---|
| 3494 |   rm -f conftest.er1 conftest.err
 | 
|---|
| 3495 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 3496 |   test $ac_status = 0; }
 | 
|---|
| 3497 | done
 | 
|---|
| 3498 | 
 | 
|---|
| 3499 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 3500 | /* end confdefs.h.  */
 | 
|---|
| 3501 | 
 | 
|---|
| 3502 | int
 | 
|---|
| 3503 | main ()
 | 
|---|
| 3504 | {
 | 
|---|
| 3505 | 
 | 
|---|
| 3506 |   ;
 | 
|---|
| 3507 |   return 0;
 | 
|---|
| 3508 | }
 | 
|---|
| 3509 | _ACEOF
 | 
|---|
| 3510 | ac_clean_files_save=$ac_clean_files
 | 
|---|
| 3511 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 | 
|---|
| 3512 | # Try to create an executable without -o first, disregard a.out.
 | 
|---|
| 3513 | # It will help us diagnose broken compilers, and finding out an intuition
 | 
|---|
| 3514 | # of exeext.
 | 
|---|
| 3515 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
 | 
|---|
| 3516 | $as_echo_n "checking whether the C++ compiler works... " >&6; }
 | 
|---|
| 3517 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 | 
|---|
| 3518 | 
 | 
|---|
| 3519 | # The possible output files:
 | 
|---|
| 3520 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 | 
|---|
| 3521 | 
 | 
|---|
| 3522 | ac_rmfiles=
 | 
|---|
| 3523 | for ac_file in $ac_files
 | 
|---|
| 3524 | do
 | 
|---|
| 3525 |   case $ac_file in
 | 
|---|
| 3526 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 | 
|---|
| 3527 |     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 | 
|---|
| 3528 |   esac
 | 
|---|
| 3529 | done
 | 
|---|
| 3530 | rm -f $ac_rmfiles
 | 
|---|
| 3531 | 
 | 
|---|
| 3532 | if { { ac_try="$ac_link_default"
 | 
|---|
| 3533 | case "(($ac_try" in
 | 
|---|
| 3534 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 3535 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 3536 | esac
 | 
|---|
| 3537 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 3538 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 3539 |   (eval "$ac_link_default") 2>&5
 | 
|---|
| 3540 |   ac_status=$?
 | 
|---|
| 3541 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 3542 |   test $ac_status = 0; }; then :
 | 
|---|
| 3543 |   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 | 
|---|
| 3544 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 | 
|---|
| 3545 | # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 | 
|---|
| 3546 | # so that the user can short-circuit this test for compilers unknown to
 | 
|---|
| 3547 | # Autoconf.
 | 
|---|
| 3548 | for ac_file in $ac_files ''
 | 
|---|
| 3549 | do
 | 
|---|
| 3550 |   test -f "$ac_file" || continue
 | 
|---|
| 3551 |   case $ac_file in
 | 
|---|
| 3552 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 | 
|---|
| 3553 |         ;;
 | 
|---|
| 3554 |     [ab].out )
 | 
|---|
| 3555 |         # We found the default executable, but exeext='' is most
 | 
|---|
| 3556 |         # certainly right.
 | 
|---|
| 3557 |         break;;
 | 
|---|
| 3558 |     *.* )
 | 
|---|
| 3559 |         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 | 
|---|
| 3560 |         then :; else
 | 
|---|
| 3561 |            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 | 
|---|
| 3562 |         fi
 | 
|---|
| 3563 |         # We set ac_cv_exeext here because the later test for it is not
 | 
|---|
| 3564 |         # safe: cross compilers may not add the suffix if given an `-o'
 | 
|---|
| 3565 |         # argument, so we may need to know it at that point already.
 | 
|---|
| 3566 |         # Even if this section looks crufty: it has the advantage of
 | 
|---|
| 3567 |         # actually working.
 | 
|---|
| 3568 |         break;;
 | 
|---|
| 3569 |     * )
 | 
|---|
| 3570 |         break;;
 | 
|---|
| 3571 |   esac
 | 
|---|
| 3572 | done
 | 
|---|
| 3573 | test "$ac_cv_exeext" = no && ac_cv_exeext=
 | 
|---|
| 3574 | 
 | 
|---|
| 3575 | else
 | 
|---|
| 3576 |   ac_file=''
 | 
|---|
| 3577 | fi
 | 
|---|
| 3578 | if test -z "$ac_file"; then :
 | 
|---|
| 3579 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 3580 | $as_echo "no" >&6; }
 | 
|---|
| 3581 | $as_echo "$as_me: failed program was:" >&5
 | 
|---|
| 3582 | sed 's/^/| /' conftest.$ac_ext >&5
 | 
|---|
| 3583 | 
 | 
|---|
| 3584 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 3585 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 3586 | as_fn_error 77 "C++ compiler cannot create executables
 | 
|---|
| 3587 | See \`config.log' for more details" "$LINENO" 5; }
 | 
|---|
| 3588 | else
 | 
|---|
| 3589 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 | 
|---|
| 3590 | $as_echo "yes" >&6; }
 | 
|---|
| 3591 | fi
 | 
|---|
| 3592 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
 | 
|---|
| 3593 | $as_echo_n "checking for C++ compiler default output file name... " >&6; }
 | 
|---|
| 3594 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 | 
|---|
| 3595 | $as_echo "$ac_file" >&6; }
 | 
|---|
| 3596 | ac_exeext=$ac_cv_exeext
 | 
|---|
| 3597 | 
 | 
|---|
| 3598 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 | 
|---|
| 3599 | ac_clean_files=$ac_clean_files_save
 | 
|---|
| 3600 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 | 
|---|
| 3601 | $as_echo_n "checking for suffix of executables... " >&6; }
 | 
|---|
| 3602 | if { { ac_try="$ac_link"
 | 
|---|
| 3603 | case "(($ac_try" in
 | 
|---|
| 3604 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 3605 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 3606 | esac
 | 
|---|
| 3607 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 3608 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 3609 |   (eval "$ac_link") 2>&5
 | 
|---|
| 3610 |   ac_status=$?
 | 
|---|
| 3611 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 3612 |   test $ac_status = 0; }; then :
 | 
|---|
| 3613 |   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 | 
|---|
| 3614 | # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 | 
|---|
| 3615 | # work properly (i.e., refer to `conftest.exe'), while it won't with
 | 
|---|
| 3616 | # `rm'.
 | 
|---|
| 3617 | for ac_file in conftest.exe conftest conftest.*; do
 | 
|---|
| 3618 |   test -f "$ac_file" || continue
 | 
|---|
| 3619 |   case $ac_file in
 | 
|---|
| 3620 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 | 
|---|
| 3621 |     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 | 
|---|
| 3622 |           break;;
 | 
|---|
| 3623 |     * ) break;;
 | 
|---|
| 3624 |   esac
 | 
|---|
| 3625 | done
 | 
|---|
| 3626 | else
 | 
|---|
| 3627 |   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 3628 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 3629 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 | 
|---|
| 3630 | See \`config.log' for more details" "$LINENO" 5; }
 | 
|---|
| 3631 | fi
 | 
|---|
| 3632 | rm -f conftest conftest$ac_cv_exeext
 | 
|---|
| 3633 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 | 
|---|
| 3634 | $as_echo "$ac_cv_exeext" >&6; }
 | 
|---|
| 3635 | 
 | 
|---|
| 3636 | rm -f conftest.$ac_ext
 | 
|---|
| 3637 | EXEEXT=$ac_cv_exeext
 | 
|---|
| 3638 | ac_exeext=$EXEEXT
 | 
|---|
| 3639 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 3640 | /* end confdefs.h.  */
 | 
|---|
| 3641 | #include <stdio.h>
 | 
|---|
| 3642 | int
 | 
|---|
| 3643 | main ()
 | 
|---|
| 3644 | {
 | 
|---|
| 3645 | FILE *f = fopen ("conftest.out", "w");
 | 
|---|
| 3646 |  return ferror (f) || fclose (f) != 0;
 | 
|---|
| 3647 | 
 | 
|---|
| 3648 |   ;
 | 
|---|
| 3649 |   return 0;
 | 
|---|
| 3650 | }
 | 
|---|
| 3651 | _ACEOF
 | 
|---|
| 3652 | ac_clean_files="$ac_clean_files conftest.out"
 | 
|---|
| 3653 | # Check that the compiler produces executables we can run.  If not, either
 | 
|---|
| 3654 | # the compiler is broken, or we cross compile.
 | 
|---|
| 3655 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 | 
|---|
| 3656 | $as_echo_n "checking whether we are cross compiling... " >&6; }
 | 
|---|
| 3657 | if test "$cross_compiling" != yes; then
 | 
|---|
| 3658 |   { { ac_try="$ac_link"
 | 
|---|
| 3659 | case "(($ac_try" in
 | 
|---|
| 3660 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 3661 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 3662 | esac
 | 
|---|
| 3663 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 3664 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 3665 |   (eval "$ac_link") 2>&5
 | 
|---|
| 3666 |   ac_status=$?
 | 
|---|
| 3667 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 3668 |   test $ac_status = 0; }
 | 
|---|
| 3669 |   if { ac_try='./conftest$ac_cv_exeext'
 | 
|---|
| 3670 |   { { case "(($ac_try" in
 | 
|---|
| 3671 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 3672 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 3673 | esac
 | 
|---|
| 3674 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 3675 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 3676 |   (eval "$ac_try") 2>&5
 | 
|---|
| 3677 |   ac_status=$?
 | 
|---|
| 3678 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 3679 |   test $ac_status = 0; }; }; then
 | 
|---|
| 3680 |     cross_compiling=no
 | 
|---|
| 3681 |   else
 | 
|---|
| 3682 |     if test "$cross_compiling" = maybe; then
 | 
|---|
| 3683 |         cross_compiling=yes
 | 
|---|
| 3684 |     else
 | 
|---|
| 3685 |         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 3686 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 3687 | as_fn_error $? "cannot run C++ compiled programs.
 | 
|---|
| 3688 | If you meant to cross compile, use \`--host'.
 | 
|---|
| 3689 | See \`config.log' for more details" "$LINENO" 5; }
 | 
|---|
| 3690 |     fi
 | 
|---|
| 3691 |   fi
 | 
|---|
| 3692 | fi
 | 
|---|
| 3693 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 | 
|---|
| 3694 | $as_echo "$cross_compiling" >&6; }
 | 
|---|
| 3695 | 
 | 
|---|
| 3696 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 | 
|---|
| 3697 | ac_clean_files=$ac_clean_files_save
 | 
|---|
| 3698 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 | 
|---|
| 3699 | $as_echo_n "checking for suffix of object files... " >&6; }
 | 
|---|
| 3700 | if ${ac_cv_objext+:} false; then :
 | 
|---|
| 3701 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3702 | else
 | 
|---|
| 3703 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 3704 | /* end confdefs.h.  */
 | 
|---|
| 3705 | 
 | 
|---|
| 3706 | int
 | 
|---|
| 3707 | main ()
 | 
|---|
| 3708 | {
 | 
|---|
| 3709 | 
 | 
|---|
| 3710 |   ;
 | 
|---|
| 3711 |   return 0;
 | 
|---|
| 3712 | }
 | 
|---|
| 3713 | _ACEOF
 | 
|---|
| 3714 | rm -f conftest.o conftest.obj
 | 
|---|
| 3715 | if { { ac_try="$ac_compile"
 | 
|---|
| 3716 | case "(($ac_try" in
 | 
|---|
| 3717 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 3718 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 3719 | esac
 | 
|---|
| 3720 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 3721 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 3722 |   (eval "$ac_compile") 2>&5
 | 
|---|
| 3723 |   ac_status=$?
 | 
|---|
| 3724 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 3725 |   test $ac_status = 0; }; then :
 | 
|---|
| 3726 |   for ac_file in conftest.o conftest.obj conftest.*; do
 | 
|---|
| 3727 |   test -f "$ac_file" || continue;
 | 
|---|
| 3728 |   case $ac_file in
 | 
|---|
| 3729 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 | 
|---|
| 3730 |     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 | 
|---|
| 3731 |        break;;
 | 
|---|
| 3732 |   esac
 | 
|---|
| 3733 | done
 | 
|---|
| 3734 | else
 | 
|---|
| 3735 |   $as_echo "$as_me: failed program was:" >&5
 | 
|---|
| 3736 | sed 's/^/| /' conftest.$ac_ext >&5
 | 
|---|
| 3737 | 
 | 
|---|
| 3738 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 3739 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 3740 | as_fn_error $? "cannot compute suffix of object files: cannot compile
 | 
|---|
| 3741 | See \`config.log' for more details" "$LINENO" 5; }
 | 
|---|
| 3742 | fi
 | 
|---|
| 3743 | rm -f conftest.$ac_cv_objext conftest.$ac_ext
 | 
|---|
| 3744 | fi
 | 
|---|
| 3745 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 | 
|---|
| 3746 | $as_echo "$ac_cv_objext" >&6; }
 | 
|---|
| 3747 | OBJEXT=$ac_cv_objext
 | 
|---|
| 3748 | ac_objext=$OBJEXT
 | 
|---|
| 3749 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 | 
|---|
| 3750 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 | 
|---|
| 3751 | if ${ac_cv_cxx_compiler_gnu+:} false; then :
 | 
|---|
| 3752 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3753 | else
 | 
|---|
| 3754 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 3755 | /* end confdefs.h.  */
 | 
|---|
| 3756 | 
 | 
|---|
| 3757 | int
 | 
|---|
| 3758 | main ()
 | 
|---|
| 3759 | {
 | 
|---|
| 3760 | #ifndef __GNUC__
 | 
|---|
| 3761 |        choke me
 | 
|---|
| 3762 | #endif
 | 
|---|
| 3763 | 
 | 
|---|
| 3764 |   ;
 | 
|---|
| 3765 |   return 0;
 | 
|---|
| 3766 | }
 | 
|---|
| 3767 | _ACEOF
 | 
|---|
| 3768 | if ac_fn_cxx_try_compile "$LINENO"; then :
 | 
|---|
| 3769 |   ac_compiler_gnu=yes
 | 
|---|
| 3770 | else
 | 
|---|
| 3771 |   ac_compiler_gnu=no
 | 
|---|
| 3772 | fi
 | 
|---|
| 3773 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 3774 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 | 
|---|
| 3775 | 
 | 
|---|
| 3776 | fi
 | 
|---|
| 3777 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 | 
|---|
| 3778 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 | 
|---|
| 3779 | if test $ac_compiler_gnu = yes; then
 | 
|---|
| 3780 |   GXX=yes
 | 
|---|
| 3781 | else
 | 
|---|
| 3782 |   GXX=
 | 
|---|
| 3783 | fi
 | 
|---|
| 3784 | ac_test_CXXFLAGS=${CXXFLAGS+set}
 | 
|---|
| 3785 | ac_save_CXXFLAGS=$CXXFLAGS
 | 
|---|
| 3786 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 | 
|---|
| 3787 | $as_echo_n "checking whether $CXX accepts -g... " >&6; }
 | 
|---|
| 3788 | if ${ac_cv_prog_cxx_g+:} false; then :
 | 
|---|
| 3789 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3790 | else
 | 
|---|
| 3791 |   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 | 
|---|
| 3792 |    ac_cxx_werror_flag=yes
 | 
|---|
| 3793 |    ac_cv_prog_cxx_g=no
 | 
|---|
| 3794 |    CXXFLAGS="-g"
 | 
|---|
| 3795 |    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 3796 | /* end confdefs.h.  */
 | 
|---|
| 3797 | 
 | 
|---|
| 3798 | int
 | 
|---|
| 3799 | main ()
 | 
|---|
| 3800 | {
 | 
|---|
| 3801 | 
 | 
|---|
| 3802 |   ;
 | 
|---|
| 3803 |   return 0;
 | 
|---|
| 3804 | }
 | 
|---|
| 3805 | _ACEOF
 | 
|---|
| 3806 | if ac_fn_cxx_try_compile "$LINENO"; then :
 | 
|---|
| 3807 |   ac_cv_prog_cxx_g=yes
 | 
|---|
| 3808 | else
 | 
|---|
| 3809 |   CXXFLAGS=""
 | 
|---|
| 3810 |       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 3811 | /* end confdefs.h.  */
 | 
|---|
| 3812 | 
 | 
|---|
| 3813 | int
 | 
|---|
| 3814 | main ()
 | 
|---|
| 3815 | {
 | 
|---|
| 3816 | 
 | 
|---|
| 3817 |   ;
 | 
|---|
| 3818 |   return 0;
 | 
|---|
| 3819 | }
 | 
|---|
| 3820 | _ACEOF
 | 
|---|
| 3821 | if ac_fn_cxx_try_compile "$LINENO"; then :
 | 
|---|
| 3822 | 
 | 
|---|
| 3823 | else
 | 
|---|
| 3824 |   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 | 
|---|
| 3825 |          CXXFLAGS="-g"
 | 
|---|
| 3826 |          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 3827 | /* end confdefs.h.  */
 | 
|---|
| 3828 | 
 | 
|---|
| 3829 | int
 | 
|---|
| 3830 | main ()
 | 
|---|
| 3831 | {
 | 
|---|
| 3832 | 
 | 
|---|
| 3833 |   ;
 | 
|---|
| 3834 |   return 0;
 | 
|---|
| 3835 | }
 | 
|---|
| 3836 | _ACEOF
 | 
|---|
| 3837 | if ac_fn_cxx_try_compile "$LINENO"; then :
 | 
|---|
| 3838 |   ac_cv_prog_cxx_g=yes
 | 
|---|
| 3839 | fi
 | 
|---|
| 3840 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 3841 | fi
 | 
|---|
| 3842 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 3843 | fi
 | 
|---|
| 3844 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 3845 |    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 | 
|---|
| 3846 | fi
 | 
|---|
| 3847 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 | 
|---|
| 3848 | $as_echo "$ac_cv_prog_cxx_g" >&6; }
 | 
|---|
| 3849 | if test "$ac_test_CXXFLAGS" = set; then
 | 
|---|
| 3850 |   CXXFLAGS=$ac_save_CXXFLAGS
 | 
|---|
| 3851 | elif test $ac_cv_prog_cxx_g = yes; then
 | 
|---|
| 3852 |   if test "$GXX" = yes; then
 | 
|---|
| 3853 |     CXXFLAGS="-g -O2"
 | 
|---|
| 3854 |   else
 | 
|---|
| 3855 |     CXXFLAGS="-g"
 | 
|---|
| 3856 |   fi
 | 
|---|
| 3857 | else
 | 
|---|
| 3858 |   if test "$GXX" = yes; then
 | 
|---|
| 3859 |     CXXFLAGS="-O2"
 | 
|---|
| 3860 |   else
 | 
|---|
| 3861 |     CXXFLAGS=
 | 
|---|
| 3862 |   fi
 | 
|---|
| 3863 | fi
 | 
|---|
| 3864 | ac_ext=c
 | 
|---|
| 3865 | ac_cpp='$CPP $CPPFLAGS'
 | 
|---|
| 3866 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 3867 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 3868 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
 | 
|---|
| 3869 | DEPDIR="${am__leading_dot}deps"
 | 
|---|
| 3870 | 
 | 
|---|
| 3871 | ac_config_commands="$ac_config_commands depfiles"
 | 
|---|
| 3872 | 
 | 
|---|
| 3873 | 
 | 
|---|
| 3874 | am_make=${MAKE-make}
 | 
|---|
| 3875 | cat > confinc << 'END'
 | 
|---|
| 3876 | am__doit:
 | 
|---|
| 3877 |         @echo this is the am__doit target
 | 
|---|
| 3878 | .PHONY: am__doit
 | 
|---|
| 3879 | END
 | 
|---|
| 3880 | # If we don't find an include directive, just comment out the code.
 | 
|---|
| 3881 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 | 
|---|
| 3882 | $as_echo_n "checking for style of include used by $am_make... " >&6; }
 | 
|---|
| 3883 | am__include="#"
 | 
|---|
| 3884 | am__quote=
 | 
|---|
| 3885 | _am_result=none
 | 
|---|
| 3886 | # First try GNU make style include.
 | 
|---|
| 3887 | echo "include confinc" > confmf
 | 
|---|
| 3888 | # Ignore all kinds of additional output from `make'.
 | 
|---|
| 3889 | case `$am_make -s -f confmf 2> /dev/null` in #(
 | 
|---|
| 3890 | *the\ am__doit\ target*)
 | 
|---|
| 3891 |   am__include=include
 | 
|---|
| 3892 |   am__quote=
 | 
|---|
| 3893 |   _am_result=GNU
 | 
|---|
| 3894 |   ;;
 | 
|---|
| 3895 | esac
 | 
|---|
| 3896 | # Now try BSD make style include.
 | 
|---|
| 3897 | if test "$am__include" = "#"; then
 | 
|---|
| 3898 |    echo '.include "confinc"' > confmf
 | 
|---|
| 3899 |    case `$am_make -s -f confmf 2> /dev/null` in #(
 | 
|---|
| 3900 |    *the\ am__doit\ target*)
 | 
|---|
| 3901 |      am__include=.include
 | 
|---|
| 3902 |      am__quote="\""
 | 
|---|
| 3903 |      _am_result=BSD
 | 
|---|
| 3904 |      ;;
 | 
|---|
| 3905 |    esac
 | 
|---|
| 3906 | fi
 | 
|---|
| 3907 | 
 | 
|---|
| 3908 | 
 | 
|---|
| 3909 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 | 
|---|
| 3910 | $as_echo "$_am_result" >&6; }
 | 
|---|
| 3911 | rm -f confinc confmf
 | 
|---|
| 3912 | 
 | 
|---|
| 3913 | # Check whether --enable-dependency-tracking was given.
 | 
|---|
| 3914 | if test "${enable_dependency_tracking+set}" = set; then :
 | 
|---|
| 3915 |   enableval=$enable_dependency_tracking;
 | 
|---|
| 3916 | fi
 | 
|---|
| 3917 | 
 | 
|---|
| 3918 | if test "x$enable_dependency_tracking" != xno; then
 | 
|---|
| 3919 |   am_depcomp="$ac_aux_dir/depcomp"
 | 
|---|
| 3920 |   AMDEPBACKSLASH='\'
 | 
|---|
| 3921 |   am__nodep='_no'
 | 
|---|
| 3922 | fi
 | 
|---|
| 3923 |  if test "x$enable_dependency_tracking" != xno; then
 | 
|---|
| 3924 |   AMDEP_TRUE=
 | 
|---|
| 3925 |   AMDEP_FALSE='#'
 | 
|---|
| 3926 | else
 | 
|---|
| 3927 |   AMDEP_TRUE='#'
 | 
|---|
| 3928 |   AMDEP_FALSE=
 | 
|---|
| 3929 | fi
 | 
|---|
| 3930 | 
 | 
|---|
| 3931 | 
 | 
|---|
| 3932 | 
 | 
|---|
| 3933 | depcc="$CXX"  am_compiler_list=
 | 
|---|
| 3934 | 
 | 
|---|
| 3935 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 | 
|---|
| 3936 | $as_echo_n "checking dependency style of $depcc... " >&6; }
 | 
|---|
| 3937 | if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
 | 
|---|
| 3938 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3939 | else
 | 
|---|
| 3940 |   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 | 
|---|
| 3941 |   # We make a subdir and do the tests there.  Otherwise we can end up
 | 
|---|
| 3942 |   # making bogus files that we don't know about and never remove.  For
 | 
|---|
| 3943 |   # instance it was reported that on HP-UX the gcc test will end up
 | 
|---|
| 3944 |   # making a dummy file named `D' -- because `-MD' means `put the output
 | 
|---|
| 3945 |   # in D'.
 | 
|---|
| 3946 |   rm -rf conftest.dir
 | 
|---|
| 3947 |   mkdir conftest.dir
 | 
|---|
| 3948 |   # Copy depcomp to subdir because otherwise we won't find it if we're
 | 
|---|
| 3949 |   # using a relative directory.
 | 
|---|
| 3950 |   cp "$am_depcomp" conftest.dir
 | 
|---|
| 3951 |   cd conftest.dir
 | 
|---|
| 3952 |   # We will build objects and dependencies in a subdirectory because
 | 
|---|
| 3953 |   # it helps to detect inapplicable dependency modes.  For instance
 | 
|---|
| 3954 |   # both Tru64's cc and ICC support -MD to output dependencies as a
 | 
|---|
| 3955 |   # side effect of compilation, but ICC will put the dependencies in
 | 
|---|
| 3956 |   # the current directory while Tru64 will put them in the object
 | 
|---|
| 3957 |   # directory.
 | 
|---|
| 3958 |   mkdir sub
 | 
|---|
| 3959 | 
 | 
|---|
| 3960 |   am_cv_CXX_dependencies_compiler_type=none
 | 
|---|
| 3961 |   if test "$am_compiler_list" = ""; then
 | 
|---|
| 3962 |      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 | 
|---|
| 3963 |   fi
 | 
|---|
| 3964 |   am__universal=false
 | 
|---|
| 3965 |   case " $depcc " in #(
 | 
|---|
| 3966 |      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 | 
|---|
| 3967 |      esac
 | 
|---|
| 3968 | 
 | 
|---|
| 3969 |   for depmode in $am_compiler_list; do
 | 
|---|
| 3970 |     # Setup a source with many dependencies, because some compilers
 | 
|---|
| 3971 |     # like to wrap large dependency lists on column 80 (with \), and
 | 
|---|
| 3972 |     # we should not choose a depcomp mode which is confused by this.
 | 
|---|
| 3973 |     #
 | 
|---|
| 3974 |     # We need to recreate these files for each test, as the compiler may
 | 
|---|
| 3975 |     # overwrite some of them when testing with obscure command lines.
 | 
|---|
| 3976 |     # This happens at least with the AIX C compiler.
 | 
|---|
| 3977 |     : > sub/conftest.c
 | 
|---|
| 3978 |     for i in 1 2 3 4 5 6; do
 | 
|---|
| 3979 |       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 | 
|---|
| 3980 |       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 | 
|---|
| 3981 |       # Solaris 8's {/usr,}/bin/sh.
 | 
|---|
| 3982 |       touch sub/conftst$i.h
 | 
|---|
| 3983 |     done
 | 
|---|
| 3984 |     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 | 
|---|
| 3985 | 
 | 
|---|
| 3986 |     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 | 
|---|
| 3987 |     # mode.  It turns out that the SunPro C++ compiler does not properly
 | 
|---|
| 3988 |     # handle `-M -o', and we need to detect this.  Also, some Intel
 | 
|---|
| 3989 |     # versions had trouble with output in subdirs
 | 
|---|
| 3990 |     am__obj=sub/conftest.${OBJEXT-o}
 | 
|---|
| 3991 |     am__minus_obj="-o $am__obj"
 | 
|---|
| 3992 |     case $depmode in
 | 
|---|
| 3993 |     gcc)
 | 
|---|
| 3994 |       # This depmode causes a compiler race in universal mode.
 | 
|---|
| 3995 |       test "$am__universal" = false || continue
 | 
|---|
| 3996 |       ;;
 | 
|---|
| 3997 |     nosideeffect)
 | 
|---|
| 3998 |       # after this tag, mechanisms are not by side-effect, so they'll
 | 
|---|
| 3999 |       # only be used when explicitly requested
 | 
|---|
| 4000 |       if test "x$enable_dependency_tracking" = xyes; then
 | 
|---|
| 4001 |         continue
 | 
|---|
| 4002 |       else
 | 
|---|
| 4003 |         break
 | 
|---|
| 4004 |       fi
 | 
|---|
| 4005 |       ;;
 | 
|---|
| 4006 |     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 | 
|---|
| 4007 |       # This compiler won't grok `-c -o', but also, the minuso test has
 | 
|---|
| 4008 |       # not run yet.  These depmodes are late enough in the game, and
 | 
|---|
| 4009 |       # so weak that their functioning should not be impacted.
 | 
|---|
| 4010 |       am__obj=conftest.${OBJEXT-o}
 | 
|---|
| 4011 |       am__minus_obj=
 | 
|---|
| 4012 |       ;;
 | 
|---|
| 4013 |     none) break ;;
 | 
|---|
| 4014 |     esac
 | 
|---|
| 4015 |     if depmode=$depmode \
 | 
|---|
| 4016 |        source=sub/conftest.c object=$am__obj \
 | 
|---|
| 4017 |        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 | 
|---|
| 4018 |        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 | 
|---|
| 4019 |          >/dev/null 2>conftest.err &&
 | 
|---|
| 4020 |        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 4021 |        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 4022 |        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 4023 |        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 | 
|---|
| 4024 |       # icc doesn't choke on unknown options, it will just issue warnings
 | 
|---|
| 4025 |       # or remarks (even with -Werror).  So we grep stderr for any message
 | 
|---|
| 4026 |       # that says an option was ignored or not supported.
 | 
|---|
| 4027 |       # When given -MP, icc 7.0 and 7.1 complain thusly:
 | 
|---|
| 4028 |       #   icc: Command line warning: ignoring option '-M'; no argument required
 | 
|---|
| 4029 |       # The diagnosis changed in icc 8.0:
 | 
|---|
| 4030 |       #   icc: Command line remark: option '-MP' not supported
 | 
|---|
| 4031 |       if (grep 'ignoring option' conftest.err ||
 | 
|---|
| 4032 |           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 | 
|---|
| 4033 |         am_cv_CXX_dependencies_compiler_type=$depmode
 | 
|---|
| 4034 |         break
 | 
|---|
| 4035 |       fi
 | 
|---|
| 4036 |     fi
 | 
|---|
| 4037 |   done
 | 
|---|
| 4038 | 
 | 
|---|
| 4039 |   cd ..
 | 
|---|
| 4040 |   rm -rf conftest.dir
 | 
|---|
| 4041 | else
 | 
|---|
| 4042 |   am_cv_CXX_dependencies_compiler_type=none
 | 
|---|
| 4043 | fi
 | 
|---|
| 4044 | 
 | 
|---|
| 4045 | fi
 | 
|---|
| 4046 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 | 
|---|
| 4047 | $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 | 
|---|
| 4048 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 | 
|---|
| 4049 | 
 | 
|---|
| 4050 |  if
 | 
|---|
| 4051 |   test "x$enable_dependency_tracking" != xno \
 | 
|---|
| 4052 |   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 | 
|---|
| 4053 |   am__fastdepCXX_TRUE=
 | 
|---|
| 4054 |   am__fastdepCXX_FALSE='#'
 | 
|---|
| 4055 | else
 | 
|---|
| 4056 |   am__fastdepCXX_TRUE='#'
 | 
|---|
| 4057 |   am__fastdepCXX_FALSE=
 | 
|---|
| 4058 | fi
 | 
|---|
| 4059 | 
 | 
|---|
| 4060 | 
 | 
|---|
| 4061 | ac_ext=c
 | 
|---|
| 4062 | ac_cpp='$CPP $CPPFLAGS'
 | 
|---|
| 4063 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 4064 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 4065 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
 | 
|---|
| 4066 | if test -n "$ac_tool_prefix"; then
 | 
|---|
| 4067 |   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 | 
|---|
| 4068 | set dummy ${ac_tool_prefix}gcc; ac_word=$2
 | 
|---|
| 4069 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 4070 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 4071 | if ${ac_cv_prog_CC+:} false; then :
 | 
|---|
| 4072 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4073 | else
 | 
|---|
| 4074 |   if test -n "$CC"; then
 | 
|---|
| 4075 |   ac_cv_prog_CC="$CC" # Let the user override the test.
 | 
|---|
| 4076 | else
 | 
|---|
| 4077 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 4078 | for as_dir in $PATH
 | 
|---|
| 4079 | do
 | 
|---|
| 4080 |   IFS=$as_save_IFS
 | 
|---|
| 4081 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 4082 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 4083 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 4084 |     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 | 
|---|
| 4085 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 4086 |     break 2
 | 
|---|
| 4087 |   fi
 | 
|---|
| 4088 | done
 | 
|---|
| 4089 |   done
 | 
|---|
| 4090 | IFS=$as_save_IFS
 | 
|---|
| 4091 | 
 | 
|---|
| 4092 | fi
 | 
|---|
| 4093 | fi
 | 
|---|
| 4094 | CC=$ac_cv_prog_CC
 | 
|---|
| 4095 | if test -n "$CC"; then
 | 
|---|
| 4096 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 | 
|---|
| 4097 | $as_echo "$CC" >&6; }
 | 
|---|
| 4098 | else
 | 
|---|
| 4099 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 4100 | $as_echo "no" >&6; }
 | 
|---|
| 4101 | fi
 | 
|---|
| 4102 | 
 | 
|---|
| 4103 | 
 | 
|---|
| 4104 | fi
 | 
|---|
| 4105 | if test -z "$ac_cv_prog_CC"; then
 | 
|---|
| 4106 |   ac_ct_CC=$CC
 | 
|---|
| 4107 |   # Extract the first word of "gcc", so it can be a program name with args.
 | 
|---|
| 4108 | set dummy gcc; ac_word=$2
 | 
|---|
| 4109 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 4110 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 4111 | if ${ac_cv_prog_ac_ct_CC+:} false; then :
 | 
|---|
| 4112 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4113 | else
 | 
|---|
| 4114 |   if test -n "$ac_ct_CC"; then
 | 
|---|
| 4115 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 | 
|---|
| 4116 | else
 | 
|---|
| 4117 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 4118 | for as_dir in $PATH
 | 
|---|
| 4119 | do
 | 
|---|
| 4120 |   IFS=$as_save_IFS
 | 
|---|
| 4121 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 4122 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 4123 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 4124 |     ac_cv_prog_ac_ct_CC="gcc"
 | 
|---|
| 4125 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 4126 |     break 2
 | 
|---|
| 4127 |   fi
 | 
|---|
| 4128 | done
 | 
|---|
| 4129 |   done
 | 
|---|
| 4130 | IFS=$as_save_IFS
 | 
|---|
| 4131 | 
 | 
|---|
| 4132 | fi
 | 
|---|
| 4133 | fi
 | 
|---|
| 4134 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
 | 
|---|
| 4135 | if test -n "$ac_ct_CC"; then
 | 
|---|
| 4136 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 | 
|---|
| 4137 | $as_echo "$ac_ct_CC" >&6; }
 | 
|---|
| 4138 | else
 | 
|---|
| 4139 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 4140 | $as_echo "no" >&6; }
 | 
|---|
| 4141 | fi
 | 
|---|
| 4142 | 
 | 
|---|
| 4143 |   if test "x$ac_ct_CC" = x; then
 | 
|---|
| 4144 |     CC=""
 | 
|---|
| 4145 |   else
 | 
|---|
| 4146 |     case $cross_compiling:$ac_tool_warned in
 | 
|---|
| 4147 | yes:)
 | 
|---|
| 4148 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 | 
|---|
| 4149 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 | 
|---|
| 4150 | ac_tool_warned=yes ;;
 | 
|---|
| 4151 | esac
 | 
|---|
| 4152 |     CC=$ac_ct_CC
 | 
|---|
| 4153 |   fi
 | 
|---|
| 4154 | else
 | 
|---|
| 4155 |   CC="$ac_cv_prog_CC"
 | 
|---|
| 4156 | fi
 | 
|---|
| 4157 | 
 | 
|---|
| 4158 | if test -z "$CC"; then
 | 
|---|
| 4159 |           if test -n "$ac_tool_prefix"; then
 | 
|---|
| 4160 |     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 | 
|---|
| 4161 | set dummy ${ac_tool_prefix}cc; ac_word=$2
 | 
|---|
| 4162 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 4163 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 4164 | if ${ac_cv_prog_CC+:} false; then :
 | 
|---|
| 4165 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4166 | else
 | 
|---|
| 4167 |   if test -n "$CC"; then
 | 
|---|
| 4168 |   ac_cv_prog_CC="$CC" # Let the user override the test.
 | 
|---|
| 4169 | else
 | 
|---|
| 4170 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 4171 | for as_dir in $PATH
 | 
|---|
| 4172 | do
 | 
|---|
| 4173 |   IFS=$as_save_IFS
 | 
|---|
| 4174 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 4175 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 4176 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 4177 |     ac_cv_prog_CC="${ac_tool_prefix}cc"
 | 
|---|
| 4178 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 4179 |     break 2
 | 
|---|
| 4180 |   fi
 | 
|---|
| 4181 | done
 | 
|---|
| 4182 |   done
 | 
|---|
| 4183 | IFS=$as_save_IFS
 | 
|---|
| 4184 | 
 | 
|---|
| 4185 | fi
 | 
|---|
| 4186 | fi
 | 
|---|
| 4187 | CC=$ac_cv_prog_CC
 | 
|---|
| 4188 | if test -n "$CC"; then
 | 
|---|
| 4189 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 | 
|---|
| 4190 | $as_echo "$CC" >&6; }
 | 
|---|
| 4191 | else
 | 
|---|
| 4192 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 4193 | $as_echo "no" >&6; }
 | 
|---|
| 4194 | fi
 | 
|---|
| 4195 | 
 | 
|---|
| 4196 | 
 | 
|---|
| 4197 |   fi
 | 
|---|
| 4198 | fi
 | 
|---|
| 4199 | if test -z "$CC"; then
 | 
|---|
| 4200 |   # Extract the first word of "cc", so it can be a program name with args.
 | 
|---|
| 4201 | set dummy cc; ac_word=$2
 | 
|---|
| 4202 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 4203 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 4204 | if ${ac_cv_prog_CC+:} false; then :
 | 
|---|
| 4205 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4206 | else
 | 
|---|
| 4207 |   if test -n "$CC"; then
 | 
|---|
| 4208 |   ac_cv_prog_CC="$CC" # Let the user override the test.
 | 
|---|
| 4209 | else
 | 
|---|
| 4210 |   ac_prog_rejected=no
 | 
|---|
| 4211 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 4212 | for as_dir in $PATH
 | 
|---|
| 4213 | do
 | 
|---|
| 4214 |   IFS=$as_save_IFS
 | 
|---|
| 4215 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 4216 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 4217 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 4218 |     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 | 
|---|
| 4219 |        ac_prog_rejected=yes
 | 
|---|
| 4220 |        continue
 | 
|---|
| 4221 |      fi
 | 
|---|
| 4222 |     ac_cv_prog_CC="cc"
 | 
|---|
| 4223 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 4224 |     break 2
 | 
|---|
| 4225 |   fi
 | 
|---|
| 4226 | done
 | 
|---|
| 4227 |   done
 | 
|---|
| 4228 | IFS=$as_save_IFS
 | 
|---|
| 4229 | 
 | 
|---|
| 4230 | if test $ac_prog_rejected = yes; then
 | 
|---|
| 4231 |   # We found a bogon in the path, so make sure we never use it.
 | 
|---|
| 4232 |   set dummy $ac_cv_prog_CC
 | 
|---|
| 4233 |   shift
 | 
|---|
| 4234 |   if test $# != 0; then
 | 
|---|
| 4235 |     # We chose a different compiler from the bogus one.
 | 
|---|
| 4236 |     # However, it has the same basename, so the bogon will be chosen
 | 
|---|
| 4237 |     # first if we set CC to just the basename; use the full file name.
 | 
|---|
| 4238 |     shift
 | 
|---|
| 4239 |     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 | 
|---|
| 4240 |   fi
 | 
|---|
| 4241 | fi
 | 
|---|
| 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 "$CC"; then
 | 
|---|
| 4256 |   if test -n "$ac_tool_prefix"; then
 | 
|---|
| 4257 |   for ac_prog in cl.exe
 | 
|---|
| 4258 |   do
 | 
|---|
| 4259 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 | 
|---|
| 4260 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 | 
|---|
| 4261 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 4262 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 4263 | if ${ac_cv_prog_CC+:} false; then :
 | 
|---|
| 4264 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4265 | else
 | 
|---|
| 4266 |   if test -n "$CC"; then
 | 
|---|
| 4267 |   ac_cv_prog_CC="$CC" # Let the user override the test.
 | 
|---|
| 4268 | else
 | 
|---|
| 4269 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 4270 | for as_dir in $PATH
 | 
|---|
| 4271 | do
 | 
|---|
| 4272 |   IFS=$as_save_IFS
 | 
|---|
| 4273 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 4274 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 4275 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 4276 |     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 | 
|---|
| 4277 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 4278 |     break 2
 | 
|---|
| 4279 |   fi
 | 
|---|
| 4280 | done
 | 
|---|
| 4281 |   done
 | 
|---|
| 4282 | IFS=$as_save_IFS
 | 
|---|
| 4283 | 
 | 
|---|
| 4284 | fi
 | 
|---|
| 4285 | fi
 | 
|---|
| 4286 | CC=$ac_cv_prog_CC
 | 
|---|
| 4287 | if test -n "$CC"; then
 | 
|---|
| 4288 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 | 
|---|
| 4289 | $as_echo "$CC" >&6; }
 | 
|---|
| 4290 | else
 | 
|---|
| 4291 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 4292 | $as_echo "no" >&6; }
 | 
|---|
| 4293 | fi
 | 
|---|
| 4294 | 
 | 
|---|
| 4295 | 
 | 
|---|
| 4296 |     test -n "$CC" && break
 | 
|---|
| 4297 |   done
 | 
|---|
| 4298 | fi
 | 
|---|
| 4299 | if test -z "$CC"; then
 | 
|---|
| 4300 |   ac_ct_CC=$CC
 | 
|---|
| 4301 |   for ac_prog in cl.exe
 | 
|---|
| 4302 | do
 | 
|---|
| 4303 |   # Extract the first word of "$ac_prog", so it can be a program name with args.
 | 
|---|
| 4304 | set dummy $ac_prog; ac_word=$2
 | 
|---|
| 4305 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 4306 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 4307 | if ${ac_cv_prog_ac_ct_CC+:} false; then :
 | 
|---|
| 4308 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4309 | else
 | 
|---|
| 4310 |   if test -n "$ac_ct_CC"; then
 | 
|---|
| 4311 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 | 
|---|
| 4312 | else
 | 
|---|
| 4313 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 4314 | for as_dir in $PATH
 | 
|---|
| 4315 | do
 | 
|---|
| 4316 |   IFS=$as_save_IFS
 | 
|---|
| 4317 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 4318 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 4319 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 4320 |     ac_cv_prog_ac_ct_CC="$ac_prog"
 | 
|---|
| 4321 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 4322 |     break 2
 | 
|---|
| 4323 |   fi
 | 
|---|
| 4324 | done
 | 
|---|
| 4325 |   done
 | 
|---|
| 4326 | IFS=$as_save_IFS
 | 
|---|
| 4327 | 
 | 
|---|
| 4328 | fi
 | 
|---|
| 4329 | fi
 | 
|---|
| 4330 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
 | 
|---|
| 4331 | if test -n "$ac_ct_CC"; then
 | 
|---|
| 4332 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 | 
|---|
| 4333 | $as_echo "$ac_ct_CC" >&6; }
 | 
|---|
| 4334 | else
 | 
|---|
| 4335 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 4336 | $as_echo "no" >&6; }
 | 
|---|
| 4337 | fi
 | 
|---|
| 4338 | 
 | 
|---|
| 4339 | 
 | 
|---|
| 4340 |   test -n "$ac_ct_CC" && break
 | 
|---|
| 4341 | done
 | 
|---|
| 4342 | 
 | 
|---|
| 4343 |   if test "x$ac_ct_CC" = x; then
 | 
|---|
| 4344 |     CC=""
 | 
|---|
| 4345 |   else
 | 
|---|
| 4346 |     case $cross_compiling:$ac_tool_warned in
 | 
|---|
| 4347 | yes:)
 | 
|---|
| 4348 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 | 
|---|
| 4349 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 | 
|---|
| 4350 | ac_tool_warned=yes ;;
 | 
|---|
| 4351 | esac
 | 
|---|
| 4352 |     CC=$ac_ct_CC
 | 
|---|
| 4353 |   fi
 | 
|---|
| 4354 | fi
 | 
|---|
| 4355 | 
 | 
|---|
| 4356 | fi
 | 
|---|
| 4357 | 
 | 
|---|
| 4358 | 
 | 
|---|
| 4359 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 4360 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 4361 | as_fn_error $? "no acceptable C compiler found in \$PATH
 | 
|---|
| 4362 | See \`config.log' for more details" "$LINENO" 5; }
 | 
|---|
| 4363 | 
 | 
|---|
| 4364 | # Provide some information about the compiler.
 | 
|---|
| 4365 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 | 
|---|
| 4366 | set X $ac_compile
 | 
|---|
| 4367 | ac_compiler=$2
 | 
|---|
| 4368 | for ac_option in --version -v -V -qversion; do
 | 
|---|
| 4369 |   { { ac_try="$ac_compiler $ac_option >&5"
 | 
|---|
| 4370 | case "(($ac_try" in
 | 
|---|
| 4371 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 4372 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 4373 | esac
 | 
|---|
| 4374 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 4375 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 4376 |   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 | 
|---|
| 4377 |   ac_status=$?
 | 
|---|
| 4378 |   if test -s conftest.err; then
 | 
|---|
| 4379 |     sed '10a\
 | 
|---|
| 4380 | ... rest of stderr output deleted ...
 | 
|---|
| 4381 |          10q' conftest.err >conftest.er1
 | 
|---|
| 4382 |     cat conftest.er1 >&5
 | 
|---|
| 4383 |   fi
 | 
|---|
| 4384 |   rm -f conftest.er1 conftest.err
 | 
|---|
| 4385 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 4386 |   test $ac_status = 0; }
 | 
|---|
| 4387 | done
 | 
|---|
| 4388 | 
 | 
|---|
| 4389 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 | 
|---|
| 4390 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 | 
|---|
| 4391 | if ${ac_cv_c_compiler_gnu+:} false; then :
 | 
|---|
| 4392 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4393 | else
 | 
|---|
| 4394 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 4395 | /* end confdefs.h.  */
 | 
|---|
| 4396 | 
 | 
|---|
| 4397 | int
 | 
|---|
| 4398 | main ()
 | 
|---|
| 4399 | {
 | 
|---|
| 4400 | #ifndef __GNUC__
 | 
|---|
| 4401 |        choke me
 | 
|---|
| 4402 | #endif
 | 
|---|
| 4403 | 
 | 
|---|
| 4404 |   ;
 | 
|---|
| 4405 |   return 0;
 | 
|---|
| 4406 | }
 | 
|---|
| 4407 | _ACEOF
 | 
|---|
| 4408 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 4409 |   ac_compiler_gnu=yes
 | 
|---|
| 4410 | else
 | 
|---|
| 4411 |   ac_compiler_gnu=no
 | 
|---|
| 4412 | fi
 | 
|---|
| 4413 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 4414 | ac_cv_c_compiler_gnu=$ac_compiler_gnu
 | 
|---|
| 4415 | 
 | 
|---|
| 4416 | fi
 | 
|---|
| 4417 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 | 
|---|
| 4418 | $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 | 
|---|
| 4419 | if test $ac_compiler_gnu = yes; then
 | 
|---|
| 4420 |   GCC=yes
 | 
|---|
| 4421 | else
 | 
|---|
| 4422 |   GCC=
 | 
|---|
| 4423 | fi
 | 
|---|
| 4424 | ac_test_CFLAGS=${CFLAGS+set}
 | 
|---|
| 4425 | ac_save_CFLAGS=$CFLAGS
 | 
|---|
| 4426 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 | 
|---|
| 4427 | $as_echo_n "checking whether $CC accepts -g... " >&6; }
 | 
|---|
| 4428 | if ${ac_cv_prog_cc_g+:} false; then :
 | 
|---|
| 4429 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4430 | else
 | 
|---|
| 4431 |   ac_save_c_werror_flag=$ac_c_werror_flag
 | 
|---|
| 4432 |    ac_c_werror_flag=yes
 | 
|---|
| 4433 |    ac_cv_prog_cc_g=no
 | 
|---|
| 4434 |    CFLAGS="-g"
 | 
|---|
| 4435 |    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 4436 | /* end confdefs.h.  */
 | 
|---|
| 4437 | 
 | 
|---|
| 4438 | int
 | 
|---|
| 4439 | main ()
 | 
|---|
| 4440 | {
 | 
|---|
| 4441 | 
 | 
|---|
| 4442 |   ;
 | 
|---|
| 4443 |   return 0;
 | 
|---|
| 4444 | }
 | 
|---|
| 4445 | _ACEOF
 | 
|---|
| 4446 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 4447 |   ac_cv_prog_cc_g=yes
 | 
|---|
| 4448 | else
 | 
|---|
| 4449 |   CFLAGS=""
 | 
|---|
| 4450 |       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 4451 | /* end confdefs.h.  */
 | 
|---|
| 4452 | 
 | 
|---|
| 4453 | int
 | 
|---|
| 4454 | main ()
 | 
|---|
| 4455 | {
 | 
|---|
| 4456 | 
 | 
|---|
| 4457 |   ;
 | 
|---|
| 4458 |   return 0;
 | 
|---|
| 4459 | }
 | 
|---|
| 4460 | _ACEOF
 | 
|---|
| 4461 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 4462 | 
 | 
|---|
| 4463 | else
 | 
|---|
| 4464 |   ac_c_werror_flag=$ac_save_c_werror_flag
 | 
|---|
| 4465 |          CFLAGS="-g"
 | 
|---|
| 4466 |          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 4467 | /* end confdefs.h.  */
 | 
|---|
| 4468 | 
 | 
|---|
| 4469 | int
 | 
|---|
| 4470 | main ()
 | 
|---|
| 4471 | {
 | 
|---|
| 4472 | 
 | 
|---|
| 4473 |   ;
 | 
|---|
| 4474 |   return 0;
 | 
|---|
| 4475 | }
 | 
|---|
| 4476 | _ACEOF
 | 
|---|
| 4477 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 4478 |   ac_cv_prog_cc_g=yes
 | 
|---|
| 4479 | fi
 | 
|---|
| 4480 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 4481 | fi
 | 
|---|
| 4482 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 4483 | fi
 | 
|---|
| 4484 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 4485 |    ac_c_werror_flag=$ac_save_c_werror_flag
 | 
|---|
| 4486 | fi
 | 
|---|
| 4487 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 | 
|---|
| 4488 | $as_echo "$ac_cv_prog_cc_g" >&6; }
 | 
|---|
| 4489 | if test "$ac_test_CFLAGS" = set; then
 | 
|---|
| 4490 |   CFLAGS=$ac_save_CFLAGS
 | 
|---|
| 4491 | elif test $ac_cv_prog_cc_g = yes; then
 | 
|---|
| 4492 |   if test "$GCC" = yes; then
 | 
|---|
| 4493 |     CFLAGS="-g -O2"
 | 
|---|
| 4494 |   else
 | 
|---|
| 4495 |     CFLAGS="-g"
 | 
|---|
| 4496 |   fi
 | 
|---|
| 4497 | else
 | 
|---|
| 4498 |   if test "$GCC" = yes; then
 | 
|---|
| 4499 |     CFLAGS="-O2"
 | 
|---|
| 4500 |   else
 | 
|---|
| 4501 |     CFLAGS=
 | 
|---|
| 4502 |   fi
 | 
|---|
| 4503 | fi
 | 
|---|
| 4504 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 | 
|---|
| 4505 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 | 
|---|
| 4506 | if ${ac_cv_prog_cc_c89+:} false; then :
 | 
|---|
| 4507 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4508 | else
 | 
|---|
| 4509 |   ac_cv_prog_cc_c89=no
 | 
|---|
| 4510 | ac_save_CC=$CC
 | 
|---|
| 4511 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 4512 | /* end confdefs.h.  */
 | 
|---|
| 4513 | #include <stdarg.h>
 | 
|---|
| 4514 | #include <stdio.h>
 | 
|---|
| 4515 | #include <sys/types.h>
 | 
|---|
| 4516 | #include <sys/stat.h>
 | 
|---|
| 4517 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 | 
|---|
| 4518 | struct buf { int x; };
 | 
|---|
| 4519 | FILE * (*rcsopen) (struct buf *, struct stat *, int);
 | 
|---|
| 4520 | static char *e (p, i)
 | 
|---|
| 4521 |      char **p;
 | 
|---|
| 4522 |      int i;
 | 
|---|
| 4523 | {
 | 
|---|
| 4524 |   return p[i];
 | 
|---|
| 4525 | }
 | 
|---|
| 4526 | static char *f (char * (*g) (char **, int), char **p, ...)
 | 
|---|
| 4527 | {
 | 
|---|
| 4528 |   char *s;
 | 
|---|
| 4529 |   va_list v;
 | 
|---|
| 4530 |   va_start (v,p);
 | 
|---|
| 4531 |   s = g (p, va_arg (v,int));
 | 
|---|
| 4532 |   va_end (v);
 | 
|---|
| 4533 |   return s;
 | 
|---|
| 4534 | }
 | 
|---|
| 4535 | 
 | 
|---|
| 4536 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 | 
|---|
| 4537 |    function prototypes and stuff, but not '\xHH' hex character constants.
 | 
|---|
| 4538 |    These don't provoke an error unfortunately, instead are silently treated
 | 
|---|
| 4539 |    as 'x'.  The following induces an error, until -std is added to get
 | 
|---|
| 4540 |    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 | 
|---|
| 4541 |    array size at least.  It's necessary to write '\x00'==0 to get something
 | 
|---|
| 4542 |    that's true only with -std.  */
 | 
|---|
| 4543 | int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 | 
|---|
| 4544 | 
 | 
|---|
| 4545 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 | 
|---|
| 4546 |    inside strings and character constants.  */
 | 
|---|
| 4547 | #define FOO(x) 'x'
 | 
|---|
| 4548 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 | 
|---|
| 4549 | 
 | 
|---|
| 4550 | int test (int i, double x);
 | 
|---|
| 4551 | struct s1 {int (*f) (int a);};
 | 
|---|
| 4552 | struct s2 {int (*f) (double a);};
 | 
|---|
| 4553 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 | 
|---|
| 4554 | int argc;
 | 
|---|
| 4555 | char **argv;
 | 
|---|
| 4556 | int
 | 
|---|
| 4557 | main ()
 | 
|---|
| 4558 | {
 | 
|---|
| 4559 | return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 | 
|---|
| 4560 |   ;
 | 
|---|
| 4561 |   return 0;
 | 
|---|
| 4562 | }
 | 
|---|
| 4563 | _ACEOF
 | 
|---|
| 4564 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 | 
|---|
| 4565 |         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 | 
|---|
| 4566 | do
 | 
|---|
| 4567 |   CC="$ac_save_CC $ac_arg"
 | 
|---|
| 4568 |   if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 4569 |   ac_cv_prog_cc_c89=$ac_arg
 | 
|---|
| 4570 | fi
 | 
|---|
| 4571 | rm -f core conftest.err conftest.$ac_objext
 | 
|---|
| 4572 |   test "x$ac_cv_prog_cc_c89" != "xno" && break
 | 
|---|
| 4573 | done
 | 
|---|
| 4574 | rm -f conftest.$ac_ext
 | 
|---|
| 4575 | CC=$ac_save_CC
 | 
|---|
| 4576 | 
 | 
|---|
| 4577 | fi
 | 
|---|
| 4578 | # AC_CACHE_VAL
 | 
|---|
| 4579 | case "x$ac_cv_prog_cc_c89" in
 | 
|---|
| 4580 |   x)
 | 
|---|
| 4581 |     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 | 
|---|
| 4582 | $as_echo "none needed" >&6; } ;;
 | 
|---|
| 4583 |   xno)
 | 
|---|
| 4584 |     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 | 
|---|
| 4585 | $as_echo "unsupported" >&6; } ;;
 | 
|---|
| 4586 |   *)
 | 
|---|
| 4587 |     CC="$CC $ac_cv_prog_cc_c89"
 | 
|---|
| 4588 |     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 | 
|---|
| 4589 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 | 
|---|
| 4590 | esac
 | 
|---|
| 4591 | if test "x$ac_cv_prog_cc_c89" != xno; then :
 | 
|---|
| 4592 | 
 | 
|---|
| 4593 | fi
 | 
|---|
| 4594 | 
 | 
|---|
| 4595 | ac_ext=c
 | 
|---|
| 4596 | ac_cpp='$CPP $CPPFLAGS'
 | 
|---|
| 4597 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 4598 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 4599 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
 | 
|---|
| 4600 | 
 | 
|---|
| 4601 | depcc="$CC"   am_compiler_list=
 | 
|---|
| 4602 | 
 | 
|---|
| 4603 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 | 
|---|
| 4604 | $as_echo_n "checking dependency style of $depcc... " >&6; }
 | 
|---|
| 4605 | if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 | 
|---|
| 4606 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4607 | else
 | 
|---|
| 4608 |   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 | 
|---|
| 4609 |   # We make a subdir and do the tests there.  Otherwise we can end up
 | 
|---|
| 4610 |   # making bogus files that we don't know about and never remove.  For
 | 
|---|
| 4611 |   # instance it was reported that on HP-UX the gcc test will end up
 | 
|---|
| 4612 |   # making a dummy file named `D' -- because `-MD' means `put the output
 | 
|---|
| 4613 |   # in D'.
 | 
|---|
| 4614 |   rm -rf conftest.dir
 | 
|---|
| 4615 |   mkdir conftest.dir
 | 
|---|
| 4616 |   # Copy depcomp to subdir because otherwise we won't find it if we're
 | 
|---|
| 4617 |   # using a relative directory.
 | 
|---|
| 4618 |   cp "$am_depcomp" conftest.dir
 | 
|---|
| 4619 |   cd conftest.dir
 | 
|---|
| 4620 |   # We will build objects and dependencies in a subdirectory because
 | 
|---|
| 4621 |   # it helps to detect inapplicable dependency modes.  For instance
 | 
|---|
| 4622 |   # both Tru64's cc and ICC support -MD to output dependencies as a
 | 
|---|
| 4623 |   # side effect of compilation, but ICC will put the dependencies in
 | 
|---|
| 4624 |   # the current directory while Tru64 will put them in the object
 | 
|---|
| 4625 |   # directory.
 | 
|---|
| 4626 |   mkdir sub
 | 
|---|
| 4627 | 
 | 
|---|
| 4628 |   am_cv_CC_dependencies_compiler_type=none
 | 
|---|
| 4629 |   if test "$am_compiler_list" = ""; then
 | 
|---|
| 4630 |      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 | 
|---|
| 4631 |   fi
 | 
|---|
| 4632 |   am__universal=false
 | 
|---|
| 4633 |   case " $depcc " in #(
 | 
|---|
| 4634 |      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 | 
|---|
| 4635 |      esac
 | 
|---|
| 4636 | 
 | 
|---|
| 4637 |   for depmode in $am_compiler_list; do
 | 
|---|
| 4638 |     # Setup a source with many dependencies, because some compilers
 | 
|---|
| 4639 |     # like to wrap large dependency lists on column 80 (with \), and
 | 
|---|
| 4640 |     # we should not choose a depcomp mode which is confused by this.
 | 
|---|
| 4641 |     #
 | 
|---|
| 4642 |     # We need to recreate these files for each test, as the compiler may
 | 
|---|
| 4643 |     # overwrite some of them when testing with obscure command lines.
 | 
|---|
| 4644 |     # This happens at least with the AIX C compiler.
 | 
|---|
| 4645 |     : > sub/conftest.c
 | 
|---|
| 4646 |     for i in 1 2 3 4 5 6; do
 | 
|---|
| 4647 |       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 | 
|---|
| 4648 |       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 | 
|---|
| 4649 |       # Solaris 8's {/usr,}/bin/sh.
 | 
|---|
| 4650 |       touch sub/conftst$i.h
 | 
|---|
| 4651 |     done
 | 
|---|
| 4652 |     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 | 
|---|
| 4653 | 
 | 
|---|
| 4654 |     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 | 
|---|
| 4655 |     # mode.  It turns out that the SunPro C++ compiler does not properly
 | 
|---|
| 4656 |     # handle `-M -o', and we need to detect this.  Also, some Intel
 | 
|---|
| 4657 |     # versions had trouble with output in subdirs
 | 
|---|
| 4658 |     am__obj=sub/conftest.${OBJEXT-o}
 | 
|---|
| 4659 |     am__minus_obj="-o $am__obj"
 | 
|---|
| 4660 |     case $depmode in
 | 
|---|
| 4661 |     gcc)
 | 
|---|
| 4662 |       # This depmode causes a compiler race in universal mode.
 | 
|---|
| 4663 |       test "$am__universal" = false || continue
 | 
|---|
| 4664 |       ;;
 | 
|---|
| 4665 |     nosideeffect)
 | 
|---|
| 4666 |       # after this tag, mechanisms are not by side-effect, so they'll
 | 
|---|
| 4667 |       # only be used when explicitly requested
 | 
|---|
| 4668 |       if test "x$enable_dependency_tracking" = xyes; then
 | 
|---|
| 4669 |         continue
 | 
|---|
| 4670 |       else
 | 
|---|
| 4671 |         break
 | 
|---|
| 4672 |       fi
 | 
|---|
| 4673 |       ;;
 | 
|---|
| 4674 |     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 | 
|---|
| 4675 |       # This compiler won't grok `-c -o', but also, the minuso test has
 | 
|---|
| 4676 |       # not run yet.  These depmodes are late enough in the game, and
 | 
|---|
| 4677 |       # so weak that their functioning should not be impacted.
 | 
|---|
| 4678 |       am__obj=conftest.${OBJEXT-o}
 | 
|---|
| 4679 |       am__minus_obj=
 | 
|---|
| 4680 |       ;;
 | 
|---|
| 4681 |     none) break ;;
 | 
|---|
| 4682 |     esac
 | 
|---|
| 4683 |     if depmode=$depmode \
 | 
|---|
| 4684 |        source=sub/conftest.c object=$am__obj \
 | 
|---|
| 4685 |        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 | 
|---|
| 4686 |        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 | 
|---|
| 4687 |          >/dev/null 2>conftest.err &&
 | 
|---|
| 4688 |        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 4689 |        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 4690 |        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 4691 |        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 | 
|---|
| 4692 |       # icc doesn't choke on unknown options, it will just issue warnings
 | 
|---|
| 4693 |       # or remarks (even with -Werror).  So we grep stderr for any message
 | 
|---|
| 4694 |       # that says an option was ignored or not supported.
 | 
|---|
| 4695 |       # When given -MP, icc 7.0 and 7.1 complain thusly:
 | 
|---|
| 4696 |       #   icc: Command line warning: ignoring option '-M'; no argument required
 | 
|---|
| 4697 |       # The diagnosis changed in icc 8.0:
 | 
|---|
| 4698 |       #   icc: Command line remark: option '-MP' not supported
 | 
|---|
| 4699 |       if (grep 'ignoring option' conftest.err ||
 | 
|---|
| 4700 |           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 | 
|---|
| 4701 |         am_cv_CC_dependencies_compiler_type=$depmode
 | 
|---|
| 4702 |         break
 | 
|---|
| 4703 |       fi
 | 
|---|
| 4704 |     fi
 | 
|---|
| 4705 |   done
 | 
|---|
| 4706 | 
 | 
|---|
| 4707 |   cd ..
 | 
|---|
| 4708 |   rm -rf conftest.dir
 | 
|---|
| 4709 | else
 | 
|---|
| 4710 |   am_cv_CC_dependencies_compiler_type=none
 | 
|---|
| 4711 | fi
 | 
|---|
| 4712 | 
 | 
|---|
| 4713 | fi
 | 
|---|
| 4714 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 | 
|---|
| 4715 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 | 
|---|
| 4716 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 | 
|---|
| 4717 | 
 | 
|---|
| 4718 |  if
 | 
|---|
| 4719 |   test "x$enable_dependency_tracking" != xno \
 | 
|---|
| 4720 |   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 | 
|---|
| 4721 |   am__fastdepCC_TRUE=
 | 
|---|
| 4722 |   am__fastdepCC_FALSE='#'
 | 
|---|
| 4723 | else
 | 
|---|
| 4724 |   am__fastdepCC_TRUE='#'
 | 
|---|
| 4725 |   am__fastdepCC_FALSE=
 | 
|---|
| 4726 | fi
 | 
|---|
| 4727 | 
 | 
|---|
| 4728 | 
 | 
|---|
| 4729 | # By default we simply use the C compiler to build assembly code.
 | 
|---|
| 4730 | 
 | 
|---|
| 4731 | test "${CCAS+set}" = set || CCAS=$CC
 | 
|---|
| 4732 | test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
 | 
|---|
| 4733 | 
 | 
|---|
| 4734 | 
 | 
|---|
| 4735 | 
 | 
|---|
| 4736 | depcc="$CCAS"   am_compiler_list=
 | 
|---|
| 4737 | 
 | 
|---|
| 4738 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 | 
|---|
| 4739 | $as_echo_n "checking dependency style of $depcc... " >&6; }
 | 
|---|
| 4740 | if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
 | 
|---|
| 4741 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4742 | else
 | 
|---|
| 4743 |   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 | 
|---|
| 4744 |   # We make a subdir and do the tests there.  Otherwise we can end up
 | 
|---|
| 4745 |   # making bogus files that we don't know about and never remove.  For
 | 
|---|
| 4746 |   # instance it was reported that on HP-UX the gcc test will end up
 | 
|---|
| 4747 |   # making a dummy file named `D' -- because `-MD' means `put the output
 | 
|---|
| 4748 |   # in D'.
 | 
|---|
| 4749 |   rm -rf conftest.dir
 | 
|---|
| 4750 |   mkdir conftest.dir
 | 
|---|
| 4751 |   # Copy depcomp to subdir because otherwise we won't find it if we're
 | 
|---|
| 4752 |   # using a relative directory.
 | 
|---|
| 4753 |   cp "$am_depcomp" conftest.dir
 | 
|---|
| 4754 |   cd conftest.dir
 | 
|---|
| 4755 |   # We will build objects and dependencies in a subdirectory because
 | 
|---|
| 4756 |   # it helps to detect inapplicable dependency modes.  For instance
 | 
|---|
| 4757 |   # both Tru64's cc and ICC support -MD to output dependencies as a
 | 
|---|
| 4758 |   # side effect of compilation, but ICC will put the dependencies in
 | 
|---|
| 4759 |   # the current directory while Tru64 will put them in the object
 | 
|---|
| 4760 |   # directory.
 | 
|---|
| 4761 |   mkdir sub
 | 
|---|
| 4762 | 
 | 
|---|
| 4763 |   am_cv_CCAS_dependencies_compiler_type=none
 | 
|---|
| 4764 |   if test "$am_compiler_list" = ""; then
 | 
|---|
| 4765 |      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 | 
|---|
| 4766 |   fi
 | 
|---|
| 4767 |   am__universal=false
 | 
|---|
| 4768 | 
 | 
|---|
| 4769 | 
 | 
|---|
| 4770 |   for depmode in $am_compiler_list; do
 | 
|---|
| 4771 |     # Setup a source with many dependencies, because some compilers
 | 
|---|
| 4772 |     # like to wrap large dependency lists on column 80 (with \), and
 | 
|---|
| 4773 |     # we should not choose a depcomp mode which is confused by this.
 | 
|---|
| 4774 |     #
 | 
|---|
| 4775 |     # We need to recreate these files for each test, as the compiler may
 | 
|---|
| 4776 |     # overwrite some of them when testing with obscure command lines.
 | 
|---|
| 4777 |     # This happens at least with the AIX C compiler.
 | 
|---|
| 4778 |     : > sub/conftest.c
 | 
|---|
| 4779 |     for i in 1 2 3 4 5 6; do
 | 
|---|
| 4780 |       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 | 
|---|
| 4781 |       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 | 
|---|
| 4782 |       # Solaris 8's {/usr,}/bin/sh.
 | 
|---|
| 4783 |       touch sub/conftst$i.h
 | 
|---|
| 4784 |     done
 | 
|---|
| 4785 |     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 | 
|---|
| 4786 | 
 | 
|---|
| 4787 |     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 | 
|---|
| 4788 |     # mode.  It turns out that the SunPro C++ compiler does not properly
 | 
|---|
| 4789 |     # handle `-M -o', and we need to detect this.  Also, some Intel
 | 
|---|
| 4790 |     # versions had trouble with output in subdirs
 | 
|---|
| 4791 |     am__obj=sub/conftest.${OBJEXT-o}
 | 
|---|
| 4792 |     am__minus_obj="-o $am__obj"
 | 
|---|
| 4793 |     case $depmode in
 | 
|---|
| 4794 |     gcc)
 | 
|---|
| 4795 |       # This depmode causes a compiler race in universal mode.
 | 
|---|
| 4796 |       test "$am__universal" = false || continue
 | 
|---|
| 4797 |       ;;
 | 
|---|
| 4798 |     nosideeffect)
 | 
|---|
| 4799 |       # after this tag, mechanisms are not by side-effect, so they'll
 | 
|---|
| 4800 |       # only be used when explicitly requested
 | 
|---|
| 4801 |       if test "x$enable_dependency_tracking" = xyes; then
 | 
|---|
| 4802 |         continue
 | 
|---|
| 4803 |       else
 | 
|---|
| 4804 |         break
 | 
|---|
| 4805 |       fi
 | 
|---|
| 4806 |       ;;
 | 
|---|
| 4807 |     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 | 
|---|
| 4808 |       # This compiler won't grok `-c -o', but also, the minuso test has
 | 
|---|
| 4809 |       # not run yet.  These depmodes are late enough in the game, and
 | 
|---|
| 4810 |       # so weak that their functioning should not be impacted.
 | 
|---|
| 4811 |       am__obj=conftest.${OBJEXT-o}
 | 
|---|
| 4812 |       am__minus_obj=
 | 
|---|
| 4813 |       ;;
 | 
|---|
| 4814 |     none) break ;;
 | 
|---|
| 4815 |     esac
 | 
|---|
| 4816 |     if depmode=$depmode \
 | 
|---|
| 4817 |        source=sub/conftest.c object=$am__obj \
 | 
|---|
| 4818 |        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 | 
|---|
| 4819 |        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 | 
|---|
| 4820 |          >/dev/null 2>conftest.err &&
 | 
|---|
| 4821 |        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 4822 |        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 4823 |        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 4824 |        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 | 
|---|
| 4825 |       # icc doesn't choke on unknown options, it will just issue warnings
 | 
|---|
| 4826 |       # or remarks (even with -Werror).  So we grep stderr for any message
 | 
|---|
| 4827 |       # that says an option was ignored or not supported.
 | 
|---|
| 4828 |       # When given -MP, icc 7.0 and 7.1 complain thusly:
 | 
|---|
| 4829 |       #   icc: Command line warning: ignoring option '-M'; no argument required
 | 
|---|
| 4830 |       # The diagnosis changed in icc 8.0:
 | 
|---|
| 4831 |       #   icc: Command line remark: option '-MP' not supported
 | 
|---|
| 4832 |       if (grep 'ignoring option' conftest.err ||
 | 
|---|
| 4833 |           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 | 
|---|
| 4834 |         am_cv_CCAS_dependencies_compiler_type=$depmode
 | 
|---|
| 4835 |         break
 | 
|---|
| 4836 |       fi
 | 
|---|
| 4837 |     fi
 | 
|---|
| 4838 |   done
 | 
|---|
| 4839 | 
 | 
|---|
| 4840 |   cd ..
 | 
|---|
| 4841 |   rm -rf conftest.dir
 | 
|---|
| 4842 | else
 | 
|---|
| 4843 |   am_cv_CCAS_dependencies_compiler_type=none
 | 
|---|
| 4844 | fi
 | 
|---|
| 4845 | 
 | 
|---|
| 4846 | fi
 | 
|---|
| 4847 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
 | 
|---|
| 4848 | $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
 | 
|---|
| 4849 | CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
 | 
|---|
| 4850 | 
 | 
|---|
| 4851 |  if
 | 
|---|
| 4852 |   test "x$enable_dependency_tracking" != xno \
 | 
|---|
| 4853 |   && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
 | 
|---|
| 4854 |   am__fastdepCCAS_TRUE=
 | 
|---|
| 4855 |   am__fastdepCCAS_FALSE='#'
 | 
|---|
| 4856 | else
 | 
|---|
| 4857 |   am__fastdepCCAS_TRUE='#'
 | 
|---|
| 4858 |   am__fastdepCCAS_FALSE=
 | 
|---|
| 4859 | fi
 | 
|---|
| 4860 | 
 | 
|---|
| 4861 | 
 | 
|---|
| 4862 | if test "x$CC" != xcc; then
 | 
|---|
| 4863 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
 | 
|---|
| 4864 | $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
 | 
|---|
| 4865 | else
 | 
|---|
| 4866 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
 | 
|---|
| 4867 | $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
 | 
|---|
| 4868 | fi
 | 
|---|
| 4869 | set dummy $CC; ac_cc=`$as_echo "$2" |
 | 
|---|
| 4870 |                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 | 
|---|
| 4871 | if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
 | 
|---|
| 4872 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4873 | else
 | 
|---|
| 4874 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 4875 | /* end confdefs.h.  */
 | 
|---|
| 4876 | 
 | 
|---|
| 4877 | int
 | 
|---|
| 4878 | main ()
 | 
|---|
| 4879 | {
 | 
|---|
| 4880 | 
 | 
|---|
| 4881 |   ;
 | 
|---|
| 4882 |   return 0;
 | 
|---|
| 4883 | }
 | 
|---|
| 4884 | _ACEOF
 | 
|---|
| 4885 | # Make sure it works both with $CC and with simple cc.
 | 
|---|
| 4886 | # We do the test twice because some compilers refuse to overwrite an
 | 
|---|
| 4887 | # existing .o file with -o, though they will create one.
 | 
|---|
| 4888 | ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 | 
|---|
| 4889 | rm -f conftest2.*
 | 
|---|
| 4890 | if { { case "(($ac_try" in
 | 
|---|
| 4891 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 4892 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 4893 | esac
 | 
|---|
| 4894 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 4895 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 4896 |   (eval "$ac_try") 2>&5
 | 
|---|
| 4897 |   ac_status=$?
 | 
|---|
| 4898 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 4899 |   test $ac_status = 0; } &&
 | 
|---|
| 4900 |    test -f conftest2.$ac_objext && { { case "(($ac_try" in
 | 
|---|
| 4901 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 4902 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 4903 | esac
 | 
|---|
| 4904 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 4905 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 4906 |   (eval "$ac_try") 2>&5
 | 
|---|
| 4907 |   ac_status=$?
 | 
|---|
| 4908 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 4909 |   test $ac_status = 0; };
 | 
|---|
| 4910 | then
 | 
|---|
| 4911 |   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
 | 
|---|
| 4912 |   if test "x$CC" != xcc; then
 | 
|---|
| 4913 |     # Test first that cc exists at all.
 | 
|---|
| 4914 |     if { ac_try='cc -c conftest.$ac_ext >&5'
 | 
|---|
| 4915 |   { { case "(($ac_try" in
 | 
|---|
| 4916 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 4917 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 4918 | esac
 | 
|---|
| 4919 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 4920 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 4921 |   (eval "$ac_try") 2>&5
 | 
|---|
| 4922 |   ac_status=$?
 | 
|---|
| 4923 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 4924 |   test $ac_status = 0; }; }; then
 | 
|---|
| 4925 |       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 | 
|---|
| 4926 |       rm -f conftest2.*
 | 
|---|
| 4927 |       if { { case "(($ac_try" in
 | 
|---|
| 4928 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 4929 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 4930 | esac
 | 
|---|
| 4931 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 4932 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 4933 |   (eval "$ac_try") 2>&5
 | 
|---|
| 4934 |   ac_status=$?
 | 
|---|
| 4935 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 4936 |   test $ac_status = 0; } &&
 | 
|---|
| 4937 |          test -f conftest2.$ac_objext && { { case "(($ac_try" in
 | 
|---|
| 4938 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 4939 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 4940 | esac
 | 
|---|
| 4941 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 4942 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 4943 |   (eval "$ac_try") 2>&5
 | 
|---|
| 4944 |   ac_status=$?
 | 
|---|
| 4945 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 4946 |   test $ac_status = 0; };
 | 
|---|
| 4947 |       then
 | 
|---|
| 4948 |         # cc works too.
 | 
|---|
| 4949 |         :
 | 
|---|
| 4950 |       else
 | 
|---|
| 4951 |         # cc exists but doesn't like -o.
 | 
|---|
| 4952 |         eval ac_cv_prog_cc_${ac_cc}_c_o=no
 | 
|---|
| 4953 |       fi
 | 
|---|
| 4954 |     fi
 | 
|---|
| 4955 |   fi
 | 
|---|
| 4956 | else
 | 
|---|
| 4957 |   eval ac_cv_prog_cc_${ac_cc}_c_o=no
 | 
|---|
| 4958 | fi
 | 
|---|
| 4959 | rm -f core conftest*
 | 
|---|
| 4960 | 
 | 
|---|
| 4961 | fi
 | 
|---|
| 4962 | if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
 | 
|---|
| 4963 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 | 
|---|
| 4964 | $as_echo "yes" >&6; }
 | 
|---|
| 4965 | else
 | 
|---|
| 4966 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 4967 | $as_echo "no" >&6; }
 | 
|---|
| 4968 | 
 | 
|---|
| 4969 | $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
 | 
|---|
| 4970 | 
 | 
|---|
| 4971 | fi
 | 
|---|
| 4972 | 
 | 
|---|
| 4973 | # FIXME: we rely on the cache variable name because
 | 
|---|
| 4974 | # there is no other way.
 | 
|---|
| 4975 | set dummy $CC
 | 
|---|
| 4976 | am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 | 
|---|
| 4977 | eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
 | 
|---|
| 4978 | if test "$am_t" != yes; then
 | 
|---|
| 4979 |    # Losing compiler, so override with the script.
 | 
|---|
| 4980 |    # FIXME: It is wrong to rewrite CC.
 | 
|---|
| 4981 |    # But if we don't then we get into trouble of one sort or another.
 | 
|---|
| 4982 |    # A longer-term fix would be to have automake use am__CC in this case,
 | 
|---|
| 4983 |    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 | 
|---|
| 4984 |    CC="$am_aux_dir/compile $CC"
 | 
|---|
| 4985 | fi
 | 
|---|
| 4986 | 
 | 
|---|
| 4987 |         # deprecated
 | 
|---|
| 4988 | # These are often not installed and people miss seeing the "no", so stop the configure.
 | 
|---|
| 4989 | for ac_prog in 'bison -y' byacc
 | 
|---|
| 4990 | do
 | 
|---|
| 4991 |   # Extract the first word of "$ac_prog", so it can be a program name with args.
 | 
|---|
| 4992 | set dummy $ac_prog; ac_word=$2
 | 
|---|
| 4993 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 4994 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 4995 | if ${ac_cv_prog_YACC+:} false; then :
 | 
|---|
| 4996 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4997 | else
 | 
|---|
| 4998 |   if test -n "$YACC"; then
 | 
|---|
| 4999 |   ac_cv_prog_YACC="$YACC" # Let the user override the test.
 | 
|---|
| 5000 | else
 | 
|---|
| 5001 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 5002 | for as_dir in $PATH
 | 
|---|
| 5003 | do
 | 
|---|
| 5004 |   IFS=$as_save_IFS
 | 
|---|
| 5005 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 5006 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 5007 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 5008 |     ac_cv_prog_YACC="$ac_prog"
 | 
|---|
| 5009 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 5010 |     break 2
 | 
|---|
| 5011 |   fi
 | 
|---|
| 5012 | done
 | 
|---|
| 5013 |   done
 | 
|---|
| 5014 | IFS=$as_save_IFS
 | 
|---|
| 5015 | 
 | 
|---|
| 5016 | fi
 | 
|---|
| 5017 | fi
 | 
|---|
| 5018 | YACC=$ac_cv_prog_YACC
 | 
|---|
| 5019 | if test -n "$YACC"; then
 | 
|---|
| 5020 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
 | 
|---|
| 5021 | $as_echo "$YACC" >&6; }
 | 
|---|
| 5022 | else
 | 
|---|
| 5023 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 5024 | $as_echo "no" >&6; }
 | 
|---|
| 5025 | fi
 | 
|---|
| 5026 | 
 | 
|---|
| 5027 | 
 | 
|---|
| 5028 |   test -n "$YACC" && break
 | 
|---|
| 5029 | done
 | 
|---|
| 5030 | test -n "$YACC" || YACC="yacc"
 | 
|---|
| 5031 | 
 | 
|---|
| 5032 | if test "${YACC}" = "yacc" ; then echo "Error: bison required." ; exit 1 ; fi
 | 
|---|
| 5033 | 
 | 
|---|
| 5034 | for ac_prog in flex lex
 | 
|---|
| 5035 | do
 | 
|---|
| 5036 |   # Extract the first word of "$ac_prog", so it can be a program name with args.
 | 
|---|
| 5037 | set dummy $ac_prog; ac_word=$2
 | 
|---|
| 5038 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 5039 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 5040 | if ${ac_cv_prog_LEX+:} false; then :
 | 
|---|
| 5041 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5042 | else
 | 
|---|
| 5043 |   if test -n "$LEX"; then
 | 
|---|
| 5044 |   ac_cv_prog_LEX="$LEX" # Let the user override the test.
 | 
|---|
| 5045 | else
 | 
|---|
| 5046 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 5047 | for as_dir in $PATH
 | 
|---|
| 5048 | do
 | 
|---|
| 5049 |   IFS=$as_save_IFS
 | 
|---|
| 5050 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 5051 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 5052 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 5053 |     ac_cv_prog_LEX="$ac_prog"
 | 
|---|
| 5054 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 5055 |     break 2
 | 
|---|
| 5056 |   fi
 | 
|---|
| 5057 | done
 | 
|---|
| 5058 |   done
 | 
|---|
| 5059 | IFS=$as_save_IFS
 | 
|---|
| 5060 | 
 | 
|---|
| 5061 | fi
 | 
|---|
| 5062 | fi
 | 
|---|
| 5063 | LEX=$ac_cv_prog_LEX
 | 
|---|
| 5064 | if test -n "$LEX"; then
 | 
|---|
| 5065 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
 | 
|---|
| 5066 | $as_echo "$LEX" >&6; }
 | 
|---|
| 5067 | else
 | 
|---|
| 5068 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 5069 | $as_echo "no" >&6; }
 | 
|---|
| 5070 | fi
 | 
|---|
| 5071 | 
 | 
|---|
| 5072 | 
 | 
|---|
| 5073 |   test -n "$LEX" && break
 | 
|---|
| 5074 | done
 | 
|---|
| 5075 | test -n "$LEX" || LEX=":"
 | 
|---|
| 5076 | 
 | 
|---|
| 5077 | if test "x$LEX" != "x:"; then
 | 
|---|
| 5078 |   cat >conftest.l <<_ACEOF
 | 
|---|
| 5079 | %%
 | 
|---|
| 5080 | a { ECHO; }
 | 
|---|
| 5081 | b { REJECT; }
 | 
|---|
| 5082 | c { yymore (); }
 | 
|---|
| 5083 | d { yyless (1); }
 | 
|---|
| 5084 | e { yyless (input () != 0); }
 | 
|---|
| 5085 | f { unput (yytext[0]); }
 | 
|---|
| 5086 | . { BEGIN INITIAL; }
 | 
|---|
| 5087 | %%
 | 
|---|
| 5088 | #ifdef YYTEXT_POINTER
 | 
|---|
| 5089 | extern char *yytext;
 | 
|---|
| 5090 | #endif
 | 
|---|
| 5091 | int
 | 
|---|
| 5092 | main (void)
 | 
|---|
| 5093 | {
 | 
|---|
| 5094 |   return ! yylex () + ! yywrap ();
 | 
|---|
| 5095 | }
 | 
|---|
| 5096 | _ACEOF
 | 
|---|
| 5097 | { { ac_try="$LEX conftest.l"
 | 
|---|
| 5098 | case "(($ac_try" in
 | 
|---|
| 5099 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 5100 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 5101 | esac
 | 
|---|
| 5102 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 5103 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 5104 |   (eval "$LEX conftest.l") 2>&5
 | 
|---|
| 5105 |   ac_status=$?
 | 
|---|
| 5106 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 5107 |   test $ac_status = 0; }
 | 
|---|
| 5108 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
 | 
|---|
| 5109 | $as_echo_n "checking lex output file root... " >&6; }
 | 
|---|
| 5110 | if ${ac_cv_prog_lex_root+:} false; then :
 | 
|---|
| 5111 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5112 | else
 | 
|---|
| 5113 | 
 | 
|---|
| 5114 | if test -f lex.yy.c; then
 | 
|---|
| 5115 |   ac_cv_prog_lex_root=lex.yy
 | 
|---|
| 5116 | elif test -f lexyy.c; then
 | 
|---|
| 5117 |   ac_cv_prog_lex_root=lexyy
 | 
|---|
| 5118 | else
 | 
|---|
| 5119 |   as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
 | 
|---|
| 5120 | fi
 | 
|---|
| 5121 | fi
 | 
|---|
| 5122 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
 | 
|---|
| 5123 | $as_echo "$ac_cv_prog_lex_root" >&6; }
 | 
|---|
| 5124 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
 | 
|---|
| 5125 | 
 | 
|---|
| 5126 | if test -z "${LEXLIB+set}"; then
 | 
|---|
| 5127 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
 | 
|---|
| 5128 | $as_echo_n "checking lex library... " >&6; }
 | 
|---|
| 5129 | if ${ac_cv_lib_lex+:} false; then :
 | 
|---|
| 5130 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5131 | else
 | 
|---|
| 5132 | 
 | 
|---|
| 5133 |     ac_save_LIBS=$LIBS
 | 
|---|
| 5134 |     ac_cv_lib_lex='none needed'
 | 
|---|
| 5135 |     for ac_lib in '' -lfl -ll; do
 | 
|---|
| 5136 |       LIBS="$ac_lib $ac_save_LIBS"
 | 
|---|
| 5137 |       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5138 | /* end confdefs.h.  */
 | 
|---|
| 5139 | `cat $LEX_OUTPUT_ROOT.c`
 | 
|---|
| 5140 | _ACEOF
 | 
|---|
| 5141 | if ac_fn_c_try_link "$LINENO"; then :
 | 
|---|
| 5142 |   ac_cv_lib_lex=$ac_lib
 | 
|---|
| 5143 | fi
 | 
|---|
| 5144 | rm -f core conftest.err conftest.$ac_objext \
 | 
|---|
| 5145 |     conftest$ac_exeext conftest.$ac_ext
 | 
|---|
| 5146 |       test "$ac_cv_lib_lex" != 'none needed' && break
 | 
|---|
| 5147 |     done
 | 
|---|
| 5148 |     LIBS=$ac_save_LIBS
 | 
|---|
| 5149 | 
 | 
|---|
| 5150 | fi
 | 
|---|
| 5151 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
 | 
|---|
| 5152 | $as_echo "$ac_cv_lib_lex" >&6; }
 | 
|---|
| 5153 |   test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
 | 
|---|
| 5154 | fi
 | 
|---|
| 5155 | 
 | 
|---|
| 5156 | 
 | 
|---|
| 5157 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
 | 
|---|
| 5158 | $as_echo_n "checking whether yytext is a pointer... " >&6; }
 | 
|---|
| 5159 | if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
 | 
|---|
| 5160 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5161 | else
 | 
|---|
| 5162 |   # POSIX says lex can declare yytext either as a pointer or an array; the
 | 
|---|
| 5163 | # default is implementation-dependent.  Figure out which it is, since
 | 
|---|
| 5164 | # not all implementations provide the %pointer and %array declarations.
 | 
|---|
| 5165 | ac_cv_prog_lex_yytext_pointer=no
 | 
|---|
| 5166 | ac_save_LIBS=$LIBS
 | 
|---|
| 5167 | LIBS="$LEXLIB $ac_save_LIBS"
 | 
|---|
| 5168 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5169 | /* end confdefs.h.  */
 | 
|---|
| 5170 | 
 | 
|---|
| 5171 |   #define YYTEXT_POINTER 1
 | 
|---|
| 5172 | `cat $LEX_OUTPUT_ROOT.c`
 | 
|---|
| 5173 | _ACEOF
 | 
|---|
| 5174 | if ac_fn_c_try_link "$LINENO"; then :
 | 
|---|
| 5175 |   ac_cv_prog_lex_yytext_pointer=yes
 | 
|---|
| 5176 | fi
 | 
|---|
| 5177 | rm -f core conftest.err conftest.$ac_objext \
 | 
|---|
| 5178 |     conftest$ac_exeext conftest.$ac_ext
 | 
|---|
| 5179 | LIBS=$ac_save_LIBS
 | 
|---|
| 5180 | 
 | 
|---|
| 5181 | fi
 | 
|---|
| 5182 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
 | 
|---|
| 5183 | $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
 | 
|---|
| 5184 | if test $ac_cv_prog_lex_yytext_pointer = yes; then
 | 
|---|
| 5185 | 
 | 
|---|
| 5186 | $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
 | 
|---|
| 5187 | 
 | 
|---|
| 5188 | fi
 | 
|---|
| 5189 | rm -f conftest.l $LEX_OUTPUT_ROOT.c
 | 
|---|
| 5190 | 
 | 
|---|
| 5191 | fi
 | 
|---|
| 5192 | if test "${LEX}" = "lex" ; then echo "Error: flex required." ; exit 1 ; fi
 | 
|---|
| 5193 | 
 | 
|---|
| 5194 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 | 
|---|
| 5195 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 | 
|---|
| 5196 | set x ${MAKE-make}
 | 
|---|
| 5197 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 | 
|---|
| 5198 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 | 
|---|
| 5199 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5200 | else
 | 
|---|
| 5201 |   cat >conftest.make <<\_ACEOF
 | 
|---|
| 5202 | SHELL = /bin/sh
 | 
|---|
| 5203 | all:
 | 
|---|
| 5204 |         @echo '@@@%%%=$(MAKE)=@@@%%%'
 | 
|---|
| 5205 | _ACEOF
 | 
|---|
| 5206 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 | 
|---|
| 5207 | case `${MAKE-make} -f conftest.make 2>/dev/null` in
 | 
|---|
| 5208 |   *@@@%%%=?*=@@@%%%*)
 | 
|---|
| 5209 |     eval ac_cv_prog_make_${ac_make}_set=yes;;
 | 
|---|
| 5210 |   *)
 | 
|---|
| 5211 |     eval ac_cv_prog_make_${ac_make}_set=no;;
 | 
|---|
| 5212 | esac
 | 
|---|
| 5213 | rm -f conftest.make
 | 
|---|
| 5214 | fi
 | 
|---|
| 5215 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 | 
|---|
| 5216 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 | 
|---|
| 5217 | $as_echo "yes" >&6; }
 | 
|---|
| 5218 |   SET_MAKE=
 | 
|---|
| 5219 | else
 | 
|---|
| 5220 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 5221 | $as_echo "no" >&6; }
 | 
|---|
| 5222 |   SET_MAKE="MAKE=${MAKE-make}"
 | 
|---|
| 5223 | fi
 | 
|---|
| 5224 | 
 | 
|---|
| 5225 | if test -n "$ac_tool_prefix"; then
 | 
|---|
| 5226 |   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 | 
|---|
| 5227 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 | 
|---|
| 5228 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 5229 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 5230 | if ${ac_cv_prog_RANLIB+:} false; then :
 | 
|---|
| 5231 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5232 | else
 | 
|---|
| 5233 |   if test -n "$RANLIB"; then
 | 
|---|
| 5234 |   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 | 
|---|
| 5235 | else
 | 
|---|
| 5236 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 5237 | for as_dir in $PATH
 | 
|---|
| 5238 | do
 | 
|---|
| 5239 |   IFS=$as_save_IFS
 | 
|---|
| 5240 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 5241 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 5242 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 5243 |     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 | 
|---|
| 5244 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 5245 |     break 2
 | 
|---|
| 5246 |   fi
 | 
|---|
| 5247 | done
 | 
|---|
| 5248 |   done
 | 
|---|
| 5249 | IFS=$as_save_IFS
 | 
|---|
| 5250 | 
 | 
|---|
| 5251 | fi
 | 
|---|
| 5252 | fi
 | 
|---|
| 5253 | RANLIB=$ac_cv_prog_RANLIB
 | 
|---|
| 5254 | if test -n "$RANLIB"; then
 | 
|---|
| 5255 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 | 
|---|
| 5256 | $as_echo "$RANLIB" >&6; }
 | 
|---|
| 5257 | else
 | 
|---|
| 5258 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 5259 | $as_echo "no" >&6; }
 | 
|---|
| 5260 | fi
 | 
|---|
| 5261 | 
 | 
|---|
| 5262 | 
 | 
|---|
| 5263 | fi
 | 
|---|
| 5264 | if test -z "$ac_cv_prog_RANLIB"; then
 | 
|---|
| 5265 |   ac_ct_RANLIB=$RANLIB
 | 
|---|
| 5266 |   # Extract the first word of "ranlib", so it can be a program name with args.
 | 
|---|
| 5267 | set dummy ranlib; ac_word=$2
 | 
|---|
| 5268 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 5269 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 5270 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 | 
|---|
| 5271 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5272 | else
 | 
|---|
| 5273 |   if test -n "$ac_ct_RANLIB"; then
 | 
|---|
| 5274 |   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 | 
|---|
| 5275 | else
 | 
|---|
| 5276 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 5277 | for as_dir in $PATH
 | 
|---|
| 5278 | do
 | 
|---|
| 5279 |   IFS=$as_save_IFS
 | 
|---|
| 5280 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 5281 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 5282 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 5283 |     ac_cv_prog_ac_ct_RANLIB="ranlib"
 | 
|---|
| 5284 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 5285 |     break 2
 | 
|---|
| 5286 |   fi
 | 
|---|
| 5287 | done
 | 
|---|
| 5288 |   done
 | 
|---|
| 5289 | IFS=$as_save_IFS
 | 
|---|
| 5290 | 
 | 
|---|
| 5291 | fi
 | 
|---|
| 5292 | fi
 | 
|---|
| 5293 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 | 
|---|
| 5294 | if test -n "$ac_ct_RANLIB"; then
 | 
|---|
| 5295 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 | 
|---|
| 5296 | $as_echo "$ac_ct_RANLIB" >&6; }
 | 
|---|
| 5297 | else
 | 
|---|
| 5298 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 5299 | $as_echo "no" >&6; }
 | 
|---|
| 5300 | fi
 | 
|---|
| 5301 | 
 | 
|---|
| 5302 |   if test "x$ac_ct_RANLIB" = x; then
 | 
|---|
| 5303 |     RANLIB=":"
 | 
|---|
| 5304 |   else
 | 
|---|
| 5305 |     case $cross_compiling:$ac_tool_warned in
 | 
|---|
| 5306 | yes:)
 | 
|---|
| 5307 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 | 
|---|
| 5308 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 | 
|---|
| 5309 | ac_tool_warned=yes ;;
 | 
|---|
| 5310 | esac
 | 
|---|
| 5311 |     RANLIB=$ac_ct_RANLIB
 | 
|---|
| 5312 |   fi
 | 
|---|
| 5313 | else
 | 
|---|
| 5314 |   RANLIB="$ac_cv_prog_RANLIB"
 | 
|---|
| 5315 | fi
 | 
|---|
| 5316 | 
 | 
|---|
| 5317 | 
 | 
|---|
| 5318 | # Checks for libraries.
 | 
|---|
| 5319 | 
 | 
|---|
| 5320 | # Checks for header files.
 | 
|---|
| 5321 | ac_ext=c
 | 
|---|
| 5322 | ac_cpp='$CPP $CPPFLAGS'
 | 
|---|
| 5323 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 5324 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 5325 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
 | 
|---|
| 5326 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 | 
|---|
| 5327 | $as_echo_n "checking how to run the C preprocessor... " >&6; }
 | 
|---|
| 5328 | # On Suns, sometimes $CPP names a directory.
 | 
|---|
| 5329 | if test -n "$CPP" && test -d "$CPP"; then
 | 
|---|
| 5330 |   CPP=
 | 
|---|
| 5331 | fi
 | 
|---|
| 5332 | if test -z "$CPP"; then
 | 
|---|
| 5333 |   if ${ac_cv_prog_CPP+:} false; then :
 | 
|---|
| 5334 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5335 | else
 | 
|---|
| 5336 |       # Double quotes because CPP needs to be expanded
 | 
|---|
| 5337 |     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 | 
|---|
| 5338 |     do
 | 
|---|
| 5339 |       ac_preproc_ok=false
 | 
|---|
| 5340 | for ac_c_preproc_warn_flag in '' yes
 | 
|---|
| 5341 | do
 | 
|---|
| 5342 |   # Use a header file that comes with gcc, so configuring glibc
 | 
|---|
| 5343 |   # with a fresh cross-compiler works.
 | 
|---|
| 5344 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 | 
|---|
| 5345 |   # <limits.h> exists even on freestanding compilers.
 | 
|---|
| 5346 |   # On the NeXT, cc -E runs the code through the compiler's parser,
 | 
|---|
| 5347 |   # not just through cpp. "Syntax error" is here to catch this case.
 | 
|---|
| 5348 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5349 | /* end confdefs.h.  */
 | 
|---|
| 5350 | #ifdef __STDC__
 | 
|---|
| 5351 | # include <limits.h>
 | 
|---|
| 5352 | #else
 | 
|---|
| 5353 | # include <assert.h>
 | 
|---|
| 5354 | #endif
 | 
|---|
| 5355 |                      Syntax error
 | 
|---|
| 5356 | _ACEOF
 | 
|---|
| 5357 | if ac_fn_c_try_cpp "$LINENO"; then :
 | 
|---|
| 5358 | 
 | 
|---|
| 5359 | else
 | 
|---|
| 5360 |   # Broken: fails on valid input.
 | 
|---|
| 5361 | continue
 | 
|---|
| 5362 | fi
 | 
|---|
| 5363 | rm -f conftest.err conftest.i conftest.$ac_ext
 | 
|---|
| 5364 | 
 | 
|---|
| 5365 |   # OK, works on sane cases.  Now check whether nonexistent headers
 | 
|---|
| 5366 |   # can be detected and how.
 | 
|---|
| 5367 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5368 | /* end confdefs.h.  */
 | 
|---|
| 5369 | #include <ac_nonexistent.h>
 | 
|---|
| 5370 | _ACEOF
 | 
|---|
| 5371 | if ac_fn_c_try_cpp "$LINENO"; then :
 | 
|---|
| 5372 |   # Broken: success on invalid input.
 | 
|---|
| 5373 | continue
 | 
|---|
| 5374 | else
 | 
|---|
| 5375 |   # Passes both tests.
 | 
|---|
| 5376 | ac_preproc_ok=:
 | 
|---|
| 5377 | break
 | 
|---|
| 5378 | fi
 | 
|---|
| 5379 | rm -f conftest.err conftest.i conftest.$ac_ext
 | 
|---|
| 5380 | 
 | 
|---|
| 5381 | done
 | 
|---|
| 5382 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 | 
|---|
| 5383 | rm -f conftest.i conftest.err conftest.$ac_ext
 | 
|---|
| 5384 | if $ac_preproc_ok; then :
 | 
|---|
| 5385 |   break
 | 
|---|
| 5386 | fi
 | 
|---|
| 5387 | 
 | 
|---|
| 5388 |     done
 | 
|---|
| 5389 |     ac_cv_prog_CPP=$CPP
 | 
|---|
| 5390 | 
 | 
|---|
| 5391 | fi
 | 
|---|
| 5392 |   CPP=$ac_cv_prog_CPP
 | 
|---|
| 5393 | else
 | 
|---|
| 5394 |   ac_cv_prog_CPP=$CPP
 | 
|---|
| 5395 | fi
 | 
|---|
| 5396 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 | 
|---|
| 5397 | $as_echo "$CPP" >&6; }
 | 
|---|
| 5398 | ac_preproc_ok=false
 | 
|---|
| 5399 | for ac_c_preproc_warn_flag in '' yes
 | 
|---|
| 5400 | do
 | 
|---|
| 5401 |   # Use a header file that comes with gcc, so configuring glibc
 | 
|---|
| 5402 |   # with a fresh cross-compiler works.
 | 
|---|
| 5403 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 | 
|---|
| 5404 |   # <limits.h> exists even on freestanding compilers.
 | 
|---|
| 5405 |   # On the NeXT, cc -E runs the code through the compiler's parser,
 | 
|---|
| 5406 |   # not just through cpp. "Syntax error" is here to catch this case.
 | 
|---|
| 5407 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5408 | /* end confdefs.h.  */
 | 
|---|
| 5409 | #ifdef __STDC__
 | 
|---|
| 5410 | # include <limits.h>
 | 
|---|
| 5411 | #else
 | 
|---|
| 5412 | # include <assert.h>
 | 
|---|
| 5413 | #endif
 | 
|---|
| 5414 |                      Syntax error
 | 
|---|
| 5415 | _ACEOF
 | 
|---|
| 5416 | if ac_fn_c_try_cpp "$LINENO"; then :
 | 
|---|
| 5417 | 
 | 
|---|
| 5418 | else
 | 
|---|
| 5419 |   # Broken: fails on valid input.
 | 
|---|
| 5420 | continue
 | 
|---|
| 5421 | fi
 | 
|---|
| 5422 | rm -f conftest.err conftest.i conftest.$ac_ext
 | 
|---|
| 5423 | 
 | 
|---|
| 5424 |   # OK, works on sane cases.  Now check whether nonexistent headers
 | 
|---|
| 5425 |   # can be detected and how.
 | 
|---|
| 5426 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5427 | /* end confdefs.h.  */
 | 
|---|
| 5428 | #include <ac_nonexistent.h>
 | 
|---|
| 5429 | _ACEOF
 | 
|---|
| 5430 | if ac_fn_c_try_cpp "$LINENO"; then :
 | 
|---|
| 5431 |   # Broken: success on invalid input.
 | 
|---|
| 5432 | continue
 | 
|---|
| 5433 | else
 | 
|---|
| 5434 |   # Passes both tests.
 | 
|---|
| 5435 | ac_preproc_ok=:
 | 
|---|
| 5436 | break
 | 
|---|
| 5437 | fi
 | 
|---|
| 5438 | rm -f conftest.err conftest.i conftest.$ac_ext
 | 
|---|
| 5439 | 
 | 
|---|
| 5440 | done
 | 
|---|
| 5441 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 | 
|---|
| 5442 | rm -f conftest.i conftest.err conftest.$ac_ext
 | 
|---|
| 5443 | if $ac_preproc_ok; then :
 | 
|---|
| 5444 | 
 | 
|---|
| 5445 | else
 | 
|---|
| 5446 |   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 5447 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 5448 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 | 
|---|
| 5449 | See \`config.log' for more details" "$LINENO" 5; }
 | 
|---|
| 5450 | fi
 | 
|---|
| 5451 | 
 | 
|---|
| 5452 | ac_ext=c
 | 
|---|
| 5453 | ac_cpp='$CPP $CPPFLAGS'
 | 
|---|
| 5454 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 5455 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 5456 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
 | 
|---|
| 5457 | 
 | 
|---|
| 5458 | 
 | 
|---|
| 5459 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 | 
|---|
| 5460 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 | 
|---|
| 5461 | if ${ac_cv_path_GREP+:} false; then :
 | 
|---|
| 5462 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5463 | else
 | 
|---|
| 5464 |   if test -z "$GREP"; then
 | 
|---|
| 5465 |   ac_path_GREP_found=false
 | 
|---|
| 5466 |   # Loop through the user's path and test for each of PROGNAME-LIST
 | 
|---|
| 5467 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 5468 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 | 
|---|
| 5469 | do
 | 
|---|
| 5470 |   IFS=$as_save_IFS
 | 
|---|
| 5471 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 5472 |     for ac_prog in grep ggrep; do
 | 
|---|
| 5473 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 5474 |       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 | 
|---|
| 5475 |       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 | 
|---|
| 5476 | # Check for GNU ac_path_GREP and select it if it is found.
 | 
|---|
| 5477 |   # Check for GNU $ac_path_GREP
 | 
|---|
| 5478 | case `"$ac_path_GREP" --version 2>&1` in
 | 
|---|
| 5479 | *GNU*)
 | 
|---|
| 5480 |   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 | 
|---|
| 5481 | *)
 | 
|---|
| 5482 |   ac_count=0
 | 
|---|
| 5483 |   $as_echo_n 0123456789 >"conftest.in"
 | 
|---|
| 5484 |   while :
 | 
|---|
| 5485 |   do
 | 
|---|
| 5486 |     cat "conftest.in" "conftest.in" >"conftest.tmp"
 | 
|---|
| 5487 |     mv "conftest.tmp" "conftest.in"
 | 
|---|
| 5488 |     cp "conftest.in" "conftest.nl"
 | 
|---|
| 5489 |     $as_echo 'GREP' >> "conftest.nl"
 | 
|---|
| 5490 |     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 | 
|---|
| 5491 |     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 | 
|---|
| 5492 |     as_fn_arith $ac_count + 1 && ac_count=$as_val
 | 
|---|
| 5493 |     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 | 
|---|
| 5494 |       # Best one so far, save it but keep looking for a better one
 | 
|---|
| 5495 |       ac_cv_path_GREP="$ac_path_GREP"
 | 
|---|
| 5496 |       ac_path_GREP_max=$ac_count
 | 
|---|
| 5497 |     fi
 | 
|---|
| 5498 |     # 10*(2^10) chars as input seems more than enough
 | 
|---|
| 5499 |     test $ac_count -gt 10 && break
 | 
|---|
| 5500 |   done
 | 
|---|
| 5501 |   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 | 
|---|
| 5502 | esac
 | 
|---|
| 5503 | 
 | 
|---|
| 5504 |       $ac_path_GREP_found && break 3
 | 
|---|
| 5505 |     done
 | 
|---|
| 5506 |   done
 | 
|---|
| 5507 |   done
 | 
|---|
| 5508 | IFS=$as_save_IFS
 | 
|---|
| 5509 |   if test -z "$ac_cv_path_GREP"; then
 | 
|---|
| 5510 |     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 | 
|---|
| 5511 |   fi
 | 
|---|
| 5512 | else
 | 
|---|
| 5513 |   ac_cv_path_GREP=$GREP
 | 
|---|
| 5514 | fi
 | 
|---|
| 5515 | 
 | 
|---|
| 5516 | fi
 | 
|---|
| 5517 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 | 
|---|
| 5518 | $as_echo "$ac_cv_path_GREP" >&6; }
 | 
|---|
| 5519 |  GREP="$ac_cv_path_GREP"
 | 
|---|
| 5520 | 
 | 
|---|
| 5521 | 
 | 
|---|
| 5522 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 | 
|---|
| 5523 | $as_echo_n "checking for egrep... " >&6; }
 | 
|---|
| 5524 | if ${ac_cv_path_EGREP+:} false; then :
 | 
|---|
| 5525 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5526 | else
 | 
|---|
| 5527 |   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 | 
|---|
| 5528 |    then ac_cv_path_EGREP="$GREP -E"
 | 
|---|
| 5529 |    else
 | 
|---|
| 5530 |      if test -z "$EGREP"; then
 | 
|---|
| 5531 |   ac_path_EGREP_found=false
 | 
|---|
| 5532 |   # Loop through the user's path and test for each of PROGNAME-LIST
 | 
|---|
| 5533 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 5534 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 | 
|---|
| 5535 | do
 | 
|---|
| 5536 |   IFS=$as_save_IFS
 | 
|---|
| 5537 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 5538 |     for ac_prog in egrep; do
 | 
|---|
| 5539 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 5540 |       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 | 
|---|
| 5541 |       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 | 
|---|
| 5542 | # Check for GNU ac_path_EGREP and select it if it is found.
 | 
|---|
| 5543 |   # Check for GNU $ac_path_EGREP
 | 
|---|
| 5544 | case `"$ac_path_EGREP" --version 2>&1` in
 | 
|---|
| 5545 | *GNU*)
 | 
|---|
| 5546 |   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 | 
|---|
| 5547 | *)
 | 
|---|
| 5548 |   ac_count=0
 | 
|---|
| 5549 |   $as_echo_n 0123456789 >"conftest.in"
 | 
|---|
| 5550 |   while :
 | 
|---|
| 5551 |   do
 | 
|---|
| 5552 |     cat "conftest.in" "conftest.in" >"conftest.tmp"
 | 
|---|
| 5553 |     mv "conftest.tmp" "conftest.in"
 | 
|---|
| 5554 |     cp "conftest.in" "conftest.nl"
 | 
|---|
| 5555 |     $as_echo 'EGREP' >> "conftest.nl"
 | 
|---|
| 5556 |     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 | 
|---|
| 5557 |     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 | 
|---|
| 5558 |     as_fn_arith $ac_count + 1 && ac_count=$as_val
 | 
|---|
| 5559 |     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 | 
|---|
| 5560 |       # Best one so far, save it but keep looking for a better one
 | 
|---|
| 5561 |       ac_cv_path_EGREP="$ac_path_EGREP"
 | 
|---|
| 5562 |       ac_path_EGREP_max=$ac_count
 | 
|---|
| 5563 |     fi
 | 
|---|
| 5564 |     # 10*(2^10) chars as input seems more than enough
 | 
|---|
| 5565 |     test $ac_count -gt 10 && break
 | 
|---|
| 5566 |   done
 | 
|---|
| 5567 |   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 | 
|---|
| 5568 | esac
 | 
|---|
| 5569 | 
 | 
|---|
| 5570 |       $ac_path_EGREP_found && break 3
 | 
|---|
| 5571 |     done
 | 
|---|
| 5572 |   done
 | 
|---|
| 5573 |   done
 | 
|---|
| 5574 | IFS=$as_save_IFS
 | 
|---|
| 5575 |   if test -z "$ac_cv_path_EGREP"; then
 | 
|---|
| 5576 |     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 | 
|---|
| 5577 |   fi
 | 
|---|
| 5578 | else
 | 
|---|
| 5579 |   ac_cv_path_EGREP=$EGREP
 | 
|---|
| 5580 | fi
 | 
|---|
| 5581 | 
 | 
|---|
| 5582 |    fi
 | 
|---|
| 5583 | fi
 | 
|---|
| 5584 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 | 
|---|
| 5585 | $as_echo "$ac_cv_path_EGREP" >&6; }
 | 
|---|
| 5586 |  EGREP="$ac_cv_path_EGREP"
 | 
|---|
| 5587 | 
 | 
|---|
| 5588 | 
 | 
|---|
| 5589 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 | 
|---|
| 5590 | $as_echo_n "checking for ANSI C header files... " >&6; }
 | 
|---|
| 5591 | if ${ac_cv_header_stdc+:} false; then :
 | 
|---|
| 5592 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5593 | else
 | 
|---|
| 5594 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5595 | /* end confdefs.h.  */
 | 
|---|
| 5596 | #include <stdlib.h>
 | 
|---|
| 5597 | #include <stdarg.h>
 | 
|---|
| 5598 | #include <string.h>
 | 
|---|
| 5599 | #include <float.h>
 | 
|---|
| 5600 | 
 | 
|---|
| 5601 | int
 | 
|---|
| 5602 | main ()
 | 
|---|
| 5603 | {
 | 
|---|
| 5604 | 
 | 
|---|
| 5605 |   ;
 | 
|---|
| 5606 |   return 0;
 | 
|---|
| 5607 | }
 | 
|---|
| 5608 | _ACEOF
 | 
|---|
| 5609 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 5610 |   ac_cv_header_stdc=yes
 | 
|---|
| 5611 | else
 | 
|---|
| 5612 |   ac_cv_header_stdc=no
 | 
|---|
| 5613 | fi
 | 
|---|
| 5614 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 5615 | 
 | 
|---|
| 5616 | if test $ac_cv_header_stdc = yes; then
 | 
|---|
| 5617 |   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 | 
|---|
| 5618 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5619 | /* end confdefs.h.  */
 | 
|---|
| 5620 | #include <string.h>
 | 
|---|
| 5621 | 
 | 
|---|
| 5622 | _ACEOF
 | 
|---|
| 5623 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 | 
|---|
| 5624 |   $EGREP "memchr" >/dev/null 2>&1; then :
 | 
|---|
| 5625 | 
 | 
|---|
| 5626 | else
 | 
|---|
| 5627 |   ac_cv_header_stdc=no
 | 
|---|
| 5628 | fi
 | 
|---|
| 5629 | rm -f conftest*
 | 
|---|
| 5630 | 
 | 
|---|
| 5631 | fi
 | 
|---|
| 5632 | 
 | 
|---|
| 5633 | if test $ac_cv_header_stdc = yes; then
 | 
|---|
| 5634 |   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 | 
|---|
| 5635 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5636 | /* end confdefs.h.  */
 | 
|---|
| 5637 | #include <stdlib.h>
 | 
|---|
| 5638 | 
 | 
|---|
| 5639 | _ACEOF
 | 
|---|
| 5640 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 | 
|---|
| 5641 |   $EGREP "free" >/dev/null 2>&1; then :
 | 
|---|
| 5642 | 
 | 
|---|
| 5643 | else
 | 
|---|
| 5644 |   ac_cv_header_stdc=no
 | 
|---|
| 5645 | fi
 | 
|---|
| 5646 | rm -f conftest*
 | 
|---|
| 5647 | 
 | 
|---|
| 5648 | fi
 | 
|---|
| 5649 | 
 | 
|---|
| 5650 | if test $ac_cv_header_stdc = yes; then
 | 
|---|
| 5651 |   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 | 
|---|
| 5652 |   if test "$cross_compiling" = yes; then :
 | 
|---|
| 5653 |   :
 | 
|---|
| 5654 | else
 | 
|---|
| 5655 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5656 | /* end confdefs.h.  */
 | 
|---|
| 5657 | #include <ctype.h>
 | 
|---|
| 5658 | #include <stdlib.h>
 | 
|---|
| 5659 | #if ((' ' & 0x0FF) == 0x020)
 | 
|---|
| 5660 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 | 
|---|
| 5661 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 | 
|---|
| 5662 | #else
 | 
|---|
| 5663 | # define ISLOWER(c) \
 | 
|---|
| 5664 |                    (('a' <= (c) && (c) <= 'i') \
 | 
|---|
| 5665 |                      || ('j' <= (c) && (c) <= 'r') \
 | 
|---|
| 5666 |                      || ('s' <= (c) && (c) <= 'z'))
 | 
|---|
| 5667 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 | 
|---|
| 5668 | #endif
 | 
|---|
| 5669 | 
 | 
|---|
| 5670 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 | 
|---|
| 5671 | int
 | 
|---|
| 5672 | main ()
 | 
|---|
| 5673 | {
 | 
|---|
| 5674 |   int i;
 | 
|---|
| 5675 |   for (i = 0; i < 256; i++)
 | 
|---|
| 5676 |     if (XOR (islower (i), ISLOWER (i))
 | 
|---|
| 5677 |         || toupper (i) != TOUPPER (i))
 | 
|---|
| 5678 |       return 2;
 | 
|---|
| 5679 |   return 0;
 | 
|---|
| 5680 | }
 | 
|---|
| 5681 | _ACEOF
 | 
|---|
| 5682 | if ac_fn_c_try_run "$LINENO"; then :
 | 
|---|
| 5683 | 
 | 
|---|
| 5684 | else
 | 
|---|
| 5685 |   ac_cv_header_stdc=no
 | 
|---|
| 5686 | fi
 | 
|---|
| 5687 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 | 
|---|
| 5688 |   conftest.$ac_objext conftest.beam conftest.$ac_ext
 | 
|---|
| 5689 | fi
 | 
|---|
| 5690 | 
 | 
|---|
| 5691 | fi
 | 
|---|
| 5692 | fi
 | 
|---|
| 5693 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 | 
|---|
| 5694 | $as_echo "$ac_cv_header_stdc" >&6; }
 | 
|---|
| 5695 | if test $ac_cv_header_stdc = yes; then
 | 
|---|
| 5696 | 
 | 
|---|
| 5697 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 | 
|---|
| 5698 | 
 | 
|---|
| 5699 | fi
 | 
|---|
| 5700 | 
 | 
|---|
| 5701 | # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 | 
|---|
| 5702 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 | 
|---|
| 5703 |                   inttypes.h stdint.h unistd.h
 | 
|---|
| 5704 | do :
 | 
|---|
| 5705 |   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 | 
|---|
| 5706 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 | 
|---|
| 5707 | "
 | 
|---|
| 5708 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 | 
|---|
| 5709 |   cat >>confdefs.h <<_ACEOF
 | 
|---|
| 5710 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 | 
|---|
| 5711 | _ACEOF
 | 
|---|
| 5712 | 
 | 
|---|
| 5713 | fi
 | 
|---|
| 5714 | 
 | 
|---|
| 5715 | done
 | 
|---|
| 5716 | 
 | 
|---|
| 5717 | 
 | 
|---|
| 5718 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 | 
|---|
| 5719 | if test "x$ac_cv_type_size_t" = xyes; then :
 | 
|---|
| 5720 | 
 | 
|---|
| 5721 | else
 | 
|---|
| 5722 | 
 | 
|---|
| 5723 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 5724 | #define size_t unsigned int
 | 
|---|
| 5725 | _ACEOF
 | 
|---|
| 5726 | 
 | 
|---|
| 5727 | fi
 | 
|---|
| 5728 | 
 | 
|---|
| 5729 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
 | 
|---|
| 5730 | # for constant arguments.  Useless!
 | 
|---|
| 5731 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
 | 
|---|
| 5732 | $as_echo_n "checking for working alloca.h... " >&6; }
 | 
|---|
| 5733 | if ${ac_cv_working_alloca_h+:} false; then :
 | 
|---|
| 5734 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5735 | else
 | 
|---|
| 5736 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5737 | /* end confdefs.h.  */
 | 
|---|
| 5738 | #include <alloca.h>
 | 
|---|
| 5739 | int
 | 
|---|
| 5740 | main ()
 | 
|---|
| 5741 | {
 | 
|---|
| 5742 | char *p = (char *) alloca (2 * sizeof (int));
 | 
|---|
| 5743 |                           if (p) return 0;
 | 
|---|
| 5744 |   ;
 | 
|---|
| 5745 |   return 0;
 | 
|---|
| 5746 | }
 | 
|---|
| 5747 | _ACEOF
 | 
|---|
| 5748 | if ac_fn_c_try_link "$LINENO"; then :
 | 
|---|
| 5749 |   ac_cv_working_alloca_h=yes
 | 
|---|
| 5750 | else
 | 
|---|
| 5751 |   ac_cv_working_alloca_h=no
 | 
|---|
| 5752 | fi
 | 
|---|
| 5753 | rm -f core conftest.err conftest.$ac_objext \
 | 
|---|
| 5754 |     conftest$ac_exeext conftest.$ac_ext
 | 
|---|
| 5755 | fi
 | 
|---|
| 5756 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
 | 
|---|
| 5757 | $as_echo "$ac_cv_working_alloca_h" >&6; }
 | 
|---|
| 5758 | if test $ac_cv_working_alloca_h = yes; then
 | 
|---|
| 5759 | 
 | 
|---|
| 5760 | $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
 | 
|---|
| 5761 | 
 | 
|---|
| 5762 | fi
 | 
|---|
| 5763 | 
 | 
|---|
| 5764 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
 | 
|---|
| 5765 | $as_echo_n "checking for alloca... " >&6; }
 | 
|---|
| 5766 | if ${ac_cv_func_alloca_works+:} false; then :
 | 
|---|
| 5767 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5768 | else
 | 
|---|
| 5769 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5770 | /* end confdefs.h.  */
 | 
|---|
| 5771 | #ifdef __GNUC__
 | 
|---|
| 5772 | # define alloca __builtin_alloca
 | 
|---|
| 5773 | #else
 | 
|---|
| 5774 | # ifdef _MSC_VER
 | 
|---|
| 5775 | #  include <malloc.h>
 | 
|---|
| 5776 | #  define alloca _alloca
 | 
|---|
| 5777 | # else
 | 
|---|
| 5778 | #  ifdef HAVE_ALLOCA_H
 | 
|---|
| 5779 | #   include <alloca.h>
 | 
|---|
| 5780 | #  else
 | 
|---|
| 5781 | #   ifdef _AIX
 | 
|---|
| 5782 |  #pragma alloca
 | 
|---|
| 5783 | #   else
 | 
|---|
| 5784 | #    ifndef alloca /* predefined by HP cc +Olibcalls */
 | 
|---|
| 5785 | void *alloca (size_t);
 | 
|---|
| 5786 | #    endif
 | 
|---|
| 5787 | #   endif
 | 
|---|
| 5788 | #  endif
 | 
|---|
| 5789 | # endif
 | 
|---|
| 5790 | #endif
 | 
|---|
| 5791 | 
 | 
|---|
| 5792 | int
 | 
|---|
| 5793 | main ()
 | 
|---|
| 5794 | {
 | 
|---|
| 5795 | char *p = (char *) alloca (1);
 | 
|---|
| 5796 |                                     if (p) return 0;
 | 
|---|
| 5797 |   ;
 | 
|---|
| 5798 |   return 0;
 | 
|---|
| 5799 | }
 | 
|---|
| 5800 | _ACEOF
 | 
|---|
| 5801 | if ac_fn_c_try_link "$LINENO"; then :
 | 
|---|
| 5802 |   ac_cv_func_alloca_works=yes
 | 
|---|
| 5803 | else
 | 
|---|
| 5804 |   ac_cv_func_alloca_works=no
 | 
|---|
| 5805 | fi
 | 
|---|
| 5806 | rm -f core conftest.err conftest.$ac_objext \
 | 
|---|
| 5807 |     conftest$ac_exeext conftest.$ac_ext
 | 
|---|
| 5808 | fi
 | 
|---|
| 5809 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
 | 
|---|
| 5810 | $as_echo "$ac_cv_func_alloca_works" >&6; }
 | 
|---|
| 5811 | 
 | 
|---|
| 5812 | if test $ac_cv_func_alloca_works = yes; then
 | 
|---|
| 5813 | 
 | 
|---|
| 5814 | $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
 | 
|---|
| 5815 | 
 | 
|---|
| 5816 | else
 | 
|---|
| 5817 |   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
 | 
|---|
| 5818 | # that cause trouble.  Some versions do not even contain alloca or
 | 
|---|
| 5819 | # contain a buggy version.  If you still want to use their alloca,
 | 
|---|
| 5820 | # use ar to extract alloca.o from them instead of compiling alloca.c.
 | 
|---|
| 5821 | 
 | 
|---|
| 5822 | ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
 | 
|---|
| 5823 | 
 | 
|---|
| 5824 | $as_echo "#define C_ALLOCA 1" >>confdefs.h
 | 
|---|
| 5825 | 
 | 
|---|
| 5826 | 
 | 
|---|
| 5827 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
 | 
|---|
| 5828 | $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
 | 
|---|
| 5829 | if ${ac_cv_os_cray+:} false; then :
 | 
|---|
| 5830 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5831 | else
 | 
|---|
| 5832 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5833 | /* end confdefs.h.  */
 | 
|---|
| 5834 | #if defined CRAY && ! defined CRAY2
 | 
|---|
| 5835 | webecray
 | 
|---|
| 5836 | #else
 | 
|---|
| 5837 | wenotbecray
 | 
|---|
| 5838 | #endif
 | 
|---|
| 5839 | 
 | 
|---|
| 5840 | _ACEOF
 | 
|---|
| 5841 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 | 
|---|
| 5842 |   $EGREP "webecray" >/dev/null 2>&1; then :
 | 
|---|
| 5843 |   ac_cv_os_cray=yes
 | 
|---|
| 5844 | else
 | 
|---|
| 5845 |   ac_cv_os_cray=no
 | 
|---|
| 5846 | fi
 | 
|---|
| 5847 | rm -f conftest*
 | 
|---|
| 5848 | 
 | 
|---|
| 5849 | fi
 | 
|---|
| 5850 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
 | 
|---|
| 5851 | $as_echo "$ac_cv_os_cray" >&6; }
 | 
|---|
| 5852 | if test $ac_cv_os_cray = yes; then
 | 
|---|
| 5853 |   for ac_func in _getb67 GETB67 getb67; do
 | 
|---|
| 5854 |     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 | 
|---|
| 5855 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 | 
|---|
| 5856 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 | 
|---|
| 5857 | 
 | 
|---|
| 5858 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 5859 | #define CRAY_STACKSEG_END $ac_func
 | 
|---|
| 5860 | _ACEOF
 | 
|---|
| 5861 | 
 | 
|---|
| 5862 |     break
 | 
|---|
| 5863 | fi
 | 
|---|
| 5864 | 
 | 
|---|
| 5865 |   done
 | 
|---|
| 5866 | fi
 | 
|---|
| 5867 | 
 | 
|---|
| 5868 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
 | 
|---|
| 5869 | $as_echo_n "checking stack direction for C alloca... " >&6; }
 | 
|---|
| 5870 | if ${ac_cv_c_stack_direction+:} false; then :
 | 
|---|
| 5871 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5872 | else
 | 
|---|
| 5873 |   if test "$cross_compiling" = yes; then :
 | 
|---|
| 5874 |   ac_cv_c_stack_direction=0
 | 
|---|
| 5875 | else
 | 
|---|
| 5876 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5877 | /* end confdefs.h.  */
 | 
|---|
| 5878 | $ac_includes_default
 | 
|---|
| 5879 | int
 | 
|---|
| 5880 | find_stack_direction ()
 | 
|---|
| 5881 | {
 | 
|---|
| 5882 |   static char *addr = 0;
 | 
|---|
| 5883 |   auto char dummy;
 | 
|---|
| 5884 |   if (addr == 0)
 | 
|---|
| 5885 |     {
 | 
|---|
| 5886 |       addr = &dummy;
 | 
|---|
| 5887 |       return find_stack_direction ();
 | 
|---|
| 5888 |     }
 | 
|---|
| 5889 |   else
 | 
|---|
| 5890 |     return (&dummy > addr) ? 1 : -1;
 | 
|---|
| 5891 | }
 | 
|---|
| 5892 | 
 | 
|---|
| 5893 | int
 | 
|---|
| 5894 | main ()
 | 
|---|
| 5895 | {
 | 
|---|
| 5896 |   return find_stack_direction () < 0;
 | 
|---|
| 5897 | }
 | 
|---|
| 5898 | _ACEOF
 | 
|---|
| 5899 | if ac_fn_c_try_run "$LINENO"; then :
 | 
|---|
| 5900 |   ac_cv_c_stack_direction=1
 | 
|---|
| 5901 | else
 | 
|---|
| 5902 |   ac_cv_c_stack_direction=-1
 | 
|---|
| 5903 | fi
 | 
|---|
| 5904 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 | 
|---|
| 5905 |   conftest.$ac_objext conftest.beam conftest.$ac_ext
 | 
|---|
| 5906 | fi
 | 
|---|
| 5907 | 
 | 
|---|
| 5908 | fi
 | 
|---|
| 5909 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
 | 
|---|
| 5910 | $as_echo "$ac_cv_c_stack_direction" >&6; }
 | 
|---|
| 5911 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 5912 | #define STACK_DIRECTION $ac_cv_c_stack_direction
 | 
|---|
| 5913 | _ACEOF
 | 
|---|
| 5914 | 
 | 
|---|
| 5915 | 
 | 
|---|
| 5916 | fi
 | 
|---|
| 5917 | 
 | 
|---|
| 5918 | for ac_header in fenv.h float.h inttypes.h libintl.h limits.h malloc.h stddef.h stdlib.h string.h unistd.h
 | 
|---|
| 5919 | do :
 | 
|---|
| 5920 |   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 | 
|---|
| 5921 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 | 
|---|
| 5922 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 | 
|---|
| 5923 |   cat >>confdefs.h <<_ACEOF
 | 
|---|
| 5924 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 | 
|---|
| 5925 | _ACEOF
 | 
|---|
| 5926 | 
 | 
|---|
| 5927 | fi
 | 
|---|
| 5928 | 
 | 
|---|
| 5929 | done
 | 
|---|
| 5930 | 
 | 
|---|
| 5931 | 
 | 
|---|
| 5932 | # Checks for typedefs, structures, and compiler characteristics.
 | 
|---|
| 5933 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
 | 
|---|
| 5934 | $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
 | 
|---|
| 5935 | if ${ac_cv_header_stdbool_h+:} false; then :
 | 
|---|
| 5936 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5937 | else
 | 
|---|
| 5938 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5939 | /* end confdefs.h.  */
 | 
|---|
| 5940 | 
 | 
|---|
| 5941 | #include <stdbool.h>
 | 
|---|
| 5942 | #ifndef bool
 | 
|---|
| 5943 |  "error: bool is not defined"
 | 
|---|
| 5944 | #endif
 | 
|---|
| 5945 | #ifndef false
 | 
|---|
| 5946 |  "error: false is not defined"
 | 
|---|
| 5947 | #endif
 | 
|---|
| 5948 | #if false
 | 
|---|
| 5949 |  "error: false is not 0"
 | 
|---|
| 5950 | #endif
 | 
|---|
| 5951 | #ifndef true
 | 
|---|
| 5952 |  "error: true is not defined"
 | 
|---|
| 5953 | #endif
 | 
|---|
| 5954 | #if true != 1
 | 
|---|
| 5955 |  "error: true is not 1"
 | 
|---|
| 5956 | #endif
 | 
|---|
| 5957 | #ifndef __bool_true_false_are_defined
 | 
|---|
| 5958 |  "error: __bool_true_false_are_defined is not defined"
 | 
|---|
| 5959 | #endif
 | 
|---|
| 5960 | 
 | 
|---|
| 5961 |         struct s { _Bool s: 1; _Bool t; } s;
 | 
|---|
| 5962 | 
 | 
|---|
| 5963 |         char a[true == 1 ? 1 : -1];
 | 
|---|
| 5964 |         char b[false == 0 ? 1 : -1];
 | 
|---|
| 5965 |         char c[__bool_true_false_are_defined == 1 ? 1 : -1];
 | 
|---|
| 5966 |         char d[(bool) 0.5 == true ? 1 : -1];
 | 
|---|
| 5967 |         /* See body of main program for 'e'.  */
 | 
|---|
| 5968 |         char f[(_Bool) 0.0 == false ? 1 : -1];
 | 
|---|
| 5969 |         char g[true];
 | 
|---|
| 5970 |         char h[sizeof (_Bool)];
 | 
|---|
| 5971 |         char i[sizeof s.t];
 | 
|---|
| 5972 |         enum { j = false, k = true, l = false * true, m = true * 256 };
 | 
|---|
| 5973 |         /* The following fails for
 | 
|---|
| 5974 |            HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
 | 
|---|
| 5975 |         _Bool n[m];
 | 
|---|
| 5976 |         char o[sizeof n == m * sizeof n[0] ? 1 : -1];
 | 
|---|
| 5977 |         char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
 | 
|---|
| 5978 |         /* Catch a bug in an HP-UX C compiler.  See
 | 
|---|
| 5979 |            http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
 | 
|---|
| 5980 |            http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
 | 
|---|
| 5981 |          */
 | 
|---|
| 5982 |         _Bool q = true;
 | 
|---|
| 5983 |         _Bool *pq = &q;
 | 
|---|
| 5984 | 
 | 
|---|
| 5985 | int
 | 
|---|
| 5986 | main ()
 | 
|---|
| 5987 | {
 | 
|---|
| 5988 | 
 | 
|---|
| 5989 |         bool e = &s;
 | 
|---|
| 5990 |         *pq |= q;
 | 
|---|
| 5991 |         *pq |= ! q;
 | 
|---|
| 5992 |         /* Refer to every declared value, to avoid compiler optimizations.  */
 | 
|---|
| 5993 |         return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
 | 
|---|
| 5994 |                 + !m + !n + !o + !p + !q + !pq);
 | 
|---|
| 5995 | 
 | 
|---|
| 5996 |   ;
 | 
|---|
| 5997 |   return 0;
 | 
|---|
| 5998 | }
 | 
|---|
| 5999 | _ACEOF
 | 
|---|
| 6000 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 6001 |   ac_cv_header_stdbool_h=yes
 | 
|---|
| 6002 | else
 | 
|---|
| 6003 |   ac_cv_header_stdbool_h=no
 | 
|---|
| 6004 | fi
 | 
|---|
| 6005 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 6006 | fi
 | 
|---|
| 6007 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
 | 
|---|
| 6008 | $as_echo "$ac_cv_header_stdbool_h" >&6; }
 | 
|---|
| 6009 | ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
 | 
|---|
| 6010 | if test "x$ac_cv_type__Bool" = xyes; then :
 | 
|---|
| 6011 | 
 | 
|---|
| 6012 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6013 | #define HAVE__BOOL 1
 | 
|---|
| 6014 | _ACEOF
 | 
|---|
| 6015 | 
 | 
|---|
| 6016 | 
 | 
|---|
| 6017 | fi
 | 
|---|
| 6018 | 
 | 
|---|
| 6019 | if test $ac_cv_header_stdbool_h = yes; then
 | 
|---|
| 6020 | 
 | 
|---|
| 6021 | $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
 | 
|---|
| 6022 | 
 | 
|---|
| 6023 | fi
 | 
|---|
| 6024 | 
 | 
|---|
| 6025 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
 | 
|---|
| 6026 | $as_echo_n "checking for inline... " >&6; }
 | 
|---|
| 6027 | if ${ac_cv_c_inline+:} false; then :
 | 
|---|
| 6028 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 6029 | else
 | 
|---|
| 6030 |   ac_cv_c_inline=no
 | 
|---|
| 6031 | for ac_kw in inline __inline__ __inline; do
 | 
|---|
| 6032 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 6033 | /* end confdefs.h.  */
 | 
|---|
| 6034 | #ifndef __cplusplus
 | 
|---|
| 6035 | typedef int foo_t;
 | 
|---|
| 6036 | static $ac_kw foo_t static_foo () {return 0; }
 | 
|---|
| 6037 | $ac_kw foo_t foo () {return 0; }
 | 
|---|
| 6038 | #endif
 | 
|---|
| 6039 | 
 | 
|---|
| 6040 | _ACEOF
 | 
|---|
| 6041 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 6042 |   ac_cv_c_inline=$ac_kw
 | 
|---|
| 6043 | fi
 | 
|---|
| 6044 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 6045 |   test "$ac_cv_c_inline" != no && break
 | 
|---|
| 6046 | done
 | 
|---|
| 6047 | 
 | 
|---|
| 6048 | fi
 | 
|---|
| 6049 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
 | 
|---|
| 6050 | $as_echo "$ac_cv_c_inline" >&6; }
 | 
|---|
| 6051 | 
 | 
|---|
| 6052 | case $ac_cv_c_inline in
 | 
|---|
| 6053 |   inline | yes) ;;
 | 
|---|
| 6054 |   *)
 | 
|---|
| 6055 |     case $ac_cv_c_inline in
 | 
|---|
| 6056 |       no) ac_val=;;
 | 
|---|
| 6057 |       *) ac_val=$ac_cv_c_inline;;
 | 
|---|
| 6058 |     esac
 | 
|---|
| 6059 |     cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6060 | #ifndef __cplusplus
 | 
|---|
| 6061 | #define inline $ac_val
 | 
|---|
| 6062 | #endif
 | 
|---|
| 6063 | _ACEOF
 | 
|---|
| 6064 |     ;;
 | 
|---|
| 6065 | esac
 | 
|---|
| 6066 | 
 | 
|---|
| 6067 | ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t"
 | 
|---|
| 6068 | case $ac_cv_c_int16_t in #(
 | 
|---|
| 6069 |   no|yes) ;; #(
 | 
|---|
| 6070 |   *)
 | 
|---|
| 6071 | 
 | 
|---|
| 6072 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6073 | #define int16_t $ac_cv_c_int16_t
 | 
|---|
| 6074 | _ACEOF
 | 
|---|
| 6075 | ;;
 | 
|---|
| 6076 | esac
 | 
|---|
| 6077 | 
 | 
|---|
| 6078 | ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
 | 
|---|
| 6079 | case $ac_cv_c_int32_t in #(
 | 
|---|
| 6080 |   no|yes) ;; #(
 | 
|---|
| 6081 |   *)
 | 
|---|
| 6082 | 
 | 
|---|
| 6083 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6084 | #define int32_t $ac_cv_c_int32_t
 | 
|---|
| 6085 | _ACEOF
 | 
|---|
| 6086 | ;;
 | 
|---|
| 6087 | esac
 | 
|---|
| 6088 | 
 | 
|---|
| 6089 | ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t"
 | 
|---|
| 6090 | case $ac_cv_c_int8_t in #(
 | 
|---|
| 6091 |   no|yes) ;; #(
 | 
|---|
| 6092 |   *)
 | 
|---|
| 6093 | 
 | 
|---|
| 6094 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6095 | #define int8_t $ac_cv_c_int8_t
 | 
|---|
| 6096 | _ACEOF
 | 
|---|
| 6097 | ;;
 | 
|---|
| 6098 | esac
 | 
|---|
| 6099 | 
 | 
|---|
| 6100 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
 | 
|---|
| 6101 | $as_echo_n "checking for C/C++ restrict keyword... " >&6; }
 | 
|---|
| 6102 | if ${ac_cv_c_restrict+:} false; then :
 | 
|---|
| 6103 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 6104 | else
 | 
|---|
| 6105 |   ac_cv_c_restrict=no
 | 
|---|
| 6106 |    # The order here caters to the fact that C++ does not require restrict.
 | 
|---|
| 6107 |    for ac_kw in __restrict __restrict__ _Restrict restrict; do
 | 
|---|
| 6108 |      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 6109 | /* end confdefs.h.  */
 | 
|---|
| 6110 | typedef int * int_ptr;
 | 
|---|
| 6111 |         int foo (int_ptr $ac_kw ip) {
 | 
|---|
| 6112 |         return ip[0];
 | 
|---|
| 6113 |        }
 | 
|---|
| 6114 | int
 | 
|---|
| 6115 | main ()
 | 
|---|
| 6116 | {
 | 
|---|
| 6117 | int s[1];
 | 
|---|
| 6118 |         int * $ac_kw t = s;
 | 
|---|
| 6119 |         t[0] = 0;
 | 
|---|
| 6120 |         return foo(t)
 | 
|---|
| 6121 |   ;
 | 
|---|
| 6122 |   return 0;
 | 
|---|
| 6123 | }
 | 
|---|
| 6124 | _ACEOF
 | 
|---|
| 6125 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 6126 |   ac_cv_c_restrict=$ac_kw
 | 
|---|
| 6127 | fi
 | 
|---|
| 6128 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 6129 |      test "$ac_cv_c_restrict" != no && break
 | 
|---|
| 6130 |    done
 | 
|---|
| 6131 | 
 | 
|---|
| 6132 | fi
 | 
|---|
| 6133 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
 | 
|---|
| 6134 | $as_echo "$ac_cv_c_restrict" >&6; }
 | 
|---|
| 6135 | 
 | 
|---|
| 6136 |  case $ac_cv_c_restrict in
 | 
|---|
| 6137 |    restrict) ;;
 | 
|---|
| 6138 |    no) $as_echo "#define restrict /**/" >>confdefs.h
 | 
|---|
| 6139 |  ;;
 | 
|---|
| 6140 |    *)  cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6141 | #define restrict $ac_cv_c_restrict
 | 
|---|
| 6142 | _ACEOF
 | 
|---|
| 6143 |  ;;
 | 
|---|
| 6144 |  esac
 | 
|---|
| 6145 | 
 | 
|---|
| 6146 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 | 
|---|
| 6147 | if test "x$ac_cv_type_size_t" = xyes; then :
 | 
|---|
| 6148 | 
 | 
|---|
| 6149 | else
 | 
|---|
| 6150 | 
 | 
|---|
| 6151 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6152 | #define size_t unsigned int
 | 
|---|
| 6153 | _ACEOF
 | 
|---|
| 6154 | 
 | 
|---|
| 6155 | fi
 | 
|---|
| 6156 | 
 | 
|---|
| 6157 | ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
 | 
|---|
| 6158 | case $ac_cv_c_uint16_t in #(
 | 
|---|
| 6159 |   no|yes) ;; #(
 | 
|---|
| 6160 |   *)
 | 
|---|
| 6161 | 
 | 
|---|
| 6162 | 
 | 
|---|
| 6163 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6164 | #define uint16_t $ac_cv_c_uint16_t
 | 
|---|
| 6165 | _ACEOF
 | 
|---|
| 6166 | ;;
 | 
|---|
| 6167 |   esac
 | 
|---|
| 6168 | 
 | 
|---|
| 6169 | ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
 | 
|---|
| 6170 | case $ac_cv_c_uint32_t in #(
 | 
|---|
| 6171 |   no|yes) ;; #(
 | 
|---|
| 6172 |   *)
 | 
|---|
| 6173 | 
 | 
|---|
| 6174 | $as_echo "#define _UINT32_T 1" >>confdefs.h
 | 
|---|
| 6175 | 
 | 
|---|
| 6176 | 
 | 
|---|
| 6177 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6178 | #define uint32_t $ac_cv_c_uint32_t
 | 
|---|
| 6179 | _ACEOF
 | 
|---|
| 6180 | ;;
 | 
|---|
| 6181 |   esac
 | 
|---|
| 6182 | 
 | 
|---|
| 6183 | ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
 | 
|---|
| 6184 | case $ac_cv_c_uint8_t in #(
 | 
|---|
| 6185 |   no|yes) ;; #(
 | 
|---|
| 6186 |   *)
 | 
|---|
| 6187 | 
 | 
|---|
| 6188 | $as_echo "#define _UINT8_T 1" >>confdefs.h
 | 
|---|
| 6189 | 
 | 
|---|
| 6190 | 
 | 
|---|
| 6191 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6192 | #define uint8_t $ac_cv_c_uint8_t
 | 
|---|
| 6193 | _ACEOF
 | 
|---|
| 6194 | ;;
 | 
|---|
| 6195 |   esac
 | 
|---|
| 6196 | 
 | 
|---|
| 6197 | 
 | 
|---|
| 6198 | # Checks for library functions.
 | 
|---|
| 6199 | for ac_func in memset putenv strchr strtol
 | 
|---|
| 6200 | do :
 | 
|---|
| 6201 |   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 | 
|---|
| 6202 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 | 
|---|
| 6203 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 | 
|---|
| 6204 |   cat >>confdefs.h <<_ACEOF
 | 
|---|
| 6205 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 | 
|---|
| 6206 | _ACEOF
 | 
|---|
| 6207 | 
 | 
|---|
| 6208 | fi
 | 
|---|
| 6209 | done
 | 
|---|
| 6210 | 
 | 
|---|
| 6211 | 
 | 
|---|
| 6212 | ac_config_files="$ac_config_files Makefile src/driver/Makefile src/Makefile src/benchmark/Makefile src/examples/Makefile src/tests/Makefile src/prelude/Makefile src/libcfa/Makefile"
 | 
|---|
| 6213 | 
 | 
|---|
| 6214 | 
 | 
|---|
| 6215 | cat >confcache <<\_ACEOF
 | 
|---|
| 6216 | # This file is a shell script that caches the results of configure
 | 
|---|
| 6217 | # tests run on this system so they can be shared between configure
 | 
|---|
| 6218 | # scripts and configure runs, see configure's option --config-cache.
 | 
|---|
| 6219 | # It is not useful on other systems.  If it contains results you don't
 | 
|---|
| 6220 | # want to keep, you may remove or edit it.
 | 
|---|
| 6221 | #
 | 
|---|
| 6222 | # config.status only pays attention to the cache file if you give it
 | 
|---|
| 6223 | # the --recheck option to rerun configure.
 | 
|---|
| 6224 | #
 | 
|---|
| 6225 | # `ac_cv_env_foo' variables (set or unset) will be overridden when
 | 
|---|
| 6226 | # loading this file, other *unset* `ac_cv_foo' will be assigned the
 | 
|---|
| 6227 | # following values.
 | 
|---|
| 6228 | 
 | 
|---|
| 6229 | _ACEOF
 | 
|---|
| 6230 | 
 | 
|---|
| 6231 | # The following way of writing the cache mishandles newlines in values,
 | 
|---|
| 6232 | # but we know of no workaround that is simple, portable, and efficient.
 | 
|---|
| 6233 | # So, we kill variables containing newlines.
 | 
|---|
| 6234 | # Ultrix sh set writes to stderr and can't be redirected directly,
 | 
|---|
| 6235 | # and sets the high bit in the cache file unless we assign to the vars.
 | 
|---|
| 6236 | (
 | 
|---|
| 6237 |   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 | 
|---|
| 6238 |     eval ac_val=\$$ac_var
 | 
|---|
| 6239 |     case $ac_val in #(
 | 
|---|
| 6240 |     *${as_nl}*)
 | 
|---|
| 6241 |       case $ac_var in #(
 | 
|---|
| 6242 |       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 | 
|---|
| 6243 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 | 
|---|
| 6244 |       esac
 | 
|---|
| 6245 |       case $ac_var in #(
 | 
|---|
| 6246 |       _ | IFS | as_nl) ;; #(
 | 
|---|
| 6247 |       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 | 
|---|
| 6248 |       *) { eval $ac_var=; unset $ac_var;} ;;
 | 
|---|
| 6249 |       esac ;;
 | 
|---|
| 6250 |     esac
 | 
|---|
| 6251 |   done
 | 
|---|
| 6252 | 
 | 
|---|
| 6253 |   (set) 2>&1 |
 | 
|---|
| 6254 |     case $as_nl`(ac_space=' '; set) 2>&1` in #(
 | 
|---|
| 6255 |     *${as_nl}ac_space=\ *)
 | 
|---|
| 6256 |       # `set' does not quote correctly, so add quotes: double-quote
 | 
|---|
| 6257 |       # substitution turns \\\\ into \\, and sed turns \\ into \.
 | 
|---|
| 6258 |       sed -n \
 | 
|---|
| 6259 |         "s/'/'\\\\''/g;
 | 
|---|
| 6260 |           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 | 
|---|
| 6261 |       ;; #(
 | 
|---|
| 6262 |     *)
 | 
|---|
| 6263 |       # `set' quotes correctly as required by POSIX, so do not add quotes.
 | 
|---|
| 6264 |       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 | 
|---|
| 6265 |       ;;
 | 
|---|
| 6266 |     esac |
 | 
|---|
| 6267 |     sort
 | 
|---|
| 6268 | ) |
 | 
|---|
| 6269 |   sed '
 | 
|---|
| 6270 |      /^ac_cv_env_/b end
 | 
|---|
| 6271 |      t clear
 | 
|---|
| 6272 |      :clear
 | 
|---|
| 6273 |      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 | 
|---|
| 6274 |      t end
 | 
|---|
| 6275 |      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 | 
|---|
| 6276 |      :end' >>confcache
 | 
|---|
| 6277 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 | 
|---|
| 6278 |   if test -w "$cache_file"; then
 | 
|---|
| 6279 |     if test "x$cache_file" != "x/dev/null"; then
 | 
|---|
| 6280 |       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 | 
|---|
| 6281 | $as_echo "$as_me: updating cache $cache_file" >&6;}
 | 
|---|
| 6282 |       if test ! -f "$cache_file" || test -h "$cache_file"; then
 | 
|---|
| 6283 |         cat confcache >"$cache_file"
 | 
|---|
| 6284 |       else
 | 
|---|
| 6285 |         case $cache_file in #(
 | 
|---|
| 6286 |         */* | ?:*)
 | 
|---|
| 6287 |           mv -f confcache "$cache_file"$$ &&
 | 
|---|
| 6288 |           mv -f "$cache_file"$$ "$cache_file" ;; #(
 | 
|---|
| 6289 |         *)
 | 
|---|
| 6290 |           mv -f confcache "$cache_file" ;;
 | 
|---|
| 6291 |         esac
 | 
|---|
| 6292 |       fi
 | 
|---|
| 6293 |     fi
 | 
|---|
| 6294 |   else
 | 
|---|
| 6295 |     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 | 
|---|
| 6296 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 | 
|---|
| 6297 |   fi
 | 
|---|
| 6298 | fi
 | 
|---|
| 6299 | rm -f confcache
 | 
|---|
| 6300 | 
 | 
|---|
| 6301 | test "x$prefix" = xNONE && prefix=$ac_default_prefix
 | 
|---|
| 6302 | # Let make expand exec_prefix.
 | 
|---|
| 6303 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 | 
|---|
| 6304 | 
 | 
|---|
| 6305 | DEFS=-DHAVE_CONFIG_H
 | 
|---|
| 6306 | 
 | 
|---|
| 6307 | ac_libobjs=
 | 
|---|
| 6308 | ac_ltlibobjs=
 | 
|---|
| 6309 | U=
 | 
|---|
| 6310 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 | 
|---|
| 6311 |   # 1. Remove the extension, and $U if already installed.
 | 
|---|
| 6312 |   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 | 
|---|
| 6313 |   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 | 
|---|
| 6314 |   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 | 
|---|
| 6315 |   #    will be set to the directory where LIBOBJS objects are built.
 | 
|---|
| 6316 |   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 | 
|---|
| 6317 |   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 | 
|---|
| 6318 | done
 | 
|---|
| 6319 | LIBOBJS=$ac_libobjs
 | 
|---|
| 6320 | 
 | 
|---|
| 6321 | LTLIBOBJS=$ac_ltlibobjs
 | 
|---|
| 6322 | 
 | 
|---|
| 6323 | 
 | 
|---|
| 6324 |  if test -n "$EXEEXT"; then
 | 
|---|
| 6325 |   am__EXEEXT_TRUE=
 | 
|---|
| 6326 |   am__EXEEXT_FALSE='#'
 | 
|---|
| 6327 | else
 | 
|---|
| 6328 |   am__EXEEXT_TRUE='#'
 | 
|---|
| 6329 |   am__EXEEXT_FALSE=
 | 
|---|
| 6330 | fi
 | 
|---|
| 6331 | 
 | 
|---|
| 6332 | if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 | 
|---|
| 6333 |   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
 | 
|---|
| 6334 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
 | 
|---|
| 6335 | fi
 | 
|---|
| 6336 | if test -z "${BUILD_RELEASE_TRUE}" && test -z "${BUILD_RELEASE_FALSE}"; then
 | 
|---|
| 6337 |   as_fn_error $? "conditional \"BUILD_RELEASE\" was never defined.
 | 
|---|
| 6338 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
 | 
|---|
| 6339 | fi
 | 
|---|
| 6340 | if test -z "${BUILD_DEBUG_TRUE}" && test -z "${BUILD_DEBUG_FALSE}"; then
 | 
|---|
| 6341 |   as_fn_error $? "conditional \"BUILD_DEBUG\" was never defined.
 | 
|---|
| 6342 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
 | 
|---|
| 6343 | fi
 | 
|---|
| 6344 | if test -z "${BUILD_NO_LIB_TRUE}" && test -z "${BUILD_NO_LIB_FALSE}"; then
 | 
|---|
| 6345 |   as_fn_error $? "conditional \"BUILD_NO_LIB\" was never defined.
 | 
|---|
| 6346 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
 | 
|---|
| 6347 | fi
 | 
|---|
| 6348 | if test -z "${BUILD_CONCURRENCY_TRUE}" && test -z "${BUILD_CONCURRENCY_FALSE}"; then
 | 
|---|
| 6349 |   as_fn_error $? "conditional \"BUILD_CONCURRENCY\" was never defined.
 | 
|---|
| 6350 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
 | 
|---|
| 6351 | fi
 | 
|---|
| 6352 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 | 
|---|
| 6353 |   as_fn_error $? "conditional \"AMDEP\" was never defined.
 | 
|---|
| 6354 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
 | 
|---|
| 6355 | fi
 | 
|---|
| 6356 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 | 
|---|
| 6357 |   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
 | 
|---|
| 6358 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
 | 
|---|
| 6359 | fi
 | 
|---|
| 6360 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 | 
|---|
| 6361 |   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 | 
|---|
| 6362 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
 | 
|---|
| 6363 | fi
 | 
|---|
| 6364 | if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
 | 
|---|
| 6365 |   as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
 | 
|---|
| 6366 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
 | 
|---|
| 6367 | fi
 | 
|---|
| 6368 | 
 | 
|---|
| 6369 | : "${CONFIG_STATUS=./config.status}"
 | 
|---|
| 6370 | ac_write_fail=0
 | 
|---|
| 6371 | ac_clean_files_save=$ac_clean_files
 | 
|---|
| 6372 | ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 | 
|---|
| 6373 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 | 
|---|
| 6374 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 | 
|---|
| 6375 | as_write_fail=0
 | 
|---|
| 6376 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 | 
|---|
| 6377 | #! $SHELL
 | 
|---|
| 6378 | # Generated by $as_me.
 | 
|---|
| 6379 | # Run this file to recreate the current configuration.
 | 
|---|
| 6380 | # Compiler output produced by configure, useful for debugging
 | 
|---|
| 6381 | # configure, is in config.log if it exists.
 | 
|---|
| 6382 | 
 | 
|---|
| 6383 | debug=false
 | 
|---|
| 6384 | ac_cs_recheck=false
 | 
|---|
| 6385 | ac_cs_silent=false
 | 
|---|
| 6386 | 
 | 
|---|
| 6387 | SHELL=\${CONFIG_SHELL-$SHELL}
 | 
|---|
| 6388 | export SHELL
 | 
|---|
| 6389 | _ASEOF
 | 
|---|
| 6390 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 | 
|---|
| 6391 | ## -------------------- ##
 | 
|---|
| 6392 | ## M4sh Initialization. ##
 | 
|---|
| 6393 | ## -------------------- ##
 | 
|---|
| 6394 | 
 | 
|---|
| 6395 | # Be more Bourne compatible
 | 
|---|
| 6396 | DUALCASE=1; export DUALCASE # for MKS sh
 | 
|---|
| 6397 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 | 
|---|
| 6398 |   emulate sh
 | 
|---|
| 6399 |   NULLCMD=:
 | 
|---|
| 6400 |   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 | 
|---|
| 6401 |   # is contrary to our usage.  Disable this feature.
 | 
|---|
| 6402 |   alias -g '${1+"$@"}'='"$@"'
 | 
|---|
| 6403 |   setopt NO_GLOB_SUBST
 | 
|---|
| 6404 | else
 | 
|---|
| 6405 |   case `(set -o) 2>/dev/null` in #(
 | 
|---|
| 6406 |   *posix*) :
 | 
|---|
| 6407 |     set -o posix ;; #(
 | 
|---|
| 6408 |   *) :
 | 
|---|
| 6409 |      ;;
 | 
|---|
| 6410 | esac
 | 
|---|
| 6411 | fi
 | 
|---|
| 6412 | 
 | 
|---|
| 6413 | 
 | 
|---|
| 6414 | as_nl='
 | 
|---|
| 6415 | '
 | 
|---|
| 6416 | export as_nl
 | 
|---|
| 6417 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
 | 
|---|
| 6418 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 | 
|---|
| 6419 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 | 
|---|
| 6420 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 | 
|---|
| 6421 | # Prefer a ksh shell builtin over an external printf program on Solaris,
 | 
|---|
| 6422 | # but without wasting forks for bash or zsh.
 | 
|---|
| 6423 | if test -z "$BASH_VERSION$ZSH_VERSION" \
 | 
|---|
| 6424 |     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 | 
|---|
| 6425 |   as_echo='print -r --'
 | 
|---|
| 6426 |   as_echo_n='print -rn --'
 | 
|---|
| 6427 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 | 
|---|
| 6428 |   as_echo='printf %s\n'
 | 
|---|
| 6429 |   as_echo_n='printf %s'
 | 
|---|
| 6430 | else
 | 
|---|
| 6431 |   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 | 
|---|
| 6432 |     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 | 
|---|
| 6433 |     as_echo_n='/usr/ucb/echo -n'
 | 
|---|
| 6434 |   else
 | 
|---|
| 6435 |     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 | 
|---|
| 6436 |     as_echo_n_body='eval
 | 
|---|
| 6437 |       arg=$1;
 | 
|---|
| 6438 |       case $arg in #(
 | 
|---|
| 6439 |       *"$as_nl"*)
 | 
|---|
| 6440 |         expr "X$arg" : "X\\(.*\\)$as_nl";
 | 
|---|
| 6441 |         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 | 
|---|
| 6442 |       esac;
 | 
|---|
| 6443 |       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 | 
|---|
| 6444 |     '
 | 
|---|
| 6445 |     export as_echo_n_body
 | 
|---|
| 6446 |     as_echo_n='sh -c $as_echo_n_body as_echo'
 | 
|---|
| 6447 |   fi
 | 
|---|
| 6448 |   export as_echo_body
 | 
|---|
| 6449 |   as_echo='sh -c $as_echo_body as_echo'
 | 
|---|
| 6450 | fi
 | 
|---|
| 6451 | 
 | 
|---|
| 6452 | # The user is always right.
 | 
|---|
| 6453 | if test "${PATH_SEPARATOR+set}" != set; then
 | 
|---|
| 6454 |   PATH_SEPARATOR=:
 | 
|---|
| 6455 |   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 | 
|---|
| 6456 |     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 | 
|---|
| 6457 |       PATH_SEPARATOR=';'
 | 
|---|
| 6458 |   }
 | 
|---|
| 6459 | fi
 | 
|---|
| 6460 | 
 | 
|---|
| 6461 | 
 | 
|---|
| 6462 | # IFS
 | 
|---|
| 6463 | # We need space, tab and new line, in precisely that order.  Quoting is
 | 
|---|
| 6464 | # there to prevent editors from complaining about space-tab.
 | 
|---|
| 6465 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 | 
|---|
| 6466 | # splitting by setting IFS to empty value.)
 | 
|---|
| 6467 | IFS=" ""        $as_nl"
 | 
|---|
| 6468 | 
 | 
|---|
| 6469 | # Find who we are.  Look in the path if we contain no directory separator.
 | 
|---|
| 6470 | as_myself=
 | 
|---|
| 6471 | case $0 in #((
 | 
|---|
| 6472 |   *[\\/]* ) as_myself=$0 ;;
 | 
|---|
| 6473 |   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 6474 | for as_dir in $PATH
 | 
|---|
| 6475 | do
 | 
|---|
| 6476 |   IFS=$as_save_IFS
 | 
|---|
| 6477 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 6478 |     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 | 
|---|
| 6479 |   done
 | 
|---|
| 6480 | IFS=$as_save_IFS
 | 
|---|
| 6481 | 
 | 
|---|
| 6482 |      ;;
 | 
|---|
| 6483 | esac
 | 
|---|
| 6484 | # We did not find ourselves, most probably we were run as `sh COMMAND'
 | 
|---|
| 6485 | # in which case we are not to be found in the path.
 | 
|---|
| 6486 | if test "x$as_myself" = x; then
 | 
|---|
| 6487 |   as_myself=$0
 | 
|---|
| 6488 | fi
 | 
|---|
| 6489 | if test ! -f "$as_myself"; then
 | 
|---|
| 6490 |   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 | 
|---|
| 6491 |   exit 1
 | 
|---|
| 6492 | fi
 | 
|---|
| 6493 | 
 | 
|---|
| 6494 | # Unset variables that we do not need and which cause bugs (e.g. in
 | 
|---|
| 6495 | # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 | 
|---|
| 6496 | # suppresses any "Segmentation fault" message there.  '((' could
 | 
|---|
| 6497 | # trigger a bug in pdksh 5.2.14.
 | 
|---|
| 6498 | for as_var in BASH_ENV ENV MAIL MAILPATH
 | 
|---|
| 6499 | do eval test x\${$as_var+set} = xset \
 | 
|---|
| 6500 |   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 | 
|---|
| 6501 | done
 | 
|---|
| 6502 | PS1='$ '
 | 
|---|
| 6503 | PS2='> '
 | 
|---|
| 6504 | PS4='+ '
 | 
|---|
| 6505 | 
 | 
|---|
| 6506 | # NLS nuisances.
 | 
|---|
| 6507 | LC_ALL=C
 | 
|---|
| 6508 | export LC_ALL
 | 
|---|
| 6509 | LANGUAGE=C
 | 
|---|
| 6510 | export LANGUAGE
 | 
|---|
| 6511 | 
 | 
|---|
| 6512 | # CDPATH.
 | 
|---|
| 6513 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 | 
|---|
| 6514 | 
 | 
|---|
| 6515 | 
 | 
|---|
| 6516 | # as_fn_error STATUS ERROR [LINENO LOG_FD]
 | 
|---|
| 6517 | # ----------------------------------------
 | 
|---|
| 6518 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 | 
|---|
| 6519 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 | 
|---|
| 6520 | # script with STATUS, using 1 if that was 0.
 | 
|---|
| 6521 | as_fn_error ()
 | 
|---|
| 6522 | {
 | 
|---|
| 6523 |   as_status=$1; test $as_status -eq 0 && as_status=1
 | 
|---|
| 6524 |   if test "$4"; then
 | 
|---|
| 6525 |     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 6526 |     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 | 
|---|
| 6527 |   fi
 | 
|---|
| 6528 |   $as_echo "$as_me: error: $2" >&2
 | 
|---|
| 6529 |   as_fn_exit $as_status
 | 
|---|
| 6530 | } # as_fn_error
 | 
|---|
| 6531 | 
 | 
|---|
| 6532 | 
 | 
|---|
| 6533 | # as_fn_set_status STATUS
 | 
|---|
| 6534 | # -----------------------
 | 
|---|
| 6535 | # Set $? to STATUS, without forking.
 | 
|---|
| 6536 | as_fn_set_status ()
 | 
|---|
| 6537 | {
 | 
|---|
| 6538 |   return $1
 | 
|---|
| 6539 | } # as_fn_set_status
 | 
|---|
| 6540 | 
 | 
|---|
| 6541 | # as_fn_exit STATUS
 | 
|---|
| 6542 | # -----------------
 | 
|---|
| 6543 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 | 
|---|
| 6544 | as_fn_exit ()
 | 
|---|
| 6545 | {
 | 
|---|
| 6546 |   set +e
 | 
|---|
| 6547 |   as_fn_set_status $1
 | 
|---|
| 6548 |   exit $1
 | 
|---|
| 6549 | } # as_fn_exit
 | 
|---|
| 6550 | 
 | 
|---|
| 6551 | # as_fn_unset VAR
 | 
|---|
| 6552 | # ---------------
 | 
|---|
| 6553 | # Portably unset VAR.
 | 
|---|
| 6554 | as_fn_unset ()
 | 
|---|
| 6555 | {
 | 
|---|
| 6556 |   { eval $1=; unset $1;}
 | 
|---|
| 6557 | }
 | 
|---|
| 6558 | as_unset=as_fn_unset
 | 
|---|
| 6559 | # as_fn_append VAR VALUE
 | 
|---|
| 6560 | # ----------------------
 | 
|---|
| 6561 | # Append the text in VALUE to the end of the definition contained in VAR. Take
 | 
|---|
| 6562 | # advantage of any shell optimizations that allow amortized linear growth over
 | 
|---|
| 6563 | # repeated appends, instead of the typical quadratic growth present in naive
 | 
|---|
| 6564 | # implementations.
 | 
|---|
| 6565 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 | 
|---|
| 6566 |   eval 'as_fn_append ()
 | 
|---|
| 6567 |   {
 | 
|---|
| 6568 |     eval $1+=\$2
 | 
|---|
| 6569 |   }'
 | 
|---|
| 6570 | else
 | 
|---|
| 6571 |   as_fn_append ()
 | 
|---|
| 6572 |   {
 | 
|---|
| 6573 |     eval $1=\$$1\$2
 | 
|---|
| 6574 |   }
 | 
|---|
| 6575 | fi # as_fn_append
 | 
|---|
| 6576 | 
 | 
|---|
| 6577 | # as_fn_arith ARG...
 | 
|---|
| 6578 | # ------------------
 | 
|---|
| 6579 | # Perform arithmetic evaluation on the ARGs, and store the result in the
 | 
|---|
| 6580 | # global $as_val. Take advantage of shells that can avoid forks. The arguments
 | 
|---|
| 6581 | # must be portable across $(()) and expr.
 | 
|---|
| 6582 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 | 
|---|
| 6583 |   eval 'as_fn_arith ()
 | 
|---|
| 6584 |   {
 | 
|---|
| 6585 |     as_val=$(( $* ))
 | 
|---|
| 6586 |   }'
 | 
|---|
| 6587 | else
 | 
|---|
| 6588 |   as_fn_arith ()
 | 
|---|
| 6589 |   {
 | 
|---|
| 6590 |     as_val=`expr "$@" || test $? -eq 1`
 | 
|---|
| 6591 |   }
 | 
|---|
| 6592 | fi # as_fn_arith
 | 
|---|
| 6593 | 
 | 
|---|
| 6594 | 
 | 
|---|
| 6595 | if expr a : '\(a\)' >/dev/null 2>&1 &&
 | 
|---|
| 6596 |    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 | 
|---|
| 6597 |   as_expr=expr
 | 
|---|
| 6598 | else
 | 
|---|
| 6599 |   as_expr=false
 | 
|---|
| 6600 | fi
 | 
|---|
| 6601 | 
 | 
|---|
| 6602 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 | 
|---|
| 6603 |   as_basename=basename
 | 
|---|
| 6604 | else
 | 
|---|
| 6605 |   as_basename=false
 | 
|---|
| 6606 | fi
 | 
|---|
| 6607 | 
 | 
|---|
| 6608 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 | 
|---|
| 6609 |   as_dirname=dirname
 | 
|---|
| 6610 | else
 | 
|---|
| 6611 |   as_dirname=false
 | 
|---|
| 6612 | fi
 | 
|---|
| 6613 | 
 | 
|---|
| 6614 | as_me=`$as_basename -- "$0" ||
 | 
|---|
| 6615 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 | 
|---|
| 6616 |          X"$0" : 'X\(//\)$' \| \
 | 
|---|
| 6617 |          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 6618 | $as_echo X/"$0" |
 | 
|---|
| 6619 |     sed '/^.*\/\([^/][^/]*\)\/*$/{
 | 
|---|
| 6620 |             s//\1/
 | 
|---|
| 6621 |             q
 | 
|---|
| 6622 |           }
 | 
|---|
| 6623 |           /^X\/\(\/\/\)$/{
 | 
|---|
| 6624 |             s//\1/
 | 
|---|
| 6625 |             q
 | 
|---|
| 6626 |           }
 | 
|---|
| 6627 |           /^X\/\(\/\).*/{
 | 
|---|
| 6628 |             s//\1/
 | 
|---|
| 6629 |             q
 | 
|---|
| 6630 |           }
 | 
|---|
| 6631 |           s/.*/./; q'`
 | 
|---|
| 6632 | 
 | 
|---|
| 6633 | # Avoid depending upon Character Ranges.
 | 
|---|
| 6634 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 | 
|---|
| 6635 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 | 
|---|
| 6636 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 | 
|---|
| 6637 | as_cr_digits='0123456789'
 | 
|---|
| 6638 | as_cr_alnum=$as_cr_Letters$as_cr_digits
 | 
|---|
| 6639 | 
 | 
|---|
| 6640 | ECHO_C= ECHO_N= ECHO_T=
 | 
|---|
| 6641 | case `echo -n x` in #(((((
 | 
|---|
| 6642 | -n*)
 | 
|---|
| 6643 |   case `echo 'xy\c'` in
 | 
|---|
| 6644 |   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 | 
|---|
| 6645 |   xy)  ECHO_C='\c';;
 | 
|---|
| 6646 |   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 | 
|---|
| 6647 |        ECHO_T=' ';;
 | 
|---|
| 6648 |   esac;;
 | 
|---|
| 6649 | *)
 | 
|---|
| 6650 |   ECHO_N='-n';;
 | 
|---|
| 6651 | esac
 | 
|---|
| 6652 | 
 | 
|---|
| 6653 | rm -f conf$$ conf$$.exe conf$$.file
 | 
|---|
| 6654 | if test -d conf$$.dir; then
 | 
|---|
| 6655 |   rm -f conf$$.dir/conf$$.file
 | 
|---|
| 6656 | else
 | 
|---|
| 6657 |   rm -f conf$$.dir
 | 
|---|
| 6658 |   mkdir conf$$.dir 2>/dev/null
 | 
|---|
| 6659 | fi
 | 
|---|
| 6660 | if (echo >conf$$.file) 2>/dev/null; then
 | 
|---|
| 6661 |   if ln -s conf$$.file conf$$ 2>/dev/null; then
 | 
|---|
| 6662 |     as_ln_s='ln -s'
 | 
|---|
| 6663 |     # ... but there are two gotchas:
 | 
|---|
| 6664 |     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 | 
|---|
| 6665 |     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 | 
|---|
| 6666 |     # In both cases, we have to default to `cp -p'.
 | 
|---|
| 6667 |     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 | 
|---|
| 6668 |       as_ln_s='cp -p'
 | 
|---|
| 6669 |   elif ln conf$$.file conf$$ 2>/dev/null; then
 | 
|---|
| 6670 |     as_ln_s=ln
 | 
|---|
| 6671 |   else
 | 
|---|
| 6672 |     as_ln_s='cp -p'
 | 
|---|
| 6673 |   fi
 | 
|---|
| 6674 | else
 | 
|---|
| 6675 |   as_ln_s='cp -p'
 | 
|---|
| 6676 | fi
 | 
|---|
| 6677 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 | 
|---|
| 6678 | rmdir conf$$.dir 2>/dev/null
 | 
|---|
| 6679 | 
 | 
|---|
| 6680 | 
 | 
|---|
| 6681 | # as_fn_mkdir_p
 | 
|---|
| 6682 | # -------------
 | 
|---|
| 6683 | # Create "$as_dir" as a directory, including parents if necessary.
 | 
|---|
| 6684 | as_fn_mkdir_p ()
 | 
|---|
| 6685 | {
 | 
|---|
| 6686 | 
 | 
|---|
| 6687 |   case $as_dir in #(
 | 
|---|
| 6688 |   -*) as_dir=./$as_dir;;
 | 
|---|
| 6689 |   esac
 | 
|---|
| 6690 |   test -d "$as_dir" || eval $as_mkdir_p || {
 | 
|---|
| 6691 |     as_dirs=
 | 
|---|
| 6692 |     while :; do
 | 
|---|
| 6693 |       case $as_dir in #(
 | 
|---|
| 6694 |       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 | 
|---|
| 6695 |       *) as_qdir=$as_dir;;
 | 
|---|
| 6696 |       esac
 | 
|---|
| 6697 |       as_dirs="'$as_qdir' $as_dirs"
 | 
|---|
| 6698 |       as_dir=`$as_dirname -- "$as_dir" ||
 | 
|---|
| 6699 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 | 
|---|
| 6700 |          X"$as_dir" : 'X\(//\)[^/]' \| \
 | 
|---|
| 6701 |          X"$as_dir" : 'X\(//\)$' \| \
 | 
|---|
| 6702 |          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 6703 | $as_echo X"$as_dir" |
 | 
|---|
| 6704 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 | 
|---|
| 6705 |             s//\1/
 | 
|---|
| 6706 |             q
 | 
|---|
| 6707 |           }
 | 
|---|
| 6708 |           /^X\(\/\/\)[^/].*/{
 | 
|---|
| 6709 |             s//\1/
 | 
|---|
| 6710 |             q
 | 
|---|
| 6711 |           }
 | 
|---|
| 6712 |           /^X\(\/\/\)$/{
 | 
|---|
| 6713 |             s//\1/
 | 
|---|
| 6714 |             q
 | 
|---|
| 6715 |           }
 | 
|---|
| 6716 |           /^X\(\/\).*/{
 | 
|---|
| 6717 |             s//\1/
 | 
|---|
| 6718 |             q
 | 
|---|
| 6719 |           }
 | 
|---|
| 6720 |           s/.*/./; q'`
 | 
|---|
| 6721 |       test -d "$as_dir" && break
 | 
|---|
| 6722 |     done
 | 
|---|
| 6723 |     test -z "$as_dirs" || eval "mkdir $as_dirs"
 | 
|---|
| 6724 |   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 | 
|---|
| 6725 | 
 | 
|---|
| 6726 | 
 | 
|---|
| 6727 | } # as_fn_mkdir_p
 | 
|---|
| 6728 | if mkdir -p . 2>/dev/null; then
 | 
|---|
| 6729 |   as_mkdir_p='mkdir -p "$as_dir"'
 | 
|---|
| 6730 | else
 | 
|---|
| 6731 |   test -d ./-p && rmdir ./-p
 | 
|---|
| 6732 |   as_mkdir_p=false
 | 
|---|
| 6733 | fi
 | 
|---|
| 6734 | 
 | 
|---|
| 6735 | if test -x / >/dev/null 2>&1; then
 | 
|---|
| 6736 |   as_test_x='test -x'
 | 
|---|
| 6737 | else
 | 
|---|
| 6738 |   if ls -dL / >/dev/null 2>&1; then
 | 
|---|
| 6739 |     as_ls_L_option=L
 | 
|---|
| 6740 |   else
 | 
|---|
| 6741 |     as_ls_L_option=
 | 
|---|
| 6742 |   fi
 | 
|---|
| 6743 |   as_test_x='
 | 
|---|
| 6744 |     eval sh -c '\''
 | 
|---|
| 6745 |       if test -d "$1"; then
 | 
|---|
| 6746 |         test -d "$1/.";
 | 
|---|
| 6747 |       else
 | 
|---|
| 6748 |         case $1 in #(
 | 
|---|
| 6749 |         -*)set "./$1";;
 | 
|---|
| 6750 |         esac;
 | 
|---|
| 6751 |         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 | 
|---|
| 6752 |         ???[sx]*):;;*)false;;esac;fi
 | 
|---|
| 6753 |     '\'' sh
 | 
|---|
| 6754 |   '
 | 
|---|
| 6755 | fi
 | 
|---|
| 6756 | as_executable_p=$as_test_x
 | 
|---|
| 6757 | 
 | 
|---|
| 6758 | # Sed expression to map a string onto a valid CPP name.
 | 
|---|
| 6759 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 | 
|---|
| 6760 | 
 | 
|---|
| 6761 | # Sed expression to map a string onto a valid variable name.
 | 
|---|
| 6762 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 | 
|---|
| 6763 | 
 | 
|---|
| 6764 | 
 | 
|---|
| 6765 | exec 6>&1
 | 
|---|
| 6766 | ## ----------------------------------- ##
 | 
|---|
| 6767 | ## Main body of $CONFIG_STATUS script. ##
 | 
|---|
| 6768 | ## ----------------------------------- ##
 | 
|---|
| 6769 | _ASEOF
 | 
|---|
| 6770 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 | 
|---|
| 6771 | 
 | 
|---|
| 6772 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 6773 | # Save the log message, to keep $0 and so on meaningful, and to
 | 
|---|
| 6774 | # report actual input values of CONFIG_FILES etc. instead of their
 | 
|---|
| 6775 | # values after options handling.
 | 
|---|
| 6776 | ac_log="
 | 
|---|
| 6777 | This file was extended by cfa-cc $as_me 1.0.0.0, which was
 | 
|---|
| 6778 | generated by GNU Autoconf 2.68.  Invocation command line was
 | 
|---|
| 6779 | 
 | 
|---|
| 6780 |   CONFIG_FILES    = $CONFIG_FILES
 | 
|---|
| 6781 |   CONFIG_HEADERS  = $CONFIG_HEADERS
 | 
|---|
| 6782 |   CONFIG_LINKS    = $CONFIG_LINKS
 | 
|---|
| 6783 |   CONFIG_COMMANDS = $CONFIG_COMMANDS
 | 
|---|
| 6784 |   $ $0 $@
 | 
|---|
| 6785 | 
 | 
|---|
| 6786 | on `(hostname || uname -n) 2>/dev/null | sed 1q`
 | 
|---|
| 6787 | "
 | 
|---|
| 6788 | 
 | 
|---|
| 6789 | _ACEOF
 | 
|---|
| 6790 | 
 | 
|---|
| 6791 | case $ac_config_files in *"
 | 
|---|
| 6792 | "*) set x $ac_config_files; shift; ac_config_files=$*;;
 | 
|---|
| 6793 | esac
 | 
|---|
| 6794 | 
 | 
|---|
| 6795 | case $ac_config_headers in *"
 | 
|---|
| 6796 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 | 
|---|
| 6797 | esac
 | 
|---|
| 6798 | 
 | 
|---|
| 6799 | 
 | 
|---|
| 6800 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 6801 | # Files that config.status was made for.
 | 
|---|
| 6802 | config_files="$ac_config_files"
 | 
|---|
| 6803 | config_headers="$ac_config_headers"
 | 
|---|
| 6804 | config_commands="$ac_config_commands"
 | 
|---|
| 6805 | 
 | 
|---|
| 6806 | _ACEOF
 | 
|---|
| 6807 | 
 | 
|---|
| 6808 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 6809 | ac_cs_usage="\
 | 
|---|
| 6810 | \`$as_me' instantiates files and other configuration actions
 | 
|---|
| 6811 | from templates according to the current configuration.  Unless the files
 | 
|---|
| 6812 | and actions are specified as TAGs, all are instantiated by default.
 | 
|---|
| 6813 | 
 | 
|---|
| 6814 | Usage: $0 [OPTION]... [TAG]...
 | 
|---|
| 6815 | 
 | 
|---|
| 6816 |   -h, --help       print this help, then exit
 | 
|---|
| 6817 |   -V, --version    print version number and configuration settings, then exit
 | 
|---|
| 6818 |       --config     print configuration, then exit
 | 
|---|
| 6819 |   -q, --quiet, --silent
 | 
|---|
| 6820 |                    do not print progress messages
 | 
|---|
| 6821 |   -d, --debug      don't remove temporary files
 | 
|---|
| 6822 |       --recheck    update $as_me by reconfiguring in the same conditions
 | 
|---|
| 6823 |       --file=FILE[:TEMPLATE]
 | 
|---|
| 6824 |                    instantiate the configuration file FILE
 | 
|---|
| 6825 |       --header=FILE[:TEMPLATE]
 | 
|---|
| 6826 |                    instantiate the configuration header FILE
 | 
|---|
| 6827 | 
 | 
|---|
| 6828 | Configuration files:
 | 
|---|
| 6829 | $config_files
 | 
|---|
| 6830 | 
 | 
|---|
| 6831 | Configuration headers:
 | 
|---|
| 6832 | $config_headers
 | 
|---|
| 6833 | 
 | 
|---|
| 6834 | Configuration commands:
 | 
|---|
| 6835 | $config_commands
 | 
|---|
| 6836 | 
 | 
|---|
| 6837 | Report bugs to <cforall@plg.uwaterloo.ca>."
 | 
|---|
| 6838 | 
 | 
|---|
| 6839 | _ACEOF
 | 
|---|
| 6840 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 6841 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 | 
|---|
| 6842 | ac_cs_version="\\
 | 
|---|
| 6843 | cfa-cc config.status 1.0.0.0
 | 
|---|
| 6844 | configured by $0, generated by GNU Autoconf 2.68,
 | 
|---|
| 6845 |   with options \\"\$ac_cs_config\\"
 | 
|---|
| 6846 | 
 | 
|---|
| 6847 | Copyright (C) 2010 Free Software Foundation, Inc.
 | 
|---|
| 6848 | This config.status script is free software; the Free Software Foundation
 | 
|---|
| 6849 | gives unlimited permission to copy, distribute and modify it."
 | 
|---|
| 6850 | 
 | 
|---|
| 6851 | ac_pwd='$ac_pwd'
 | 
|---|
| 6852 | srcdir='$srcdir'
 | 
|---|
| 6853 | INSTALL='$INSTALL'
 | 
|---|
| 6854 | MKDIR_P='$MKDIR_P'
 | 
|---|
| 6855 | AWK='$AWK'
 | 
|---|
| 6856 | test -n "\$AWK" || AWK=awk
 | 
|---|
| 6857 | _ACEOF
 | 
|---|
| 6858 | 
 | 
|---|
| 6859 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 6860 | # The default lists apply if the user does not specify any file.
 | 
|---|
| 6861 | ac_need_defaults=:
 | 
|---|
| 6862 | while test $# != 0
 | 
|---|
| 6863 | do
 | 
|---|
| 6864 |   case $1 in
 | 
|---|
| 6865 |   --*=?*)
 | 
|---|
| 6866 |     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 | 
|---|
| 6867 |     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 | 
|---|
| 6868 |     ac_shift=:
 | 
|---|
| 6869 |     ;;
 | 
|---|
| 6870 |   --*=)
 | 
|---|
| 6871 |     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 | 
|---|
| 6872 |     ac_optarg=
 | 
|---|
| 6873 |     ac_shift=:
 | 
|---|
| 6874 |     ;;
 | 
|---|
| 6875 |   *)
 | 
|---|
| 6876 |     ac_option=$1
 | 
|---|
| 6877 |     ac_optarg=$2
 | 
|---|
| 6878 |     ac_shift=shift
 | 
|---|
| 6879 |     ;;
 | 
|---|
| 6880 |   esac
 | 
|---|
| 6881 | 
 | 
|---|
| 6882 |   case $ac_option in
 | 
|---|
| 6883 |   # Handling of the options.
 | 
|---|
| 6884 |   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 | 
|---|
| 6885 |     ac_cs_recheck=: ;;
 | 
|---|
| 6886 |   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 | 
|---|
| 6887 |     $as_echo "$ac_cs_version"; exit ;;
 | 
|---|
| 6888 |   --config | --confi | --conf | --con | --co | --c )
 | 
|---|
| 6889 |     $as_echo "$ac_cs_config"; exit ;;
 | 
|---|
| 6890 |   --debug | --debu | --deb | --de | --d | -d )
 | 
|---|
| 6891 |     debug=: ;;
 | 
|---|
| 6892 |   --file | --fil | --fi | --f )
 | 
|---|
| 6893 |     $ac_shift
 | 
|---|
| 6894 |     case $ac_optarg in
 | 
|---|
| 6895 |     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 | 
|---|
| 6896 |     '') as_fn_error $? "missing file argument" ;;
 | 
|---|
| 6897 |     esac
 | 
|---|
| 6898 |     as_fn_append CONFIG_FILES " '$ac_optarg'"
 | 
|---|
| 6899 |     ac_need_defaults=false;;
 | 
|---|
| 6900 |   --header | --heade | --head | --hea )
 | 
|---|
| 6901 |     $ac_shift
 | 
|---|
| 6902 |     case $ac_optarg in
 | 
|---|
| 6903 |     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 | 
|---|
| 6904 |     esac
 | 
|---|
| 6905 |     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 | 
|---|
| 6906 |     ac_need_defaults=false;;
 | 
|---|
| 6907 |   --he | --h)
 | 
|---|
| 6908 |     # Conflict between --help and --header
 | 
|---|
| 6909 |     as_fn_error $? "ambiguous option: \`$1'
 | 
|---|
| 6910 | Try \`$0 --help' for more information.";;
 | 
|---|
| 6911 |   --help | --hel | -h )
 | 
|---|
| 6912 |     $as_echo "$ac_cs_usage"; exit ;;
 | 
|---|
| 6913 |   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 | 
|---|
| 6914 |   | -silent | --silent | --silen | --sile | --sil | --si | --s)
 | 
|---|
| 6915 |     ac_cs_silent=: ;;
 | 
|---|
| 6916 | 
 | 
|---|
| 6917 |   # This is an error.
 | 
|---|
| 6918 |   -*) as_fn_error $? "unrecognized option: \`$1'
 | 
|---|
| 6919 | Try \`$0 --help' for more information." ;;
 | 
|---|
| 6920 | 
 | 
|---|
| 6921 |   *) as_fn_append ac_config_targets " $1"
 | 
|---|
| 6922 |      ac_need_defaults=false ;;
 | 
|---|
| 6923 | 
 | 
|---|
| 6924 |   esac
 | 
|---|
| 6925 |   shift
 | 
|---|
| 6926 | done
 | 
|---|
| 6927 | 
 | 
|---|
| 6928 | ac_configure_extra_args=
 | 
|---|
| 6929 | 
 | 
|---|
| 6930 | if $ac_cs_silent; then
 | 
|---|
| 6931 |   exec 6>/dev/null
 | 
|---|
| 6932 |   ac_configure_extra_args="$ac_configure_extra_args --silent"
 | 
|---|
| 6933 | fi
 | 
|---|
| 6934 | 
 | 
|---|
| 6935 | _ACEOF
 | 
|---|
| 6936 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 6937 | if \$ac_cs_recheck; then
 | 
|---|
| 6938 |   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 | 
|---|
| 6939 |   shift
 | 
|---|
| 6940 |   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 | 
|---|
| 6941 |   CONFIG_SHELL='$SHELL'
 | 
|---|
| 6942 |   export CONFIG_SHELL
 | 
|---|
| 6943 |   exec "\$@"
 | 
|---|
| 6944 | fi
 | 
|---|
| 6945 | 
 | 
|---|
| 6946 | _ACEOF
 | 
|---|
| 6947 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 6948 | exec 5>>config.log
 | 
|---|
| 6949 | {
 | 
|---|
| 6950 |   echo
 | 
|---|
| 6951 |   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 | 
|---|
| 6952 | ## Running $as_me. ##
 | 
|---|
| 6953 | _ASBOX
 | 
|---|
| 6954 |   $as_echo "$ac_log"
 | 
|---|
| 6955 | } >&5
 | 
|---|
| 6956 | 
 | 
|---|
| 6957 | _ACEOF
 | 
|---|
| 6958 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 6959 | #
 | 
|---|
| 6960 | # INIT-COMMANDS
 | 
|---|
| 6961 | #
 | 
|---|
| 6962 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 | 
|---|
| 6963 | 
 | 
|---|
| 6964 | _ACEOF
 | 
|---|
| 6965 | 
 | 
|---|
| 6966 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 6967 | 
 | 
|---|
| 6968 | # Handling of arguments.
 | 
|---|
| 6969 | for ac_config_target in $ac_config_targets
 | 
|---|
| 6970 | do
 | 
|---|
| 6971 |   case $ac_config_target in
 | 
|---|
| 6972 |     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 | 
|---|
| 6973 |     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 | 
|---|
| 6974 |     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 | 
|---|
| 6975 |     "src/driver/Makefile") CONFIG_FILES="$CONFIG_FILES src/driver/Makefile" ;;
 | 
|---|
| 6976 |     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 | 
|---|
| 6977 |     "src/benchmark/Makefile") CONFIG_FILES="$CONFIG_FILES src/benchmark/Makefile" ;;
 | 
|---|
| 6978 |     "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
 | 
|---|
| 6979 |     "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
 | 
|---|
| 6980 |     "src/prelude/Makefile") CONFIG_FILES="$CONFIG_FILES src/prelude/Makefile" ;;
 | 
|---|
| 6981 |     "src/libcfa/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcfa/Makefile" ;;
 | 
|---|
| 6982 | 
 | 
|---|
| 6983 |   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 | 
|---|
| 6984 |   esac
 | 
|---|
| 6985 | done
 | 
|---|
| 6986 | 
 | 
|---|
| 6987 | 
 | 
|---|
| 6988 | # If the user did not use the arguments to specify the items to instantiate,
 | 
|---|
| 6989 | # then the envvar interface is used.  Set only those that are not.
 | 
|---|
| 6990 | # We use the long form for the default assignment because of an extremely
 | 
|---|
| 6991 | # bizarre bug on SunOS 4.1.3.
 | 
|---|
| 6992 | if $ac_need_defaults; then
 | 
|---|
| 6993 |   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 | 
|---|
| 6994 |   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 | 
|---|
| 6995 |   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 | 
|---|
| 6996 | fi
 | 
|---|
| 6997 | 
 | 
|---|
| 6998 | # Have a temporary directory for convenience.  Make it in the build tree
 | 
|---|
| 6999 | # simply because there is no reason against having it here, and in addition,
 | 
|---|
| 7000 | # creating and moving files from /tmp can sometimes cause problems.
 | 
|---|
| 7001 | # Hook for its removal unless debugging.
 | 
|---|
| 7002 | # Note that there is a small window in which the directory will not be cleaned:
 | 
|---|
| 7003 | # after its creation but before its name has been assigned to `$tmp'.
 | 
|---|
| 7004 | $debug ||
 | 
|---|
| 7005 | {
 | 
|---|
| 7006 |   tmp= ac_tmp=
 | 
|---|
| 7007 |   trap 'exit_status=$?
 | 
|---|
| 7008 |   : "${ac_tmp:=$tmp}"
 | 
|---|
| 7009 |   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 | 
|---|
| 7010 | ' 0
 | 
|---|
| 7011 |   trap 'as_fn_exit 1' 1 2 13 15
 | 
|---|
| 7012 | }
 | 
|---|
| 7013 | # Create a (secure) tmp directory for tmp files.
 | 
|---|
| 7014 | 
 | 
|---|
| 7015 | {
 | 
|---|
| 7016 |   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 | 
|---|
| 7017 |   test -d "$tmp"
 | 
|---|
| 7018 | }  ||
 | 
|---|
| 7019 | {
 | 
|---|
| 7020 |   tmp=./conf$$-$RANDOM
 | 
|---|
| 7021 |   (umask 077 && mkdir "$tmp")
 | 
|---|
| 7022 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 | 
|---|
| 7023 | ac_tmp=$tmp
 | 
|---|
| 7024 | 
 | 
|---|
| 7025 | # Set up the scripts for CONFIG_FILES section.
 | 
|---|
| 7026 | # No need to generate them if there are no CONFIG_FILES.
 | 
|---|
| 7027 | # This happens for instance with `./config.status config.h'.
 | 
|---|
| 7028 | if test -n "$CONFIG_FILES"; then
 | 
|---|
| 7029 | 
 | 
|---|
| 7030 | 
 | 
|---|
| 7031 | ac_cr=`echo X | tr X '\015'`
 | 
|---|
| 7032 | # On cygwin, bash can eat \r inside `` if the user requested igncr.
 | 
|---|
| 7033 | # But we know of no other shell where ac_cr would be empty at this
 | 
|---|
| 7034 | # point, so we can use a bashism as a fallback.
 | 
|---|
| 7035 | if test "x$ac_cr" = x; then
 | 
|---|
| 7036 |   eval ac_cr=\$\'\\r\'
 | 
|---|
| 7037 | fi
 | 
|---|
| 7038 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 | 
|---|
| 7039 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 | 
|---|
| 7040 |   ac_cs_awk_cr='\\r'
 | 
|---|
| 7041 | else
 | 
|---|
| 7042 |   ac_cs_awk_cr=$ac_cr
 | 
|---|
| 7043 | fi
 | 
|---|
| 7044 | 
 | 
|---|
| 7045 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 | 
|---|
| 7046 | _ACEOF
 | 
|---|
| 7047 | 
 | 
|---|
| 7048 | 
 | 
|---|
| 7049 | {
 | 
|---|
| 7050 |   echo "cat >conf$$subs.awk <<_ACEOF" &&
 | 
|---|
| 7051 |   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 | 
|---|
| 7052 |   echo "_ACEOF"
 | 
|---|
| 7053 | } >conf$$subs.sh ||
 | 
|---|
| 7054 |   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 | 
|---|
| 7055 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 | 
|---|
| 7056 | ac_delim='%!_!# '
 | 
|---|
| 7057 | for ac_last_try in false false false false false :; do
 | 
|---|
| 7058 |   . ./conf$$subs.sh ||
 | 
|---|
| 7059 |     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 | 
|---|
| 7060 | 
 | 
|---|
| 7061 |   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 | 
|---|
| 7062 |   if test $ac_delim_n = $ac_delim_num; then
 | 
|---|
| 7063 |     break
 | 
|---|
| 7064 |   elif $ac_last_try; then
 | 
|---|
| 7065 |     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 | 
|---|
| 7066 |   else
 | 
|---|
| 7067 |     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 | 
|---|
| 7068 |   fi
 | 
|---|
| 7069 | done
 | 
|---|
| 7070 | rm -f conf$$subs.sh
 | 
|---|
| 7071 | 
 | 
|---|
| 7072 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 7073 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 | 
|---|
| 7074 | _ACEOF
 | 
|---|
| 7075 | sed -n '
 | 
|---|
| 7076 | h
 | 
|---|
| 7077 | s/^/S["/; s/!.*/"]=/
 | 
|---|
| 7078 | p
 | 
|---|
| 7079 | g
 | 
|---|
| 7080 | s/^[^!]*!//
 | 
|---|
| 7081 | :repl
 | 
|---|
| 7082 | t repl
 | 
|---|
| 7083 | s/'"$ac_delim"'$//
 | 
|---|
| 7084 | t delim
 | 
|---|
| 7085 | :nl
 | 
|---|
| 7086 | h
 | 
|---|
| 7087 | s/\(.\{148\}\)..*/\1/
 | 
|---|
| 7088 | t more1
 | 
|---|
| 7089 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 | 
|---|
| 7090 | p
 | 
|---|
| 7091 | n
 | 
|---|
| 7092 | b repl
 | 
|---|
| 7093 | :more1
 | 
|---|
| 7094 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 | 
|---|
| 7095 | p
 | 
|---|
| 7096 | g
 | 
|---|
| 7097 | s/.\{148\}//
 | 
|---|
| 7098 | t nl
 | 
|---|
| 7099 | :delim
 | 
|---|
| 7100 | h
 | 
|---|
| 7101 | s/\(.\{148\}\)..*/\1/
 | 
|---|
| 7102 | t more2
 | 
|---|
| 7103 | s/["\\]/\\&/g; s/^/"/; s/$/"/
 | 
|---|
| 7104 | p
 | 
|---|
| 7105 | b
 | 
|---|
| 7106 | :more2
 | 
|---|
| 7107 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 | 
|---|
| 7108 | p
 | 
|---|
| 7109 | g
 | 
|---|
| 7110 | s/.\{148\}//
 | 
|---|
| 7111 | t delim
 | 
|---|
| 7112 | ' <conf$$subs.awk | sed '
 | 
|---|
| 7113 | /^[^""]/{
 | 
|---|
| 7114 |   N
 | 
|---|
| 7115 |   s/\n//
 | 
|---|
| 7116 | }
 | 
|---|
| 7117 | ' >>$CONFIG_STATUS || ac_write_fail=1
 | 
|---|
| 7118 | rm -f conf$$subs.awk
 | 
|---|
| 7119 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 7120 | _ACAWK
 | 
|---|
| 7121 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 | 
|---|
| 7122 |   for (key in S) S_is_set[key] = 1
 | 
|---|
| 7123 |   FS = ""
 | 
|---|
| 7124 | 
 | 
|---|
| 7125 | }
 | 
|---|
| 7126 | {
 | 
|---|
| 7127 |   line = $ 0
 | 
|---|
| 7128 |   nfields = split(line, field, "@")
 | 
|---|
| 7129 |   substed = 0
 | 
|---|
| 7130 |   len = length(field[1])
 | 
|---|
| 7131 |   for (i = 2; i < nfields; i++) {
 | 
|---|
| 7132 |     key = field[i]
 | 
|---|
| 7133 |     keylen = length(key)
 | 
|---|
| 7134 |     if (S_is_set[key]) {
 | 
|---|
| 7135 |       value = S[key]
 | 
|---|
| 7136 |       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 | 
|---|
| 7137 |       len += length(value) + length(field[++i])
 | 
|---|
| 7138 |       substed = 1
 | 
|---|
| 7139 |     } else
 | 
|---|
| 7140 |       len += 1 + keylen
 | 
|---|
| 7141 |   }
 | 
|---|
| 7142 | 
 | 
|---|
| 7143 |   print line
 | 
|---|
| 7144 | }
 | 
|---|
| 7145 | 
 | 
|---|
| 7146 | _ACAWK
 | 
|---|
| 7147 | _ACEOF
 | 
|---|
| 7148 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 7149 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 | 
|---|
| 7150 |   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 | 
|---|
| 7151 | else
 | 
|---|
| 7152 |   cat
 | 
|---|
| 7153 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 | 
|---|
| 7154 |   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 | 
|---|
| 7155 | _ACEOF
 | 
|---|
| 7156 | 
 | 
|---|
| 7157 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 | 
|---|
| 7158 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 | 
|---|
| 7159 | # trailing colons and then remove the whole line if VPATH becomes empty
 | 
|---|
| 7160 | # (actually we leave an empty line to preserve line numbers).
 | 
|---|
| 7161 | if test "x$srcdir" = x.; then
 | 
|---|
| 7162 |   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 | 
|---|
| 7163 | h
 | 
|---|
| 7164 | s///
 | 
|---|
| 7165 | s/^/:/
 | 
|---|
| 7166 | s/[      ]*$/:/
 | 
|---|
| 7167 | s/:\$(srcdir):/:/g
 | 
|---|
| 7168 | s/:\${srcdir}:/:/g
 | 
|---|
| 7169 | s/:@srcdir@:/:/g
 | 
|---|
| 7170 | s/^:*//
 | 
|---|
| 7171 | s/:*$//
 | 
|---|
| 7172 | x
 | 
|---|
| 7173 | s/\(=[   ]*\).*/\1/
 | 
|---|
| 7174 | G
 | 
|---|
| 7175 | s/\n//
 | 
|---|
| 7176 | s/^[^=]*=[       ]*$//
 | 
|---|
| 7177 | }'
 | 
|---|
| 7178 | fi
 | 
|---|
| 7179 | 
 | 
|---|
| 7180 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 7181 | fi # test -n "$CONFIG_FILES"
 | 
|---|
| 7182 | 
 | 
|---|
| 7183 | # Set up the scripts for CONFIG_HEADERS section.
 | 
|---|
| 7184 | # No need to generate them if there are no CONFIG_HEADERS.
 | 
|---|
| 7185 | # This happens for instance with `./config.status Makefile'.
 | 
|---|
| 7186 | if test -n "$CONFIG_HEADERS"; then
 | 
|---|
| 7187 | cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 | 
|---|
| 7188 | BEGIN {
 | 
|---|
| 7189 | _ACEOF
 | 
|---|
| 7190 | 
 | 
|---|
| 7191 | # Transform confdefs.h into an awk script `defines.awk', embedded as
 | 
|---|
| 7192 | # here-document in config.status, that substitutes the proper values into
 | 
|---|
| 7193 | # config.h.in to produce config.h.
 | 
|---|
| 7194 | 
 | 
|---|
| 7195 | # Create a delimiter string that does not exist in confdefs.h, to ease
 | 
|---|
| 7196 | # handling of long lines.
 | 
|---|
| 7197 | ac_delim='%!_!# '
 | 
|---|
| 7198 | for ac_last_try in false false :; do
 | 
|---|
| 7199 |   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 | 
|---|
| 7200 |   if test -z "$ac_tt"; then
 | 
|---|
| 7201 |     break
 | 
|---|
| 7202 |   elif $ac_last_try; then
 | 
|---|
| 7203 |     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 | 
|---|
| 7204 |   else
 | 
|---|
| 7205 |     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 | 
|---|
| 7206 |   fi
 | 
|---|
| 7207 | done
 | 
|---|
| 7208 | 
 | 
|---|
| 7209 | # For the awk script, D is an array of macro values keyed by name,
 | 
|---|
| 7210 | # likewise P contains macro parameters if any.  Preserve backslash
 | 
|---|
| 7211 | # newline sequences.
 | 
|---|
| 7212 | 
 | 
|---|
| 7213 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 | 
|---|
| 7214 | sed -n '
 | 
|---|
| 7215 | s/.\{148\}/&'"$ac_delim"'/g
 | 
|---|
| 7216 | t rset
 | 
|---|
| 7217 | :rset
 | 
|---|
| 7218 | s/^[     ]*#[    ]*define[       ][      ]*/ /
 | 
|---|
| 7219 | t def
 | 
|---|
| 7220 | d
 | 
|---|
| 7221 | :def
 | 
|---|
| 7222 | s/\\$//
 | 
|---|
| 7223 | t bsnl
 | 
|---|
| 7224 | s/["\\]/\\&/g
 | 
|---|
| 7225 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 | 
|---|
| 7226 | D["\1"]=" \3"/p
 | 
|---|
| 7227 | s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 | 
|---|
| 7228 | d
 | 
|---|
| 7229 | :bsnl
 | 
|---|
| 7230 | s/["\\]/\\&/g
 | 
|---|
| 7231 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 | 
|---|
| 7232 | D["\1"]=" \3\\\\\\n"\\/p
 | 
|---|
| 7233 | t cont
 | 
|---|
| 7234 | s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 | 
|---|
| 7235 | t cont
 | 
|---|
| 7236 | d
 | 
|---|
| 7237 | :cont
 | 
|---|
| 7238 | n
 | 
|---|
| 7239 | s/.\{148\}/&'"$ac_delim"'/g
 | 
|---|
| 7240 | t clear
 | 
|---|
| 7241 | :clear
 | 
|---|
| 7242 | s/\\$//
 | 
|---|
| 7243 | t bsnlc
 | 
|---|
| 7244 | s/["\\]/\\&/g; s/^/"/; s/$/"/p
 | 
|---|
| 7245 | d
 | 
|---|
| 7246 | :bsnlc
 | 
|---|
| 7247 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 | 
|---|
| 7248 | b cont
 | 
|---|
| 7249 | ' <confdefs.h | sed '
 | 
|---|
| 7250 | s/'"$ac_delim"'/"\\\
 | 
|---|
| 7251 | "/g' >>$CONFIG_STATUS || ac_write_fail=1
 | 
|---|
| 7252 | 
 | 
|---|
| 7253 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 7254 |   for (key in D) D_is_set[key] = 1
 | 
|---|
| 7255 |   FS = ""
 | 
|---|
| 7256 | }
 | 
|---|
| 7257 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 | 
|---|
| 7258 |   line = \$ 0
 | 
|---|
| 7259 |   split(line, arg, " ")
 | 
|---|
| 7260 |   if (arg[1] == "#") {
 | 
|---|
| 7261 |     defundef = arg[2]
 | 
|---|
| 7262 |     mac1 = arg[3]
 | 
|---|
| 7263 |   } else {
 | 
|---|
| 7264 |     defundef = substr(arg[1], 2)
 | 
|---|
| 7265 |     mac1 = arg[2]
 | 
|---|
| 7266 |   }
 | 
|---|
| 7267 |   split(mac1, mac2, "(") #)
 | 
|---|
| 7268 |   macro = mac2[1]
 | 
|---|
| 7269 |   prefix = substr(line, 1, index(line, defundef) - 1)
 | 
|---|
| 7270 |   if (D_is_set[macro]) {
 | 
|---|
| 7271 |     # Preserve the white space surrounding the "#".
 | 
|---|
| 7272 |     print prefix "define", macro P[macro] D[macro]
 | 
|---|
| 7273 |     next
 | 
|---|
| 7274 |   } else {
 | 
|---|
| 7275 |     # Replace #undef with comments.  This is necessary, for example,
 | 
|---|
| 7276 |     # in the case of _POSIX_SOURCE, which is predefined and required
 | 
|---|
| 7277 |     # on some systems where configure will not decide to define it.
 | 
|---|
| 7278 |     if (defundef == "undef") {
 | 
|---|
| 7279 |       print "/*", prefix defundef, macro, "*/"
 | 
|---|
| 7280 |       next
 | 
|---|
| 7281 |     }
 | 
|---|
| 7282 |   }
 | 
|---|
| 7283 | }
 | 
|---|
| 7284 | { print }
 | 
|---|
| 7285 | _ACAWK
 | 
|---|
| 7286 | _ACEOF
 | 
|---|
| 7287 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 7288 |   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 | 
|---|
| 7289 | fi # test -n "$CONFIG_HEADERS"
 | 
|---|
| 7290 | 
 | 
|---|
| 7291 | 
 | 
|---|
| 7292 | eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 | 
|---|
| 7293 | shift
 | 
|---|
| 7294 | for ac_tag
 | 
|---|
| 7295 | do
 | 
|---|
| 7296 |   case $ac_tag in
 | 
|---|
| 7297 |   :[FHLC]) ac_mode=$ac_tag; continue;;
 | 
|---|
| 7298 |   esac
 | 
|---|
| 7299 |   case $ac_mode$ac_tag in
 | 
|---|
| 7300 |   :[FHL]*:*);;
 | 
|---|
| 7301 |   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 | 
|---|
| 7302 |   :[FH]-) ac_tag=-:-;;
 | 
|---|
| 7303 |   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 | 
|---|
| 7304 |   esac
 | 
|---|
| 7305 |   ac_save_IFS=$IFS
 | 
|---|
| 7306 |   IFS=:
 | 
|---|
| 7307 |   set x $ac_tag
 | 
|---|
| 7308 |   IFS=$ac_save_IFS
 | 
|---|
| 7309 |   shift
 | 
|---|
| 7310 |   ac_file=$1
 | 
|---|
| 7311 |   shift
 | 
|---|
| 7312 | 
 | 
|---|
| 7313 |   case $ac_mode in
 | 
|---|
| 7314 |   :L) ac_source=$1;;
 | 
|---|
| 7315 |   :[FH])
 | 
|---|
| 7316 |     ac_file_inputs=
 | 
|---|
| 7317 |     for ac_f
 | 
|---|
| 7318 |     do
 | 
|---|
| 7319 |       case $ac_f in
 | 
|---|
| 7320 |       -) ac_f="$ac_tmp/stdin";;
 | 
|---|
| 7321 |       *) # Look for the file first in the build tree, then in the source tree
 | 
|---|
| 7322 |          # (if the path is not absolute).  The absolute path cannot be DOS-style,
 | 
|---|
| 7323 |          # because $ac_f cannot contain `:'.
 | 
|---|
| 7324 |          test -f "$ac_f" ||
 | 
|---|
| 7325 |            case $ac_f in
 | 
|---|
| 7326 |            [\\/$]*) false;;
 | 
|---|
| 7327 |            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 | 
|---|
| 7328 |            esac ||
 | 
|---|
| 7329 |            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 | 
|---|
| 7330 |       esac
 | 
|---|
| 7331 |       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 | 
|---|
| 7332 |       as_fn_append ac_file_inputs " '$ac_f'"
 | 
|---|
| 7333 |     done
 | 
|---|
| 7334 | 
 | 
|---|
| 7335 |     # Let's still pretend it is `configure' which instantiates (i.e., don't
 | 
|---|
| 7336 |     # use $as_me), people would be surprised to read:
 | 
|---|
| 7337 |     #    /* config.h.  Generated by config.status.  */
 | 
|---|
| 7338 |     configure_input='Generated from '`
 | 
|---|
| 7339 |           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 | 
|---|
| 7340 |         `' by configure.'
 | 
|---|
| 7341 |     if test x"$ac_file" != x-; then
 | 
|---|
| 7342 |       configure_input="$ac_file.  $configure_input"
 | 
|---|
| 7343 |       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 | 
|---|
| 7344 | $as_echo "$as_me: creating $ac_file" >&6;}
 | 
|---|
| 7345 |     fi
 | 
|---|
| 7346 |     # Neutralize special characters interpreted by sed in replacement strings.
 | 
|---|
| 7347 |     case $configure_input in #(
 | 
|---|
| 7348 |     *\&* | *\|* | *\\* )
 | 
|---|
| 7349 |        ac_sed_conf_input=`$as_echo "$configure_input" |
 | 
|---|
| 7350 |        sed 's/[\\\\&|]/\\\\&/g'`;; #(
 | 
|---|
| 7351 |     *) ac_sed_conf_input=$configure_input;;
 | 
|---|
| 7352 |     esac
 | 
|---|
| 7353 | 
 | 
|---|
| 7354 |     case $ac_tag in
 | 
|---|
| 7355 |     *:-:* | *:-) cat >"$ac_tmp/stdin" \
 | 
|---|
| 7356 |       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 | 
|---|
| 7357 |     esac
 | 
|---|
| 7358 |     ;;
 | 
|---|
| 7359 |   esac
 | 
|---|
| 7360 | 
 | 
|---|
| 7361 |   ac_dir=`$as_dirname -- "$ac_file" ||
 | 
|---|
| 7362 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 | 
|---|
| 7363 |          X"$ac_file" : 'X\(//\)[^/]' \| \
 | 
|---|
| 7364 |          X"$ac_file" : 'X\(//\)$' \| \
 | 
|---|
| 7365 |          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 7366 | $as_echo X"$ac_file" |
 | 
|---|
| 7367 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 | 
|---|
| 7368 |             s//\1/
 | 
|---|
| 7369 |             q
 | 
|---|
| 7370 |           }
 | 
|---|
| 7371 |           /^X\(\/\/\)[^/].*/{
 | 
|---|
| 7372 |             s//\1/
 | 
|---|
| 7373 |             q
 | 
|---|
| 7374 |           }
 | 
|---|
| 7375 |           /^X\(\/\/\)$/{
 | 
|---|
| 7376 |             s//\1/
 | 
|---|
| 7377 |             q
 | 
|---|
| 7378 |           }
 | 
|---|
| 7379 |           /^X\(\/\).*/{
 | 
|---|
| 7380 |             s//\1/
 | 
|---|
| 7381 |             q
 | 
|---|
| 7382 |           }
 | 
|---|
| 7383 |           s/.*/./; q'`
 | 
|---|
| 7384 |   as_dir="$ac_dir"; as_fn_mkdir_p
 | 
|---|
| 7385 |   ac_builddir=.
 | 
|---|
| 7386 | 
 | 
|---|
| 7387 | case "$ac_dir" in
 | 
|---|
| 7388 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 | 
|---|
| 7389 | *)
 | 
|---|
| 7390 |   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 | 
|---|
| 7391 |   # A ".." for each directory in $ac_dir_suffix.
 | 
|---|
| 7392 |   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 | 
|---|
| 7393 |   case $ac_top_builddir_sub in
 | 
|---|
| 7394 |   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 | 
|---|
| 7395 |   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 | 
|---|
| 7396 |   esac ;;
 | 
|---|
| 7397 | esac
 | 
|---|
| 7398 | ac_abs_top_builddir=$ac_pwd
 | 
|---|
| 7399 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
 | 
|---|
| 7400 | # for backward compatibility:
 | 
|---|
| 7401 | ac_top_builddir=$ac_top_build_prefix
 | 
|---|
| 7402 | 
 | 
|---|
| 7403 | case $srcdir in
 | 
|---|
| 7404 |   .)  # We are building in place.
 | 
|---|
| 7405 |     ac_srcdir=.
 | 
|---|
| 7406 |     ac_top_srcdir=$ac_top_builddir_sub
 | 
|---|
| 7407 |     ac_abs_top_srcdir=$ac_pwd ;;
 | 
|---|
| 7408 |   [\\/]* | ?:[\\/]* )  # Absolute name.
 | 
|---|
| 7409 |     ac_srcdir=$srcdir$ac_dir_suffix;
 | 
|---|
| 7410 |     ac_top_srcdir=$srcdir
 | 
|---|
| 7411 |     ac_abs_top_srcdir=$srcdir ;;
 | 
|---|
| 7412 |   *) # Relative name.
 | 
|---|
| 7413 |     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 | 
|---|
| 7414 |     ac_top_srcdir=$ac_top_build_prefix$srcdir
 | 
|---|
| 7415 |     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 | 
|---|
| 7416 | esac
 | 
|---|
| 7417 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 | 
|---|
| 7418 | 
 | 
|---|
| 7419 | 
 | 
|---|
| 7420 |   case $ac_mode in
 | 
|---|
| 7421 |   :F)
 | 
|---|
| 7422 |   #
 | 
|---|
| 7423 |   # CONFIG_FILE
 | 
|---|
| 7424 |   #
 | 
|---|
| 7425 | 
 | 
|---|
| 7426 |   case $INSTALL in
 | 
|---|
| 7427 |   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 | 
|---|
| 7428 |   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 | 
|---|
| 7429 |   esac
 | 
|---|
| 7430 |   ac_MKDIR_P=$MKDIR_P
 | 
|---|
| 7431 |   case $MKDIR_P in
 | 
|---|
| 7432 |   [\\/$]* | ?:[\\/]* ) ;;
 | 
|---|
| 7433 |   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 | 
|---|
| 7434 |   esac
 | 
|---|
| 7435 | _ACEOF
 | 
|---|
| 7436 | 
 | 
|---|
| 7437 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 7438 | # If the template does not know about datarootdir, expand it.
 | 
|---|
| 7439 | # FIXME: This hack should be removed a few years after 2.60.
 | 
|---|
| 7440 | ac_datarootdir_hack=; ac_datarootdir_seen=
 | 
|---|
| 7441 | ac_sed_dataroot='
 | 
|---|
| 7442 | /datarootdir/ {
 | 
|---|
| 7443 |   p
 | 
|---|
| 7444 |   q
 | 
|---|
| 7445 | }
 | 
|---|
| 7446 | /@datadir@/p
 | 
|---|
| 7447 | /@docdir@/p
 | 
|---|
| 7448 | /@infodir@/p
 | 
|---|
| 7449 | /@localedir@/p
 | 
|---|
| 7450 | /@mandir@/p'
 | 
|---|
| 7451 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 | 
|---|
| 7452 | *datarootdir*) ac_datarootdir_seen=yes;;
 | 
|---|
| 7453 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 | 
|---|
| 7454 |   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 | 
|---|
| 7455 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 | 
|---|
| 7456 | _ACEOF
 | 
|---|
| 7457 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 7458 |   ac_datarootdir_hack='
 | 
|---|
| 7459 |   s&@datadir@&$datadir&g
 | 
|---|
| 7460 |   s&@docdir@&$docdir&g
 | 
|---|
| 7461 |   s&@infodir@&$infodir&g
 | 
|---|
| 7462 |   s&@localedir@&$localedir&g
 | 
|---|
| 7463 |   s&@mandir@&$mandir&g
 | 
|---|
| 7464 |   s&\\\${datarootdir}&$datarootdir&g' ;;
 | 
|---|
| 7465 | esac
 | 
|---|
| 7466 | _ACEOF
 | 
|---|
| 7467 | 
 | 
|---|
| 7468 | # Neutralize VPATH when `$srcdir' = `.'.
 | 
|---|
| 7469 | # Shell code in configure.ac might set extrasub.
 | 
|---|
| 7470 | # FIXME: do we really want to maintain this feature?
 | 
|---|
| 7471 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 7472 | ac_sed_extra="$ac_vpsub
 | 
|---|
| 7473 | $extrasub
 | 
|---|
| 7474 | _ACEOF
 | 
|---|
| 7475 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 7476 | :t
 | 
|---|
| 7477 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 | 
|---|
| 7478 | s|@configure_input@|$ac_sed_conf_input|;t t
 | 
|---|
| 7479 | s&@top_builddir@&$ac_top_builddir_sub&;t t
 | 
|---|
| 7480 | s&@top_build_prefix@&$ac_top_build_prefix&;t t
 | 
|---|
| 7481 | s&@srcdir@&$ac_srcdir&;t t
 | 
|---|
| 7482 | s&@abs_srcdir@&$ac_abs_srcdir&;t t
 | 
|---|
| 7483 | s&@top_srcdir@&$ac_top_srcdir&;t t
 | 
|---|
| 7484 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 | 
|---|
| 7485 | s&@builddir@&$ac_builddir&;t t
 | 
|---|
| 7486 | s&@abs_builddir@&$ac_abs_builddir&;t t
 | 
|---|
| 7487 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 | 
|---|
| 7488 | s&@INSTALL@&$ac_INSTALL&;t t
 | 
|---|
| 7489 | s&@MKDIR_P@&$ac_MKDIR_P&;t t
 | 
|---|
| 7490 | $ac_datarootdir_hack
 | 
|---|
| 7491 | "
 | 
|---|
| 7492 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 | 
|---|
| 7493 |   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 | 
|---|
| 7494 | 
 | 
|---|
| 7495 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 | 
|---|
| 7496 |   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 | 
|---|
| 7497 |   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 | 
|---|
| 7498 |       "$ac_tmp/out"`; test -z "$ac_out"; } &&
 | 
|---|
| 7499 |   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 | 
|---|
| 7500 | which seems to be undefined.  Please make sure it is defined" >&5
 | 
|---|
| 7501 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 | 
|---|
| 7502 | which seems to be undefined.  Please make sure it is defined" >&2;}
 | 
|---|
| 7503 | 
 | 
|---|
| 7504 |   rm -f "$ac_tmp/stdin"
 | 
|---|
| 7505 |   case $ac_file in
 | 
|---|
| 7506 |   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 | 
|---|
| 7507 |   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 | 
|---|
| 7508 |   esac \
 | 
|---|
| 7509 |   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 | 
|---|
| 7510 |  ;;
 | 
|---|
| 7511 |   :H)
 | 
|---|
| 7512 |   #
 | 
|---|
| 7513 |   # CONFIG_HEADER
 | 
|---|
| 7514 |   #
 | 
|---|
| 7515 |   if test x"$ac_file" != x-; then
 | 
|---|
| 7516 |     {
 | 
|---|
| 7517 |       $as_echo "/* $configure_input  */" \
 | 
|---|
| 7518 |       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 | 
|---|
| 7519 |     } >"$ac_tmp/config.h" \
 | 
|---|
| 7520 |       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 | 
|---|
| 7521 |     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 | 
|---|
| 7522 |       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 | 
|---|
| 7523 | $as_echo "$as_me: $ac_file is unchanged" >&6;}
 | 
|---|
| 7524 |     else
 | 
|---|
| 7525 |       rm -f "$ac_file"
 | 
|---|
| 7526 |       mv "$ac_tmp/config.h" "$ac_file" \
 | 
|---|
| 7527 |         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 | 
|---|
| 7528 |     fi
 | 
|---|
| 7529 |   else
 | 
|---|
| 7530 |     $as_echo "/* $configure_input  */" \
 | 
|---|
| 7531 |       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 | 
|---|
| 7532 |       || as_fn_error $? "could not create -" "$LINENO" 5
 | 
|---|
| 7533 |   fi
 | 
|---|
| 7534 | # Compute "$ac_file"'s index in $config_headers.
 | 
|---|
| 7535 | _am_arg="$ac_file"
 | 
|---|
| 7536 | _am_stamp_count=1
 | 
|---|
| 7537 | for _am_header in $config_headers :; do
 | 
|---|
| 7538 |   case $_am_header in
 | 
|---|
| 7539 |     $_am_arg | $_am_arg:* )
 | 
|---|
| 7540 |       break ;;
 | 
|---|
| 7541 |     * )
 | 
|---|
| 7542 |       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 | 
|---|
| 7543 |   esac
 | 
|---|
| 7544 | done
 | 
|---|
| 7545 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 | 
|---|
| 7546 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 | 
|---|
| 7547 |          X"$_am_arg" : 'X\(//\)[^/]' \| \
 | 
|---|
| 7548 |          X"$_am_arg" : 'X\(//\)$' \| \
 | 
|---|
| 7549 |          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 7550 | $as_echo X"$_am_arg" |
 | 
|---|
| 7551 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 | 
|---|
| 7552 |             s//\1/
 | 
|---|
| 7553 |             q
 | 
|---|
| 7554 |           }
 | 
|---|
| 7555 |           /^X\(\/\/\)[^/].*/{
 | 
|---|
| 7556 |             s//\1/
 | 
|---|
| 7557 |             q
 | 
|---|
| 7558 |           }
 | 
|---|
| 7559 |           /^X\(\/\/\)$/{
 | 
|---|
| 7560 |             s//\1/
 | 
|---|
| 7561 |             q
 | 
|---|
| 7562 |           }
 | 
|---|
| 7563 |           /^X\(\/\).*/{
 | 
|---|
| 7564 |             s//\1/
 | 
|---|
| 7565 |             q
 | 
|---|
| 7566 |           }
 | 
|---|
| 7567 |           s/.*/./; q'`/stamp-h$_am_stamp_count
 | 
|---|
| 7568 |  ;;
 | 
|---|
| 7569 | 
 | 
|---|
| 7570 |   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 | 
|---|
| 7571 | $as_echo "$as_me: executing $ac_file commands" >&6;}
 | 
|---|
| 7572 |  ;;
 | 
|---|
| 7573 |   esac
 | 
|---|
| 7574 | 
 | 
|---|
| 7575 | 
 | 
|---|
| 7576 |   case $ac_file$ac_mode in
 | 
|---|
| 7577 |     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 | 
|---|
| 7578 |   # Autoconf 2.62 quotes --file arguments for eval, but not when files
 | 
|---|
| 7579 |   # are listed without --file.  Let's play safe and only enable the eval
 | 
|---|
| 7580 |   # if we detect the quoting.
 | 
|---|
| 7581 |   case $CONFIG_FILES in
 | 
|---|
| 7582 |   *\'*) eval set x "$CONFIG_FILES" ;;
 | 
|---|
| 7583 |   *)   set x $CONFIG_FILES ;;
 | 
|---|
| 7584 |   esac
 | 
|---|
| 7585 |   shift
 | 
|---|
| 7586 |   for mf
 | 
|---|
| 7587 |   do
 | 
|---|
| 7588 |     # Strip MF so we end up with the name of the file.
 | 
|---|
| 7589 |     mf=`echo "$mf" | sed -e 's/:.*$//'`
 | 
|---|
| 7590 |     # Check whether this is an Automake generated Makefile or not.
 | 
|---|
| 7591 |     # We used to match only the files named `Makefile.in', but
 | 
|---|
| 7592 |     # some people rename them; so instead we look at the file content.
 | 
|---|
| 7593 |     # Grep'ing the first line is not enough: some people post-process
 | 
|---|
| 7594 |     # each Makefile.in and add a new line on top of each file to say so.
 | 
|---|
| 7595 |     # Grep'ing the whole file is not good either: AIX grep has a line
 | 
|---|
| 7596 |     # limit of 2048, but all sed's we know have understand at least 4000.
 | 
|---|
| 7597 |     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 | 
|---|
| 7598 |       dirpart=`$as_dirname -- "$mf" ||
 | 
|---|
| 7599 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 | 
|---|
| 7600 |          X"$mf" : 'X\(//\)[^/]' \| \
 | 
|---|
| 7601 |          X"$mf" : 'X\(//\)$' \| \
 | 
|---|
| 7602 |          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 7603 | $as_echo X"$mf" |
 | 
|---|
| 7604 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 | 
|---|
| 7605 |             s//\1/
 | 
|---|
| 7606 |             q
 | 
|---|
| 7607 |           }
 | 
|---|
| 7608 |           /^X\(\/\/\)[^/].*/{
 | 
|---|
| 7609 |             s//\1/
 | 
|---|
| 7610 |             q
 | 
|---|
| 7611 |           }
 | 
|---|
| 7612 |           /^X\(\/\/\)$/{
 | 
|---|
| 7613 |             s//\1/
 | 
|---|
| 7614 |             q
 | 
|---|
| 7615 |           }
 | 
|---|
| 7616 |           /^X\(\/\).*/{
 | 
|---|
| 7617 |             s//\1/
 | 
|---|
| 7618 |             q
 | 
|---|
| 7619 |           }
 | 
|---|
| 7620 |           s/.*/./; q'`
 | 
|---|
| 7621 |     else
 | 
|---|
| 7622 |       continue
 | 
|---|
| 7623 |     fi
 | 
|---|
| 7624 |     # Extract the definition of DEPDIR, am__include, and am__quote
 | 
|---|
| 7625 |     # from the Makefile without running `make'.
 | 
|---|
| 7626 |     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 | 
|---|
| 7627 |     test -z "$DEPDIR" && continue
 | 
|---|
| 7628 |     am__include=`sed -n 's/^am__include = //p' < "$mf"`
 | 
|---|
| 7629 |     test -z "am__include" && continue
 | 
|---|
| 7630 |     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 | 
|---|
| 7631 |     # When using ansi2knr, U may be empty or an underscore; expand it
 | 
|---|
| 7632 |     U=`sed -n 's/^U = //p' < "$mf"`
 | 
|---|
| 7633 |     # Find all dependency output files, they are included files with
 | 
|---|
| 7634 |     # $(DEPDIR) in their names.  We invoke sed twice because it is the
 | 
|---|
| 7635 |     # simplest approach to changing $(DEPDIR) to its actual value in the
 | 
|---|
| 7636 |     # expansion.
 | 
|---|
| 7637 |     for file in `sed -n "
 | 
|---|
| 7638 |       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 | 
|---|
| 7639 |          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 | 
|---|
| 7640 |       # Make sure the directory exists.
 | 
|---|
| 7641 |       test -f "$dirpart/$file" && continue
 | 
|---|
| 7642 |       fdir=`$as_dirname -- "$file" ||
 | 
|---|
| 7643 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 | 
|---|
| 7644 |          X"$file" : 'X\(//\)[^/]' \| \
 | 
|---|
| 7645 |          X"$file" : 'X\(//\)$' \| \
 | 
|---|
| 7646 |          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 7647 | $as_echo X"$file" |
 | 
|---|
| 7648 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 | 
|---|
| 7649 |             s//\1/
 | 
|---|
| 7650 |             q
 | 
|---|
| 7651 |           }
 | 
|---|
| 7652 |           /^X\(\/\/\)[^/].*/{
 | 
|---|
| 7653 |             s//\1/
 | 
|---|
| 7654 |             q
 | 
|---|
| 7655 |           }
 | 
|---|
| 7656 |           /^X\(\/\/\)$/{
 | 
|---|
| 7657 |             s//\1/
 | 
|---|
| 7658 |             q
 | 
|---|
| 7659 |           }
 | 
|---|
| 7660 |           /^X\(\/\).*/{
 | 
|---|
| 7661 |             s//\1/
 | 
|---|
| 7662 |             q
 | 
|---|
| 7663 |           }
 | 
|---|
| 7664 |           s/.*/./; q'`
 | 
|---|
| 7665 |       as_dir=$dirpart/$fdir; as_fn_mkdir_p
 | 
|---|
| 7666 |       # echo "creating $dirpart/$file"
 | 
|---|
| 7667 |       echo '# dummy' > "$dirpart/$file"
 | 
|---|
| 7668 |     done
 | 
|---|
| 7669 |   done
 | 
|---|
| 7670 | }
 | 
|---|
| 7671 |  ;;
 | 
|---|
| 7672 | 
 | 
|---|
| 7673 |   esac
 | 
|---|
| 7674 | done # for ac_tag
 | 
|---|
| 7675 | 
 | 
|---|
| 7676 | 
 | 
|---|
| 7677 | as_fn_exit 0
 | 
|---|
| 7678 | _ACEOF
 | 
|---|
| 7679 | ac_clean_files=$ac_clean_files_save
 | 
|---|
| 7680 | 
 | 
|---|
| 7681 | test $ac_write_fail = 0 ||
 | 
|---|
| 7682 |   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 | 
|---|
| 7683 | 
 | 
|---|
| 7684 | 
 | 
|---|
| 7685 | # configure is writing to config.log, and then calls config.status.
 | 
|---|
| 7686 | # config.status does its own redirection, appending to config.log.
 | 
|---|
| 7687 | # Unfortunately, on DOS this fails, as config.log is still kept open
 | 
|---|
| 7688 | # by configure, so config.status won't be able to write to it; its
 | 
|---|
| 7689 | # output is simply discarded.  So we exec the FD to /dev/null,
 | 
|---|
| 7690 | # effectively closing config.log, so it can be properly (re)opened and
 | 
|---|
| 7691 | # appended to by config.status.  When coming back to configure, we
 | 
|---|
| 7692 | # need to make the FD available again.
 | 
|---|
| 7693 | if test "$no_create" != yes; then
 | 
|---|
| 7694 |   ac_cs_success=:
 | 
|---|
| 7695 |   ac_config_status_args=
 | 
|---|
| 7696 |   test "$silent" = yes &&
 | 
|---|
| 7697 |     ac_config_status_args="$ac_config_status_args --quiet"
 | 
|---|
| 7698 |   exec 5>/dev/null
 | 
|---|
| 7699 |   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 | 
|---|
| 7700 |   exec 5>>config.log
 | 
|---|
| 7701 |   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 | 
|---|
| 7702 |   # would make configure fail if this is the last instruction.
 | 
|---|
| 7703 |   $ac_cs_success || as_fn_exit 1
 | 
|---|
| 7704 | fi
 | 
|---|
| 7705 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 | 
|---|
| 7706 |   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 | 
|---|
| 7707 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 | 
|---|
| 7708 | fi
 | 
|---|
| 7709 | 
 | 
|---|
| 7710 | 
 | 
|---|
| 7711 | if test -z "$BUILD_RELEASE_TRUE"; then :
 | 
|---|
| 7712 |   if test -z "$BUILD_DEBUG_TRUE"; then :
 | 
|---|
| 7713 |   { $as_echo "$as_me:${as_lineno-$LINENO}: Building libcfa for target: release & debug" >&5
 | 
|---|
| 7714 | $as_echo "$as_me: Building libcfa for target: release & debug" >&6;}
 | 
|---|
| 7715 | else
 | 
|---|
| 7716 |   { $as_echo "$as_me:${as_lineno-$LINENO}: Building libcfa for target: release" >&5
 | 
|---|
| 7717 | $as_echo "$as_me: Building libcfa for target: release" >&6;}
 | 
|---|
| 7718 | fi
 | 
|---|
| 7719 | else
 | 
|---|
| 7720 |   if test -z "$BUILD_DEBUG_TRUE"; then :
 | 
|---|
| 7721 |   { $as_echo "$as_me:${as_lineno-$LINENO}: Building libcfa for target: debug" >&5
 | 
|---|
| 7722 | $as_echo "$as_me: Building libcfa for target: debug" >&6;}
 | 
|---|
| 7723 | else
 | 
|---|
| 7724 |   { $as_echo "$as_me:${as_lineno-$LINENO}: Running cfa without libcfa" >&5
 | 
|---|
| 7725 | $as_echo "$as_me: Running cfa without libcfa" >&6;}
 | 
|---|
| 7726 | fi
 | 
|---|
| 7727 | fi
 | 
|---|
| 7728 | 
 | 
|---|
| 7729 | # Final text
 | 
|---|
| 7730 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: Cforall configuraton completed. Type \"make -j 8 install\"." >&5
 | 
|---|
| 7731 | $as_echo "Cforall configuraton completed. Type \"make -j 8 install\"." >&6; }
 | 
|---|