| 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.
 | 
|---|
| 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'
 | 
|---|
| 564 | PACKAGE_STRING='cfa-cc 1.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__fastdepCC_FALSE
 | 
|---|
| 619 | am__fastdepCC_TRUE
 | 
|---|
| 620 | CCDEPMODE
 | 
|---|
| 621 | ac_ct_CC
 | 
|---|
| 622 | CFLAGS
 | 
|---|
| 623 | CC
 | 
|---|
| 624 | am__fastdepCXX_FALSE
 | 
|---|
| 625 | am__fastdepCXX_TRUE
 | 
|---|
| 626 | CXXDEPMODE
 | 
|---|
| 627 | am__nodep
 | 
|---|
| 628 | AMDEPBACKSLASH
 | 
|---|
| 629 | AMDEP_FALSE
 | 
|---|
| 630 | AMDEP_TRUE
 | 
|---|
| 631 | am__quote
 | 
|---|
| 632 | am__include
 | 
|---|
| 633 | DEPDIR
 | 
|---|
| 634 | OBJEXT
 | 
|---|
| 635 | EXEEXT
 | 
|---|
| 636 | ac_ct_CXX
 | 
|---|
| 637 | CPPFLAGS
 | 
|---|
| 638 | LDFLAGS
 | 
|---|
| 639 | CXXFLAGS
 | 
|---|
| 640 | CXX
 | 
|---|
| 641 | CFA_LIBDIR
 | 
|---|
| 642 | CFA_BINDIR
 | 
|---|
| 643 | CFA_INCDIR
 | 
|---|
| 644 | CFA_PREFIX
 | 
|---|
| 645 | BACKEND_CC
 | 
|---|
| 646 | GCC_PATH
 | 
|---|
| 647 | MAINT
 | 
|---|
| 648 | MAINTAINER_MODE_FALSE
 | 
|---|
| 649 | MAINTAINER_MODE_TRUE
 | 
|---|
| 650 | am__untar
 | 
|---|
| 651 | am__tar
 | 
|---|
| 652 | AMTAR
 | 
|---|
| 653 | am__leading_dot
 | 
|---|
| 654 | SET_MAKE
 | 
|---|
| 655 | AWK
 | 
|---|
| 656 | mkdir_p
 | 
|---|
| 657 | MKDIR_P
 | 
|---|
| 658 | INSTALL_STRIP_PROGRAM
 | 
|---|
| 659 | STRIP
 | 
|---|
| 660 | install_sh
 | 
|---|
| 661 | MAKEINFO
 | 
|---|
| 662 | AUTOHEADER
 | 
|---|
| 663 | AUTOMAKE
 | 
|---|
| 664 | AUTOCONF
 | 
|---|
| 665 | ACLOCAL
 | 
|---|
| 666 | VERSION
 | 
|---|
| 667 | PACKAGE
 | 
|---|
| 668 | CYGPATH_W
 | 
|---|
| 669 | am__isrc
 | 
|---|
| 670 | INSTALL_DATA
 | 
|---|
| 671 | INSTALL_SCRIPT
 | 
|---|
| 672 | INSTALL_PROGRAM
 | 
|---|
| 673 | target_alias
 | 
|---|
| 674 | host_alias
 | 
|---|
| 675 | build_alias
 | 
|---|
| 676 | LIBS
 | 
|---|
| 677 | ECHO_T
 | 
|---|
| 678 | ECHO_N
 | 
|---|
| 679 | ECHO_C
 | 
|---|
| 680 | DEFS
 | 
|---|
| 681 | mandir
 | 
|---|
| 682 | localedir
 | 
|---|
| 683 | libdir
 | 
|---|
| 684 | psdir
 | 
|---|
| 685 | pdfdir
 | 
|---|
| 686 | dvidir
 | 
|---|
| 687 | htmldir
 | 
|---|
| 688 | infodir
 | 
|---|
| 689 | docdir
 | 
|---|
| 690 | oldincludedir
 | 
|---|
| 691 | includedir
 | 
|---|
| 692 | localstatedir
 | 
|---|
| 693 | sharedstatedir
 | 
|---|
| 694 | sysconfdir
 | 
|---|
| 695 | datadir
 | 
|---|
| 696 | datarootdir
 | 
|---|
| 697 | libexecdir
 | 
|---|
| 698 | sbindir
 | 
|---|
| 699 | bindir
 | 
|---|
| 700 | program_transform_name
 | 
|---|
| 701 | prefix
 | 
|---|
| 702 | exec_prefix
 | 
|---|
| 703 | PACKAGE_URL
 | 
|---|
| 704 | PACKAGE_BUGREPORT
 | 
|---|
| 705 | PACKAGE_STRING
 | 
|---|
| 706 | PACKAGE_VERSION
 | 
|---|
| 707 | PACKAGE_TARNAME
 | 
|---|
| 708 | PACKAGE_NAME
 | 
|---|
| 709 | PATH_SEPARATOR
 | 
|---|
| 710 | SHELL'
 | 
|---|
| 711 | ac_subst_files=''
 | 
|---|
| 712 | ac_user_opts='
 | 
|---|
| 713 | enable_option_checking
 | 
|---|
| 714 | enable_maintainer_mode
 | 
|---|
| 715 | with_backend_compiler
 | 
|---|
| 716 | enable_dependency_tracking
 | 
|---|
| 717 | '
 | 
|---|
| 718 |       ac_precious_vars='build_alias
 | 
|---|
| 719 | host_alias
 | 
|---|
| 720 | target_alias
 | 
|---|
| 721 | CXX
 | 
|---|
| 722 | CXXFLAGS
 | 
|---|
| 723 | LDFLAGS
 | 
|---|
| 724 | LIBS
 | 
|---|
| 725 | CPPFLAGS
 | 
|---|
| 726 | CCC
 | 
|---|
| 727 | CC
 | 
|---|
| 728 | CFLAGS
 | 
|---|
| 729 | YACC
 | 
|---|
| 730 | YFLAGS
 | 
|---|
| 731 | CPP'
 | 
|---|
| 732 | 
 | 
|---|
| 733 | 
 | 
|---|
| 734 | # Initialize some variables set by options.
 | 
|---|
| 735 | ac_init_help=
 | 
|---|
| 736 | ac_init_version=false
 | 
|---|
| 737 | ac_unrecognized_opts=
 | 
|---|
| 738 | ac_unrecognized_sep=
 | 
|---|
| 739 | # The variables have the same names as the options, with
 | 
|---|
| 740 | # dashes changed to underlines.
 | 
|---|
| 741 | cache_file=/dev/null
 | 
|---|
| 742 | exec_prefix=NONE
 | 
|---|
| 743 | no_create=
 | 
|---|
| 744 | no_recursion=
 | 
|---|
| 745 | prefix=NONE
 | 
|---|
| 746 | program_prefix=NONE
 | 
|---|
| 747 | program_suffix=NONE
 | 
|---|
| 748 | program_transform_name=s,x,x,
 | 
|---|
| 749 | silent=
 | 
|---|
| 750 | site=
 | 
|---|
| 751 | srcdir=
 | 
|---|
| 752 | verbose=
 | 
|---|
| 753 | x_includes=NONE
 | 
|---|
| 754 | x_libraries=NONE
 | 
|---|
| 755 | 
 | 
|---|
| 756 | # Installation directory options.
 | 
|---|
| 757 | # These are left unexpanded so users can "make install exec_prefix=/foo"
 | 
|---|
| 758 | # and all the variables that are supposed to be based on exec_prefix
 | 
|---|
| 759 | # by default will actually change.
 | 
|---|
| 760 | # Use braces instead of parens because sh, perl, etc. also accept them.
 | 
|---|
| 761 | # (The list follows the same order as the GNU Coding Standards.)
 | 
|---|
| 762 | bindir='${exec_prefix}/bin'
 | 
|---|
| 763 | sbindir='${exec_prefix}/sbin'
 | 
|---|
| 764 | libexecdir='${exec_prefix}/libexec'
 | 
|---|
| 765 | datarootdir='${prefix}/share'
 | 
|---|
| 766 | datadir='${datarootdir}'
 | 
|---|
| 767 | sysconfdir='${prefix}/etc'
 | 
|---|
| 768 | sharedstatedir='${prefix}/com'
 | 
|---|
| 769 | localstatedir='${prefix}/var'
 | 
|---|
| 770 | includedir='${prefix}/include'
 | 
|---|
| 771 | oldincludedir='/usr/include'
 | 
|---|
| 772 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 | 
|---|
| 773 | infodir='${datarootdir}/info'
 | 
|---|
| 774 | htmldir='${docdir}'
 | 
|---|
| 775 | dvidir='${docdir}'
 | 
|---|
| 776 | pdfdir='${docdir}'
 | 
|---|
| 777 | psdir='${docdir}'
 | 
|---|
| 778 | libdir='${exec_prefix}/lib'
 | 
|---|
| 779 | localedir='${datarootdir}/locale'
 | 
|---|
| 780 | mandir='${datarootdir}/man'
 | 
|---|
| 781 | 
 | 
|---|
| 782 | ac_prev=
 | 
|---|
| 783 | ac_dashdash=
 | 
|---|
| 784 | for ac_option
 | 
|---|
| 785 | do
 | 
|---|
| 786 |   # If the previous option needs an argument, assign it.
 | 
|---|
| 787 |   if test -n "$ac_prev"; then
 | 
|---|
| 788 |     eval $ac_prev=\$ac_option
 | 
|---|
| 789 |     ac_prev=
 | 
|---|
| 790 |     continue
 | 
|---|
| 791 |   fi
 | 
|---|
| 792 | 
 | 
|---|
| 793 |   case $ac_option in
 | 
|---|
| 794 |   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 | 
|---|
| 795 |   *=)   ac_optarg= ;;
 | 
|---|
| 796 |   *)    ac_optarg=yes ;;
 | 
|---|
| 797 |   esac
 | 
|---|
| 798 | 
 | 
|---|
| 799 |   # Accept the important Cygnus configure options, so we can diagnose typos.
 | 
|---|
| 800 | 
 | 
|---|
| 801 |   case $ac_dashdash$ac_option in
 | 
|---|
| 802 |   --)
 | 
|---|
| 803 |     ac_dashdash=yes ;;
 | 
|---|
| 804 | 
 | 
|---|
| 805 |   -bindir | --bindir | --bindi | --bind | --bin | --bi)
 | 
|---|
| 806 |     ac_prev=bindir ;;
 | 
|---|
| 807 |   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 | 
|---|
| 808 |     bindir=$ac_optarg ;;
 | 
|---|
| 809 | 
 | 
|---|
| 810 |   -build | --build | --buil | --bui | --bu)
 | 
|---|
| 811 |     ac_prev=build_alias ;;
 | 
|---|
| 812 |   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 | 
|---|
| 813 |     build_alias=$ac_optarg ;;
 | 
|---|
| 814 | 
 | 
|---|
| 815 |   -cache-file | --cache-file | --cache-fil | --cache-fi \
 | 
|---|
| 816 |   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 | 
|---|
| 817 |     ac_prev=cache_file ;;
 | 
|---|
| 818 |   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 | 
|---|
| 819 |   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 | 
|---|
| 820 |     cache_file=$ac_optarg ;;
 | 
|---|
| 821 | 
 | 
|---|
| 822 |   --config-cache | -C)
 | 
|---|
| 823 |     cache_file=config.cache ;;
 | 
|---|
| 824 | 
 | 
|---|
| 825 |   -datadir | --datadir | --datadi | --datad)
 | 
|---|
| 826 |     ac_prev=datadir ;;
 | 
|---|
| 827 |   -datadir=* | --datadir=* | --datadi=* | --datad=*)
 | 
|---|
| 828 |     datadir=$ac_optarg ;;
 | 
|---|
| 829 | 
 | 
|---|
| 830 |   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 | 
|---|
| 831 |   | --dataroo | --dataro | --datar)
 | 
|---|
| 832 |     ac_prev=datarootdir ;;
 | 
|---|
| 833 |   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 | 
|---|
| 834 |   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 | 
|---|
| 835 |     datarootdir=$ac_optarg ;;
 | 
|---|
| 836 | 
 | 
|---|
| 837 |   -disable-* | --disable-*)
 | 
|---|
| 838 |     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 | 
|---|
| 839 |     # Reject names that are not valid shell variable names.
 | 
|---|
| 840 |     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 | 
|---|
| 841 |       as_fn_error $? "invalid feature name: $ac_useropt"
 | 
|---|
| 842 |     ac_useropt_orig=$ac_useropt
 | 
|---|
| 843 |     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 | 
|---|
| 844 |     case $ac_user_opts in
 | 
|---|
| 845 |       *"
 | 
|---|
| 846 | "enable_$ac_useropt"
 | 
|---|
| 847 | "*) ;;
 | 
|---|
| 848 |       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 | 
|---|
| 849 |          ac_unrecognized_sep=', ';;
 | 
|---|
| 850 |     esac
 | 
|---|
| 851 |     eval enable_$ac_useropt=no ;;
 | 
|---|
| 852 | 
 | 
|---|
| 853 |   -docdir | --docdir | --docdi | --doc | --do)
 | 
|---|
| 854 |     ac_prev=docdir ;;
 | 
|---|
| 855 |   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 | 
|---|
| 856 |     docdir=$ac_optarg ;;
 | 
|---|
| 857 | 
 | 
|---|
| 858 |   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 | 
|---|
| 859 |     ac_prev=dvidir ;;
 | 
|---|
| 860 |   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 | 
|---|
| 861 |     dvidir=$ac_optarg ;;
 | 
|---|
| 862 | 
 | 
|---|
| 863 |   -enable-* | --enable-*)
 | 
|---|
| 864 |     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 | 
|---|
| 865 |     # Reject names that are not valid shell variable names.
 | 
|---|
| 866 |     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 | 
|---|
| 867 |       as_fn_error $? "invalid feature name: $ac_useropt"
 | 
|---|
| 868 |     ac_useropt_orig=$ac_useropt
 | 
|---|
| 869 |     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 | 
|---|
| 870 |     case $ac_user_opts in
 | 
|---|
| 871 |       *"
 | 
|---|
| 872 | "enable_$ac_useropt"
 | 
|---|
| 873 | "*) ;;
 | 
|---|
| 874 |       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 | 
|---|
| 875 |          ac_unrecognized_sep=', ';;
 | 
|---|
| 876 |     esac
 | 
|---|
| 877 |     eval enable_$ac_useropt=\$ac_optarg ;;
 | 
|---|
| 878 | 
 | 
|---|
| 879 |   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 | 
|---|
| 880 |   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 | 
|---|
| 881 |   | --exec | --exe | --ex)
 | 
|---|
| 882 |     ac_prev=exec_prefix ;;
 | 
|---|
| 883 |   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 | 
|---|
| 884 |   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 | 
|---|
| 885 |   | --exec=* | --exe=* | --ex=*)
 | 
|---|
| 886 |     exec_prefix=$ac_optarg ;;
 | 
|---|
| 887 | 
 | 
|---|
| 888 |   -gas | --gas | --ga | --g)
 | 
|---|
| 889 |     # Obsolete; use --with-gas.
 | 
|---|
| 890 |     with_gas=yes ;;
 | 
|---|
| 891 | 
 | 
|---|
| 892 |   -help | --help | --hel | --he | -h)
 | 
|---|
| 893 |     ac_init_help=long ;;
 | 
|---|
| 894 |   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 | 
|---|
| 895 |     ac_init_help=recursive ;;
 | 
|---|
| 896 |   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 | 
|---|
| 897 |     ac_init_help=short ;;
 | 
|---|
| 898 | 
 | 
|---|
| 899 |   -host | --host | --hos | --ho)
 | 
|---|
| 900 |     ac_prev=host_alias ;;
 | 
|---|
| 901 |   -host=* | --host=* | --hos=* | --ho=*)
 | 
|---|
| 902 |     host_alias=$ac_optarg ;;
 | 
|---|
| 903 | 
 | 
|---|
| 904 |   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 | 
|---|
| 905 |     ac_prev=htmldir ;;
 | 
|---|
| 906 |   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 | 
|---|
| 907 |   | --ht=*)
 | 
|---|
| 908 |     htmldir=$ac_optarg ;;
 | 
|---|
| 909 | 
 | 
|---|
| 910 |   -includedir | --includedir | --includedi | --included | --include \
 | 
|---|
| 911 |   | --includ | --inclu | --incl | --inc)
 | 
|---|
| 912 |     ac_prev=includedir ;;
 | 
|---|
| 913 |   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 | 
|---|
| 914 |   | --includ=* | --inclu=* | --incl=* | --inc=*)
 | 
|---|
| 915 |     includedir=$ac_optarg ;;
 | 
|---|
| 916 | 
 | 
|---|
| 917 |   -infodir | --infodir | --infodi | --infod | --info | --inf)
 | 
|---|
| 918 |     ac_prev=infodir ;;
 | 
|---|
| 919 |   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 | 
|---|
| 920 |     infodir=$ac_optarg ;;
 | 
|---|
| 921 | 
 | 
|---|
| 922 |   -libdir | --libdir | --libdi | --libd)
 | 
|---|
| 923 |     ac_prev=libdir ;;
 | 
|---|
| 924 |   -libdir=* | --libdir=* | --libdi=* | --libd=*)
 | 
|---|
| 925 |     libdir=$ac_optarg ;;
 | 
|---|
| 926 | 
 | 
|---|
| 927 |   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 | 
|---|
| 928 |   | --libexe | --libex | --libe)
 | 
|---|
| 929 |     ac_prev=libexecdir ;;
 | 
|---|
| 930 |   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 | 
|---|
| 931 |   | --libexe=* | --libex=* | --libe=*)
 | 
|---|
| 932 |     libexecdir=$ac_optarg ;;
 | 
|---|
| 933 | 
 | 
|---|
| 934 |   -localedir | --localedir | --localedi | --localed | --locale)
 | 
|---|
| 935 |     ac_prev=localedir ;;
 | 
|---|
| 936 |   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 | 
|---|
| 937 |     localedir=$ac_optarg ;;
 | 
|---|
| 938 | 
 | 
|---|
| 939 |   -localstatedir | --localstatedir | --localstatedi | --localstated \
 | 
|---|
| 940 |   | --localstate | --localstat | --localsta | --localst | --locals)
 | 
|---|
| 941 |     ac_prev=localstatedir ;;
 | 
|---|
| 942 |   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 | 
|---|
| 943 |   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 | 
|---|
| 944 |     localstatedir=$ac_optarg ;;
 | 
|---|
| 945 | 
 | 
|---|
| 946 |   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 | 
|---|
| 947 |     ac_prev=mandir ;;
 | 
|---|
| 948 |   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 | 
|---|
| 949 |     mandir=$ac_optarg ;;
 | 
|---|
| 950 | 
 | 
|---|
| 951 |   -nfp | --nfp | --nf)
 | 
|---|
| 952 |     # Obsolete; use --without-fp.
 | 
|---|
| 953 |     with_fp=no ;;
 | 
|---|
| 954 | 
 | 
|---|
| 955 |   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 | 
|---|
| 956 |   | --no-cr | --no-c | -n)
 | 
|---|
| 957 |     no_create=yes ;;
 | 
|---|
| 958 | 
 | 
|---|
| 959 |   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 | 
|---|
| 960 |   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 | 
|---|
| 961 |     no_recursion=yes ;;
 | 
|---|
| 962 | 
 | 
|---|
| 963 |   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 | 
|---|
| 964 |   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 | 
|---|
| 965 |   | --oldin | --oldi | --old | --ol | --o)
 | 
|---|
| 966 |     ac_prev=oldincludedir ;;
 | 
|---|
| 967 |   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 | 
|---|
| 968 |   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 | 
|---|
| 969 |   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 | 
|---|
| 970 |     oldincludedir=$ac_optarg ;;
 | 
|---|
| 971 | 
 | 
|---|
| 972 |   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 | 
|---|
| 973 |     ac_prev=prefix ;;
 | 
|---|
| 974 |   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 | 
|---|
| 975 |     prefix=$ac_optarg ;;
 | 
|---|
| 976 | 
 | 
|---|
| 977 |   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 | 
|---|
| 978 |   | --program-pre | --program-pr | --program-p)
 | 
|---|
| 979 |     ac_prev=program_prefix ;;
 | 
|---|
| 980 |   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 | 
|---|
| 981 |   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 | 
|---|
| 982 |     program_prefix=$ac_optarg ;;
 | 
|---|
| 983 | 
 | 
|---|
| 984 |   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 | 
|---|
| 985 |   | --program-suf | --program-su | --program-s)
 | 
|---|
| 986 |     ac_prev=program_suffix ;;
 | 
|---|
| 987 |   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 | 
|---|
| 988 |   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 | 
|---|
| 989 |     program_suffix=$ac_optarg ;;
 | 
|---|
| 990 | 
 | 
|---|
| 991 |   -program-transform-name | --program-transform-name \
 | 
|---|
| 992 |   | --program-transform-nam | --program-transform-na \
 | 
|---|
| 993 |   | --program-transform-n | --program-transform- \
 | 
|---|
| 994 |   | --program-transform | --program-transfor \
 | 
|---|
| 995 |   | --program-transfo | --program-transf \
 | 
|---|
| 996 |   | --program-trans | --program-tran \
 | 
|---|
| 997 |   | --progr-tra | --program-tr | --program-t)
 | 
|---|
| 998 |     ac_prev=program_transform_name ;;
 | 
|---|
| 999 |   -program-transform-name=* | --program-transform-name=* \
 | 
|---|
| 1000 |   | --program-transform-nam=* | --program-transform-na=* \
 | 
|---|
| 1001 |   | --program-transform-n=* | --program-transform-=* \
 | 
|---|
| 1002 |   | --program-transform=* | --program-transfor=* \
 | 
|---|
| 1003 |   | --program-transfo=* | --program-transf=* \
 | 
|---|
| 1004 |   | --program-trans=* | --program-tran=* \
 | 
|---|
| 1005 |   | --progr-tra=* | --program-tr=* | --program-t=*)
 | 
|---|
| 1006 |     program_transform_name=$ac_optarg ;;
 | 
|---|
| 1007 | 
 | 
|---|
| 1008 |   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 | 
|---|
| 1009 |     ac_prev=pdfdir ;;
 | 
|---|
| 1010 |   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 | 
|---|
| 1011 |     pdfdir=$ac_optarg ;;
 | 
|---|
| 1012 | 
 | 
|---|
| 1013 |   -psdir | --psdir | --psdi | --psd | --ps)
 | 
|---|
| 1014 |     ac_prev=psdir ;;
 | 
|---|
| 1015 |   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 | 
|---|
| 1016 |     psdir=$ac_optarg ;;
 | 
|---|
| 1017 | 
 | 
|---|
| 1018 |   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 | 
|---|
| 1019 |   | -silent | --silent | --silen | --sile | --sil)
 | 
|---|
| 1020 |     silent=yes ;;
 | 
|---|
| 1021 | 
 | 
|---|
| 1022 |   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 | 
|---|
| 1023 |     ac_prev=sbindir ;;
 | 
|---|
| 1024 |   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 | 
|---|
| 1025 |   | --sbi=* | --sb=*)
 | 
|---|
| 1026 |     sbindir=$ac_optarg ;;
 | 
|---|
| 1027 | 
 | 
|---|
| 1028 |   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 | 
|---|
| 1029 |   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 | 
|---|
| 1030 |   | --sharedst | --shareds | --shared | --share | --shar \
 | 
|---|
| 1031 |   | --sha | --sh)
 | 
|---|
| 1032 |     ac_prev=sharedstatedir ;;
 | 
|---|
| 1033 |   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 | 
|---|
| 1034 |   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 | 
|---|
| 1035 |   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 | 
|---|
| 1036 |   | --sha=* | --sh=*)
 | 
|---|
| 1037 |     sharedstatedir=$ac_optarg ;;
 | 
|---|
| 1038 | 
 | 
|---|
| 1039 |   -site | --site | --sit)
 | 
|---|
| 1040 |     ac_prev=site ;;
 | 
|---|
| 1041 |   -site=* | --site=* | --sit=*)
 | 
|---|
| 1042 |     site=$ac_optarg ;;
 | 
|---|
| 1043 | 
 | 
|---|
| 1044 |   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 | 
|---|
| 1045 |     ac_prev=srcdir ;;
 | 
|---|
| 1046 |   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 | 
|---|
| 1047 |     srcdir=$ac_optarg ;;
 | 
|---|
| 1048 | 
 | 
|---|
| 1049 |   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 | 
|---|
| 1050 |   | --syscon | --sysco | --sysc | --sys | --sy)
 | 
|---|
| 1051 |     ac_prev=sysconfdir ;;
 | 
|---|
| 1052 |   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 | 
|---|
| 1053 |   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 | 
|---|
| 1054 |     sysconfdir=$ac_optarg ;;
 | 
|---|
| 1055 | 
 | 
|---|
| 1056 |   -target | --target | --targe | --targ | --tar | --ta | --t)
 | 
|---|
| 1057 |     ac_prev=target_alias ;;
 | 
|---|
| 1058 |   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 | 
|---|
| 1059 |     target_alias=$ac_optarg ;;
 | 
|---|
| 1060 | 
 | 
|---|
| 1061 |   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 | 
|---|
| 1062 |     verbose=yes ;;
 | 
|---|
| 1063 | 
 | 
|---|
| 1064 |   -version | --version | --versio | --versi | --vers | -V)
 | 
|---|
| 1065 |     ac_init_version=: ;;
 | 
|---|
| 1066 | 
 | 
|---|
| 1067 |   -with-* | --with-*)
 | 
|---|
| 1068 |     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 | 
|---|
| 1069 |     # Reject names that are not valid shell variable names.
 | 
|---|
| 1070 |     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 | 
|---|
| 1071 |       as_fn_error $? "invalid package name: $ac_useropt"
 | 
|---|
| 1072 |     ac_useropt_orig=$ac_useropt
 | 
|---|
| 1073 |     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 | 
|---|
| 1074 |     case $ac_user_opts in
 | 
|---|
| 1075 |       *"
 | 
|---|
| 1076 | "with_$ac_useropt"
 | 
|---|
| 1077 | "*) ;;
 | 
|---|
| 1078 |       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 | 
|---|
| 1079 |          ac_unrecognized_sep=', ';;
 | 
|---|
| 1080 |     esac
 | 
|---|
| 1081 |     eval with_$ac_useropt=\$ac_optarg ;;
 | 
|---|
| 1082 | 
 | 
|---|
| 1083 |   -without-* | --without-*)
 | 
|---|
| 1084 |     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 | 
|---|
| 1085 |     # Reject names that are not valid shell variable names.
 | 
|---|
| 1086 |     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 | 
|---|
| 1087 |       as_fn_error $? "invalid package name: $ac_useropt"
 | 
|---|
| 1088 |     ac_useropt_orig=$ac_useropt
 | 
|---|
| 1089 |     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 | 
|---|
| 1090 |     case $ac_user_opts in
 | 
|---|
| 1091 |       *"
 | 
|---|
| 1092 | "with_$ac_useropt"
 | 
|---|
| 1093 | "*) ;;
 | 
|---|
| 1094 |       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 | 
|---|
| 1095 |          ac_unrecognized_sep=', ';;
 | 
|---|
| 1096 |     esac
 | 
|---|
| 1097 |     eval with_$ac_useropt=no ;;
 | 
|---|
| 1098 | 
 | 
|---|
| 1099 |   --x)
 | 
|---|
| 1100 |     # Obsolete; use --with-x.
 | 
|---|
| 1101 |     with_x=yes ;;
 | 
|---|
| 1102 | 
 | 
|---|
| 1103 |   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 | 
|---|
| 1104 |   | --x-incl | --x-inc | --x-in | --x-i)
 | 
|---|
| 1105 |     ac_prev=x_includes ;;
 | 
|---|
| 1106 |   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 | 
|---|
| 1107 |   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 | 
|---|
| 1108 |     x_includes=$ac_optarg ;;
 | 
|---|
| 1109 | 
 | 
|---|
| 1110 |   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 | 
|---|
| 1111 |   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 | 
|---|
| 1112 |     ac_prev=x_libraries ;;
 | 
|---|
| 1113 |   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 | 
|---|
| 1114 |   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 | 
|---|
| 1115 |     x_libraries=$ac_optarg ;;
 | 
|---|
| 1116 | 
 | 
|---|
| 1117 |   -*) as_fn_error $? "unrecognized option: \`$ac_option'
 | 
|---|
| 1118 | Try \`$0 --help' for more information"
 | 
|---|
| 1119 |     ;;
 | 
|---|
| 1120 | 
 | 
|---|
| 1121 |   *=*)
 | 
|---|
| 1122 |     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 | 
|---|
| 1123 |     # Reject names that are not valid shell variable names.
 | 
|---|
| 1124 |     case $ac_envvar in #(
 | 
|---|
| 1125 |       '' | [0-9]* | *[!_$as_cr_alnum]* )
 | 
|---|
| 1126 |       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 | 
|---|
| 1127 |     esac
 | 
|---|
| 1128 |     eval $ac_envvar=\$ac_optarg
 | 
|---|
| 1129 |     export $ac_envvar ;;
 | 
|---|
| 1130 | 
 | 
|---|
| 1131 |   *)
 | 
|---|
| 1132 |     # FIXME: should be removed in autoconf 3.0.
 | 
|---|
| 1133 |     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 | 
|---|
| 1134 |     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 | 
|---|
| 1135 |       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 | 
|---|
| 1136 |     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 | 
|---|
| 1137 |     ;;
 | 
|---|
| 1138 | 
 | 
|---|
| 1139 |   esac
 | 
|---|
| 1140 | done
 | 
|---|
| 1141 | 
 | 
|---|
| 1142 | if test -n "$ac_prev"; then
 | 
|---|
| 1143 |   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 | 
|---|
| 1144 |   as_fn_error $? "missing argument to $ac_option"
 | 
|---|
| 1145 | fi
 | 
|---|
| 1146 | 
 | 
|---|
| 1147 | if test -n "$ac_unrecognized_opts"; then
 | 
|---|
| 1148 |   case $enable_option_checking in
 | 
|---|
| 1149 |     no) ;;
 | 
|---|
| 1150 |     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 | 
|---|
| 1151 |     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 | 
|---|
| 1152 |   esac
 | 
|---|
| 1153 | fi
 | 
|---|
| 1154 | 
 | 
|---|
| 1155 | # Check all directory arguments for consistency.
 | 
|---|
| 1156 | for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 | 
|---|
| 1157 |                 datadir sysconfdir sharedstatedir localstatedir includedir \
 | 
|---|
| 1158 |                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 | 
|---|
| 1159 |                 libdir localedir mandir
 | 
|---|
| 1160 | do
 | 
|---|
| 1161 |   eval ac_val=\$$ac_var
 | 
|---|
| 1162 |   # Remove trailing slashes.
 | 
|---|
| 1163 |   case $ac_val in
 | 
|---|
| 1164 |     */ )
 | 
|---|
| 1165 |       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 | 
|---|
| 1166 |       eval $ac_var=\$ac_val;;
 | 
|---|
| 1167 |   esac
 | 
|---|
| 1168 |   # Be sure to have absolute directory names.
 | 
|---|
| 1169 |   case $ac_val in
 | 
|---|
| 1170 |     [\\/$]* | ?:[\\/]* )  continue;;
 | 
|---|
| 1171 |     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 | 
|---|
| 1172 |   esac
 | 
|---|
| 1173 |   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 | 
|---|
| 1174 | done
 | 
|---|
| 1175 | 
 | 
|---|
| 1176 | # There might be people who depend on the old broken behavior: `$host'
 | 
|---|
| 1177 | # used to hold the argument of --host etc.
 | 
|---|
| 1178 | # FIXME: To remove some day.
 | 
|---|
| 1179 | build=$build_alias
 | 
|---|
| 1180 | host=$host_alias
 | 
|---|
| 1181 | target=$target_alias
 | 
|---|
| 1182 | 
 | 
|---|
| 1183 | # FIXME: To remove some day.
 | 
|---|
| 1184 | if test "x$host_alias" != x; then
 | 
|---|
| 1185 |   if test "x$build_alias" = x; then
 | 
|---|
| 1186 |     cross_compiling=maybe
 | 
|---|
| 1187 |     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 | 
|---|
| 1188 |     If a cross compiler is detected then cross compile mode will be used" >&2
 | 
|---|
| 1189 |   elif test "x$build_alias" != "x$host_alias"; then
 | 
|---|
| 1190 |     cross_compiling=yes
 | 
|---|
| 1191 |   fi
 | 
|---|
| 1192 | fi
 | 
|---|
| 1193 | 
 | 
|---|
| 1194 | ac_tool_prefix=
 | 
|---|
| 1195 | test -n "$host_alias" && ac_tool_prefix=$host_alias-
 | 
|---|
| 1196 | 
 | 
|---|
| 1197 | test "$silent" = yes && exec 6>/dev/null
 | 
|---|
| 1198 | 
 | 
|---|
| 1199 | 
 | 
|---|
| 1200 | ac_pwd=`pwd` && test -n "$ac_pwd" &&
 | 
|---|
| 1201 | ac_ls_di=`ls -di .` &&
 | 
|---|
| 1202 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 | 
|---|
| 1203 |   as_fn_error $? "working directory cannot be determined"
 | 
|---|
| 1204 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 | 
|---|
| 1205 |   as_fn_error $? "pwd does not report name of working directory"
 | 
|---|
| 1206 | 
 | 
|---|
| 1207 | 
 | 
|---|
| 1208 | # Find the source files, if location was not specified.
 | 
|---|
| 1209 | if test -z "$srcdir"; then
 | 
|---|
| 1210 |   ac_srcdir_defaulted=yes
 | 
|---|
| 1211 |   # Try the directory containing this script, then the parent directory.
 | 
|---|
| 1212 |   ac_confdir=`$as_dirname -- "$as_myself" ||
 | 
|---|
| 1213 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 | 
|---|
| 1214 |          X"$as_myself" : 'X\(//\)[^/]' \| \
 | 
|---|
| 1215 |          X"$as_myself" : 'X\(//\)$' \| \
 | 
|---|
| 1216 |          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 1217 | $as_echo X"$as_myself" |
 | 
|---|
| 1218 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 | 
|---|
| 1219 |             s//\1/
 | 
|---|
| 1220 |             q
 | 
|---|
| 1221 |           }
 | 
|---|
| 1222 |           /^X\(\/\/\)[^/].*/{
 | 
|---|
| 1223 |             s//\1/
 | 
|---|
| 1224 |             q
 | 
|---|
| 1225 |           }
 | 
|---|
| 1226 |           /^X\(\/\/\)$/{
 | 
|---|
| 1227 |             s//\1/
 | 
|---|
| 1228 |             q
 | 
|---|
| 1229 |           }
 | 
|---|
| 1230 |           /^X\(\/\).*/{
 | 
|---|
| 1231 |             s//\1/
 | 
|---|
| 1232 |             q
 | 
|---|
| 1233 |           }
 | 
|---|
| 1234 |           s/.*/./; q'`
 | 
|---|
| 1235 |   srcdir=$ac_confdir
 | 
|---|
| 1236 |   if test ! -r "$srcdir/$ac_unique_file"; then
 | 
|---|
| 1237 |     srcdir=..
 | 
|---|
| 1238 |   fi
 | 
|---|
| 1239 | else
 | 
|---|
| 1240 |   ac_srcdir_defaulted=no
 | 
|---|
| 1241 | fi
 | 
|---|
| 1242 | if test ! -r "$srcdir/$ac_unique_file"; then
 | 
|---|
| 1243 |   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 | 
|---|
| 1244 |   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 | 
|---|
| 1245 | fi
 | 
|---|
| 1246 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 | 
|---|
| 1247 | ac_abs_confdir=`(
 | 
|---|
| 1248 |         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 | 
|---|
| 1249 |         pwd)`
 | 
|---|
| 1250 | # When building in place, set srcdir=.
 | 
|---|
| 1251 | if test "$ac_abs_confdir" = "$ac_pwd"; then
 | 
|---|
| 1252 |   srcdir=.
 | 
|---|
| 1253 | fi
 | 
|---|
| 1254 | # Remove unnecessary trailing slashes from srcdir.
 | 
|---|
| 1255 | # Double slashes in file names in object file debugging info
 | 
|---|
| 1256 | # mess up M-x gdb in Emacs.
 | 
|---|
| 1257 | case $srcdir in
 | 
|---|
| 1258 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 | 
|---|
| 1259 | esac
 | 
|---|
| 1260 | for ac_var in $ac_precious_vars; do
 | 
|---|
| 1261 |   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 | 
|---|
| 1262 |   eval ac_env_${ac_var}_value=\$${ac_var}
 | 
|---|
| 1263 |   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 | 
|---|
| 1264 |   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 | 
|---|
| 1265 | done
 | 
|---|
| 1266 | 
 | 
|---|
| 1267 | #
 | 
|---|
| 1268 | # Report the --help message.
 | 
|---|
| 1269 | #
 | 
|---|
| 1270 | if test "$ac_init_help" = "long"; then
 | 
|---|
| 1271 |   # Omit some internal or obsolete options to make the list less imposing.
 | 
|---|
| 1272 |   # This message is too long to be a string in the A/UX 3.1 sh.
 | 
|---|
| 1273 |   cat <<_ACEOF
 | 
|---|
| 1274 | \`configure' configures cfa-cc 1.0.0 to adapt to many kinds of systems.
 | 
|---|
| 1275 | 
 | 
|---|
| 1276 | Usage: $0 [OPTION]... [VAR=VALUE]...
 | 
|---|
| 1277 | 
 | 
|---|
| 1278 | To assign environment variables (e.g., CC, CFLAGS...), specify them as
 | 
|---|
| 1279 | VAR=VALUE.  See below for descriptions of some of the useful variables.
 | 
|---|
| 1280 | 
 | 
|---|
| 1281 | Defaults for the options are specified in brackets.
 | 
|---|
| 1282 | 
 | 
|---|
| 1283 | Configuration:
 | 
|---|
| 1284 |   -h, --help              display this help and exit
 | 
|---|
| 1285 |       --help=short        display options specific to this package
 | 
|---|
| 1286 |       --help=recursive    display the short help of all the included packages
 | 
|---|
| 1287 |   -V, --version           display version information and exit
 | 
|---|
| 1288 |   -q, --quiet, --silent   do not print \`checking ...' messages
 | 
|---|
| 1289 |       --cache-file=FILE   cache test results in FILE [disabled]
 | 
|---|
| 1290 |   -C, --config-cache      alias for \`--cache-file=config.cache'
 | 
|---|
| 1291 |   -n, --no-create         do not create output files
 | 
|---|
| 1292 |       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 | 
|---|
| 1293 | 
 | 
|---|
| 1294 | Installation directories:
 | 
|---|
| 1295 |   --prefix=PREFIX         install architecture-independent files in PREFIX
 | 
|---|
| 1296 |                           [$ac_default_prefix]
 | 
|---|
| 1297 |   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 | 
|---|
| 1298 |                           [PREFIX]
 | 
|---|
| 1299 | 
 | 
|---|
| 1300 | By default, \`make install' will install all the files in
 | 
|---|
| 1301 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 | 
|---|
| 1302 | an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 | 
|---|
| 1303 | for instance \`--prefix=\$HOME'.
 | 
|---|
| 1304 | 
 | 
|---|
| 1305 | For better control, use the options below.
 | 
|---|
| 1306 | 
 | 
|---|
| 1307 | Fine tuning of the installation directories:
 | 
|---|
| 1308 |   --bindir=DIR            user executables [EPREFIX/bin]
 | 
|---|
| 1309 |   --sbindir=DIR           system admin executables [EPREFIX/sbin]
 | 
|---|
| 1310 |   --libexecdir=DIR        program executables [EPREFIX/libexec]
 | 
|---|
| 1311 |   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 | 
|---|
| 1312 |   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 | 
|---|
| 1313 |   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 | 
|---|
| 1314 |   --libdir=DIR            object code libraries [EPREFIX/lib]
 | 
|---|
| 1315 |   --includedir=DIR        C header files [PREFIX/include]
 | 
|---|
| 1316 |   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 | 
|---|
| 1317 |   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 | 
|---|
| 1318 |   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 | 
|---|
| 1319 |   --infodir=DIR           info documentation [DATAROOTDIR/info]
 | 
|---|
| 1320 |   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 | 
|---|
| 1321 |   --mandir=DIR            man documentation [DATAROOTDIR/man]
 | 
|---|
| 1322 |   --docdir=DIR            documentation root [DATAROOTDIR/doc/cfa-cc]
 | 
|---|
| 1323 |   --htmldir=DIR           html documentation [DOCDIR]
 | 
|---|
| 1324 |   --dvidir=DIR            dvi documentation [DOCDIR]
 | 
|---|
| 1325 |   --pdfdir=DIR            pdf documentation [DOCDIR]
 | 
|---|
| 1326 |   --psdir=DIR             ps documentation [DOCDIR]
 | 
|---|
| 1327 | _ACEOF
 | 
|---|
| 1328 | 
 | 
|---|
| 1329 |   cat <<\_ACEOF
 | 
|---|
| 1330 | 
 | 
|---|
| 1331 | Program names:
 | 
|---|
| 1332 |   --program-prefix=PREFIX            prepend PREFIX to installed program names
 | 
|---|
| 1333 |   --program-suffix=SUFFIX            append SUFFIX to installed program names
 | 
|---|
| 1334 |   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 | 
|---|
| 1335 | _ACEOF
 | 
|---|
| 1336 | fi
 | 
|---|
| 1337 | 
 | 
|---|
| 1338 | if test -n "$ac_init_help"; then
 | 
|---|
| 1339 |   case $ac_init_help in
 | 
|---|
| 1340 |      short | recursive ) echo "Configuration of cfa-cc 1.0.0:";;
 | 
|---|
| 1341 |    esac
 | 
|---|
| 1342 |   cat <<\_ACEOF
 | 
|---|
| 1343 | 
 | 
|---|
| 1344 | Optional Features:
 | 
|---|
| 1345 |   --disable-option-checking  ignore unrecognized --enable/--with options
 | 
|---|
| 1346 |   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 | 
|---|
| 1347 |   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 | 
|---|
| 1348 |   --disable-maintainer-mode  disable make rules and dependencies not useful
 | 
|---|
| 1349 |                           (and sometimes confusing) to the casual installer
 | 
|---|
| 1350 |   --disable-dependency-tracking  speeds up one-time build
 | 
|---|
| 1351 |   --enable-dependency-tracking   do not reject slow dependency extractors
 | 
|---|
| 1352 | 
 | 
|---|
| 1353 | Optional Packages:
 | 
|---|
| 1354 |   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 | 
|---|
| 1355 |   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 | 
|---|
| 1356 |   --with-backend-compiler=PROGRAM     PROGRAM that performs the final code compilation (must be gcc-compatible)
 | 
|---|
| 1357 | 
 | 
|---|
| 1358 | Some influential environment variables:
 | 
|---|
| 1359 |   CXX         C++ compiler command
 | 
|---|
| 1360 |   CXXFLAGS    C++ compiler flags
 | 
|---|
| 1361 |   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 | 
|---|
| 1362 |               nonstandard directory <lib dir>
 | 
|---|
| 1363 |   LIBS        libraries to pass to the linker, e.g. -l<library>
 | 
|---|
| 1364 |   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 | 
|---|
| 1365 |               you have headers in a nonstandard directory <include dir>
 | 
|---|
| 1366 |   CC          C compiler command
 | 
|---|
| 1367 |   CFLAGS      C compiler flags
 | 
|---|
| 1368 |   YACC        The `Yet Another Compiler Compiler' implementation to use.
 | 
|---|
| 1369 |               Defaults to the first program found out of: `bison -y', `byacc',
 | 
|---|
| 1370 |               `yacc'.
 | 
|---|
| 1371 |   YFLAGS      The list of arguments that will be passed by default to $YACC.
 | 
|---|
| 1372 |               This script will default YFLAGS to the empty string to avoid a
 | 
|---|
| 1373 |               default value of `-d' given by some make applications.
 | 
|---|
| 1374 |   CPP         C preprocessor
 | 
|---|
| 1375 | 
 | 
|---|
| 1376 | Use these variables to override the choices made by `configure' or to help
 | 
|---|
| 1377 | it to find libraries and programs with nonstandard names/locations.
 | 
|---|
| 1378 | 
 | 
|---|
| 1379 | Report bugs to <cforall@plg.uwaterloo.ca>.
 | 
|---|
| 1380 | _ACEOF
 | 
|---|
| 1381 | ac_status=$?
 | 
|---|
| 1382 | fi
 | 
|---|
| 1383 | 
 | 
|---|
| 1384 | if test "$ac_init_help" = "recursive"; then
 | 
|---|
| 1385 |   # If there are subdirs, report their specific --help.
 | 
|---|
| 1386 |   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 | 
|---|
| 1387 |     test -d "$ac_dir" ||
 | 
|---|
| 1388 |       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 | 
|---|
| 1389 |       continue
 | 
|---|
| 1390 |     ac_builddir=.
 | 
|---|
| 1391 | 
 | 
|---|
| 1392 | case "$ac_dir" in
 | 
|---|
| 1393 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 | 
|---|
| 1394 | *)
 | 
|---|
| 1395 |   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 | 
|---|
| 1396 |   # A ".." for each directory in $ac_dir_suffix.
 | 
|---|
| 1397 |   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 | 
|---|
| 1398 |   case $ac_top_builddir_sub in
 | 
|---|
| 1399 |   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 | 
|---|
| 1400 |   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 | 
|---|
| 1401 |   esac ;;
 | 
|---|
| 1402 | esac
 | 
|---|
| 1403 | ac_abs_top_builddir=$ac_pwd
 | 
|---|
| 1404 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
 | 
|---|
| 1405 | # for backward compatibility:
 | 
|---|
| 1406 | ac_top_builddir=$ac_top_build_prefix
 | 
|---|
| 1407 | 
 | 
|---|
| 1408 | case $srcdir in
 | 
|---|
| 1409 |   .)  # We are building in place.
 | 
|---|
| 1410 |     ac_srcdir=.
 | 
|---|
| 1411 |     ac_top_srcdir=$ac_top_builddir_sub
 | 
|---|
| 1412 |     ac_abs_top_srcdir=$ac_pwd ;;
 | 
|---|
| 1413 |   [\\/]* | ?:[\\/]* )  # Absolute name.
 | 
|---|
| 1414 |     ac_srcdir=$srcdir$ac_dir_suffix;
 | 
|---|
| 1415 |     ac_top_srcdir=$srcdir
 | 
|---|
| 1416 |     ac_abs_top_srcdir=$srcdir ;;
 | 
|---|
| 1417 |   *) # Relative name.
 | 
|---|
| 1418 |     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 | 
|---|
| 1419 |     ac_top_srcdir=$ac_top_build_prefix$srcdir
 | 
|---|
| 1420 |     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 | 
|---|
| 1421 | esac
 | 
|---|
| 1422 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 | 
|---|
| 1423 | 
 | 
|---|
| 1424 |     cd "$ac_dir" || { ac_status=$?; continue; }
 | 
|---|
| 1425 |     # Check for guested configure.
 | 
|---|
| 1426 |     if test -f "$ac_srcdir/configure.gnu"; then
 | 
|---|
| 1427 |       echo &&
 | 
|---|
| 1428 |       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 | 
|---|
| 1429 |     elif test -f "$ac_srcdir/configure"; then
 | 
|---|
| 1430 |       echo &&
 | 
|---|
| 1431 |       $SHELL "$ac_srcdir/configure" --help=recursive
 | 
|---|
| 1432 |     else
 | 
|---|
| 1433 |       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 | 
|---|
| 1434 |     fi || ac_status=$?
 | 
|---|
| 1435 |     cd "$ac_pwd" || { ac_status=$?; break; }
 | 
|---|
| 1436 |   done
 | 
|---|
| 1437 | fi
 | 
|---|
| 1438 | 
 | 
|---|
| 1439 | test -n "$ac_init_help" && exit $ac_status
 | 
|---|
| 1440 | if $ac_init_version; then
 | 
|---|
| 1441 |   cat <<\_ACEOF
 | 
|---|
| 1442 | cfa-cc configure 1.0.0
 | 
|---|
| 1443 | generated by GNU Autoconf 2.68
 | 
|---|
| 1444 | 
 | 
|---|
| 1445 | Copyright (C) 2010 Free Software Foundation, Inc.
 | 
|---|
| 1446 | This configure script is free software; the Free Software Foundation
 | 
|---|
| 1447 | gives unlimited permission to copy, distribute and modify it.
 | 
|---|
| 1448 | _ACEOF
 | 
|---|
| 1449 |   exit
 | 
|---|
| 1450 | fi
 | 
|---|
| 1451 | 
 | 
|---|
| 1452 | ## ------------------------ ##
 | 
|---|
| 1453 | ## Autoconf initialization. ##
 | 
|---|
| 1454 | ## ------------------------ ##
 | 
|---|
| 1455 | 
 | 
|---|
| 1456 | # ac_fn_cxx_try_compile LINENO
 | 
|---|
| 1457 | # ----------------------------
 | 
|---|
| 1458 | # Try to compile conftest.$ac_ext, and return whether this succeeded.
 | 
|---|
| 1459 | ac_fn_cxx_try_compile ()
 | 
|---|
| 1460 | {
 | 
|---|
| 1461 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1462 |   rm -f conftest.$ac_objext
 | 
|---|
| 1463 |   if { { ac_try="$ac_compile"
 | 
|---|
| 1464 | case "(($ac_try" in
 | 
|---|
| 1465 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 1466 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 1467 | esac
 | 
|---|
| 1468 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 1469 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 1470 |   (eval "$ac_compile") 2>conftest.err
 | 
|---|
| 1471 |   ac_status=$?
 | 
|---|
| 1472 |   if test -s conftest.err; then
 | 
|---|
| 1473 |     grep -v '^ *+' conftest.err >conftest.er1
 | 
|---|
| 1474 |     cat conftest.er1 >&5
 | 
|---|
| 1475 |     mv -f conftest.er1 conftest.err
 | 
|---|
| 1476 |   fi
 | 
|---|
| 1477 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 1478 |   test $ac_status = 0; } && {
 | 
|---|
| 1479 |          test -z "$ac_cxx_werror_flag" ||
 | 
|---|
| 1480 |          test ! -s conftest.err
 | 
|---|
| 1481 |        } && test -s conftest.$ac_objext; then :
 | 
|---|
| 1482 |   ac_retval=0
 | 
|---|
| 1483 | else
 | 
|---|
| 1484 |   $as_echo "$as_me: failed program was:" >&5
 | 
|---|
| 1485 | sed 's/^/| /' conftest.$ac_ext >&5
 | 
|---|
| 1486 | 
 | 
|---|
| 1487 |         ac_retval=1
 | 
|---|
| 1488 | fi
 | 
|---|
| 1489 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1490 |   as_fn_set_status $ac_retval
 | 
|---|
| 1491 | 
 | 
|---|
| 1492 | } # ac_fn_cxx_try_compile
 | 
|---|
| 1493 | 
 | 
|---|
| 1494 | # ac_fn_c_try_compile LINENO
 | 
|---|
| 1495 | # --------------------------
 | 
|---|
| 1496 | # Try to compile conftest.$ac_ext, and return whether this succeeded.
 | 
|---|
| 1497 | ac_fn_c_try_compile ()
 | 
|---|
| 1498 | {
 | 
|---|
| 1499 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1500 |   rm -f conftest.$ac_objext
 | 
|---|
| 1501 |   if { { ac_try="$ac_compile"
 | 
|---|
| 1502 | case "(($ac_try" in
 | 
|---|
| 1503 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 1504 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 1505 | esac
 | 
|---|
| 1506 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 1507 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 1508 |   (eval "$ac_compile") 2>conftest.err
 | 
|---|
| 1509 |   ac_status=$?
 | 
|---|
| 1510 |   if test -s conftest.err; then
 | 
|---|
| 1511 |     grep -v '^ *+' conftest.err >conftest.er1
 | 
|---|
| 1512 |     cat conftest.er1 >&5
 | 
|---|
| 1513 |     mv -f conftest.er1 conftest.err
 | 
|---|
| 1514 |   fi
 | 
|---|
| 1515 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 1516 |   test $ac_status = 0; } && {
 | 
|---|
| 1517 |          test -z "$ac_c_werror_flag" ||
 | 
|---|
| 1518 |          test ! -s conftest.err
 | 
|---|
| 1519 |        } && test -s conftest.$ac_objext; then :
 | 
|---|
| 1520 |   ac_retval=0
 | 
|---|
| 1521 | else
 | 
|---|
| 1522 |   $as_echo "$as_me: failed program was:" >&5
 | 
|---|
| 1523 | sed 's/^/| /' conftest.$ac_ext >&5
 | 
|---|
| 1524 | 
 | 
|---|
| 1525 |         ac_retval=1
 | 
|---|
| 1526 | fi
 | 
|---|
| 1527 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1528 |   as_fn_set_status $ac_retval
 | 
|---|
| 1529 | 
 | 
|---|
| 1530 | } # ac_fn_c_try_compile
 | 
|---|
| 1531 | 
 | 
|---|
| 1532 | # ac_fn_c_try_link LINENO
 | 
|---|
| 1533 | # -----------------------
 | 
|---|
| 1534 | # Try to link conftest.$ac_ext, and return whether this succeeded.
 | 
|---|
| 1535 | ac_fn_c_try_link ()
 | 
|---|
| 1536 | {
 | 
|---|
| 1537 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1538 |   rm -f conftest.$ac_objext conftest$ac_exeext
 | 
|---|
| 1539 |   if { { ac_try="$ac_link"
 | 
|---|
| 1540 | case "(($ac_try" in
 | 
|---|
| 1541 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 1542 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 1543 | esac
 | 
|---|
| 1544 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 1545 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 1546 |   (eval "$ac_link") 2>conftest.err
 | 
|---|
| 1547 |   ac_status=$?
 | 
|---|
| 1548 |   if test -s conftest.err; then
 | 
|---|
| 1549 |     grep -v '^ *+' conftest.err >conftest.er1
 | 
|---|
| 1550 |     cat conftest.er1 >&5
 | 
|---|
| 1551 |     mv -f conftest.er1 conftest.err
 | 
|---|
| 1552 |   fi
 | 
|---|
| 1553 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 1554 |   test $ac_status = 0; } && {
 | 
|---|
| 1555 |          test -z "$ac_c_werror_flag" ||
 | 
|---|
| 1556 |          test ! -s conftest.err
 | 
|---|
| 1557 |        } && test -s conftest$ac_exeext && {
 | 
|---|
| 1558 |          test "$cross_compiling" = yes ||
 | 
|---|
| 1559 |          $as_test_x conftest$ac_exeext
 | 
|---|
| 1560 |        }; then :
 | 
|---|
| 1561 |   ac_retval=0
 | 
|---|
| 1562 | else
 | 
|---|
| 1563 |   $as_echo "$as_me: failed program was:" >&5
 | 
|---|
| 1564 | sed 's/^/| /' conftest.$ac_ext >&5
 | 
|---|
| 1565 | 
 | 
|---|
| 1566 |         ac_retval=1
 | 
|---|
| 1567 | fi
 | 
|---|
| 1568 |   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 | 
|---|
| 1569 |   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 | 
|---|
| 1570 |   # interfere with the next link command; also delete a directory that is
 | 
|---|
| 1571 |   # left behind by Apple's compiler.  We do this before executing the actions.
 | 
|---|
| 1572 |   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 | 
|---|
| 1573 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1574 |   as_fn_set_status $ac_retval
 | 
|---|
| 1575 | 
 | 
|---|
| 1576 | } # ac_fn_c_try_link
 | 
|---|
| 1577 | 
 | 
|---|
| 1578 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 | 
|---|
| 1579 | # -------------------------------------------
 | 
|---|
| 1580 | # Tests whether TYPE exists after having included INCLUDES, setting cache
 | 
|---|
| 1581 | # variable VAR accordingly.
 | 
|---|
| 1582 | ac_fn_c_check_type ()
 | 
|---|
| 1583 | {
 | 
|---|
| 1584 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1585 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 | 
|---|
| 1586 | $as_echo_n "checking for $2... " >&6; }
 | 
|---|
| 1587 | if eval \${$3+:} false; then :
 | 
|---|
| 1588 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 1589 | else
 | 
|---|
| 1590 |   eval "$3=no"
 | 
|---|
| 1591 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 1592 | /* end confdefs.h.  */
 | 
|---|
| 1593 | $4
 | 
|---|
| 1594 | int
 | 
|---|
| 1595 | main ()
 | 
|---|
| 1596 | {
 | 
|---|
| 1597 | if (sizeof ($2))
 | 
|---|
| 1598 |          return 0;
 | 
|---|
| 1599 |   ;
 | 
|---|
| 1600 |   return 0;
 | 
|---|
| 1601 | }
 | 
|---|
| 1602 | _ACEOF
 | 
|---|
| 1603 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 1604 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 1605 | /* end confdefs.h.  */
 | 
|---|
| 1606 | $4
 | 
|---|
| 1607 | int
 | 
|---|
| 1608 | main ()
 | 
|---|
| 1609 | {
 | 
|---|
| 1610 | if (sizeof (($2)))
 | 
|---|
| 1611 |             return 0;
 | 
|---|
| 1612 |   ;
 | 
|---|
| 1613 |   return 0;
 | 
|---|
| 1614 | }
 | 
|---|
| 1615 | _ACEOF
 | 
|---|
| 1616 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 1617 | 
 | 
|---|
| 1618 | else
 | 
|---|
| 1619 |   eval "$3=yes"
 | 
|---|
| 1620 | fi
 | 
|---|
| 1621 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 1622 | fi
 | 
|---|
| 1623 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 1624 | fi
 | 
|---|
| 1625 | eval ac_res=\$$3
 | 
|---|
| 1626 |                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 | 
|---|
| 1627 | $as_echo "$ac_res" >&6; }
 | 
|---|
| 1628 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1629 | 
 | 
|---|
| 1630 | } # ac_fn_c_check_type
 | 
|---|
| 1631 | 
 | 
|---|
| 1632 | # ac_fn_c_try_cpp LINENO
 | 
|---|
| 1633 | # ----------------------
 | 
|---|
| 1634 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 | 
|---|
| 1635 | ac_fn_c_try_cpp ()
 | 
|---|
| 1636 | {
 | 
|---|
| 1637 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1638 |   if { { ac_try="$ac_cpp conftest.$ac_ext"
 | 
|---|
| 1639 | case "(($ac_try" in
 | 
|---|
| 1640 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 1641 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 1642 | esac
 | 
|---|
| 1643 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 1644 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 1645 |   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 | 
|---|
| 1646 |   ac_status=$?
 | 
|---|
| 1647 |   if test -s conftest.err; then
 | 
|---|
| 1648 |     grep -v '^ *+' conftest.err >conftest.er1
 | 
|---|
| 1649 |     cat conftest.er1 >&5
 | 
|---|
| 1650 |     mv -f conftest.er1 conftest.err
 | 
|---|
| 1651 |   fi
 | 
|---|
| 1652 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 1653 |   test $ac_status = 0; } > conftest.i && {
 | 
|---|
| 1654 |          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 | 
|---|
| 1655 |          test ! -s conftest.err
 | 
|---|
| 1656 |        }; then :
 | 
|---|
| 1657 |   ac_retval=0
 | 
|---|
| 1658 | else
 | 
|---|
| 1659 |   $as_echo "$as_me: failed program was:" >&5
 | 
|---|
| 1660 | sed 's/^/| /' conftest.$ac_ext >&5
 | 
|---|
| 1661 | 
 | 
|---|
| 1662 |     ac_retval=1
 | 
|---|
| 1663 | fi
 | 
|---|
| 1664 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1665 |   as_fn_set_status $ac_retval
 | 
|---|
| 1666 | 
 | 
|---|
| 1667 | } # ac_fn_c_try_cpp
 | 
|---|
| 1668 | 
 | 
|---|
| 1669 | # ac_fn_c_try_run LINENO
 | 
|---|
| 1670 | # ----------------------
 | 
|---|
| 1671 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 | 
|---|
| 1672 | # that executables *can* be run.
 | 
|---|
| 1673 | ac_fn_c_try_run ()
 | 
|---|
| 1674 | {
 | 
|---|
| 1675 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1676 |   if { { ac_try="$ac_link"
 | 
|---|
| 1677 | case "(($ac_try" in
 | 
|---|
| 1678 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 1679 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 1680 | esac
 | 
|---|
| 1681 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 1682 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 1683 |   (eval "$ac_link") 2>&5
 | 
|---|
| 1684 |   ac_status=$?
 | 
|---|
| 1685 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 1686 |   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 | 
|---|
| 1687 |   { { case "(($ac_try" in
 | 
|---|
| 1688 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 1689 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 1690 | esac
 | 
|---|
| 1691 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 1692 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 1693 |   (eval "$ac_try") 2>&5
 | 
|---|
| 1694 |   ac_status=$?
 | 
|---|
| 1695 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 1696 |   test $ac_status = 0; }; }; then :
 | 
|---|
| 1697 |   ac_retval=0
 | 
|---|
| 1698 | else
 | 
|---|
| 1699 |   $as_echo "$as_me: program exited with status $ac_status" >&5
 | 
|---|
| 1700 |        $as_echo "$as_me: failed program was:" >&5
 | 
|---|
| 1701 | sed 's/^/| /' conftest.$ac_ext >&5
 | 
|---|
| 1702 | 
 | 
|---|
| 1703 |        ac_retval=$ac_status
 | 
|---|
| 1704 | fi
 | 
|---|
| 1705 |   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 | 
|---|
| 1706 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1707 |   as_fn_set_status $ac_retval
 | 
|---|
| 1708 | 
 | 
|---|
| 1709 | } # ac_fn_c_try_run
 | 
|---|
| 1710 | 
 | 
|---|
| 1711 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 | 
|---|
| 1712 | # -------------------------------------------------------
 | 
|---|
| 1713 | # Tests whether HEADER exists and can be compiled using the include files in
 | 
|---|
| 1714 | # INCLUDES, setting the cache variable VAR accordingly.
 | 
|---|
| 1715 | ac_fn_c_check_header_compile ()
 | 
|---|
| 1716 | {
 | 
|---|
| 1717 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1718 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 | 
|---|
| 1719 | $as_echo_n "checking for $2... " >&6; }
 | 
|---|
| 1720 | if eval \${$3+:} false; then :
 | 
|---|
| 1721 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 1722 | else
 | 
|---|
| 1723 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 1724 | /* end confdefs.h.  */
 | 
|---|
| 1725 | $4
 | 
|---|
| 1726 | #include <$2>
 | 
|---|
| 1727 | _ACEOF
 | 
|---|
| 1728 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 1729 |   eval "$3=yes"
 | 
|---|
| 1730 | else
 | 
|---|
| 1731 |   eval "$3=no"
 | 
|---|
| 1732 | fi
 | 
|---|
| 1733 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 1734 | fi
 | 
|---|
| 1735 | eval ac_res=\$$3
 | 
|---|
| 1736 |                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 | 
|---|
| 1737 | $as_echo "$ac_res" >&6; }
 | 
|---|
| 1738 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1739 | 
 | 
|---|
| 1740 | } # ac_fn_c_check_header_compile
 | 
|---|
| 1741 | 
 | 
|---|
| 1742 | # ac_fn_c_check_func LINENO FUNC VAR
 | 
|---|
| 1743 | # ----------------------------------
 | 
|---|
| 1744 | # Tests whether FUNC exists, setting the cache variable VAR accordingly
 | 
|---|
| 1745 | ac_fn_c_check_func ()
 | 
|---|
| 1746 | {
 | 
|---|
| 1747 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1748 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 | 
|---|
| 1749 | $as_echo_n "checking for $2... " >&6; }
 | 
|---|
| 1750 | if eval \${$3+:} false; then :
 | 
|---|
| 1751 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 1752 | else
 | 
|---|
| 1753 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 1754 | /* end confdefs.h.  */
 | 
|---|
| 1755 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 | 
|---|
| 1756 |    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 | 
|---|
| 1757 | #define $2 innocuous_$2
 | 
|---|
| 1758 | 
 | 
|---|
| 1759 | /* System header to define __stub macros and hopefully few prototypes,
 | 
|---|
| 1760 |     which can conflict with char $2 (); below.
 | 
|---|
| 1761 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 | 
|---|
| 1762 |     <limits.h> exists even on freestanding compilers.  */
 | 
|---|
| 1763 | 
 | 
|---|
| 1764 | #ifdef __STDC__
 | 
|---|
| 1765 | # include <limits.h>
 | 
|---|
| 1766 | #else
 | 
|---|
| 1767 | # include <assert.h>
 | 
|---|
| 1768 | #endif
 | 
|---|
| 1769 | 
 | 
|---|
| 1770 | #undef $2
 | 
|---|
| 1771 | 
 | 
|---|
| 1772 | /* Override any GCC internal prototype to avoid an error.
 | 
|---|
| 1773 |    Use char because int might match the return type of a GCC
 | 
|---|
| 1774 |    builtin and then its argument prototype would still apply.  */
 | 
|---|
| 1775 | #ifdef __cplusplus
 | 
|---|
| 1776 | extern "C"
 | 
|---|
| 1777 | #endif
 | 
|---|
| 1778 | char $2 ();
 | 
|---|
| 1779 | /* The GNU C library defines this for functions which it implements
 | 
|---|
| 1780 |     to always fail with ENOSYS.  Some functions are actually named
 | 
|---|
| 1781 |     something starting with __ and the normal name is an alias.  */
 | 
|---|
| 1782 | #if defined __stub_$2 || defined __stub___$2
 | 
|---|
| 1783 | choke me
 | 
|---|
| 1784 | #endif
 | 
|---|
| 1785 | 
 | 
|---|
| 1786 | int
 | 
|---|
| 1787 | main ()
 | 
|---|
| 1788 | {
 | 
|---|
| 1789 | return $2 ();
 | 
|---|
| 1790 |   ;
 | 
|---|
| 1791 |   return 0;
 | 
|---|
| 1792 | }
 | 
|---|
| 1793 | _ACEOF
 | 
|---|
| 1794 | if ac_fn_c_try_link "$LINENO"; then :
 | 
|---|
| 1795 |   eval "$3=yes"
 | 
|---|
| 1796 | else
 | 
|---|
| 1797 |   eval "$3=no"
 | 
|---|
| 1798 | fi
 | 
|---|
| 1799 | rm -f core conftest.err conftest.$ac_objext \
 | 
|---|
| 1800 |     conftest$ac_exeext conftest.$ac_ext
 | 
|---|
| 1801 | fi
 | 
|---|
| 1802 | eval ac_res=\$$3
 | 
|---|
| 1803 |                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 | 
|---|
| 1804 | $as_echo "$ac_res" >&6; }
 | 
|---|
| 1805 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1806 | 
 | 
|---|
| 1807 | } # ac_fn_c_check_func
 | 
|---|
| 1808 | 
 | 
|---|
| 1809 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 | 
|---|
| 1810 | # -------------------------------------------------------
 | 
|---|
| 1811 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using
 | 
|---|
| 1812 | # the include files in INCLUDES and setting the cache variable VAR
 | 
|---|
| 1813 | # accordingly.
 | 
|---|
| 1814 | ac_fn_c_check_header_mongrel ()
 | 
|---|
| 1815 | {
 | 
|---|
| 1816 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1817 |   if eval \${$3+:} false; then :
 | 
|---|
| 1818 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 | 
|---|
| 1819 | $as_echo_n "checking for $2... " >&6; }
 | 
|---|
| 1820 | if eval \${$3+:} false; then :
 | 
|---|
| 1821 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 1822 | fi
 | 
|---|
| 1823 | eval ac_res=\$$3
 | 
|---|
| 1824 |                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 | 
|---|
| 1825 | $as_echo "$ac_res" >&6; }
 | 
|---|
| 1826 | else
 | 
|---|
| 1827 |   # Is the header compilable?
 | 
|---|
| 1828 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 | 
|---|
| 1829 | $as_echo_n "checking $2 usability... " >&6; }
 | 
|---|
| 1830 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 1831 | /* end confdefs.h.  */
 | 
|---|
| 1832 | $4
 | 
|---|
| 1833 | #include <$2>
 | 
|---|
| 1834 | _ACEOF
 | 
|---|
| 1835 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 1836 |   ac_header_compiler=yes
 | 
|---|
| 1837 | else
 | 
|---|
| 1838 |   ac_header_compiler=no
 | 
|---|
| 1839 | fi
 | 
|---|
| 1840 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 1841 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 | 
|---|
| 1842 | $as_echo "$ac_header_compiler" >&6; }
 | 
|---|
| 1843 | 
 | 
|---|
| 1844 | # Is the header present?
 | 
|---|
| 1845 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 | 
|---|
| 1846 | $as_echo_n "checking $2 presence... " >&6; }
 | 
|---|
| 1847 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 1848 | /* end confdefs.h.  */
 | 
|---|
| 1849 | #include <$2>
 | 
|---|
| 1850 | _ACEOF
 | 
|---|
| 1851 | if ac_fn_c_try_cpp "$LINENO"; then :
 | 
|---|
| 1852 |   ac_header_preproc=yes
 | 
|---|
| 1853 | else
 | 
|---|
| 1854 |   ac_header_preproc=no
 | 
|---|
| 1855 | fi
 | 
|---|
| 1856 | rm -f conftest.err conftest.i conftest.$ac_ext
 | 
|---|
| 1857 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 | 
|---|
| 1858 | $as_echo "$ac_header_preproc" >&6; }
 | 
|---|
| 1859 | 
 | 
|---|
| 1860 | # So?  What about this header?
 | 
|---|
| 1861 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 | 
|---|
| 1862 |   yes:no: )
 | 
|---|
| 1863 |     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 | 
|---|
| 1864 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 | 
|---|
| 1865 |     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 | 
|---|
| 1866 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 | 
|---|
| 1867 |     ;;
 | 
|---|
| 1868 |   no:yes:* )
 | 
|---|
| 1869 |     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 | 
|---|
| 1870 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 | 
|---|
| 1871 |     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 | 
|---|
| 1872 | $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 | 
|---|
| 1873 |     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 | 
|---|
| 1874 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 | 
|---|
| 1875 |     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 | 
|---|
| 1876 | $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 | 
|---|
| 1877 |     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 | 
|---|
| 1878 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 | 
|---|
| 1879 | ( $as_echo "## --------------------------------------- ##
 | 
|---|
| 1880 | ## Report this to cforall@plg.uwaterloo.ca ##
 | 
|---|
| 1881 | ## --------------------------------------- ##"
 | 
|---|
| 1882 |      ) | sed "s/^/$as_me: WARNING:     /" >&2
 | 
|---|
| 1883 |     ;;
 | 
|---|
| 1884 | esac
 | 
|---|
| 1885 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 | 
|---|
| 1886 | $as_echo_n "checking for $2... " >&6; }
 | 
|---|
| 1887 | if eval \${$3+:} false; then :
 | 
|---|
| 1888 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 1889 | else
 | 
|---|
| 1890 |   eval "$3=\$ac_header_compiler"
 | 
|---|
| 1891 | fi
 | 
|---|
| 1892 | eval ac_res=\$$3
 | 
|---|
| 1893 |                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 | 
|---|
| 1894 | $as_echo "$ac_res" >&6; }
 | 
|---|
| 1895 | fi
 | 
|---|
| 1896 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1897 | 
 | 
|---|
| 1898 | } # ac_fn_c_check_header_mongrel
 | 
|---|
| 1899 | 
 | 
|---|
| 1900 | # ac_fn_c_find_intX_t LINENO BITS VAR
 | 
|---|
| 1901 | # -----------------------------------
 | 
|---|
| 1902 | # Finds a signed integer type with width BITS, setting cache variable VAR
 | 
|---|
| 1903 | # accordingly.
 | 
|---|
| 1904 | ac_fn_c_find_intX_t ()
 | 
|---|
| 1905 | {
 | 
|---|
| 1906 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1907 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
 | 
|---|
| 1908 | $as_echo_n "checking for int$2_t... " >&6; }
 | 
|---|
| 1909 | if eval \${$3+:} false; then :
 | 
|---|
| 1910 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 1911 | else
 | 
|---|
| 1912 |   eval "$3=no"
 | 
|---|
| 1913 |      # Order is important - never check a type that is potentially smaller
 | 
|---|
| 1914 |      # than half of the expected target width.
 | 
|---|
| 1915 |      for ac_type in int$2_t 'int' 'long int' \
 | 
|---|
| 1916 |          'long long int' 'short int' 'signed char'; do
 | 
|---|
| 1917 |        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 1918 | /* end confdefs.h.  */
 | 
|---|
| 1919 | $ac_includes_default
 | 
|---|
| 1920 |              enum { N = $2 / 2 - 1 };
 | 
|---|
| 1921 | int
 | 
|---|
| 1922 | main ()
 | 
|---|
| 1923 | {
 | 
|---|
| 1924 | static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
 | 
|---|
| 1925 | test_array [0] = 0
 | 
|---|
| 1926 | 
 | 
|---|
| 1927 |   ;
 | 
|---|
| 1928 |   return 0;
 | 
|---|
| 1929 | }
 | 
|---|
| 1930 | _ACEOF
 | 
|---|
| 1931 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 1932 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 1933 | /* end confdefs.h.  */
 | 
|---|
| 1934 | $ac_includes_default
 | 
|---|
| 1935 |                 enum { N = $2 / 2 - 1 };
 | 
|---|
| 1936 | int
 | 
|---|
| 1937 | main ()
 | 
|---|
| 1938 | {
 | 
|---|
| 1939 | static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
 | 
|---|
| 1940 |                  < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
 | 
|---|
| 1941 | test_array [0] = 0
 | 
|---|
| 1942 | 
 | 
|---|
| 1943 |   ;
 | 
|---|
| 1944 |   return 0;
 | 
|---|
| 1945 | }
 | 
|---|
| 1946 | _ACEOF
 | 
|---|
| 1947 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 1948 | 
 | 
|---|
| 1949 | else
 | 
|---|
| 1950 |   case $ac_type in #(
 | 
|---|
| 1951 |   int$2_t) :
 | 
|---|
| 1952 |     eval "$3=yes" ;; #(
 | 
|---|
| 1953 |   *) :
 | 
|---|
| 1954 |     eval "$3=\$ac_type" ;;
 | 
|---|
| 1955 | esac
 | 
|---|
| 1956 | fi
 | 
|---|
| 1957 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 1958 | fi
 | 
|---|
| 1959 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 1960 |        if eval test \"x\$"$3"\" = x"no"; then :
 | 
|---|
| 1961 | 
 | 
|---|
| 1962 | else
 | 
|---|
| 1963 |   break
 | 
|---|
| 1964 | fi
 | 
|---|
| 1965 |      done
 | 
|---|
| 1966 | fi
 | 
|---|
| 1967 | eval ac_res=\$$3
 | 
|---|
| 1968 |                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 | 
|---|
| 1969 | $as_echo "$ac_res" >&6; }
 | 
|---|
| 1970 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 1971 | 
 | 
|---|
| 1972 | } # ac_fn_c_find_intX_t
 | 
|---|
| 1973 | 
 | 
|---|
| 1974 | # ac_fn_c_find_uintX_t LINENO BITS VAR
 | 
|---|
| 1975 | # ------------------------------------
 | 
|---|
| 1976 | # Finds an unsigned integer type with width BITS, setting cache variable VAR
 | 
|---|
| 1977 | # accordingly.
 | 
|---|
| 1978 | ac_fn_c_find_uintX_t ()
 | 
|---|
| 1979 | {
 | 
|---|
| 1980 |   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 1981 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
 | 
|---|
| 1982 | $as_echo_n "checking for uint$2_t... " >&6; }
 | 
|---|
| 1983 | if eval \${$3+:} false; then :
 | 
|---|
| 1984 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 1985 | else
 | 
|---|
| 1986 |   eval "$3=no"
 | 
|---|
| 1987 |      # Order is important - never check a type that is potentially smaller
 | 
|---|
| 1988 |      # than half of the expected target width.
 | 
|---|
| 1989 |      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
 | 
|---|
| 1990 |          'unsigned long long int' 'unsigned short int' 'unsigned char'; do
 | 
|---|
| 1991 |        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 1992 | /* end confdefs.h.  */
 | 
|---|
| 1993 | $ac_includes_default
 | 
|---|
| 1994 | int
 | 
|---|
| 1995 | main ()
 | 
|---|
| 1996 | {
 | 
|---|
| 1997 | static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
 | 
|---|
| 1998 | test_array [0] = 0
 | 
|---|
| 1999 | 
 | 
|---|
| 2000 |   ;
 | 
|---|
| 2001 |   return 0;
 | 
|---|
| 2002 | }
 | 
|---|
| 2003 | _ACEOF
 | 
|---|
| 2004 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 2005 |   case $ac_type in #(
 | 
|---|
| 2006 |   uint$2_t) :
 | 
|---|
| 2007 |     eval "$3=yes" ;; #(
 | 
|---|
| 2008 |   *) :
 | 
|---|
| 2009 |     eval "$3=\$ac_type" ;;
 | 
|---|
| 2010 | esac
 | 
|---|
| 2011 | fi
 | 
|---|
| 2012 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 2013 |        if eval test \"x\$"$3"\" = x"no"; then :
 | 
|---|
| 2014 | 
 | 
|---|
| 2015 | else
 | 
|---|
| 2016 |   break
 | 
|---|
| 2017 | fi
 | 
|---|
| 2018 |      done
 | 
|---|
| 2019 | fi
 | 
|---|
| 2020 | eval ac_res=\$$3
 | 
|---|
| 2021 |                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 | 
|---|
| 2022 | $as_echo "$ac_res" >&6; }
 | 
|---|
| 2023 |   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 | 
|---|
| 2024 | 
 | 
|---|
| 2025 | } # ac_fn_c_find_uintX_t
 | 
|---|
| 2026 | cat >config.log <<_ACEOF
 | 
|---|
| 2027 | This file contains any messages produced by compilers while
 | 
|---|
| 2028 | running configure, to aid debugging if configure makes a mistake.
 | 
|---|
| 2029 | 
 | 
|---|
| 2030 | It was created by cfa-cc $as_me 1.0.0, which was
 | 
|---|
| 2031 | generated by GNU Autoconf 2.68.  Invocation command line was
 | 
|---|
| 2032 | 
 | 
|---|
| 2033 |   $ $0 $@
 | 
|---|
| 2034 | 
 | 
|---|
| 2035 | _ACEOF
 | 
|---|
| 2036 | exec 5>>config.log
 | 
|---|
| 2037 | {
 | 
|---|
| 2038 | cat <<_ASUNAME
 | 
|---|
| 2039 | ## --------- ##
 | 
|---|
| 2040 | ## Platform. ##
 | 
|---|
| 2041 | ## --------- ##
 | 
|---|
| 2042 | 
 | 
|---|
| 2043 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 | 
|---|
| 2044 | uname -m = `(uname -m) 2>/dev/null || echo unknown`
 | 
|---|
| 2045 | uname -r = `(uname -r) 2>/dev/null || echo unknown`
 | 
|---|
| 2046 | uname -s = `(uname -s) 2>/dev/null || echo unknown`
 | 
|---|
| 2047 | uname -v = `(uname -v) 2>/dev/null || echo unknown`
 | 
|---|
| 2048 | 
 | 
|---|
| 2049 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 | 
|---|
| 2050 | /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 | 
|---|
| 2051 | 
 | 
|---|
| 2052 | /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 | 
|---|
| 2053 | /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 | 
|---|
| 2054 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 | 
|---|
| 2055 | /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 | 
|---|
| 2056 | /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 | 
|---|
| 2057 | /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 | 
|---|
| 2058 | /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 | 
|---|
| 2059 | 
 | 
|---|
| 2060 | _ASUNAME
 | 
|---|
| 2061 | 
 | 
|---|
| 2062 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 2063 | for as_dir in $PATH
 | 
|---|
| 2064 | do
 | 
|---|
| 2065 |   IFS=$as_save_IFS
 | 
|---|
| 2066 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 2067 |     $as_echo "PATH: $as_dir"
 | 
|---|
| 2068 |   done
 | 
|---|
| 2069 | IFS=$as_save_IFS
 | 
|---|
| 2070 | 
 | 
|---|
| 2071 | } >&5
 | 
|---|
| 2072 | 
 | 
|---|
| 2073 | cat >&5 <<_ACEOF
 | 
|---|
| 2074 | 
 | 
|---|
| 2075 | 
 | 
|---|
| 2076 | ## ----------- ##
 | 
|---|
| 2077 | ## Core tests. ##
 | 
|---|
| 2078 | ## ----------- ##
 | 
|---|
| 2079 | 
 | 
|---|
| 2080 | _ACEOF
 | 
|---|
| 2081 | 
 | 
|---|
| 2082 | 
 | 
|---|
| 2083 | # Keep a trace of the command line.
 | 
|---|
| 2084 | # Strip out --no-create and --no-recursion so they do not pile up.
 | 
|---|
| 2085 | # Strip out --silent because we don't want to record it for future runs.
 | 
|---|
| 2086 | # Also quote any args containing shell meta-characters.
 | 
|---|
| 2087 | # Make two passes to allow for proper duplicate-argument suppression.
 | 
|---|
| 2088 | ac_configure_args=
 | 
|---|
| 2089 | ac_configure_args0=
 | 
|---|
| 2090 | ac_configure_args1=
 | 
|---|
| 2091 | ac_must_keep_next=false
 | 
|---|
| 2092 | for ac_pass in 1 2
 | 
|---|
| 2093 | do
 | 
|---|
| 2094 |   for ac_arg
 | 
|---|
| 2095 |   do
 | 
|---|
| 2096 |     case $ac_arg in
 | 
|---|
| 2097 |     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 | 
|---|
| 2098 |     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 | 
|---|
| 2099 |     | -silent | --silent | --silen | --sile | --sil)
 | 
|---|
| 2100 |       continue ;;
 | 
|---|
| 2101 |     *\'*)
 | 
|---|
| 2102 |       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 | 
|---|
| 2103 |     esac
 | 
|---|
| 2104 |     case $ac_pass in
 | 
|---|
| 2105 |     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 | 
|---|
| 2106 |     2)
 | 
|---|
| 2107 |       as_fn_append ac_configure_args1 " '$ac_arg'"
 | 
|---|
| 2108 |       if test $ac_must_keep_next = true; then
 | 
|---|
| 2109 |         ac_must_keep_next=false # Got value, back to normal.
 | 
|---|
| 2110 |       else
 | 
|---|
| 2111 |         case $ac_arg in
 | 
|---|
| 2112 |           *=* | --config-cache | -C | -disable-* | --disable-* \
 | 
|---|
| 2113 |           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 | 
|---|
| 2114 |           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 | 
|---|
| 2115 |           | -with-* | --with-* | -without-* | --without-* | --x)
 | 
|---|
| 2116 |             case "$ac_configure_args0 " in
 | 
|---|
| 2117 |               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 | 
|---|
| 2118 |             esac
 | 
|---|
| 2119 |             ;;
 | 
|---|
| 2120 |           -* ) ac_must_keep_next=true ;;
 | 
|---|
| 2121 |         esac
 | 
|---|
| 2122 |       fi
 | 
|---|
| 2123 |       as_fn_append ac_configure_args " '$ac_arg'"
 | 
|---|
| 2124 |       ;;
 | 
|---|
| 2125 |     esac
 | 
|---|
| 2126 |   done
 | 
|---|
| 2127 | done
 | 
|---|
| 2128 | { ac_configure_args0=; unset ac_configure_args0;}
 | 
|---|
| 2129 | { ac_configure_args1=; unset ac_configure_args1;}
 | 
|---|
| 2130 | 
 | 
|---|
| 2131 | # When interrupted or exit'd, cleanup temporary files, and complete
 | 
|---|
| 2132 | # config.log.  We remove comments because anyway the quotes in there
 | 
|---|
| 2133 | # would cause problems or look ugly.
 | 
|---|
| 2134 | # WARNING: Use '\'' to represent an apostrophe within the trap.
 | 
|---|
| 2135 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 | 
|---|
| 2136 | trap 'exit_status=$?
 | 
|---|
| 2137 |   # Save into config.log some information that might help in debugging.
 | 
|---|
| 2138 |   {
 | 
|---|
| 2139 |     echo
 | 
|---|
| 2140 | 
 | 
|---|
| 2141 |     $as_echo "## ---------------- ##
 | 
|---|
| 2142 | ## Cache variables. ##
 | 
|---|
| 2143 | ## ---------------- ##"
 | 
|---|
| 2144 |     echo
 | 
|---|
| 2145 |     # The following way of writing the cache mishandles newlines in values,
 | 
|---|
| 2146 | (
 | 
|---|
| 2147 |   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 | 
|---|
| 2148 |     eval ac_val=\$$ac_var
 | 
|---|
| 2149 |     case $ac_val in #(
 | 
|---|
| 2150 |     *${as_nl}*)
 | 
|---|
| 2151 |       case $ac_var in #(
 | 
|---|
| 2152 |       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 | 
|---|
| 2153 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 | 
|---|
| 2154 |       esac
 | 
|---|
| 2155 |       case $ac_var in #(
 | 
|---|
| 2156 |       _ | IFS | as_nl) ;; #(
 | 
|---|
| 2157 |       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 | 
|---|
| 2158 |       *) { eval $ac_var=; unset $ac_var;} ;;
 | 
|---|
| 2159 |       esac ;;
 | 
|---|
| 2160 |     esac
 | 
|---|
| 2161 |   done
 | 
|---|
| 2162 |   (set) 2>&1 |
 | 
|---|
| 2163 |     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 | 
|---|
| 2164 |     *${as_nl}ac_space=\ *)
 | 
|---|
| 2165 |       sed -n \
 | 
|---|
| 2166 |         "s/'\''/'\''\\\\'\'''\''/g;
 | 
|---|
| 2167 |           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 | 
|---|
| 2168 |       ;; #(
 | 
|---|
| 2169 |     *)
 | 
|---|
| 2170 |       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 | 
|---|
| 2171 |       ;;
 | 
|---|
| 2172 |     esac |
 | 
|---|
| 2173 |     sort
 | 
|---|
| 2174 | )
 | 
|---|
| 2175 |     echo
 | 
|---|
| 2176 | 
 | 
|---|
| 2177 |     $as_echo "## ----------------- ##
 | 
|---|
| 2178 | ## Output variables. ##
 | 
|---|
| 2179 | ## ----------------- ##"
 | 
|---|
| 2180 |     echo
 | 
|---|
| 2181 |     for ac_var in $ac_subst_vars
 | 
|---|
| 2182 |     do
 | 
|---|
| 2183 |       eval ac_val=\$$ac_var
 | 
|---|
| 2184 |       case $ac_val in
 | 
|---|
| 2185 |       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 | 
|---|
| 2186 |       esac
 | 
|---|
| 2187 |       $as_echo "$ac_var='\''$ac_val'\''"
 | 
|---|
| 2188 |     done | sort
 | 
|---|
| 2189 |     echo
 | 
|---|
| 2190 | 
 | 
|---|
| 2191 |     if test -n "$ac_subst_files"; then
 | 
|---|
| 2192 |       $as_echo "## ------------------- ##
 | 
|---|
| 2193 | ## File substitutions. ##
 | 
|---|
| 2194 | ## ------------------- ##"
 | 
|---|
| 2195 |       echo
 | 
|---|
| 2196 |       for ac_var in $ac_subst_files
 | 
|---|
| 2197 |       do
 | 
|---|
| 2198 |         eval ac_val=\$$ac_var
 | 
|---|
| 2199 |         case $ac_val in
 | 
|---|
| 2200 |         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 | 
|---|
| 2201 |         esac
 | 
|---|
| 2202 |         $as_echo "$ac_var='\''$ac_val'\''"
 | 
|---|
| 2203 |       done | sort
 | 
|---|
| 2204 |       echo
 | 
|---|
| 2205 |     fi
 | 
|---|
| 2206 | 
 | 
|---|
| 2207 |     if test -s confdefs.h; then
 | 
|---|
| 2208 |       $as_echo "## ----------- ##
 | 
|---|
| 2209 | ## confdefs.h. ##
 | 
|---|
| 2210 | ## ----------- ##"
 | 
|---|
| 2211 |       echo
 | 
|---|
| 2212 |       cat confdefs.h
 | 
|---|
| 2213 |       echo
 | 
|---|
| 2214 |     fi
 | 
|---|
| 2215 |     test "$ac_signal" != 0 &&
 | 
|---|
| 2216 |       $as_echo "$as_me: caught signal $ac_signal"
 | 
|---|
| 2217 |     $as_echo "$as_me: exit $exit_status"
 | 
|---|
| 2218 |   } >&5
 | 
|---|
| 2219 |   rm -f core *.core core.conftest.* &&
 | 
|---|
| 2220 |     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 | 
|---|
| 2221 |     exit $exit_status
 | 
|---|
| 2222 | ' 0
 | 
|---|
| 2223 | for ac_signal in 1 2 13 15; do
 | 
|---|
| 2224 |   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 | 
|---|
| 2225 | done
 | 
|---|
| 2226 | ac_signal=0
 | 
|---|
| 2227 | 
 | 
|---|
| 2228 | # confdefs.h avoids OS command line length limits that DEFS can exceed.
 | 
|---|
| 2229 | rm -f -r conftest* confdefs.h
 | 
|---|
| 2230 | 
 | 
|---|
| 2231 | $as_echo "/* confdefs.h */" > confdefs.h
 | 
|---|
| 2232 | 
 | 
|---|
| 2233 | # Predefined preprocessor variables.
 | 
|---|
| 2234 | 
 | 
|---|
| 2235 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2236 | #define PACKAGE_NAME "$PACKAGE_NAME"
 | 
|---|
| 2237 | _ACEOF
 | 
|---|
| 2238 | 
 | 
|---|
| 2239 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2240 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 | 
|---|
| 2241 | _ACEOF
 | 
|---|
| 2242 | 
 | 
|---|
| 2243 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2244 | #define PACKAGE_VERSION "$PACKAGE_VERSION"
 | 
|---|
| 2245 | _ACEOF
 | 
|---|
| 2246 | 
 | 
|---|
| 2247 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2248 | #define PACKAGE_STRING "$PACKAGE_STRING"
 | 
|---|
| 2249 | _ACEOF
 | 
|---|
| 2250 | 
 | 
|---|
| 2251 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2252 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 | 
|---|
| 2253 | _ACEOF
 | 
|---|
| 2254 | 
 | 
|---|
| 2255 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2256 | #define PACKAGE_URL "$PACKAGE_URL"
 | 
|---|
| 2257 | _ACEOF
 | 
|---|
| 2258 | 
 | 
|---|
| 2259 | 
 | 
|---|
| 2260 | # Let the site file select an alternate cache file if it wants to.
 | 
|---|
| 2261 | # Prefer an explicitly selected file to automatically selected ones.
 | 
|---|
| 2262 | ac_site_file1=NONE
 | 
|---|
| 2263 | ac_site_file2=NONE
 | 
|---|
| 2264 | if test -n "$CONFIG_SITE"; then
 | 
|---|
| 2265 |   # We do not want a PATH search for config.site.
 | 
|---|
| 2266 |   case $CONFIG_SITE in #((
 | 
|---|
| 2267 |     -*)  ac_site_file1=./$CONFIG_SITE;;
 | 
|---|
| 2268 |     */*) ac_site_file1=$CONFIG_SITE;;
 | 
|---|
| 2269 |     *)   ac_site_file1=./$CONFIG_SITE;;
 | 
|---|
| 2270 |   esac
 | 
|---|
| 2271 | elif test "x$prefix" != xNONE; then
 | 
|---|
| 2272 |   ac_site_file1=$prefix/share/config.site
 | 
|---|
| 2273 |   ac_site_file2=$prefix/etc/config.site
 | 
|---|
| 2274 | else
 | 
|---|
| 2275 |   ac_site_file1=$ac_default_prefix/share/config.site
 | 
|---|
| 2276 |   ac_site_file2=$ac_default_prefix/etc/config.site
 | 
|---|
| 2277 | fi
 | 
|---|
| 2278 | for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 | 
|---|
| 2279 | do
 | 
|---|
| 2280 |   test "x$ac_site_file" = xNONE && continue
 | 
|---|
| 2281 |   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 | 
|---|
| 2282 |     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 | 
|---|
| 2283 | $as_echo "$as_me: loading site script $ac_site_file" >&6;}
 | 
|---|
| 2284 |     sed 's/^/| /' "$ac_site_file" >&5
 | 
|---|
| 2285 |     . "$ac_site_file" \
 | 
|---|
| 2286 |       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 2287 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 2288 | as_fn_error $? "failed to load site script $ac_site_file
 | 
|---|
| 2289 | See \`config.log' for more details" "$LINENO" 5; }
 | 
|---|
| 2290 |   fi
 | 
|---|
| 2291 | done
 | 
|---|
| 2292 | 
 | 
|---|
| 2293 | if test -r "$cache_file"; then
 | 
|---|
| 2294 |   # Some versions of bash will fail to source /dev/null (special files
 | 
|---|
| 2295 |   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 | 
|---|
| 2296 |   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 | 
|---|
| 2297 |     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 | 
|---|
| 2298 | $as_echo "$as_me: loading cache $cache_file" >&6;}
 | 
|---|
| 2299 |     case $cache_file in
 | 
|---|
| 2300 |       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 | 
|---|
| 2301 |       *)                      . "./$cache_file";;
 | 
|---|
| 2302 |     esac
 | 
|---|
| 2303 |   fi
 | 
|---|
| 2304 | else
 | 
|---|
| 2305 |   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 | 
|---|
| 2306 | $as_echo "$as_me: creating cache $cache_file" >&6;}
 | 
|---|
| 2307 |   >$cache_file
 | 
|---|
| 2308 | fi
 | 
|---|
| 2309 | 
 | 
|---|
| 2310 | # Check that the precious variables saved in the cache have kept the same
 | 
|---|
| 2311 | # value.
 | 
|---|
| 2312 | ac_cache_corrupted=false
 | 
|---|
| 2313 | for ac_var in $ac_precious_vars; do
 | 
|---|
| 2314 |   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 | 
|---|
| 2315 |   eval ac_new_set=\$ac_env_${ac_var}_set
 | 
|---|
| 2316 |   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 | 
|---|
| 2317 |   eval ac_new_val=\$ac_env_${ac_var}_value
 | 
|---|
| 2318 |   case $ac_old_set,$ac_new_set in
 | 
|---|
| 2319 |     set,)
 | 
|---|
| 2320 |       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 | 
|---|
| 2321 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 | 
|---|
| 2322 |       ac_cache_corrupted=: ;;
 | 
|---|
| 2323 |     ,set)
 | 
|---|
| 2324 |       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 | 
|---|
| 2325 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 | 
|---|
| 2326 |       ac_cache_corrupted=: ;;
 | 
|---|
| 2327 |     ,);;
 | 
|---|
| 2328 |     *)
 | 
|---|
| 2329 |       if test "x$ac_old_val" != "x$ac_new_val"; then
 | 
|---|
| 2330 |         # differences in whitespace do not lead to failure.
 | 
|---|
| 2331 |         ac_old_val_w=`echo x $ac_old_val`
 | 
|---|
| 2332 |         ac_new_val_w=`echo x $ac_new_val`
 | 
|---|
| 2333 |         if test "$ac_old_val_w" != "$ac_new_val_w"; then
 | 
|---|
| 2334 |           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 | 
|---|
| 2335 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 | 
|---|
| 2336 |           ac_cache_corrupted=:
 | 
|---|
| 2337 |         else
 | 
|---|
| 2338 |           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 | 
|---|
| 2339 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 | 
|---|
| 2340 |           eval $ac_var=\$ac_old_val
 | 
|---|
| 2341 |         fi
 | 
|---|
| 2342 |         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 | 
|---|
| 2343 | $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 | 
|---|
| 2344 |         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 | 
|---|
| 2345 | $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 | 
|---|
| 2346 |       fi;;
 | 
|---|
| 2347 |   esac
 | 
|---|
| 2348 |   # Pass precious variables to config.status.
 | 
|---|
| 2349 |   if test "$ac_new_set" = set; then
 | 
|---|
| 2350 |     case $ac_new_val in
 | 
|---|
| 2351 |     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 | 
|---|
| 2352 |     *) ac_arg=$ac_var=$ac_new_val ;;
 | 
|---|
| 2353 |     esac
 | 
|---|
| 2354 |     case " $ac_configure_args " in
 | 
|---|
| 2355 |       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 | 
|---|
| 2356 |       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 | 
|---|
| 2357 |     esac
 | 
|---|
| 2358 |   fi
 | 
|---|
| 2359 | done
 | 
|---|
| 2360 | if $ac_cache_corrupted; then
 | 
|---|
| 2361 |   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 2362 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 2363 |   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 | 
|---|
| 2364 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 | 
|---|
| 2365 |   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 | 
|---|
| 2366 | fi
 | 
|---|
| 2367 | ## -------------------- ##
 | 
|---|
| 2368 | ## Main body of script. ##
 | 
|---|
| 2369 | ## -------------------- ##
 | 
|---|
| 2370 | 
 | 
|---|
| 2371 | ac_ext=c
 | 
|---|
| 2372 | ac_cpp='$CPP $CPPFLAGS'
 | 
|---|
| 2373 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 2374 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 2375 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
 | 
|---|
| 2376 | 
 | 
|---|
| 2377 | 
 | 
|---|
| 2378 | ac_aux_dir=
 | 
|---|
| 2379 | for ac_dir in automake "$srcdir"/automake; do
 | 
|---|
| 2380 |   if test -f "$ac_dir/install-sh"; then
 | 
|---|
| 2381 |     ac_aux_dir=$ac_dir
 | 
|---|
| 2382 |     ac_install_sh="$ac_aux_dir/install-sh -c"
 | 
|---|
| 2383 |     break
 | 
|---|
| 2384 |   elif test -f "$ac_dir/install.sh"; then
 | 
|---|
| 2385 |     ac_aux_dir=$ac_dir
 | 
|---|
| 2386 |     ac_install_sh="$ac_aux_dir/install.sh -c"
 | 
|---|
| 2387 |     break
 | 
|---|
| 2388 |   elif test -f "$ac_dir/shtool"; then
 | 
|---|
| 2389 |     ac_aux_dir=$ac_dir
 | 
|---|
| 2390 |     ac_install_sh="$ac_aux_dir/shtool install -c"
 | 
|---|
| 2391 |     break
 | 
|---|
| 2392 |   fi
 | 
|---|
| 2393 | done
 | 
|---|
| 2394 | if test -z "$ac_aux_dir"; then
 | 
|---|
| 2395 |   as_fn_error $? "cannot find install-sh, install.sh, or shtool in automake \"$srcdir\"/automake" "$LINENO" 5
 | 
|---|
| 2396 | fi
 | 
|---|
| 2397 | 
 | 
|---|
| 2398 | # These three variables are undocumented and unsupported,
 | 
|---|
| 2399 | # and are intended to be withdrawn in a future Autoconf release.
 | 
|---|
| 2400 | # They can cause serious problems if a builder's source tree is in a directory
 | 
|---|
| 2401 | # whose full name contains unusual characters.
 | 
|---|
| 2402 | ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 | 
|---|
| 2403 | ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 | 
|---|
| 2404 | ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 | 
|---|
| 2405 | 
 | 
|---|
| 2406 | 
 | 
|---|
| 2407 | #AC_CONFIG_SRCDIR([src/main.cc])
 | 
|---|
| 2408 | ac_config_headers="$ac_config_headers config.h"
 | 
|---|
| 2409 | 
 | 
|---|
| 2410 | 
 | 
|---|
| 2411 | am__api_version='1.11'
 | 
|---|
| 2412 | 
 | 
|---|
| 2413 | # Find a good install program.  We prefer a C program (faster),
 | 
|---|
| 2414 | # so one script is as good as another.  But avoid the broken or
 | 
|---|
| 2415 | # incompatible versions:
 | 
|---|
| 2416 | # SysV /etc/install, /usr/sbin/install
 | 
|---|
| 2417 | # SunOS /usr/etc/install
 | 
|---|
| 2418 | # IRIX /sbin/install
 | 
|---|
| 2419 | # AIX /bin/install
 | 
|---|
| 2420 | # AmigaOS /C/install, which installs bootblocks on floppy discs
 | 
|---|
| 2421 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 | 
|---|
| 2422 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 | 
|---|
| 2423 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 | 
|---|
| 2424 | # OS/2's system install, which has a completely different semantic
 | 
|---|
| 2425 | # ./install, which can be erroneously created by make from ./install.sh.
 | 
|---|
| 2426 | # Reject install programs that cannot install multiple files.
 | 
|---|
| 2427 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 | 
|---|
| 2428 | $as_echo_n "checking for a BSD-compatible install... " >&6; }
 | 
|---|
| 2429 | if test -z "$INSTALL"; then
 | 
|---|
| 2430 | if ${ac_cv_path_install+:} false; then :
 | 
|---|
| 2431 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 2432 | else
 | 
|---|
| 2433 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 2434 | for as_dir in $PATH
 | 
|---|
| 2435 | do
 | 
|---|
| 2436 |   IFS=$as_save_IFS
 | 
|---|
| 2437 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 2438 |     # Account for people who put trailing slashes in PATH elements.
 | 
|---|
| 2439 | case $as_dir/ in #((
 | 
|---|
| 2440 |   ./ | .// | /[cC]/* | \
 | 
|---|
| 2441 |   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 | 
|---|
| 2442 |   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 | 
|---|
| 2443 |   /usr/ucb/* ) ;;
 | 
|---|
| 2444 |   *)
 | 
|---|
| 2445 |     # OSF1 and SCO ODT 3.0 have their own names for install.
 | 
|---|
| 2446 |     # Don't use installbsd from OSF since it installs stuff as root
 | 
|---|
| 2447 |     # by default.
 | 
|---|
| 2448 |     for ac_prog in ginstall scoinst install; do
 | 
|---|
| 2449 |       for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 2450 |         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 | 
|---|
| 2451 |           if test $ac_prog = install &&
 | 
|---|
| 2452 |             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 | 
|---|
| 2453 |             # AIX install.  It has an incompatible calling convention.
 | 
|---|
| 2454 |             :
 | 
|---|
| 2455 |           elif test $ac_prog = install &&
 | 
|---|
| 2456 |             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 | 
|---|
| 2457 |             # program-specific install script used by HP pwplus--don't use.
 | 
|---|
| 2458 |             :
 | 
|---|
| 2459 |           else
 | 
|---|
| 2460 |             rm -rf conftest.one conftest.two conftest.dir
 | 
|---|
| 2461 |             echo one > conftest.one
 | 
|---|
| 2462 |             echo two > conftest.two
 | 
|---|
| 2463 |             mkdir conftest.dir
 | 
|---|
| 2464 |             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 | 
|---|
| 2465 |               test -s conftest.one && test -s conftest.two &&
 | 
|---|
| 2466 |               test -s conftest.dir/conftest.one &&
 | 
|---|
| 2467 |               test -s conftest.dir/conftest.two
 | 
|---|
| 2468 |             then
 | 
|---|
| 2469 |               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 | 
|---|
| 2470 |               break 3
 | 
|---|
| 2471 |             fi
 | 
|---|
| 2472 |           fi
 | 
|---|
| 2473 |         fi
 | 
|---|
| 2474 |       done
 | 
|---|
| 2475 |     done
 | 
|---|
| 2476 |     ;;
 | 
|---|
| 2477 | esac
 | 
|---|
| 2478 | 
 | 
|---|
| 2479 |   done
 | 
|---|
| 2480 | IFS=$as_save_IFS
 | 
|---|
| 2481 | 
 | 
|---|
| 2482 | rm -rf conftest.one conftest.two conftest.dir
 | 
|---|
| 2483 | 
 | 
|---|
| 2484 | fi
 | 
|---|
| 2485 |   if test "${ac_cv_path_install+set}" = set; then
 | 
|---|
| 2486 |     INSTALL=$ac_cv_path_install
 | 
|---|
| 2487 |   else
 | 
|---|
| 2488 |     # As a last resort, use the slow shell script.  Don't cache a
 | 
|---|
| 2489 |     # value for INSTALL within a source directory, because that will
 | 
|---|
| 2490 |     # break other packages using the cache if that directory is
 | 
|---|
| 2491 |     # removed, or if the value is a relative name.
 | 
|---|
| 2492 |     INSTALL=$ac_install_sh
 | 
|---|
| 2493 |   fi
 | 
|---|
| 2494 | fi
 | 
|---|
| 2495 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 | 
|---|
| 2496 | $as_echo "$INSTALL" >&6; }
 | 
|---|
| 2497 | 
 | 
|---|
| 2498 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 | 
|---|
| 2499 | # It thinks the first close brace ends the variable substitution.
 | 
|---|
| 2500 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 | 
|---|
| 2501 | 
 | 
|---|
| 2502 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 | 
|---|
| 2503 | 
 | 
|---|
| 2504 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 | 
|---|
| 2505 | 
 | 
|---|
| 2506 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 | 
|---|
| 2507 | $as_echo_n "checking whether build environment is sane... " >&6; }
 | 
|---|
| 2508 | # Just in case
 | 
|---|
| 2509 | sleep 1
 | 
|---|
| 2510 | echo timestamp > conftest.file
 | 
|---|
| 2511 | # Reject unsafe characters in $srcdir or the absolute working directory
 | 
|---|
| 2512 | # name.  Accept space and tab only in the latter.
 | 
|---|
| 2513 | am_lf='
 | 
|---|
| 2514 | '
 | 
|---|
| 2515 | case `pwd` in
 | 
|---|
| 2516 |   *[\\\"\#\$\&\'\`$am_lf]*)
 | 
|---|
| 2517 |     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 | 
|---|
| 2518 | esac
 | 
|---|
| 2519 | case $srcdir in
 | 
|---|
| 2520 |   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 | 
|---|
| 2521 |     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 | 
|---|
| 2522 | esac
 | 
|---|
| 2523 | 
 | 
|---|
| 2524 | # Do `set' in a subshell so we don't clobber the current shell's
 | 
|---|
| 2525 | # arguments.  Must try -L first in case configure is actually a
 | 
|---|
| 2526 | # symlink; some systems play weird games with the mod time of symlinks
 | 
|---|
| 2527 | # (eg FreeBSD returns the mod time of the symlink's containing
 | 
|---|
| 2528 | # directory).
 | 
|---|
| 2529 | if (
 | 
|---|
| 2530 |    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 | 
|---|
| 2531 |    if test "$*" = "X"; then
 | 
|---|
| 2532 |       # -L didn't work.
 | 
|---|
| 2533 |       set X `ls -t "$srcdir/configure" conftest.file`
 | 
|---|
| 2534 |    fi
 | 
|---|
| 2535 |    rm -f conftest.file
 | 
|---|
| 2536 |    if test "$*" != "X $srcdir/configure conftest.file" \
 | 
|---|
| 2537 |       && test "$*" != "X conftest.file $srcdir/configure"; then
 | 
|---|
| 2538 | 
 | 
|---|
| 2539 |       # If neither matched, then we have a broken ls.  This can happen
 | 
|---|
| 2540 |       # if, for instance, CONFIG_SHELL is bash and it inherits a
 | 
|---|
| 2541 |       # broken ls alias from the environment.  This has actually
 | 
|---|
| 2542 |       # happened.  Such a system could not be considered "sane".
 | 
|---|
| 2543 |       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 | 
|---|
| 2544 | alias in your environment" "$LINENO" 5
 | 
|---|
| 2545 |    fi
 | 
|---|
| 2546 | 
 | 
|---|
| 2547 |    test "$2" = conftest.file
 | 
|---|
| 2548 |    )
 | 
|---|
| 2549 | then
 | 
|---|
| 2550 |    # Ok.
 | 
|---|
| 2551 |    :
 | 
|---|
| 2552 | else
 | 
|---|
| 2553 |    as_fn_error $? "newly created file is older than distributed files!
 | 
|---|
| 2554 | Check your system clock" "$LINENO" 5
 | 
|---|
| 2555 | fi
 | 
|---|
| 2556 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 | 
|---|
| 2557 | $as_echo "yes" >&6; }
 | 
|---|
| 2558 | test "$program_prefix" != NONE &&
 | 
|---|
| 2559 |   program_transform_name="s&^&$program_prefix&;$program_transform_name"
 | 
|---|
| 2560 | # Use a double $ so make ignores it.
 | 
|---|
| 2561 | test "$program_suffix" != NONE &&
 | 
|---|
| 2562 |   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 | 
|---|
| 2563 | # Double any \ or $.
 | 
|---|
| 2564 | # By default was `s,x,x', remove it if useless.
 | 
|---|
| 2565 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 | 
|---|
| 2566 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 | 
|---|
| 2567 | 
 | 
|---|
| 2568 | # expand $ac_aux_dir to an absolute path
 | 
|---|
| 2569 | am_aux_dir=`cd $ac_aux_dir && pwd`
 | 
|---|
| 2570 | 
 | 
|---|
| 2571 | if test x"${MISSING+set}" != xset; then
 | 
|---|
| 2572 |   case $am_aux_dir in
 | 
|---|
| 2573 |   *\ * | *\     *)
 | 
|---|
| 2574 |     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 | 
|---|
| 2575 |   *)
 | 
|---|
| 2576 |     MISSING="\${SHELL} $am_aux_dir/missing" ;;
 | 
|---|
| 2577 |   esac
 | 
|---|
| 2578 | fi
 | 
|---|
| 2579 | # Use eval to expand $SHELL
 | 
|---|
| 2580 | if eval "$MISSING --run true"; then
 | 
|---|
| 2581 |   am_missing_run="$MISSING --run "
 | 
|---|
| 2582 | else
 | 
|---|
| 2583 |   am_missing_run=
 | 
|---|
| 2584 |   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 | 
|---|
| 2585 | $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 | 
|---|
| 2586 | fi
 | 
|---|
| 2587 | 
 | 
|---|
| 2588 | if test x"${install_sh}" != xset; then
 | 
|---|
| 2589 |   case $am_aux_dir in
 | 
|---|
| 2590 |   *\ * | *\     *)
 | 
|---|
| 2591 |     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 | 
|---|
| 2592 |   *)
 | 
|---|
| 2593 |     install_sh="\${SHELL} $am_aux_dir/install-sh"
 | 
|---|
| 2594 |   esac
 | 
|---|
| 2595 | fi
 | 
|---|
| 2596 | 
 | 
|---|
| 2597 | # Installed binaries are usually stripped using `strip' when the user
 | 
|---|
| 2598 | # run `make install-strip'.  However `strip' might not be the right
 | 
|---|
| 2599 | # tool to use in cross-compilation environments, therefore Automake
 | 
|---|
| 2600 | # will honor the `STRIP' environment variable to overrule this program.
 | 
|---|
| 2601 | if test "$cross_compiling" != no; then
 | 
|---|
| 2602 |   if test -n "$ac_tool_prefix"; then
 | 
|---|
| 2603 |   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 | 
|---|
| 2604 | set dummy ${ac_tool_prefix}strip; ac_word=$2
 | 
|---|
| 2605 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 2606 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 2607 | if ${ac_cv_prog_STRIP+:} false; then :
 | 
|---|
| 2608 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 2609 | else
 | 
|---|
| 2610 |   if test -n "$STRIP"; then
 | 
|---|
| 2611 |   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 | 
|---|
| 2612 | else
 | 
|---|
| 2613 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 2614 | for as_dir in $PATH
 | 
|---|
| 2615 | do
 | 
|---|
| 2616 |   IFS=$as_save_IFS
 | 
|---|
| 2617 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 2618 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 2619 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 2620 |     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 | 
|---|
| 2621 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 2622 |     break 2
 | 
|---|
| 2623 |   fi
 | 
|---|
| 2624 | done
 | 
|---|
| 2625 |   done
 | 
|---|
| 2626 | IFS=$as_save_IFS
 | 
|---|
| 2627 | 
 | 
|---|
| 2628 | fi
 | 
|---|
| 2629 | fi
 | 
|---|
| 2630 | STRIP=$ac_cv_prog_STRIP
 | 
|---|
| 2631 | if test -n "$STRIP"; then
 | 
|---|
| 2632 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 | 
|---|
| 2633 | $as_echo "$STRIP" >&6; }
 | 
|---|
| 2634 | else
 | 
|---|
| 2635 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 2636 | $as_echo "no" >&6; }
 | 
|---|
| 2637 | fi
 | 
|---|
| 2638 | 
 | 
|---|
| 2639 | 
 | 
|---|
| 2640 | fi
 | 
|---|
| 2641 | if test -z "$ac_cv_prog_STRIP"; then
 | 
|---|
| 2642 |   ac_ct_STRIP=$STRIP
 | 
|---|
| 2643 |   # Extract the first word of "strip", so it can be a program name with args.
 | 
|---|
| 2644 | set dummy strip; ac_word=$2
 | 
|---|
| 2645 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 2646 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 2647 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 | 
|---|
| 2648 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 2649 | else
 | 
|---|
| 2650 |   if test -n "$ac_ct_STRIP"; then
 | 
|---|
| 2651 |   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 | 
|---|
| 2652 | else
 | 
|---|
| 2653 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 2654 | for as_dir in $PATH
 | 
|---|
| 2655 | do
 | 
|---|
| 2656 |   IFS=$as_save_IFS
 | 
|---|
| 2657 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 2658 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 2659 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 2660 |     ac_cv_prog_ac_ct_STRIP="strip"
 | 
|---|
| 2661 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 2662 |     break 2
 | 
|---|
| 2663 |   fi
 | 
|---|
| 2664 | done
 | 
|---|
| 2665 |   done
 | 
|---|
| 2666 | IFS=$as_save_IFS
 | 
|---|
| 2667 | 
 | 
|---|
| 2668 | fi
 | 
|---|
| 2669 | fi
 | 
|---|
| 2670 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 | 
|---|
| 2671 | if test -n "$ac_ct_STRIP"; then
 | 
|---|
| 2672 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 | 
|---|
| 2673 | $as_echo "$ac_ct_STRIP" >&6; }
 | 
|---|
| 2674 | else
 | 
|---|
| 2675 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 2676 | $as_echo "no" >&6; }
 | 
|---|
| 2677 | fi
 | 
|---|
| 2678 | 
 | 
|---|
| 2679 |   if test "x$ac_ct_STRIP" = x; then
 | 
|---|
| 2680 |     STRIP=":"
 | 
|---|
| 2681 |   else
 | 
|---|
| 2682 |     case $cross_compiling:$ac_tool_warned in
 | 
|---|
| 2683 | yes:)
 | 
|---|
| 2684 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 | 
|---|
| 2685 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 | 
|---|
| 2686 | ac_tool_warned=yes ;;
 | 
|---|
| 2687 | esac
 | 
|---|
| 2688 |     STRIP=$ac_ct_STRIP
 | 
|---|
| 2689 |   fi
 | 
|---|
| 2690 | else
 | 
|---|
| 2691 |   STRIP="$ac_cv_prog_STRIP"
 | 
|---|
| 2692 | fi
 | 
|---|
| 2693 | 
 | 
|---|
| 2694 | fi
 | 
|---|
| 2695 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 | 
|---|
| 2696 | 
 | 
|---|
| 2697 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 | 
|---|
| 2698 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 | 
|---|
| 2699 | if test -z "$MKDIR_P"; then
 | 
|---|
| 2700 |   if ${ac_cv_path_mkdir+:} false; then :
 | 
|---|
| 2701 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 2702 | else
 | 
|---|
| 2703 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 2704 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 | 
|---|
| 2705 | do
 | 
|---|
| 2706 |   IFS=$as_save_IFS
 | 
|---|
| 2707 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 2708 |     for ac_prog in mkdir gmkdir; do
 | 
|---|
| 2709 |          for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 2710 |            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 | 
|---|
| 2711 |            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 | 
|---|
| 2712 |              'mkdir (GNU coreutils) '* | \
 | 
|---|
| 2713 |              'mkdir (coreutils) '* | \
 | 
|---|
| 2714 |              'mkdir (fileutils) '4.1*)
 | 
|---|
| 2715 |                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 | 
|---|
| 2716 |                break 3;;
 | 
|---|
| 2717 |            esac
 | 
|---|
| 2718 |          done
 | 
|---|
| 2719 |        done
 | 
|---|
| 2720 |   done
 | 
|---|
| 2721 | IFS=$as_save_IFS
 | 
|---|
| 2722 | 
 | 
|---|
| 2723 | fi
 | 
|---|
| 2724 | 
 | 
|---|
| 2725 |   test -d ./--version && rmdir ./--version
 | 
|---|
| 2726 |   if test "${ac_cv_path_mkdir+set}" = set; then
 | 
|---|
| 2727 |     MKDIR_P="$ac_cv_path_mkdir -p"
 | 
|---|
| 2728 |   else
 | 
|---|
| 2729 |     # As a last resort, use the slow shell script.  Don't cache a
 | 
|---|
| 2730 |     # value for MKDIR_P within a source directory, because that will
 | 
|---|
| 2731 |     # break other packages using the cache if that directory is
 | 
|---|
| 2732 |     # removed, or if the value is a relative name.
 | 
|---|
| 2733 |     MKDIR_P="$ac_install_sh -d"
 | 
|---|
| 2734 |   fi
 | 
|---|
| 2735 | fi
 | 
|---|
| 2736 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 | 
|---|
| 2737 | $as_echo "$MKDIR_P" >&6; }
 | 
|---|
| 2738 | 
 | 
|---|
| 2739 | mkdir_p="$MKDIR_P"
 | 
|---|
| 2740 | case $mkdir_p in
 | 
|---|
| 2741 |   [\\/$]* | ?:[\\/]*) ;;
 | 
|---|
| 2742 |   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 | 
|---|
| 2743 | esac
 | 
|---|
| 2744 | 
 | 
|---|
| 2745 | for ac_prog in gawk mawk nawk awk
 | 
|---|
| 2746 | do
 | 
|---|
| 2747 |   # Extract the first word of "$ac_prog", so it can be a program name with args.
 | 
|---|
| 2748 | set dummy $ac_prog; ac_word=$2
 | 
|---|
| 2749 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 2750 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 2751 | if ${ac_cv_prog_AWK+:} false; then :
 | 
|---|
| 2752 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 2753 | else
 | 
|---|
| 2754 |   if test -n "$AWK"; then
 | 
|---|
| 2755 |   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 | 
|---|
| 2756 | else
 | 
|---|
| 2757 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 2758 | for as_dir in $PATH
 | 
|---|
| 2759 | do
 | 
|---|
| 2760 |   IFS=$as_save_IFS
 | 
|---|
| 2761 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 2762 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 2763 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 2764 |     ac_cv_prog_AWK="$ac_prog"
 | 
|---|
| 2765 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 2766 |     break 2
 | 
|---|
| 2767 |   fi
 | 
|---|
| 2768 | done
 | 
|---|
| 2769 |   done
 | 
|---|
| 2770 | IFS=$as_save_IFS
 | 
|---|
| 2771 | 
 | 
|---|
| 2772 | fi
 | 
|---|
| 2773 | fi
 | 
|---|
| 2774 | AWK=$ac_cv_prog_AWK
 | 
|---|
| 2775 | if test -n "$AWK"; then
 | 
|---|
| 2776 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 | 
|---|
| 2777 | $as_echo "$AWK" >&6; }
 | 
|---|
| 2778 | else
 | 
|---|
| 2779 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 2780 | $as_echo "no" >&6; }
 | 
|---|
| 2781 | fi
 | 
|---|
| 2782 | 
 | 
|---|
| 2783 | 
 | 
|---|
| 2784 |   test -n "$AWK" && break
 | 
|---|
| 2785 | done
 | 
|---|
| 2786 | 
 | 
|---|
| 2787 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 | 
|---|
| 2788 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 | 
|---|
| 2789 | set x ${MAKE-make}
 | 
|---|
| 2790 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 | 
|---|
| 2791 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 | 
|---|
| 2792 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 2793 | else
 | 
|---|
| 2794 |   cat >conftest.make <<\_ACEOF
 | 
|---|
| 2795 | SHELL = /bin/sh
 | 
|---|
| 2796 | all:
 | 
|---|
| 2797 |         @echo '@@@%%%=$(MAKE)=@@@%%%'
 | 
|---|
| 2798 | _ACEOF
 | 
|---|
| 2799 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 | 
|---|
| 2800 | case `${MAKE-make} -f conftest.make 2>/dev/null` in
 | 
|---|
| 2801 |   *@@@%%%=?*=@@@%%%*)
 | 
|---|
| 2802 |     eval ac_cv_prog_make_${ac_make}_set=yes;;
 | 
|---|
| 2803 |   *)
 | 
|---|
| 2804 |     eval ac_cv_prog_make_${ac_make}_set=no;;
 | 
|---|
| 2805 | esac
 | 
|---|
| 2806 | rm -f conftest.make
 | 
|---|
| 2807 | fi
 | 
|---|
| 2808 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 | 
|---|
| 2809 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 | 
|---|
| 2810 | $as_echo "yes" >&6; }
 | 
|---|
| 2811 |   SET_MAKE=
 | 
|---|
| 2812 | else
 | 
|---|
| 2813 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 2814 | $as_echo "no" >&6; }
 | 
|---|
| 2815 |   SET_MAKE="MAKE=${MAKE-make}"
 | 
|---|
| 2816 | fi
 | 
|---|
| 2817 | 
 | 
|---|
| 2818 | rm -rf .tst 2>/dev/null
 | 
|---|
| 2819 | mkdir .tst 2>/dev/null
 | 
|---|
| 2820 | if test -d .tst; then
 | 
|---|
| 2821 |   am__leading_dot=.
 | 
|---|
| 2822 | else
 | 
|---|
| 2823 |   am__leading_dot=_
 | 
|---|
| 2824 | fi
 | 
|---|
| 2825 | rmdir .tst 2>/dev/null
 | 
|---|
| 2826 | 
 | 
|---|
| 2827 | if test "`cd $srcdir && pwd`" != "`pwd`"; then
 | 
|---|
| 2828 |   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 | 
|---|
| 2829 |   # is not polluted with repeated "-I."
 | 
|---|
| 2830 |   am__isrc=' -I$(srcdir)'
 | 
|---|
| 2831 |   # test to see if srcdir already configured
 | 
|---|
| 2832 |   if test -f $srcdir/config.status; then
 | 
|---|
| 2833 |     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 | 
|---|
| 2834 |   fi
 | 
|---|
| 2835 | fi
 | 
|---|
| 2836 | 
 | 
|---|
| 2837 | # test whether we have cygpath
 | 
|---|
| 2838 | if test -z "$CYGPATH_W"; then
 | 
|---|
| 2839 |   if (cygpath --version) >/dev/null 2>/dev/null; then
 | 
|---|
| 2840 |     CYGPATH_W='cygpath -w'
 | 
|---|
| 2841 |   else
 | 
|---|
| 2842 |     CYGPATH_W=echo
 | 
|---|
| 2843 |   fi
 | 
|---|
| 2844 | fi
 | 
|---|
| 2845 | 
 | 
|---|
| 2846 | 
 | 
|---|
| 2847 | # Define the identity of the package.
 | 
|---|
| 2848 |  PACKAGE='cfa-cc'
 | 
|---|
| 2849 |  VERSION='1.0.0'
 | 
|---|
| 2850 | 
 | 
|---|
| 2851 | 
 | 
|---|
| 2852 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2853 | #define PACKAGE "$PACKAGE"
 | 
|---|
| 2854 | _ACEOF
 | 
|---|
| 2855 | 
 | 
|---|
| 2856 | 
 | 
|---|
| 2857 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2858 | #define VERSION "$VERSION"
 | 
|---|
| 2859 | _ACEOF
 | 
|---|
| 2860 | 
 | 
|---|
| 2861 | # Some tools Automake needs.
 | 
|---|
| 2862 | 
 | 
|---|
| 2863 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 | 
|---|
| 2864 | 
 | 
|---|
| 2865 | 
 | 
|---|
| 2866 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 | 
|---|
| 2867 | 
 | 
|---|
| 2868 | 
 | 
|---|
| 2869 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 | 
|---|
| 2870 | 
 | 
|---|
| 2871 | 
 | 
|---|
| 2872 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 | 
|---|
| 2873 | 
 | 
|---|
| 2874 | 
 | 
|---|
| 2875 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 | 
|---|
| 2876 | 
 | 
|---|
| 2877 | # We need awk for the "check" target.  The system "awk" is bad on
 | 
|---|
| 2878 | # some platforms.
 | 
|---|
| 2879 | # Always define AMTAR for backward compatibility.  Yes, it's still used
 | 
|---|
| 2880 | # in the wild :-(  We should find a proper way to deprecate it ...
 | 
|---|
| 2881 | AMTAR='$${TAR-tar}'
 | 
|---|
| 2882 | 
 | 
|---|
| 2883 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
 | 
|---|
| 2884 | 
 | 
|---|
| 2885 | 
 | 
|---|
| 2886 | 
 | 
|---|
| 2887 | 
 | 
|---|
| 2888 | 
 | 
|---|
| 2889 | 
 | 
|---|
| 2890 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
 | 
|---|
| 2891 | $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
 | 
|---|
| 2892 |     # Check whether --enable-maintainer-mode was given.
 | 
|---|
| 2893 | if test "${enable_maintainer_mode+set}" = set; then :
 | 
|---|
| 2894 |   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
 | 
|---|
| 2895 | else
 | 
|---|
| 2896 |   USE_MAINTAINER_MODE=yes
 | 
|---|
| 2897 | fi
 | 
|---|
| 2898 | 
 | 
|---|
| 2899 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
 | 
|---|
| 2900 | $as_echo "$USE_MAINTAINER_MODE" >&6; }
 | 
|---|
| 2901 |    if test $USE_MAINTAINER_MODE = yes; then
 | 
|---|
| 2902 |   MAINTAINER_MODE_TRUE=
 | 
|---|
| 2903 |   MAINTAINER_MODE_FALSE='#'
 | 
|---|
| 2904 | else
 | 
|---|
| 2905 |   MAINTAINER_MODE_TRUE='#'
 | 
|---|
| 2906 |   MAINTAINER_MODE_FALSE=
 | 
|---|
| 2907 | fi
 | 
|---|
| 2908 | 
 | 
|---|
| 2909 |   MAINT=$MAINTAINER_MODE_TRUE
 | 
|---|
| 2910 | 
 | 
|---|
| 2911 |         # may require auto* software to be installed
 | 
|---|
| 2912 | 
 | 
|---|
| 2913 | # Installation paths
 | 
|---|
| 2914 | 
 | 
|---|
| 2915 | 
 | 
|---|
| 2916 | # Check whether --with-backend-compiler was given.
 | 
|---|
| 2917 | if test "${with_backend_compiler+set}" = set; then :
 | 
|---|
| 2918 |   withval=$with_backend_compiler; backcompiler=$withval
 | 
|---|
| 2919 | else
 | 
|---|
| 2920 |   backcompiler=""
 | 
|---|
| 2921 | fi
 | 
|---|
| 2922 | 
 | 
|---|
| 2923 |   if test x$backcompiler != x; then
 | 
|---|
| 2924 |         cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2925 | #define GCC_PATH "${backcompiler}"
 | 
|---|
| 2926 | _ACEOF
 | 
|---|
| 2927 | 
 | 
|---|
| 2928 |         BACKEND_CC=${backcompiler}
 | 
|---|
| 2929 |   else
 | 
|---|
| 2930 |         # Extract the first word of "gcc", so it can be a program name with args.
 | 
|---|
| 2931 | set dummy gcc; ac_word=$2
 | 
|---|
| 2932 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 2933 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 2934 | if ${ac_cv_path_GCC_PATH+:} false; then :
 | 
|---|
| 2935 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 2936 | else
 | 
|---|
| 2937 |   case $GCC_PATH in
 | 
|---|
| 2938 |   [\\/]* | ?:[\\/]*)
 | 
|---|
| 2939 |   ac_cv_path_GCC_PATH="$GCC_PATH" # Let the user override the test with a path.
 | 
|---|
| 2940 |   ;;
 | 
|---|
| 2941 |   *)
 | 
|---|
| 2942 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 2943 | for as_dir in $PATH
 | 
|---|
| 2944 | do
 | 
|---|
| 2945 |   IFS=$as_save_IFS
 | 
|---|
| 2946 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 2947 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 2948 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 2949 |     ac_cv_path_GCC_PATH="$as_dir/$ac_word$ac_exec_ext"
 | 
|---|
| 2950 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 2951 |     break 2
 | 
|---|
| 2952 |   fi
 | 
|---|
| 2953 | done
 | 
|---|
| 2954 |   done
 | 
|---|
| 2955 | IFS=$as_save_IFS
 | 
|---|
| 2956 | 
 | 
|---|
| 2957 |   test -z "$ac_cv_path_GCC_PATH" && ac_cv_path_GCC_PATH="N/A"
 | 
|---|
| 2958 |   ;;
 | 
|---|
| 2959 | esac
 | 
|---|
| 2960 | fi
 | 
|---|
| 2961 | GCC_PATH=$ac_cv_path_GCC_PATH
 | 
|---|
| 2962 | if test -n "$GCC_PATH"; then
 | 
|---|
| 2963 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_PATH" >&5
 | 
|---|
| 2964 | $as_echo "$GCC_PATH" >&6; }
 | 
|---|
| 2965 | else
 | 
|---|
| 2966 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 2967 | $as_echo "no" >&6; }
 | 
|---|
| 2968 | fi
 | 
|---|
| 2969 | 
 | 
|---|
| 2970 | 
 | 
|---|
| 2971 |         if test "$GCC_PATH" = "N/A"; then
 | 
|---|
| 2972 |                 as_fn_error $? "some version of gcc is needed. Get it at ftp://ftp.gnu.org" "$LINENO" 5
 | 
|---|
| 2973 |                 exit 1
 | 
|---|
| 2974 |         fi
 | 
|---|
| 2975 | 
 | 
|---|
| 2976 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2977 | #define GCC_PATH "${GCC_PATH}"
 | 
|---|
| 2978 | _ACEOF
 | 
|---|
| 2979 | 
 | 
|---|
| 2980 |         BACKEND_CC=${GCC_PATH}
 | 
|---|
| 2981 |   fi
 | 
|---|
| 2982 | 
 | 
|---|
| 2983 | 
 | 
|---|
| 2984 | if test "x$prefix" = "xNONE"; then
 | 
|---|
| 2985 |         cfa_prefix=${ac_default_prefix}
 | 
|---|
| 2986 | else
 | 
|---|
| 2987 |         cfa_prefix=${prefix}
 | 
|---|
| 2988 | fi
 | 
|---|
| 2989 | 
 | 
|---|
| 2990 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 2991 | #define CFA_PREFIX "${cfa_prefix}"
 | 
|---|
| 2992 | _ACEOF
 | 
|---|
| 2993 | 
 | 
|---|
| 2994 | CFA_PREFIX=${cfa_prefix}
 | 
|---|
| 2995 | 
 | 
|---|
| 2996 | 
 | 
|---|
| 2997 | if test "$includedir" = '${prefix}/include'; then
 | 
|---|
| 2998 |         cfa_incdir="${cfa_prefix}/include"
 | 
|---|
| 2999 | else
 | 
|---|
| 3000 |         cfa_incdir=${includedir}
 | 
|---|
| 3001 | fi
 | 
|---|
| 3002 | 
 | 
|---|
| 3003 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3004 | #define CFA_INCDIR "${cfa_incdir}"
 | 
|---|
| 3005 | _ACEOF
 | 
|---|
| 3006 | 
 | 
|---|
| 3007 | CFA_INCDIR=${cfa_incdir}
 | 
|---|
| 3008 | 
 | 
|---|
| 3009 | 
 | 
|---|
| 3010 | if test "$bindir" = '${exec_prefix}/bin'; then
 | 
|---|
| 3011 |         cfa_bindir="${cfa_prefix}/bin"
 | 
|---|
| 3012 | else
 | 
|---|
| 3013 |         cfa_bindir=${bindir}
 | 
|---|
| 3014 | fi
 | 
|---|
| 3015 | 
 | 
|---|
| 3016 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3017 | #define CFA_BINDIR "${cfa_bindir}"
 | 
|---|
| 3018 | _ACEOF
 | 
|---|
| 3019 | 
 | 
|---|
| 3020 | CFA_BINDIR=${cfa_bindir}
 | 
|---|
| 3021 | 
 | 
|---|
| 3022 | 
 | 
|---|
| 3023 | if test "$libdir" = '${exec_prefix}/lib'; then
 | 
|---|
| 3024 |         cfa_libdir=${cfa_prefix}/lib
 | 
|---|
| 3025 | else
 | 
|---|
| 3026 |         cfa_libdir=${libdir}
 | 
|---|
| 3027 | fi
 | 
|---|
| 3028 | 
 | 
|---|
| 3029 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 3030 | #define CFA_LIBDIR "${cfa_libdir}"
 | 
|---|
| 3031 | _ACEOF
 | 
|---|
| 3032 | 
 | 
|---|
| 3033 | CFA_LIBDIR=${cfa_libdir}
 | 
|---|
| 3034 | 
 | 
|---|
| 3035 | 
 | 
|---|
| 3036 | # Checks for programs.
 | 
|---|
| 3037 | ac_ext=cpp
 | 
|---|
| 3038 | ac_cpp='$CXXCPP $CPPFLAGS'
 | 
|---|
| 3039 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 3040 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 3041 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 | 
|---|
| 3042 | if test -z "$CXX"; then
 | 
|---|
| 3043 |   if test -n "$CCC"; then
 | 
|---|
| 3044 |     CXX=$CCC
 | 
|---|
| 3045 |   else
 | 
|---|
| 3046 |     if test -n "$ac_tool_prefix"; then
 | 
|---|
| 3047 |   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 | 
|---|
| 3048 |   do
 | 
|---|
| 3049 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 | 
|---|
| 3050 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 | 
|---|
| 3051 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 3052 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 3053 | if ${ac_cv_prog_CXX+:} false; then :
 | 
|---|
| 3054 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3055 | else
 | 
|---|
| 3056 |   if test -n "$CXX"; then
 | 
|---|
| 3057 |   ac_cv_prog_CXX="$CXX" # Let the user override the test.
 | 
|---|
| 3058 | else
 | 
|---|
| 3059 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 3060 | for as_dir in $PATH
 | 
|---|
| 3061 | do
 | 
|---|
| 3062 |   IFS=$as_save_IFS
 | 
|---|
| 3063 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 3064 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 3065 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 3066 |     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 | 
|---|
| 3067 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 3068 |     break 2
 | 
|---|
| 3069 |   fi
 | 
|---|
| 3070 | done
 | 
|---|
| 3071 |   done
 | 
|---|
| 3072 | IFS=$as_save_IFS
 | 
|---|
| 3073 | 
 | 
|---|
| 3074 | fi
 | 
|---|
| 3075 | fi
 | 
|---|
| 3076 | CXX=$ac_cv_prog_CXX
 | 
|---|
| 3077 | if test -n "$CXX"; then
 | 
|---|
| 3078 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 | 
|---|
| 3079 | $as_echo "$CXX" >&6; }
 | 
|---|
| 3080 | else
 | 
|---|
| 3081 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 3082 | $as_echo "no" >&6; }
 | 
|---|
| 3083 | fi
 | 
|---|
| 3084 | 
 | 
|---|
| 3085 | 
 | 
|---|
| 3086 |     test -n "$CXX" && break
 | 
|---|
| 3087 |   done
 | 
|---|
| 3088 | fi
 | 
|---|
| 3089 | if test -z "$CXX"; then
 | 
|---|
| 3090 |   ac_ct_CXX=$CXX
 | 
|---|
| 3091 |   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 | 
|---|
| 3092 | do
 | 
|---|
| 3093 |   # Extract the first word of "$ac_prog", so it can be a program name with args.
 | 
|---|
| 3094 | set dummy $ac_prog; ac_word=$2
 | 
|---|
| 3095 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 3096 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 3097 | if ${ac_cv_prog_ac_ct_CXX+:} false; then :
 | 
|---|
| 3098 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3099 | else
 | 
|---|
| 3100 |   if test -n "$ac_ct_CXX"; then
 | 
|---|
| 3101 |   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 | 
|---|
| 3102 | else
 | 
|---|
| 3103 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 3104 | for as_dir in $PATH
 | 
|---|
| 3105 | do
 | 
|---|
| 3106 |   IFS=$as_save_IFS
 | 
|---|
| 3107 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 3108 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 3109 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 3110 |     ac_cv_prog_ac_ct_CXX="$ac_prog"
 | 
|---|
| 3111 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 3112 |     break 2
 | 
|---|
| 3113 |   fi
 | 
|---|
| 3114 | done
 | 
|---|
| 3115 |   done
 | 
|---|
| 3116 | IFS=$as_save_IFS
 | 
|---|
| 3117 | 
 | 
|---|
| 3118 | fi
 | 
|---|
| 3119 | fi
 | 
|---|
| 3120 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 | 
|---|
| 3121 | if test -n "$ac_ct_CXX"; then
 | 
|---|
| 3122 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 | 
|---|
| 3123 | $as_echo "$ac_ct_CXX" >&6; }
 | 
|---|
| 3124 | else
 | 
|---|
| 3125 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 3126 | $as_echo "no" >&6; }
 | 
|---|
| 3127 | fi
 | 
|---|
| 3128 | 
 | 
|---|
| 3129 | 
 | 
|---|
| 3130 |   test -n "$ac_ct_CXX" && break
 | 
|---|
| 3131 | done
 | 
|---|
| 3132 | 
 | 
|---|
| 3133 |   if test "x$ac_ct_CXX" = x; then
 | 
|---|
| 3134 |     CXX="g++"
 | 
|---|
| 3135 |   else
 | 
|---|
| 3136 |     case $cross_compiling:$ac_tool_warned in
 | 
|---|
| 3137 | yes:)
 | 
|---|
| 3138 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 | 
|---|
| 3139 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 | 
|---|
| 3140 | ac_tool_warned=yes ;;
 | 
|---|
| 3141 | esac
 | 
|---|
| 3142 |     CXX=$ac_ct_CXX
 | 
|---|
| 3143 |   fi
 | 
|---|
| 3144 | fi
 | 
|---|
| 3145 | 
 | 
|---|
| 3146 |   fi
 | 
|---|
| 3147 | fi
 | 
|---|
| 3148 | # Provide some information about the compiler.
 | 
|---|
| 3149 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 | 
|---|
| 3150 | set X $ac_compile
 | 
|---|
| 3151 | ac_compiler=$2
 | 
|---|
| 3152 | for ac_option in --version -v -V -qversion; do
 | 
|---|
| 3153 |   { { ac_try="$ac_compiler $ac_option >&5"
 | 
|---|
| 3154 | case "(($ac_try" in
 | 
|---|
| 3155 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 3156 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 3157 | esac
 | 
|---|
| 3158 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 3159 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 3160 |   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 | 
|---|
| 3161 |   ac_status=$?
 | 
|---|
| 3162 |   if test -s conftest.err; then
 | 
|---|
| 3163 |     sed '10a\
 | 
|---|
| 3164 | ... rest of stderr output deleted ...
 | 
|---|
| 3165 |          10q' conftest.err >conftest.er1
 | 
|---|
| 3166 |     cat conftest.er1 >&5
 | 
|---|
| 3167 |   fi
 | 
|---|
| 3168 |   rm -f conftest.er1 conftest.err
 | 
|---|
| 3169 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 3170 |   test $ac_status = 0; }
 | 
|---|
| 3171 | done
 | 
|---|
| 3172 | 
 | 
|---|
| 3173 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 3174 | /* end confdefs.h.  */
 | 
|---|
| 3175 | 
 | 
|---|
| 3176 | int
 | 
|---|
| 3177 | main ()
 | 
|---|
| 3178 | {
 | 
|---|
| 3179 | 
 | 
|---|
| 3180 |   ;
 | 
|---|
| 3181 |   return 0;
 | 
|---|
| 3182 | }
 | 
|---|
| 3183 | _ACEOF
 | 
|---|
| 3184 | ac_clean_files_save=$ac_clean_files
 | 
|---|
| 3185 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 | 
|---|
| 3186 | # Try to create an executable without -o first, disregard a.out.
 | 
|---|
| 3187 | # It will help us diagnose broken compilers, and finding out an intuition
 | 
|---|
| 3188 | # of exeext.
 | 
|---|
| 3189 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
 | 
|---|
| 3190 | $as_echo_n "checking whether the C++ compiler works... " >&6; }
 | 
|---|
| 3191 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 | 
|---|
| 3192 | 
 | 
|---|
| 3193 | # The possible output files:
 | 
|---|
| 3194 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 | 
|---|
| 3195 | 
 | 
|---|
| 3196 | ac_rmfiles=
 | 
|---|
| 3197 | for ac_file in $ac_files
 | 
|---|
| 3198 | do
 | 
|---|
| 3199 |   case $ac_file in
 | 
|---|
| 3200 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 | 
|---|
| 3201 |     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 | 
|---|
| 3202 |   esac
 | 
|---|
| 3203 | done
 | 
|---|
| 3204 | rm -f $ac_rmfiles
 | 
|---|
| 3205 | 
 | 
|---|
| 3206 | if { { ac_try="$ac_link_default"
 | 
|---|
| 3207 | case "(($ac_try" in
 | 
|---|
| 3208 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 3209 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 3210 | esac
 | 
|---|
| 3211 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 3212 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 3213 |   (eval "$ac_link_default") 2>&5
 | 
|---|
| 3214 |   ac_status=$?
 | 
|---|
| 3215 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 3216 |   test $ac_status = 0; }; then :
 | 
|---|
| 3217 |   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 | 
|---|
| 3218 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 | 
|---|
| 3219 | # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 | 
|---|
| 3220 | # so that the user can short-circuit this test for compilers unknown to
 | 
|---|
| 3221 | # Autoconf.
 | 
|---|
| 3222 | for ac_file in $ac_files ''
 | 
|---|
| 3223 | do
 | 
|---|
| 3224 |   test -f "$ac_file" || continue
 | 
|---|
| 3225 |   case $ac_file in
 | 
|---|
| 3226 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 | 
|---|
| 3227 |         ;;
 | 
|---|
| 3228 |     [ab].out )
 | 
|---|
| 3229 |         # We found the default executable, but exeext='' is most
 | 
|---|
| 3230 |         # certainly right.
 | 
|---|
| 3231 |         break;;
 | 
|---|
| 3232 |     *.* )
 | 
|---|
| 3233 |         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 | 
|---|
| 3234 |         then :; else
 | 
|---|
| 3235 |            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 | 
|---|
| 3236 |         fi
 | 
|---|
| 3237 |         # We set ac_cv_exeext here because the later test for it is not
 | 
|---|
| 3238 |         # safe: cross compilers may not add the suffix if given an `-o'
 | 
|---|
| 3239 |         # argument, so we may need to know it at that point already.
 | 
|---|
| 3240 |         # Even if this section looks crufty: it has the advantage of
 | 
|---|
| 3241 |         # actually working.
 | 
|---|
| 3242 |         break;;
 | 
|---|
| 3243 |     * )
 | 
|---|
| 3244 |         break;;
 | 
|---|
| 3245 |   esac
 | 
|---|
| 3246 | done
 | 
|---|
| 3247 | test "$ac_cv_exeext" = no && ac_cv_exeext=
 | 
|---|
| 3248 | 
 | 
|---|
| 3249 | else
 | 
|---|
| 3250 |   ac_file=''
 | 
|---|
| 3251 | fi
 | 
|---|
| 3252 | if test -z "$ac_file"; then :
 | 
|---|
| 3253 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 3254 | $as_echo "no" >&6; }
 | 
|---|
| 3255 | $as_echo "$as_me: failed program was:" >&5
 | 
|---|
| 3256 | sed 's/^/| /' conftest.$ac_ext >&5
 | 
|---|
| 3257 | 
 | 
|---|
| 3258 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 3259 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 3260 | as_fn_error 77 "C++ compiler cannot create executables
 | 
|---|
| 3261 | See \`config.log' for more details" "$LINENO" 5; }
 | 
|---|
| 3262 | else
 | 
|---|
| 3263 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 | 
|---|
| 3264 | $as_echo "yes" >&6; }
 | 
|---|
| 3265 | fi
 | 
|---|
| 3266 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
 | 
|---|
| 3267 | $as_echo_n "checking for C++ compiler default output file name... " >&6; }
 | 
|---|
| 3268 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 | 
|---|
| 3269 | $as_echo "$ac_file" >&6; }
 | 
|---|
| 3270 | ac_exeext=$ac_cv_exeext
 | 
|---|
| 3271 | 
 | 
|---|
| 3272 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 | 
|---|
| 3273 | ac_clean_files=$ac_clean_files_save
 | 
|---|
| 3274 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 | 
|---|
| 3275 | $as_echo_n "checking for suffix of executables... " >&6; }
 | 
|---|
| 3276 | if { { ac_try="$ac_link"
 | 
|---|
| 3277 | case "(($ac_try" in
 | 
|---|
| 3278 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 3279 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 3280 | esac
 | 
|---|
| 3281 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 3282 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 3283 |   (eval "$ac_link") 2>&5
 | 
|---|
| 3284 |   ac_status=$?
 | 
|---|
| 3285 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 3286 |   test $ac_status = 0; }; then :
 | 
|---|
| 3287 |   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 | 
|---|
| 3288 | # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 | 
|---|
| 3289 | # work properly (i.e., refer to `conftest.exe'), while it won't with
 | 
|---|
| 3290 | # `rm'.
 | 
|---|
| 3291 | for ac_file in conftest.exe conftest conftest.*; do
 | 
|---|
| 3292 |   test -f "$ac_file" || continue
 | 
|---|
| 3293 |   case $ac_file in
 | 
|---|
| 3294 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 | 
|---|
| 3295 |     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 | 
|---|
| 3296 |           break;;
 | 
|---|
| 3297 |     * ) break;;
 | 
|---|
| 3298 |   esac
 | 
|---|
| 3299 | done
 | 
|---|
| 3300 | else
 | 
|---|
| 3301 |   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 3302 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 3303 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 | 
|---|
| 3304 | See \`config.log' for more details" "$LINENO" 5; }
 | 
|---|
| 3305 | fi
 | 
|---|
| 3306 | rm -f conftest conftest$ac_cv_exeext
 | 
|---|
| 3307 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 | 
|---|
| 3308 | $as_echo "$ac_cv_exeext" >&6; }
 | 
|---|
| 3309 | 
 | 
|---|
| 3310 | rm -f conftest.$ac_ext
 | 
|---|
| 3311 | EXEEXT=$ac_cv_exeext
 | 
|---|
| 3312 | ac_exeext=$EXEEXT
 | 
|---|
| 3313 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 3314 | /* end confdefs.h.  */
 | 
|---|
| 3315 | #include <stdio.h>
 | 
|---|
| 3316 | int
 | 
|---|
| 3317 | main ()
 | 
|---|
| 3318 | {
 | 
|---|
| 3319 | FILE *f = fopen ("conftest.out", "w");
 | 
|---|
| 3320 |  return ferror (f) || fclose (f) != 0;
 | 
|---|
| 3321 | 
 | 
|---|
| 3322 |   ;
 | 
|---|
| 3323 |   return 0;
 | 
|---|
| 3324 | }
 | 
|---|
| 3325 | _ACEOF
 | 
|---|
| 3326 | ac_clean_files="$ac_clean_files conftest.out"
 | 
|---|
| 3327 | # Check that the compiler produces executables we can run.  If not, either
 | 
|---|
| 3328 | # the compiler is broken, or we cross compile.
 | 
|---|
| 3329 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 | 
|---|
| 3330 | $as_echo_n "checking whether we are cross compiling... " >&6; }
 | 
|---|
| 3331 | if test "$cross_compiling" != yes; then
 | 
|---|
| 3332 |   { { ac_try="$ac_link"
 | 
|---|
| 3333 | case "(($ac_try" in
 | 
|---|
| 3334 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 3335 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 3336 | esac
 | 
|---|
| 3337 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 3338 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 3339 |   (eval "$ac_link") 2>&5
 | 
|---|
| 3340 |   ac_status=$?
 | 
|---|
| 3341 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 3342 |   test $ac_status = 0; }
 | 
|---|
| 3343 |   if { ac_try='./conftest$ac_cv_exeext'
 | 
|---|
| 3344 |   { { case "(($ac_try" in
 | 
|---|
| 3345 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 3346 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 3347 | esac
 | 
|---|
| 3348 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 3349 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 3350 |   (eval "$ac_try") 2>&5
 | 
|---|
| 3351 |   ac_status=$?
 | 
|---|
| 3352 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 3353 |   test $ac_status = 0; }; }; then
 | 
|---|
| 3354 |     cross_compiling=no
 | 
|---|
| 3355 |   else
 | 
|---|
| 3356 |     if test "$cross_compiling" = maybe; then
 | 
|---|
| 3357 |         cross_compiling=yes
 | 
|---|
| 3358 |     else
 | 
|---|
| 3359 |         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 3360 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 3361 | as_fn_error $? "cannot run C++ compiled programs.
 | 
|---|
| 3362 | If you meant to cross compile, use \`--host'.
 | 
|---|
| 3363 | See \`config.log' for more details" "$LINENO" 5; }
 | 
|---|
| 3364 |     fi
 | 
|---|
| 3365 |   fi
 | 
|---|
| 3366 | fi
 | 
|---|
| 3367 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 | 
|---|
| 3368 | $as_echo "$cross_compiling" >&6; }
 | 
|---|
| 3369 | 
 | 
|---|
| 3370 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 | 
|---|
| 3371 | ac_clean_files=$ac_clean_files_save
 | 
|---|
| 3372 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 | 
|---|
| 3373 | $as_echo_n "checking for suffix of object files... " >&6; }
 | 
|---|
| 3374 | if ${ac_cv_objext+:} false; then :
 | 
|---|
| 3375 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3376 | else
 | 
|---|
| 3377 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 3378 | /* end confdefs.h.  */
 | 
|---|
| 3379 | 
 | 
|---|
| 3380 | int
 | 
|---|
| 3381 | main ()
 | 
|---|
| 3382 | {
 | 
|---|
| 3383 | 
 | 
|---|
| 3384 |   ;
 | 
|---|
| 3385 |   return 0;
 | 
|---|
| 3386 | }
 | 
|---|
| 3387 | _ACEOF
 | 
|---|
| 3388 | rm -f conftest.o conftest.obj
 | 
|---|
| 3389 | if { { ac_try="$ac_compile"
 | 
|---|
| 3390 | case "(($ac_try" in
 | 
|---|
| 3391 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 3392 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 3393 | esac
 | 
|---|
| 3394 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 3395 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 3396 |   (eval "$ac_compile") 2>&5
 | 
|---|
| 3397 |   ac_status=$?
 | 
|---|
| 3398 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 3399 |   test $ac_status = 0; }; then :
 | 
|---|
| 3400 |   for ac_file in conftest.o conftest.obj conftest.*; do
 | 
|---|
| 3401 |   test -f "$ac_file" || continue;
 | 
|---|
| 3402 |   case $ac_file in
 | 
|---|
| 3403 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 | 
|---|
| 3404 |     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 | 
|---|
| 3405 |        break;;
 | 
|---|
| 3406 |   esac
 | 
|---|
| 3407 | done
 | 
|---|
| 3408 | else
 | 
|---|
| 3409 |   $as_echo "$as_me: failed program was:" >&5
 | 
|---|
| 3410 | sed 's/^/| /' conftest.$ac_ext >&5
 | 
|---|
| 3411 | 
 | 
|---|
| 3412 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 3413 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 3414 | as_fn_error $? "cannot compute suffix of object files: cannot compile
 | 
|---|
| 3415 | See \`config.log' for more details" "$LINENO" 5; }
 | 
|---|
| 3416 | fi
 | 
|---|
| 3417 | rm -f conftest.$ac_cv_objext conftest.$ac_ext
 | 
|---|
| 3418 | fi
 | 
|---|
| 3419 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 | 
|---|
| 3420 | $as_echo "$ac_cv_objext" >&6; }
 | 
|---|
| 3421 | OBJEXT=$ac_cv_objext
 | 
|---|
| 3422 | ac_objext=$OBJEXT
 | 
|---|
| 3423 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 | 
|---|
| 3424 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 | 
|---|
| 3425 | if ${ac_cv_cxx_compiler_gnu+:} false; then :
 | 
|---|
| 3426 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3427 | else
 | 
|---|
| 3428 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 3429 | /* end confdefs.h.  */
 | 
|---|
| 3430 | 
 | 
|---|
| 3431 | int
 | 
|---|
| 3432 | main ()
 | 
|---|
| 3433 | {
 | 
|---|
| 3434 | #ifndef __GNUC__
 | 
|---|
| 3435 |        choke me
 | 
|---|
| 3436 | #endif
 | 
|---|
| 3437 | 
 | 
|---|
| 3438 |   ;
 | 
|---|
| 3439 |   return 0;
 | 
|---|
| 3440 | }
 | 
|---|
| 3441 | _ACEOF
 | 
|---|
| 3442 | if ac_fn_cxx_try_compile "$LINENO"; then :
 | 
|---|
| 3443 |   ac_compiler_gnu=yes
 | 
|---|
| 3444 | else
 | 
|---|
| 3445 |   ac_compiler_gnu=no
 | 
|---|
| 3446 | fi
 | 
|---|
| 3447 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 3448 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 | 
|---|
| 3449 | 
 | 
|---|
| 3450 | fi
 | 
|---|
| 3451 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 | 
|---|
| 3452 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 | 
|---|
| 3453 | if test $ac_compiler_gnu = yes; then
 | 
|---|
| 3454 |   GXX=yes
 | 
|---|
| 3455 | else
 | 
|---|
| 3456 |   GXX=
 | 
|---|
| 3457 | fi
 | 
|---|
| 3458 | ac_test_CXXFLAGS=${CXXFLAGS+set}
 | 
|---|
| 3459 | ac_save_CXXFLAGS=$CXXFLAGS
 | 
|---|
| 3460 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 | 
|---|
| 3461 | $as_echo_n "checking whether $CXX accepts -g... " >&6; }
 | 
|---|
| 3462 | if ${ac_cv_prog_cxx_g+:} false; then :
 | 
|---|
| 3463 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3464 | else
 | 
|---|
| 3465 |   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 | 
|---|
| 3466 |    ac_cxx_werror_flag=yes
 | 
|---|
| 3467 |    ac_cv_prog_cxx_g=no
 | 
|---|
| 3468 |    CXXFLAGS="-g"
 | 
|---|
| 3469 |    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 3470 | /* end confdefs.h.  */
 | 
|---|
| 3471 | 
 | 
|---|
| 3472 | int
 | 
|---|
| 3473 | main ()
 | 
|---|
| 3474 | {
 | 
|---|
| 3475 | 
 | 
|---|
| 3476 |   ;
 | 
|---|
| 3477 |   return 0;
 | 
|---|
| 3478 | }
 | 
|---|
| 3479 | _ACEOF
 | 
|---|
| 3480 | if ac_fn_cxx_try_compile "$LINENO"; then :
 | 
|---|
| 3481 |   ac_cv_prog_cxx_g=yes
 | 
|---|
| 3482 | else
 | 
|---|
| 3483 |   CXXFLAGS=""
 | 
|---|
| 3484 |       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 3485 | /* end confdefs.h.  */
 | 
|---|
| 3486 | 
 | 
|---|
| 3487 | int
 | 
|---|
| 3488 | main ()
 | 
|---|
| 3489 | {
 | 
|---|
| 3490 | 
 | 
|---|
| 3491 |   ;
 | 
|---|
| 3492 |   return 0;
 | 
|---|
| 3493 | }
 | 
|---|
| 3494 | _ACEOF
 | 
|---|
| 3495 | if ac_fn_cxx_try_compile "$LINENO"; then :
 | 
|---|
| 3496 | 
 | 
|---|
| 3497 | else
 | 
|---|
| 3498 |   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 | 
|---|
| 3499 |          CXXFLAGS="-g"
 | 
|---|
| 3500 |          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 3501 | /* end confdefs.h.  */
 | 
|---|
| 3502 | 
 | 
|---|
| 3503 | int
 | 
|---|
| 3504 | main ()
 | 
|---|
| 3505 | {
 | 
|---|
| 3506 | 
 | 
|---|
| 3507 |   ;
 | 
|---|
| 3508 |   return 0;
 | 
|---|
| 3509 | }
 | 
|---|
| 3510 | _ACEOF
 | 
|---|
| 3511 | if ac_fn_cxx_try_compile "$LINENO"; then :
 | 
|---|
| 3512 |   ac_cv_prog_cxx_g=yes
 | 
|---|
| 3513 | fi
 | 
|---|
| 3514 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 3515 | fi
 | 
|---|
| 3516 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 3517 | fi
 | 
|---|
| 3518 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 3519 |    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 | 
|---|
| 3520 | fi
 | 
|---|
| 3521 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 | 
|---|
| 3522 | $as_echo "$ac_cv_prog_cxx_g" >&6; }
 | 
|---|
| 3523 | if test "$ac_test_CXXFLAGS" = set; then
 | 
|---|
| 3524 |   CXXFLAGS=$ac_save_CXXFLAGS
 | 
|---|
| 3525 | elif test $ac_cv_prog_cxx_g = yes; then
 | 
|---|
| 3526 |   if test "$GXX" = yes; then
 | 
|---|
| 3527 |     CXXFLAGS="-g -O2"
 | 
|---|
| 3528 |   else
 | 
|---|
| 3529 |     CXXFLAGS="-g"
 | 
|---|
| 3530 |   fi
 | 
|---|
| 3531 | else
 | 
|---|
| 3532 |   if test "$GXX" = yes; then
 | 
|---|
| 3533 |     CXXFLAGS="-O2"
 | 
|---|
| 3534 |   else
 | 
|---|
| 3535 |     CXXFLAGS=
 | 
|---|
| 3536 |   fi
 | 
|---|
| 3537 | fi
 | 
|---|
| 3538 | ac_ext=c
 | 
|---|
| 3539 | ac_cpp='$CPP $CPPFLAGS'
 | 
|---|
| 3540 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 3541 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 3542 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
 | 
|---|
| 3543 | DEPDIR="${am__leading_dot}deps"
 | 
|---|
| 3544 | 
 | 
|---|
| 3545 | ac_config_commands="$ac_config_commands depfiles"
 | 
|---|
| 3546 | 
 | 
|---|
| 3547 | 
 | 
|---|
| 3548 | am_make=${MAKE-make}
 | 
|---|
| 3549 | cat > confinc << 'END'
 | 
|---|
| 3550 | am__doit:
 | 
|---|
| 3551 |         @echo this is the am__doit target
 | 
|---|
| 3552 | .PHONY: am__doit
 | 
|---|
| 3553 | END
 | 
|---|
| 3554 | # If we don't find an include directive, just comment out the code.
 | 
|---|
| 3555 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 | 
|---|
| 3556 | $as_echo_n "checking for style of include used by $am_make... " >&6; }
 | 
|---|
| 3557 | am__include="#"
 | 
|---|
| 3558 | am__quote=
 | 
|---|
| 3559 | _am_result=none
 | 
|---|
| 3560 | # First try GNU make style include.
 | 
|---|
| 3561 | echo "include confinc" > confmf
 | 
|---|
| 3562 | # Ignore all kinds of additional output from `make'.
 | 
|---|
| 3563 | case `$am_make -s -f confmf 2> /dev/null` in #(
 | 
|---|
| 3564 | *the\ am__doit\ target*)
 | 
|---|
| 3565 |   am__include=include
 | 
|---|
| 3566 |   am__quote=
 | 
|---|
| 3567 |   _am_result=GNU
 | 
|---|
| 3568 |   ;;
 | 
|---|
| 3569 | esac
 | 
|---|
| 3570 | # Now try BSD make style include.
 | 
|---|
| 3571 | if test "$am__include" = "#"; then
 | 
|---|
| 3572 |    echo '.include "confinc"' > confmf
 | 
|---|
| 3573 |    case `$am_make -s -f confmf 2> /dev/null` in #(
 | 
|---|
| 3574 |    *the\ am__doit\ target*)
 | 
|---|
| 3575 |      am__include=.include
 | 
|---|
| 3576 |      am__quote="\""
 | 
|---|
| 3577 |      _am_result=BSD
 | 
|---|
| 3578 |      ;;
 | 
|---|
| 3579 |    esac
 | 
|---|
| 3580 | fi
 | 
|---|
| 3581 | 
 | 
|---|
| 3582 | 
 | 
|---|
| 3583 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 | 
|---|
| 3584 | $as_echo "$_am_result" >&6; }
 | 
|---|
| 3585 | rm -f confinc confmf
 | 
|---|
| 3586 | 
 | 
|---|
| 3587 | # Check whether --enable-dependency-tracking was given.
 | 
|---|
| 3588 | if test "${enable_dependency_tracking+set}" = set; then :
 | 
|---|
| 3589 |   enableval=$enable_dependency_tracking;
 | 
|---|
| 3590 | fi
 | 
|---|
| 3591 | 
 | 
|---|
| 3592 | if test "x$enable_dependency_tracking" != xno; then
 | 
|---|
| 3593 |   am_depcomp="$ac_aux_dir/depcomp"
 | 
|---|
| 3594 |   AMDEPBACKSLASH='\'
 | 
|---|
| 3595 |   am__nodep='_no'
 | 
|---|
| 3596 | fi
 | 
|---|
| 3597 |  if test "x$enable_dependency_tracking" != xno; then
 | 
|---|
| 3598 |   AMDEP_TRUE=
 | 
|---|
| 3599 |   AMDEP_FALSE='#'
 | 
|---|
| 3600 | else
 | 
|---|
| 3601 |   AMDEP_TRUE='#'
 | 
|---|
| 3602 |   AMDEP_FALSE=
 | 
|---|
| 3603 | fi
 | 
|---|
| 3604 | 
 | 
|---|
| 3605 | 
 | 
|---|
| 3606 | 
 | 
|---|
| 3607 | depcc="$CXX"  am_compiler_list=
 | 
|---|
| 3608 | 
 | 
|---|
| 3609 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 | 
|---|
| 3610 | $as_echo_n "checking dependency style of $depcc... " >&6; }
 | 
|---|
| 3611 | if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
 | 
|---|
| 3612 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3613 | else
 | 
|---|
| 3614 |   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 | 
|---|
| 3615 |   # We make a subdir and do the tests there.  Otherwise we can end up
 | 
|---|
| 3616 |   # making bogus files that we don't know about and never remove.  For
 | 
|---|
| 3617 |   # instance it was reported that on HP-UX the gcc test will end up
 | 
|---|
| 3618 |   # making a dummy file named `D' -- because `-MD' means `put the output
 | 
|---|
| 3619 |   # in D'.
 | 
|---|
| 3620 |   rm -rf conftest.dir
 | 
|---|
| 3621 |   mkdir conftest.dir
 | 
|---|
| 3622 |   # Copy depcomp to subdir because otherwise we won't find it if we're
 | 
|---|
| 3623 |   # using a relative directory.
 | 
|---|
| 3624 |   cp "$am_depcomp" conftest.dir
 | 
|---|
| 3625 |   cd conftest.dir
 | 
|---|
| 3626 |   # We will build objects and dependencies in a subdirectory because
 | 
|---|
| 3627 |   # it helps to detect inapplicable dependency modes.  For instance
 | 
|---|
| 3628 |   # both Tru64's cc and ICC support -MD to output dependencies as a
 | 
|---|
| 3629 |   # side effect of compilation, but ICC will put the dependencies in
 | 
|---|
| 3630 |   # the current directory while Tru64 will put them in the object
 | 
|---|
| 3631 |   # directory.
 | 
|---|
| 3632 |   mkdir sub
 | 
|---|
| 3633 | 
 | 
|---|
| 3634 |   am_cv_CXX_dependencies_compiler_type=none
 | 
|---|
| 3635 |   if test "$am_compiler_list" = ""; then
 | 
|---|
| 3636 |      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 | 
|---|
| 3637 |   fi
 | 
|---|
| 3638 |   am__universal=false
 | 
|---|
| 3639 |   case " $depcc " in #(
 | 
|---|
| 3640 |      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 | 
|---|
| 3641 |      esac
 | 
|---|
| 3642 | 
 | 
|---|
| 3643 |   for depmode in $am_compiler_list; do
 | 
|---|
| 3644 |     # Setup a source with many dependencies, because some compilers
 | 
|---|
| 3645 |     # like to wrap large dependency lists on column 80 (with \), and
 | 
|---|
| 3646 |     # we should not choose a depcomp mode which is confused by this.
 | 
|---|
| 3647 |     #
 | 
|---|
| 3648 |     # We need to recreate these files for each test, as the compiler may
 | 
|---|
| 3649 |     # overwrite some of them when testing with obscure command lines.
 | 
|---|
| 3650 |     # This happens at least with the AIX C compiler.
 | 
|---|
| 3651 |     : > sub/conftest.c
 | 
|---|
| 3652 |     for i in 1 2 3 4 5 6; do
 | 
|---|
| 3653 |       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 | 
|---|
| 3654 |       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 | 
|---|
| 3655 |       # Solaris 8's {/usr,}/bin/sh.
 | 
|---|
| 3656 |       touch sub/conftst$i.h
 | 
|---|
| 3657 |     done
 | 
|---|
| 3658 |     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 | 
|---|
| 3659 | 
 | 
|---|
| 3660 |     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 | 
|---|
| 3661 |     # mode.  It turns out that the SunPro C++ compiler does not properly
 | 
|---|
| 3662 |     # handle `-M -o', and we need to detect this.  Also, some Intel
 | 
|---|
| 3663 |     # versions had trouble with output in subdirs
 | 
|---|
| 3664 |     am__obj=sub/conftest.${OBJEXT-o}
 | 
|---|
| 3665 |     am__minus_obj="-o $am__obj"
 | 
|---|
| 3666 |     case $depmode in
 | 
|---|
| 3667 |     gcc)
 | 
|---|
| 3668 |       # This depmode causes a compiler race in universal mode.
 | 
|---|
| 3669 |       test "$am__universal" = false || continue
 | 
|---|
| 3670 |       ;;
 | 
|---|
| 3671 |     nosideeffect)
 | 
|---|
| 3672 |       # after this tag, mechanisms are not by side-effect, so they'll
 | 
|---|
| 3673 |       # only be used when explicitly requested
 | 
|---|
| 3674 |       if test "x$enable_dependency_tracking" = xyes; then
 | 
|---|
| 3675 |         continue
 | 
|---|
| 3676 |       else
 | 
|---|
| 3677 |         break
 | 
|---|
| 3678 |       fi
 | 
|---|
| 3679 |       ;;
 | 
|---|
| 3680 |     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 | 
|---|
| 3681 |       # This compiler won't grok `-c -o', but also, the minuso test has
 | 
|---|
| 3682 |       # not run yet.  These depmodes are late enough in the game, and
 | 
|---|
| 3683 |       # so weak that their functioning should not be impacted.
 | 
|---|
| 3684 |       am__obj=conftest.${OBJEXT-o}
 | 
|---|
| 3685 |       am__minus_obj=
 | 
|---|
| 3686 |       ;;
 | 
|---|
| 3687 |     none) break ;;
 | 
|---|
| 3688 |     esac
 | 
|---|
| 3689 |     if depmode=$depmode \
 | 
|---|
| 3690 |        source=sub/conftest.c object=$am__obj \
 | 
|---|
| 3691 |        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 | 
|---|
| 3692 |        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 | 
|---|
| 3693 |          >/dev/null 2>conftest.err &&
 | 
|---|
| 3694 |        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 3695 |        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 3696 |        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 3697 |        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 | 
|---|
| 3698 |       # icc doesn't choke on unknown options, it will just issue warnings
 | 
|---|
| 3699 |       # or remarks (even with -Werror).  So we grep stderr for any message
 | 
|---|
| 3700 |       # that says an option was ignored or not supported.
 | 
|---|
| 3701 |       # When given -MP, icc 7.0 and 7.1 complain thusly:
 | 
|---|
| 3702 |       #   icc: Command line warning: ignoring option '-M'; no argument required
 | 
|---|
| 3703 |       # The diagnosis changed in icc 8.0:
 | 
|---|
| 3704 |       #   icc: Command line remark: option '-MP' not supported
 | 
|---|
| 3705 |       if (grep 'ignoring option' conftest.err ||
 | 
|---|
| 3706 |           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 | 
|---|
| 3707 |         am_cv_CXX_dependencies_compiler_type=$depmode
 | 
|---|
| 3708 |         break
 | 
|---|
| 3709 |       fi
 | 
|---|
| 3710 |     fi
 | 
|---|
| 3711 |   done
 | 
|---|
| 3712 | 
 | 
|---|
| 3713 |   cd ..
 | 
|---|
| 3714 |   rm -rf conftest.dir
 | 
|---|
| 3715 | else
 | 
|---|
| 3716 |   am_cv_CXX_dependencies_compiler_type=none
 | 
|---|
| 3717 | fi
 | 
|---|
| 3718 | 
 | 
|---|
| 3719 | fi
 | 
|---|
| 3720 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 | 
|---|
| 3721 | $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 | 
|---|
| 3722 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 | 
|---|
| 3723 | 
 | 
|---|
| 3724 |  if
 | 
|---|
| 3725 |   test "x$enable_dependency_tracking" != xno \
 | 
|---|
| 3726 |   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 | 
|---|
| 3727 |   am__fastdepCXX_TRUE=
 | 
|---|
| 3728 |   am__fastdepCXX_FALSE='#'
 | 
|---|
| 3729 | else
 | 
|---|
| 3730 |   am__fastdepCXX_TRUE='#'
 | 
|---|
| 3731 |   am__fastdepCXX_FALSE=
 | 
|---|
| 3732 | fi
 | 
|---|
| 3733 | 
 | 
|---|
| 3734 | 
 | 
|---|
| 3735 | ac_ext=c
 | 
|---|
| 3736 | ac_cpp='$CPP $CPPFLAGS'
 | 
|---|
| 3737 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 3738 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 3739 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
 | 
|---|
| 3740 | if test -n "$ac_tool_prefix"; then
 | 
|---|
| 3741 |   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 | 
|---|
| 3742 | set dummy ${ac_tool_prefix}gcc; ac_word=$2
 | 
|---|
| 3743 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 3744 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 3745 | if ${ac_cv_prog_CC+:} false; then :
 | 
|---|
| 3746 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3747 | else
 | 
|---|
| 3748 |   if test -n "$CC"; then
 | 
|---|
| 3749 |   ac_cv_prog_CC="$CC" # Let the user override the test.
 | 
|---|
| 3750 | else
 | 
|---|
| 3751 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 3752 | for as_dir in $PATH
 | 
|---|
| 3753 | do
 | 
|---|
| 3754 |   IFS=$as_save_IFS
 | 
|---|
| 3755 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 3756 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 3757 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 3758 |     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 | 
|---|
| 3759 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 3760 |     break 2
 | 
|---|
| 3761 |   fi
 | 
|---|
| 3762 | done
 | 
|---|
| 3763 |   done
 | 
|---|
| 3764 | IFS=$as_save_IFS
 | 
|---|
| 3765 | 
 | 
|---|
| 3766 | fi
 | 
|---|
| 3767 | fi
 | 
|---|
| 3768 | CC=$ac_cv_prog_CC
 | 
|---|
| 3769 | if test -n "$CC"; then
 | 
|---|
| 3770 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 | 
|---|
| 3771 | $as_echo "$CC" >&6; }
 | 
|---|
| 3772 | else
 | 
|---|
| 3773 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 3774 | $as_echo "no" >&6; }
 | 
|---|
| 3775 | fi
 | 
|---|
| 3776 | 
 | 
|---|
| 3777 | 
 | 
|---|
| 3778 | fi
 | 
|---|
| 3779 | if test -z "$ac_cv_prog_CC"; then
 | 
|---|
| 3780 |   ac_ct_CC=$CC
 | 
|---|
| 3781 |   # Extract the first word of "gcc", so it can be a program name with args.
 | 
|---|
| 3782 | set dummy gcc; ac_word=$2
 | 
|---|
| 3783 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 3784 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 3785 | if ${ac_cv_prog_ac_ct_CC+:} false; then :
 | 
|---|
| 3786 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3787 | else
 | 
|---|
| 3788 |   if test -n "$ac_ct_CC"; then
 | 
|---|
| 3789 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 | 
|---|
| 3790 | else
 | 
|---|
| 3791 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 3792 | for as_dir in $PATH
 | 
|---|
| 3793 | do
 | 
|---|
| 3794 |   IFS=$as_save_IFS
 | 
|---|
| 3795 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 3796 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 3797 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 3798 |     ac_cv_prog_ac_ct_CC="gcc"
 | 
|---|
| 3799 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 3800 |     break 2
 | 
|---|
| 3801 |   fi
 | 
|---|
| 3802 | done
 | 
|---|
| 3803 |   done
 | 
|---|
| 3804 | IFS=$as_save_IFS
 | 
|---|
| 3805 | 
 | 
|---|
| 3806 | fi
 | 
|---|
| 3807 | fi
 | 
|---|
| 3808 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
 | 
|---|
| 3809 | if test -n "$ac_ct_CC"; then
 | 
|---|
| 3810 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 | 
|---|
| 3811 | $as_echo "$ac_ct_CC" >&6; }
 | 
|---|
| 3812 | else
 | 
|---|
| 3813 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 3814 | $as_echo "no" >&6; }
 | 
|---|
| 3815 | fi
 | 
|---|
| 3816 | 
 | 
|---|
| 3817 |   if test "x$ac_ct_CC" = x; then
 | 
|---|
| 3818 |     CC=""
 | 
|---|
| 3819 |   else
 | 
|---|
| 3820 |     case $cross_compiling:$ac_tool_warned in
 | 
|---|
| 3821 | yes:)
 | 
|---|
| 3822 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 | 
|---|
| 3823 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 | 
|---|
| 3824 | ac_tool_warned=yes ;;
 | 
|---|
| 3825 | esac
 | 
|---|
| 3826 |     CC=$ac_ct_CC
 | 
|---|
| 3827 |   fi
 | 
|---|
| 3828 | else
 | 
|---|
| 3829 |   CC="$ac_cv_prog_CC"
 | 
|---|
| 3830 | fi
 | 
|---|
| 3831 | 
 | 
|---|
| 3832 | if test -z "$CC"; then
 | 
|---|
| 3833 |           if test -n "$ac_tool_prefix"; then
 | 
|---|
| 3834 |     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 | 
|---|
| 3835 | set dummy ${ac_tool_prefix}cc; ac_word=$2
 | 
|---|
| 3836 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 3837 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 3838 | if ${ac_cv_prog_CC+:} false; then :
 | 
|---|
| 3839 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3840 | else
 | 
|---|
| 3841 |   if test -n "$CC"; then
 | 
|---|
| 3842 |   ac_cv_prog_CC="$CC" # Let the user override the test.
 | 
|---|
| 3843 | else
 | 
|---|
| 3844 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 3845 | for as_dir in $PATH
 | 
|---|
| 3846 | do
 | 
|---|
| 3847 |   IFS=$as_save_IFS
 | 
|---|
| 3848 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 3849 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 3850 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 3851 |     ac_cv_prog_CC="${ac_tool_prefix}cc"
 | 
|---|
| 3852 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 3853 |     break 2
 | 
|---|
| 3854 |   fi
 | 
|---|
| 3855 | done
 | 
|---|
| 3856 |   done
 | 
|---|
| 3857 | IFS=$as_save_IFS
 | 
|---|
| 3858 | 
 | 
|---|
| 3859 | fi
 | 
|---|
| 3860 | fi
 | 
|---|
| 3861 | CC=$ac_cv_prog_CC
 | 
|---|
| 3862 | if test -n "$CC"; then
 | 
|---|
| 3863 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 | 
|---|
| 3864 | $as_echo "$CC" >&6; }
 | 
|---|
| 3865 | else
 | 
|---|
| 3866 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 3867 | $as_echo "no" >&6; }
 | 
|---|
| 3868 | fi
 | 
|---|
| 3869 | 
 | 
|---|
| 3870 | 
 | 
|---|
| 3871 |   fi
 | 
|---|
| 3872 | fi
 | 
|---|
| 3873 | if test -z "$CC"; then
 | 
|---|
| 3874 |   # Extract the first word of "cc", so it can be a program name with args.
 | 
|---|
| 3875 | set dummy cc; ac_word=$2
 | 
|---|
| 3876 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 3877 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 3878 | if ${ac_cv_prog_CC+:} false; then :
 | 
|---|
| 3879 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3880 | else
 | 
|---|
| 3881 |   if test -n "$CC"; then
 | 
|---|
| 3882 |   ac_cv_prog_CC="$CC" # Let the user override the test.
 | 
|---|
| 3883 | else
 | 
|---|
| 3884 |   ac_prog_rejected=no
 | 
|---|
| 3885 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 3886 | for as_dir in $PATH
 | 
|---|
| 3887 | do
 | 
|---|
| 3888 |   IFS=$as_save_IFS
 | 
|---|
| 3889 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 3890 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 3891 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 3892 |     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 | 
|---|
| 3893 |        ac_prog_rejected=yes
 | 
|---|
| 3894 |        continue
 | 
|---|
| 3895 |      fi
 | 
|---|
| 3896 |     ac_cv_prog_CC="cc"
 | 
|---|
| 3897 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 3898 |     break 2
 | 
|---|
| 3899 |   fi
 | 
|---|
| 3900 | done
 | 
|---|
| 3901 |   done
 | 
|---|
| 3902 | IFS=$as_save_IFS
 | 
|---|
| 3903 | 
 | 
|---|
| 3904 | if test $ac_prog_rejected = yes; then
 | 
|---|
| 3905 |   # We found a bogon in the path, so make sure we never use it.
 | 
|---|
| 3906 |   set dummy $ac_cv_prog_CC
 | 
|---|
| 3907 |   shift
 | 
|---|
| 3908 |   if test $# != 0; then
 | 
|---|
| 3909 |     # We chose a different compiler from the bogus one.
 | 
|---|
| 3910 |     # However, it has the same basename, so the bogon will be chosen
 | 
|---|
| 3911 |     # first if we set CC to just the basename; use the full file name.
 | 
|---|
| 3912 |     shift
 | 
|---|
| 3913 |     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 | 
|---|
| 3914 |   fi
 | 
|---|
| 3915 | fi
 | 
|---|
| 3916 | fi
 | 
|---|
| 3917 | fi
 | 
|---|
| 3918 | CC=$ac_cv_prog_CC
 | 
|---|
| 3919 | if test -n "$CC"; then
 | 
|---|
| 3920 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 | 
|---|
| 3921 | $as_echo "$CC" >&6; }
 | 
|---|
| 3922 | else
 | 
|---|
| 3923 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 3924 | $as_echo "no" >&6; }
 | 
|---|
| 3925 | fi
 | 
|---|
| 3926 | 
 | 
|---|
| 3927 | 
 | 
|---|
| 3928 | fi
 | 
|---|
| 3929 | if test -z "$CC"; then
 | 
|---|
| 3930 |   if test -n "$ac_tool_prefix"; then
 | 
|---|
| 3931 |   for ac_prog in cl.exe
 | 
|---|
| 3932 |   do
 | 
|---|
| 3933 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 | 
|---|
| 3934 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 | 
|---|
| 3935 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 3936 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 3937 | if ${ac_cv_prog_CC+:} false; then :
 | 
|---|
| 3938 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3939 | else
 | 
|---|
| 3940 |   if test -n "$CC"; then
 | 
|---|
| 3941 |   ac_cv_prog_CC="$CC" # Let the user override the test.
 | 
|---|
| 3942 | else
 | 
|---|
| 3943 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 3944 | for as_dir in $PATH
 | 
|---|
| 3945 | do
 | 
|---|
| 3946 |   IFS=$as_save_IFS
 | 
|---|
| 3947 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 3948 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 3949 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 3950 |     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 | 
|---|
| 3951 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 3952 |     break 2
 | 
|---|
| 3953 |   fi
 | 
|---|
| 3954 | done
 | 
|---|
| 3955 |   done
 | 
|---|
| 3956 | IFS=$as_save_IFS
 | 
|---|
| 3957 | 
 | 
|---|
| 3958 | fi
 | 
|---|
| 3959 | fi
 | 
|---|
| 3960 | CC=$ac_cv_prog_CC
 | 
|---|
| 3961 | if test -n "$CC"; then
 | 
|---|
| 3962 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 | 
|---|
| 3963 | $as_echo "$CC" >&6; }
 | 
|---|
| 3964 | else
 | 
|---|
| 3965 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 3966 | $as_echo "no" >&6; }
 | 
|---|
| 3967 | fi
 | 
|---|
| 3968 | 
 | 
|---|
| 3969 | 
 | 
|---|
| 3970 |     test -n "$CC" && break
 | 
|---|
| 3971 |   done
 | 
|---|
| 3972 | fi
 | 
|---|
| 3973 | if test -z "$CC"; then
 | 
|---|
| 3974 |   ac_ct_CC=$CC
 | 
|---|
| 3975 |   for ac_prog in cl.exe
 | 
|---|
| 3976 | do
 | 
|---|
| 3977 |   # Extract the first word of "$ac_prog", so it can be a program name with args.
 | 
|---|
| 3978 | set dummy $ac_prog; ac_word=$2
 | 
|---|
| 3979 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 3980 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 3981 | if ${ac_cv_prog_ac_ct_CC+:} false; then :
 | 
|---|
| 3982 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 3983 | else
 | 
|---|
| 3984 |   if test -n "$ac_ct_CC"; then
 | 
|---|
| 3985 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 | 
|---|
| 3986 | else
 | 
|---|
| 3987 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 3988 | for as_dir in $PATH
 | 
|---|
| 3989 | do
 | 
|---|
| 3990 |   IFS=$as_save_IFS
 | 
|---|
| 3991 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 3992 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 3993 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 3994 |     ac_cv_prog_ac_ct_CC="$ac_prog"
 | 
|---|
| 3995 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 3996 |     break 2
 | 
|---|
| 3997 |   fi
 | 
|---|
| 3998 | done
 | 
|---|
| 3999 |   done
 | 
|---|
| 4000 | IFS=$as_save_IFS
 | 
|---|
| 4001 | 
 | 
|---|
| 4002 | fi
 | 
|---|
| 4003 | fi
 | 
|---|
| 4004 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
 | 
|---|
| 4005 | if test -n "$ac_ct_CC"; then
 | 
|---|
| 4006 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 | 
|---|
| 4007 | $as_echo "$ac_ct_CC" >&6; }
 | 
|---|
| 4008 | else
 | 
|---|
| 4009 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 4010 | $as_echo "no" >&6; }
 | 
|---|
| 4011 | fi
 | 
|---|
| 4012 | 
 | 
|---|
| 4013 | 
 | 
|---|
| 4014 |   test -n "$ac_ct_CC" && break
 | 
|---|
| 4015 | done
 | 
|---|
| 4016 | 
 | 
|---|
| 4017 |   if test "x$ac_ct_CC" = x; then
 | 
|---|
| 4018 |     CC=""
 | 
|---|
| 4019 |   else
 | 
|---|
| 4020 |     case $cross_compiling:$ac_tool_warned in
 | 
|---|
| 4021 | yes:)
 | 
|---|
| 4022 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 | 
|---|
| 4023 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 | 
|---|
| 4024 | ac_tool_warned=yes ;;
 | 
|---|
| 4025 | esac
 | 
|---|
| 4026 |     CC=$ac_ct_CC
 | 
|---|
| 4027 |   fi
 | 
|---|
| 4028 | fi
 | 
|---|
| 4029 | 
 | 
|---|
| 4030 | fi
 | 
|---|
| 4031 | 
 | 
|---|
| 4032 | 
 | 
|---|
| 4033 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 4034 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 4035 | as_fn_error $? "no acceptable C compiler found in \$PATH
 | 
|---|
| 4036 | See \`config.log' for more details" "$LINENO" 5; }
 | 
|---|
| 4037 | 
 | 
|---|
| 4038 | # Provide some information about the compiler.
 | 
|---|
| 4039 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 | 
|---|
| 4040 | set X $ac_compile
 | 
|---|
| 4041 | ac_compiler=$2
 | 
|---|
| 4042 | for ac_option in --version -v -V -qversion; do
 | 
|---|
| 4043 |   { { ac_try="$ac_compiler $ac_option >&5"
 | 
|---|
| 4044 | case "(($ac_try" in
 | 
|---|
| 4045 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 4046 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 4047 | esac
 | 
|---|
| 4048 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 4049 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 4050 |   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 | 
|---|
| 4051 |   ac_status=$?
 | 
|---|
| 4052 |   if test -s conftest.err; then
 | 
|---|
| 4053 |     sed '10a\
 | 
|---|
| 4054 | ... rest of stderr output deleted ...
 | 
|---|
| 4055 |          10q' conftest.err >conftest.er1
 | 
|---|
| 4056 |     cat conftest.er1 >&5
 | 
|---|
| 4057 |   fi
 | 
|---|
| 4058 |   rm -f conftest.er1 conftest.err
 | 
|---|
| 4059 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 4060 |   test $ac_status = 0; }
 | 
|---|
| 4061 | done
 | 
|---|
| 4062 | 
 | 
|---|
| 4063 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 | 
|---|
| 4064 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 | 
|---|
| 4065 | if ${ac_cv_c_compiler_gnu+:} false; then :
 | 
|---|
| 4066 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4067 | else
 | 
|---|
| 4068 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 4069 | /* end confdefs.h.  */
 | 
|---|
| 4070 | 
 | 
|---|
| 4071 | int
 | 
|---|
| 4072 | main ()
 | 
|---|
| 4073 | {
 | 
|---|
| 4074 | #ifndef __GNUC__
 | 
|---|
| 4075 |        choke me
 | 
|---|
| 4076 | #endif
 | 
|---|
| 4077 | 
 | 
|---|
| 4078 |   ;
 | 
|---|
| 4079 |   return 0;
 | 
|---|
| 4080 | }
 | 
|---|
| 4081 | _ACEOF
 | 
|---|
| 4082 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 4083 |   ac_compiler_gnu=yes
 | 
|---|
| 4084 | else
 | 
|---|
| 4085 |   ac_compiler_gnu=no
 | 
|---|
| 4086 | fi
 | 
|---|
| 4087 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 4088 | ac_cv_c_compiler_gnu=$ac_compiler_gnu
 | 
|---|
| 4089 | 
 | 
|---|
| 4090 | fi
 | 
|---|
| 4091 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 | 
|---|
| 4092 | $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 | 
|---|
| 4093 | if test $ac_compiler_gnu = yes; then
 | 
|---|
| 4094 |   GCC=yes
 | 
|---|
| 4095 | else
 | 
|---|
| 4096 |   GCC=
 | 
|---|
| 4097 | fi
 | 
|---|
| 4098 | ac_test_CFLAGS=${CFLAGS+set}
 | 
|---|
| 4099 | ac_save_CFLAGS=$CFLAGS
 | 
|---|
| 4100 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 | 
|---|
| 4101 | $as_echo_n "checking whether $CC accepts -g... " >&6; }
 | 
|---|
| 4102 | if ${ac_cv_prog_cc_g+:} false; then :
 | 
|---|
| 4103 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4104 | else
 | 
|---|
| 4105 |   ac_save_c_werror_flag=$ac_c_werror_flag
 | 
|---|
| 4106 |    ac_c_werror_flag=yes
 | 
|---|
| 4107 |    ac_cv_prog_cc_g=no
 | 
|---|
| 4108 |    CFLAGS="-g"
 | 
|---|
| 4109 |    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 4110 | /* end confdefs.h.  */
 | 
|---|
| 4111 | 
 | 
|---|
| 4112 | int
 | 
|---|
| 4113 | main ()
 | 
|---|
| 4114 | {
 | 
|---|
| 4115 | 
 | 
|---|
| 4116 |   ;
 | 
|---|
| 4117 |   return 0;
 | 
|---|
| 4118 | }
 | 
|---|
| 4119 | _ACEOF
 | 
|---|
| 4120 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 4121 |   ac_cv_prog_cc_g=yes
 | 
|---|
| 4122 | else
 | 
|---|
| 4123 |   CFLAGS=""
 | 
|---|
| 4124 |       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 4125 | /* end confdefs.h.  */
 | 
|---|
| 4126 | 
 | 
|---|
| 4127 | int
 | 
|---|
| 4128 | main ()
 | 
|---|
| 4129 | {
 | 
|---|
| 4130 | 
 | 
|---|
| 4131 |   ;
 | 
|---|
| 4132 |   return 0;
 | 
|---|
| 4133 | }
 | 
|---|
| 4134 | _ACEOF
 | 
|---|
| 4135 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 4136 | 
 | 
|---|
| 4137 | else
 | 
|---|
| 4138 |   ac_c_werror_flag=$ac_save_c_werror_flag
 | 
|---|
| 4139 |          CFLAGS="-g"
 | 
|---|
| 4140 |          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 4141 | /* end confdefs.h.  */
 | 
|---|
| 4142 | 
 | 
|---|
| 4143 | int
 | 
|---|
| 4144 | main ()
 | 
|---|
| 4145 | {
 | 
|---|
| 4146 | 
 | 
|---|
| 4147 |   ;
 | 
|---|
| 4148 |   return 0;
 | 
|---|
| 4149 | }
 | 
|---|
| 4150 | _ACEOF
 | 
|---|
| 4151 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 4152 |   ac_cv_prog_cc_g=yes
 | 
|---|
| 4153 | fi
 | 
|---|
| 4154 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 4155 | fi
 | 
|---|
| 4156 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 4157 | fi
 | 
|---|
| 4158 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 4159 |    ac_c_werror_flag=$ac_save_c_werror_flag
 | 
|---|
| 4160 | fi
 | 
|---|
| 4161 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 | 
|---|
| 4162 | $as_echo "$ac_cv_prog_cc_g" >&6; }
 | 
|---|
| 4163 | if test "$ac_test_CFLAGS" = set; then
 | 
|---|
| 4164 |   CFLAGS=$ac_save_CFLAGS
 | 
|---|
| 4165 | elif test $ac_cv_prog_cc_g = yes; then
 | 
|---|
| 4166 |   if test "$GCC" = yes; then
 | 
|---|
| 4167 |     CFLAGS="-g -O2"
 | 
|---|
| 4168 |   else
 | 
|---|
| 4169 |     CFLAGS="-g"
 | 
|---|
| 4170 |   fi
 | 
|---|
| 4171 | else
 | 
|---|
| 4172 |   if test "$GCC" = yes; then
 | 
|---|
| 4173 |     CFLAGS="-O2"
 | 
|---|
| 4174 |   else
 | 
|---|
| 4175 |     CFLAGS=
 | 
|---|
| 4176 |   fi
 | 
|---|
| 4177 | fi
 | 
|---|
| 4178 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 | 
|---|
| 4179 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 | 
|---|
| 4180 | if ${ac_cv_prog_cc_c89+:} false; then :
 | 
|---|
| 4181 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4182 | else
 | 
|---|
| 4183 |   ac_cv_prog_cc_c89=no
 | 
|---|
| 4184 | ac_save_CC=$CC
 | 
|---|
| 4185 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 4186 | /* end confdefs.h.  */
 | 
|---|
| 4187 | #include <stdarg.h>
 | 
|---|
| 4188 | #include <stdio.h>
 | 
|---|
| 4189 | #include <sys/types.h>
 | 
|---|
| 4190 | #include <sys/stat.h>
 | 
|---|
| 4191 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 | 
|---|
| 4192 | struct buf { int x; };
 | 
|---|
| 4193 | FILE * (*rcsopen) (struct buf *, struct stat *, int);
 | 
|---|
| 4194 | static char *e (p, i)
 | 
|---|
| 4195 |      char **p;
 | 
|---|
| 4196 |      int i;
 | 
|---|
| 4197 | {
 | 
|---|
| 4198 |   return p[i];
 | 
|---|
| 4199 | }
 | 
|---|
| 4200 | static char *f (char * (*g) (char **, int), char **p, ...)
 | 
|---|
| 4201 | {
 | 
|---|
| 4202 |   char *s;
 | 
|---|
| 4203 |   va_list v;
 | 
|---|
| 4204 |   va_start (v,p);
 | 
|---|
| 4205 |   s = g (p, va_arg (v,int));
 | 
|---|
| 4206 |   va_end (v);
 | 
|---|
| 4207 |   return s;
 | 
|---|
| 4208 | }
 | 
|---|
| 4209 | 
 | 
|---|
| 4210 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 | 
|---|
| 4211 |    function prototypes and stuff, but not '\xHH' hex character constants.
 | 
|---|
| 4212 |    These don't provoke an error unfortunately, instead are silently treated
 | 
|---|
| 4213 |    as 'x'.  The following induces an error, until -std is added to get
 | 
|---|
| 4214 |    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 | 
|---|
| 4215 |    array size at least.  It's necessary to write '\x00'==0 to get something
 | 
|---|
| 4216 |    that's true only with -std.  */
 | 
|---|
| 4217 | int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 | 
|---|
| 4218 | 
 | 
|---|
| 4219 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 | 
|---|
| 4220 |    inside strings and character constants.  */
 | 
|---|
| 4221 | #define FOO(x) 'x'
 | 
|---|
| 4222 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 | 
|---|
| 4223 | 
 | 
|---|
| 4224 | int test (int i, double x);
 | 
|---|
| 4225 | struct s1 {int (*f) (int a);};
 | 
|---|
| 4226 | struct s2 {int (*f) (double a);};
 | 
|---|
| 4227 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 | 
|---|
| 4228 | int argc;
 | 
|---|
| 4229 | char **argv;
 | 
|---|
| 4230 | int
 | 
|---|
| 4231 | main ()
 | 
|---|
| 4232 | {
 | 
|---|
| 4233 | return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 | 
|---|
| 4234 |   ;
 | 
|---|
| 4235 |   return 0;
 | 
|---|
| 4236 | }
 | 
|---|
| 4237 | _ACEOF
 | 
|---|
| 4238 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 | 
|---|
| 4239 |         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 | 
|---|
| 4240 | do
 | 
|---|
| 4241 |   CC="$ac_save_CC $ac_arg"
 | 
|---|
| 4242 |   if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 4243 |   ac_cv_prog_cc_c89=$ac_arg
 | 
|---|
| 4244 | fi
 | 
|---|
| 4245 | rm -f core conftest.err conftest.$ac_objext
 | 
|---|
| 4246 |   test "x$ac_cv_prog_cc_c89" != "xno" && break
 | 
|---|
| 4247 | done
 | 
|---|
| 4248 | rm -f conftest.$ac_ext
 | 
|---|
| 4249 | CC=$ac_save_CC
 | 
|---|
| 4250 | 
 | 
|---|
| 4251 | fi
 | 
|---|
| 4252 | # AC_CACHE_VAL
 | 
|---|
| 4253 | case "x$ac_cv_prog_cc_c89" in
 | 
|---|
| 4254 |   x)
 | 
|---|
| 4255 |     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 | 
|---|
| 4256 | $as_echo "none needed" >&6; } ;;
 | 
|---|
| 4257 |   xno)
 | 
|---|
| 4258 |     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 | 
|---|
| 4259 | $as_echo "unsupported" >&6; } ;;
 | 
|---|
| 4260 |   *)
 | 
|---|
| 4261 |     CC="$CC $ac_cv_prog_cc_c89"
 | 
|---|
| 4262 |     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 | 
|---|
| 4263 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 | 
|---|
| 4264 | esac
 | 
|---|
| 4265 | if test "x$ac_cv_prog_cc_c89" != xno; then :
 | 
|---|
| 4266 | 
 | 
|---|
| 4267 | fi
 | 
|---|
| 4268 | 
 | 
|---|
| 4269 | ac_ext=c
 | 
|---|
| 4270 | ac_cpp='$CPP $CPPFLAGS'
 | 
|---|
| 4271 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 4272 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 4273 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
 | 
|---|
| 4274 | 
 | 
|---|
| 4275 | depcc="$CC"   am_compiler_list=
 | 
|---|
| 4276 | 
 | 
|---|
| 4277 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 | 
|---|
| 4278 | $as_echo_n "checking dependency style of $depcc... " >&6; }
 | 
|---|
| 4279 | if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 | 
|---|
| 4280 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4281 | else
 | 
|---|
| 4282 |   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 | 
|---|
| 4283 |   # We make a subdir and do the tests there.  Otherwise we can end up
 | 
|---|
| 4284 |   # making bogus files that we don't know about and never remove.  For
 | 
|---|
| 4285 |   # instance it was reported that on HP-UX the gcc test will end up
 | 
|---|
| 4286 |   # making a dummy file named `D' -- because `-MD' means `put the output
 | 
|---|
| 4287 |   # in D'.
 | 
|---|
| 4288 |   rm -rf conftest.dir
 | 
|---|
| 4289 |   mkdir conftest.dir
 | 
|---|
| 4290 |   # Copy depcomp to subdir because otherwise we won't find it if we're
 | 
|---|
| 4291 |   # using a relative directory.
 | 
|---|
| 4292 |   cp "$am_depcomp" conftest.dir
 | 
|---|
| 4293 |   cd conftest.dir
 | 
|---|
| 4294 |   # We will build objects and dependencies in a subdirectory because
 | 
|---|
| 4295 |   # it helps to detect inapplicable dependency modes.  For instance
 | 
|---|
| 4296 |   # both Tru64's cc and ICC support -MD to output dependencies as a
 | 
|---|
| 4297 |   # side effect of compilation, but ICC will put the dependencies in
 | 
|---|
| 4298 |   # the current directory while Tru64 will put them in the object
 | 
|---|
| 4299 |   # directory.
 | 
|---|
| 4300 |   mkdir sub
 | 
|---|
| 4301 | 
 | 
|---|
| 4302 |   am_cv_CC_dependencies_compiler_type=none
 | 
|---|
| 4303 |   if test "$am_compiler_list" = ""; then
 | 
|---|
| 4304 |      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 | 
|---|
| 4305 |   fi
 | 
|---|
| 4306 |   am__universal=false
 | 
|---|
| 4307 |   case " $depcc " in #(
 | 
|---|
| 4308 |      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 | 
|---|
| 4309 |      esac
 | 
|---|
| 4310 | 
 | 
|---|
| 4311 |   for depmode in $am_compiler_list; do
 | 
|---|
| 4312 |     # Setup a source with many dependencies, because some compilers
 | 
|---|
| 4313 |     # like to wrap large dependency lists on column 80 (with \), and
 | 
|---|
| 4314 |     # we should not choose a depcomp mode which is confused by this.
 | 
|---|
| 4315 |     #
 | 
|---|
| 4316 |     # We need to recreate these files for each test, as the compiler may
 | 
|---|
| 4317 |     # overwrite some of them when testing with obscure command lines.
 | 
|---|
| 4318 |     # This happens at least with the AIX C compiler.
 | 
|---|
| 4319 |     : > sub/conftest.c
 | 
|---|
| 4320 |     for i in 1 2 3 4 5 6; do
 | 
|---|
| 4321 |       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 | 
|---|
| 4322 |       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 | 
|---|
| 4323 |       # Solaris 8's {/usr,}/bin/sh.
 | 
|---|
| 4324 |       touch sub/conftst$i.h
 | 
|---|
| 4325 |     done
 | 
|---|
| 4326 |     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 | 
|---|
| 4327 | 
 | 
|---|
| 4328 |     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 | 
|---|
| 4329 |     # mode.  It turns out that the SunPro C++ compiler does not properly
 | 
|---|
| 4330 |     # handle `-M -o', and we need to detect this.  Also, some Intel
 | 
|---|
| 4331 |     # versions had trouble with output in subdirs
 | 
|---|
| 4332 |     am__obj=sub/conftest.${OBJEXT-o}
 | 
|---|
| 4333 |     am__minus_obj="-o $am__obj"
 | 
|---|
| 4334 |     case $depmode in
 | 
|---|
| 4335 |     gcc)
 | 
|---|
| 4336 |       # This depmode causes a compiler race in universal mode.
 | 
|---|
| 4337 |       test "$am__universal" = false || continue
 | 
|---|
| 4338 |       ;;
 | 
|---|
| 4339 |     nosideeffect)
 | 
|---|
| 4340 |       # after this tag, mechanisms are not by side-effect, so they'll
 | 
|---|
| 4341 |       # only be used when explicitly requested
 | 
|---|
| 4342 |       if test "x$enable_dependency_tracking" = xyes; then
 | 
|---|
| 4343 |         continue
 | 
|---|
| 4344 |       else
 | 
|---|
| 4345 |         break
 | 
|---|
| 4346 |       fi
 | 
|---|
| 4347 |       ;;
 | 
|---|
| 4348 |     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 | 
|---|
| 4349 |       # This compiler won't grok `-c -o', but also, the minuso test has
 | 
|---|
| 4350 |       # not run yet.  These depmodes are late enough in the game, and
 | 
|---|
| 4351 |       # so weak that their functioning should not be impacted.
 | 
|---|
| 4352 |       am__obj=conftest.${OBJEXT-o}
 | 
|---|
| 4353 |       am__minus_obj=
 | 
|---|
| 4354 |       ;;
 | 
|---|
| 4355 |     none) break ;;
 | 
|---|
| 4356 |     esac
 | 
|---|
| 4357 |     if depmode=$depmode \
 | 
|---|
| 4358 |        source=sub/conftest.c object=$am__obj \
 | 
|---|
| 4359 |        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 | 
|---|
| 4360 |        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 | 
|---|
| 4361 |          >/dev/null 2>conftest.err &&
 | 
|---|
| 4362 |        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 4363 |        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 4364 |        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 | 
|---|
| 4365 |        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 | 
|---|
| 4366 |       # icc doesn't choke on unknown options, it will just issue warnings
 | 
|---|
| 4367 |       # or remarks (even with -Werror).  So we grep stderr for any message
 | 
|---|
| 4368 |       # that says an option was ignored or not supported.
 | 
|---|
| 4369 |       # When given -MP, icc 7.0 and 7.1 complain thusly:
 | 
|---|
| 4370 |       #   icc: Command line warning: ignoring option '-M'; no argument required
 | 
|---|
| 4371 |       # The diagnosis changed in icc 8.0:
 | 
|---|
| 4372 |       #   icc: Command line remark: option '-MP' not supported
 | 
|---|
| 4373 |       if (grep 'ignoring option' conftest.err ||
 | 
|---|
| 4374 |           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 | 
|---|
| 4375 |         am_cv_CC_dependencies_compiler_type=$depmode
 | 
|---|
| 4376 |         break
 | 
|---|
| 4377 |       fi
 | 
|---|
| 4378 |     fi
 | 
|---|
| 4379 |   done
 | 
|---|
| 4380 | 
 | 
|---|
| 4381 |   cd ..
 | 
|---|
| 4382 |   rm -rf conftest.dir
 | 
|---|
| 4383 | else
 | 
|---|
| 4384 |   am_cv_CC_dependencies_compiler_type=none
 | 
|---|
| 4385 | fi
 | 
|---|
| 4386 | 
 | 
|---|
| 4387 | fi
 | 
|---|
| 4388 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 | 
|---|
| 4389 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 | 
|---|
| 4390 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 | 
|---|
| 4391 | 
 | 
|---|
| 4392 |  if
 | 
|---|
| 4393 |   test "x$enable_dependency_tracking" != xno \
 | 
|---|
| 4394 |   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 | 
|---|
| 4395 |   am__fastdepCC_TRUE=
 | 
|---|
| 4396 |   am__fastdepCC_FALSE='#'
 | 
|---|
| 4397 | else
 | 
|---|
| 4398 |   am__fastdepCC_TRUE='#'
 | 
|---|
| 4399 |   am__fastdepCC_FALSE=
 | 
|---|
| 4400 | fi
 | 
|---|
| 4401 | 
 | 
|---|
| 4402 | 
 | 
|---|
| 4403 | if test "x$CC" != xcc; then
 | 
|---|
| 4404 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
 | 
|---|
| 4405 | $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
 | 
|---|
| 4406 | else
 | 
|---|
| 4407 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
 | 
|---|
| 4408 | $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
 | 
|---|
| 4409 | fi
 | 
|---|
| 4410 | set dummy $CC; ac_cc=`$as_echo "$2" |
 | 
|---|
| 4411 |                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 | 
|---|
| 4412 | if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
 | 
|---|
| 4413 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4414 | else
 | 
|---|
| 4415 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 4416 | /* end confdefs.h.  */
 | 
|---|
| 4417 | 
 | 
|---|
| 4418 | int
 | 
|---|
| 4419 | main ()
 | 
|---|
| 4420 | {
 | 
|---|
| 4421 | 
 | 
|---|
| 4422 |   ;
 | 
|---|
| 4423 |   return 0;
 | 
|---|
| 4424 | }
 | 
|---|
| 4425 | _ACEOF
 | 
|---|
| 4426 | # Make sure it works both with $CC and with simple cc.
 | 
|---|
| 4427 | # We do the test twice because some compilers refuse to overwrite an
 | 
|---|
| 4428 | # existing .o file with -o, though they will create one.
 | 
|---|
| 4429 | ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 | 
|---|
| 4430 | rm -f conftest2.*
 | 
|---|
| 4431 | if { { case "(($ac_try" in
 | 
|---|
| 4432 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 4433 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 4434 | esac
 | 
|---|
| 4435 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 4436 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 4437 |   (eval "$ac_try") 2>&5
 | 
|---|
| 4438 |   ac_status=$?
 | 
|---|
| 4439 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 4440 |   test $ac_status = 0; } &&
 | 
|---|
| 4441 |    test -f conftest2.$ac_objext && { { case "(($ac_try" in
 | 
|---|
| 4442 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 4443 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 4444 | esac
 | 
|---|
| 4445 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 4446 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 4447 |   (eval "$ac_try") 2>&5
 | 
|---|
| 4448 |   ac_status=$?
 | 
|---|
| 4449 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 4450 |   test $ac_status = 0; };
 | 
|---|
| 4451 | then
 | 
|---|
| 4452 |   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
 | 
|---|
| 4453 |   if test "x$CC" != xcc; then
 | 
|---|
| 4454 |     # Test first that cc exists at all.
 | 
|---|
| 4455 |     if { ac_try='cc -c conftest.$ac_ext >&5'
 | 
|---|
| 4456 |   { { case "(($ac_try" in
 | 
|---|
| 4457 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 4458 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 4459 | esac
 | 
|---|
| 4460 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 4461 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 4462 |   (eval "$ac_try") 2>&5
 | 
|---|
| 4463 |   ac_status=$?
 | 
|---|
| 4464 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 4465 |   test $ac_status = 0; }; }; then
 | 
|---|
| 4466 |       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 | 
|---|
| 4467 |       rm -f conftest2.*
 | 
|---|
| 4468 |       if { { case "(($ac_try" in
 | 
|---|
| 4469 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 4470 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 4471 | esac
 | 
|---|
| 4472 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 4473 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 4474 |   (eval "$ac_try") 2>&5
 | 
|---|
| 4475 |   ac_status=$?
 | 
|---|
| 4476 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 4477 |   test $ac_status = 0; } &&
 | 
|---|
| 4478 |          test -f conftest2.$ac_objext && { { case "(($ac_try" in
 | 
|---|
| 4479 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 4480 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 4481 | esac
 | 
|---|
| 4482 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 4483 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 4484 |   (eval "$ac_try") 2>&5
 | 
|---|
| 4485 |   ac_status=$?
 | 
|---|
| 4486 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 4487 |   test $ac_status = 0; };
 | 
|---|
| 4488 |       then
 | 
|---|
| 4489 |         # cc works too.
 | 
|---|
| 4490 |         :
 | 
|---|
| 4491 |       else
 | 
|---|
| 4492 |         # cc exists but doesn't like -o.
 | 
|---|
| 4493 |         eval ac_cv_prog_cc_${ac_cc}_c_o=no
 | 
|---|
| 4494 |       fi
 | 
|---|
| 4495 |     fi
 | 
|---|
| 4496 |   fi
 | 
|---|
| 4497 | else
 | 
|---|
| 4498 |   eval ac_cv_prog_cc_${ac_cc}_c_o=no
 | 
|---|
| 4499 | fi
 | 
|---|
| 4500 | rm -f core conftest*
 | 
|---|
| 4501 | 
 | 
|---|
| 4502 | fi
 | 
|---|
| 4503 | if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
 | 
|---|
| 4504 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 | 
|---|
| 4505 | $as_echo "yes" >&6; }
 | 
|---|
| 4506 | else
 | 
|---|
| 4507 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 4508 | $as_echo "no" >&6; }
 | 
|---|
| 4509 | 
 | 
|---|
| 4510 | $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
 | 
|---|
| 4511 | 
 | 
|---|
| 4512 | fi
 | 
|---|
| 4513 | 
 | 
|---|
| 4514 | # FIXME: we rely on the cache variable name because
 | 
|---|
| 4515 | # there is no other way.
 | 
|---|
| 4516 | set dummy $CC
 | 
|---|
| 4517 | am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 | 
|---|
| 4518 | eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
 | 
|---|
| 4519 | if test "$am_t" != yes; then
 | 
|---|
| 4520 |    # Losing compiler, so override with the script.
 | 
|---|
| 4521 |    # FIXME: It is wrong to rewrite CC.
 | 
|---|
| 4522 |    # But if we don't then we get into trouble of one sort or another.
 | 
|---|
| 4523 |    # A longer-term fix would be to have automake use am__CC in this case,
 | 
|---|
| 4524 |    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 | 
|---|
| 4525 |    CC="$am_aux_dir/compile $CC"
 | 
|---|
| 4526 | fi
 | 
|---|
| 4527 | 
 | 
|---|
| 4528 |         # deprecated
 | 
|---|
| 4529 | # These are often not installed and people miss seeing the "no", so stop the configure.
 | 
|---|
| 4530 | for ac_prog in 'bison -y' byacc
 | 
|---|
| 4531 | do
 | 
|---|
| 4532 |   # Extract the first word of "$ac_prog", so it can be a program name with args.
 | 
|---|
| 4533 | set dummy $ac_prog; ac_word=$2
 | 
|---|
| 4534 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 4535 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 4536 | if ${ac_cv_prog_YACC+:} false; then :
 | 
|---|
| 4537 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4538 | else
 | 
|---|
| 4539 |   if test -n "$YACC"; then
 | 
|---|
| 4540 |   ac_cv_prog_YACC="$YACC" # Let the user override the test.
 | 
|---|
| 4541 | else
 | 
|---|
| 4542 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 4543 | for as_dir in $PATH
 | 
|---|
| 4544 | do
 | 
|---|
| 4545 |   IFS=$as_save_IFS
 | 
|---|
| 4546 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 4547 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 4548 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 4549 |     ac_cv_prog_YACC="$ac_prog"
 | 
|---|
| 4550 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 4551 |     break 2
 | 
|---|
| 4552 |   fi
 | 
|---|
| 4553 | done
 | 
|---|
| 4554 |   done
 | 
|---|
| 4555 | IFS=$as_save_IFS
 | 
|---|
| 4556 | 
 | 
|---|
| 4557 | fi
 | 
|---|
| 4558 | fi
 | 
|---|
| 4559 | YACC=$ac_cv_prog_YACC
 | 
|---|
| 4560 | if test -n "$YACC"; then
 | 
|---|
| 4561 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
 | 
|---|
| 4562 | $as_echo "$YACC" >&6; }
 | 
|---|
| 4563 | else
 | 
|---|
| 4564 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 4565 | $as_echo "no" >&6; }
 | 
|---|
| 4566 | fi
 | 
|---|
| 4567 | 
 | 
|---|
| 4568 | 
 | 
|---|
| 4569 |   test -n "$YACC" && break
 | 
|---|
| 4570 | done
 | 
|---|
| 4571 | test -n "$YACC" || YACC="yacc"
 | 
|---|
| 4572 | 
 | 
|---|
| 4573 | if test "${YACC}" = "yacc" ; then echo "Error: bison required." ; exit 1 ; fi
 | 
|---|
| 4574 | 
 | 
|---|
| 4575 | for ac_prog in flex lex
 | 
|---|
| 4576 | do
 | 
|---|
| 4577 |   # Extract the first word of "$ac_prog", so it can be a program name with args.
 | 
|---|
| 4578 | set dummy $ac_prog; ac_word=$2
 | 
|---|
| 4579 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 4580 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 4581 | if ${ac_cv_prog_LEX+:} false; then :
 | 
|---|
| 4582 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4583 | else
 | 
|---|
| 4584 |   if test -n "$LEX"; then
 | 
|---|
| 4585 |   ac_cv_prog_LEX="$LEX" # Let the user override the test.
 | 
|---|
| 4586 | else
 | 
|---|
| 4587 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 4588 | for as_dir in $PATH
 | 
|---|
| 4589 | do
 | 
|---|
| 4590 |   IFS=$as_save_IFS
 | 
|---|
| 4591 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 4592 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 4593 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 4594 |     ac_cv_prog_LEX="$ac_prog"
 | 
|---|
| 4595 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 4596 |     break 2
 | 
|---|
| 4597 |   fi
 | 
|---|
| 4598 | done
 | 
|---|
| 4599 |   done
 | 
|---|
| 4600 | IFS=$as_save_IFS
 | 
|---|
| 4601 | 
 | 
|---|
| 4602 | fi
 | 
|---|
| 4603 | fi
 | 
|---|
| 4604 | LEX=$ac_cv_prog_LEX
 | 
|---|
| 4605 | if test -n "$LEX"; then
 | 
|---|
| 4606 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
 | 
|---|
| 4607 | $as_echo "$LEX" >&6; }
 | 
|---|
| 4608 | else
 | 
|---|
| 4609 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 4610 | $as_echo "no" >&6; }
 | 
|---|
| 4611 | fi
 | 
|---|
| 4612 | 
 | 
|---|
| 4613 | 
 | 
|---|
| 4614 |   test -n "$LEX" && break
 | 
|---|
| 4615 | done
 | 
|---|
| 4616 | test -n "$LEX" || LEX=":"
 | 
|---|
| 4617 | 
 | 
|---|
| 4618 | if test "x$LEX" != "x:"; then
 | 
|---|
| 4619 |   cat >conftest.l <<_ACEOF
 | 
|---|
| 4620 | %%
 | 
|---|
| 4621 | a { ECHO; }
 | 
|---|
| 4622 | b { REJECT; }
 | 
|---|
| 4623 | c { yymore (); }
 | 
|---|
| 4624 | d { yyless (1); }
 | 
|---|
| 4625 | e { yyless (input () != 0); }
 | 
|---|
| 4626 | f { unput (yytext[0]); }
 | 
|---|
| 4627 | . { BEGIN INITIAL; }
 | 
|---|
| 4628 | %%
 | 
|---|
| 4629 | #ifdef YYTEXT_POINTER
 | 
|---|
| 4630 | extern char *yytext;
 | 
|---|
| 4631 | #endif
 | 
|---|
| 4632 | int
 | 
|---|
| 4633 | main (void)
 | 
|---|
| 4634 | {
 | 
|---|
| 4635 |   return ! yylex () + ! yywrap ();
 | 
|---|
| 4636 | }
 | 
|---|
| 4637 | _ACEOF
 | 
|---|
| 4638 | { { ac_try="$LEX conftest.l"
 | 
|---|
| 4639 | case "(($ac_try" in
 | 
|---|
| 4640 |   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 | 
|---|
| 4641 |   *) ac_try_echo=$ac_try;;
 | 
|---|
| 4642 | esac
 | 
|---|
| 4643 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 | 
|---|
| 4644 | $as_echo "$ac_try_echo"; } >&5
 | 
|---|
| 4645 |   (eval "$LEX conftest.l") 2>&5
 | 
|---|
| 4646 |   ac_status=$?
 | 
|---|
| 4647 |   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 | 
|---|
| 4648 |   test $ac_status = 0; }
 | 
|---|
| 4649 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
 | 
|---|
| 4650 | $as_echo_n "checking lex output file root... " >&6; }
 | 
|---|
| 4651 | if ${ac_cv_prog_lex_root+:} false; then :
 | 
|---|
| 4652 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4653 | else
 | 
|---|
| 4654 | 
 | 
|---|
| 4655 | if test -f lex.yy.c; then
 | 
|---|
| 4656 |   ac_cv_prog_lex_root=lex.yy
 | 
|---|
| 4657 | elif test -f lexyy.c; then
 | 
|---|
| 4658 |   ac_cv_prog_lex_root=lexyy
 | 
|---|
| 4659 | else
 | 
|---|
| 4660 |   as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
 | 
|---|
| 4661 | fi
 | 
|---|
| 4662 | fi
 | 
|---|
| 4663 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
 | 
|---|
| 4664 | $as_echo "$ac_cv_prog_lex_root" >&6; }
 | 
|---|
| 4665 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
 | 
|---|
| 4666 | 
 | 
|---|
| 4667 | if test -z "${LEXLIB+set}"; then
 | 
|---|
| 4668 |   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
 | 
|---|
| 4669 | $as_echo_n "checking lex library... " >&6; }
 | 
|---|
| 4670 | if ${ac_cv_lib_lex+:} false; then :
 | 
|---|
| 4671 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4672 | else
 | 
|---|
| 4673 | 
 | 
|---|
| 4674 |     ac_save_LIBS=$LIBS
 | 
|---|
| 4675 |     ac_cv_lib_lex='none needed'
 | 
|---|
| 4676 |     for ac_lib in '' -lfl -ll; do
 | 
|---|
| 4677 |       LIBS="$ac_lib $ac_save_LIBS"
 | 
|---|
| 4678 |       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 4679 | /* end confdefs.h.  */
 | 
|---|
| 4680 | `cat $LEX_OUTPUT_ROOT.c`
 | 
|---|
| 4681 | _ACEOF
 | 
|---|
| 4682 | if ac_fn_c_try_link "$LINENO"; then :
 | 
|---|
| 4683 |   ac_cv_lib_lex=$ac_lib
 | 
|---|
| 4684 | fi
 | 
|---|
| 4685 | rm -f core conftest.err conftest.$ac_objext \
 | 
|---|
| 4686 |     conftest$ac_exeext conftest.$ac_ext
 | 
|---|
| 4687 |       test "$ac_cv_lib_lex" != 'none needed' && break
 | 
|---|
| 4688 |     done
 | 
|---|
| 4689 |     LIBS=$ac_save_LIBS
 | 
|---|
| 4690 | 
 | 
|---|
| 4691 | fi
 | 
|---|
| 4692 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
 | 
|---|
| 4693 | $as_echo "$ac_cv_lib_lex" >&6; }
 | 
|---|
| 4694 |   test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
 | 
|---|
| 4695 | fi
 | 
|---|
| 4696 | 
 | 
|---|
| 4697 | 
 | 
|---|
| 4698 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
 | 
|---|
| 4699 | $as_echo_n "checking whether yytext is a pointer... " >&6; }
 | 
|---|
| 4700 | if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
 | 
|---|
| 4701 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4702 | else
 | 
|---|
| 4703 |   # POSIX says lex can declare yytext either as a pointer or an array; the
 | 
|---|
| 4704 | # default is implementation-dependent.  Figure out which it is, since
 | 
|---|
| 4705 | # not all implementations provide the %pointer and %array declarations.
 | 
|---|
| 4706 | ac_cv_prog_lex_yytext_pointer=no
 | 
|---|
| 4707 | ac_save_LIBS=$LIBS
 | 
|---|
| 4708 | LIBS="$LEXLIB $ac_save_LIBS"
 | 
|---|
| 4709 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 4710 | /* end confdefs.h.  */
 | 
|---|
| 4711 | 
 | 
|---|
| 4712 |   #define YYTEXT_POINTER 1
 | 
|---|
| 4713 | `cat $LEX_OUTPUT_ROOT.c`
 | 
|---|
| 4714 | _ACEOF
 | 
|---|
| 4715 | if ac_fn_c_try_link "$LINENO"; then :
 | 
|---|
| 4716 |   ac_cv_prog_lex_yytext_pointer=yes
 | 
|---|
| 4717 | fi
 | 
|---|
| 4718 | rm -f core conftest.err conftest.$ac_objext \
 | 
|---|
| 4719 |     conftest$ac_exeext conftest.$ac_ext
 | 
|---|
| 4720 | LIBS=$ac_save_LIBS
 | 
|---|
| 4721 | 
 | 
|---|
| 4722 | fi
 | 
|---|
| 4723 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
 | 
|---|
| 4724 | $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
 | 
|---|
| 4725 | if test $ac_cv_prog_lex_yytext_pointer = yes; then
 | 
|---|
| 4726 | 
 | 
|---|
| 4727 | $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
 | 
|---|
| 4728 | 
 | 
|---|
| 4729 | fi
 | 
|---|
| 4730 | rm -f conftest.l $LEX_OUTPUT_ROOT.c
 | 
|---|
| 4731 | 
 | 
|---|
| 4732 | fi
 | 
|---|
| 4733 | if test "${LEX}" = "lex" ; then echo "Error: flex required." ; exit 1 ; fi
 | 
|---|
| 4734 | 
 | 
|---|
| 4735 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 | 
|---|
| 4736 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 | 
|---|
| 4737 | set x ${MAKE-make}
 | 
|---|
| 4738 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 | 
|---|
| 4739 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 | 
|---|
| 4740 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4741 | else
 | 
|---|
| 4742 |   cat >conftest.make <<\_ACEOF
 | 
|---|
| 4743 | SHELL = /bin/sh
 | 
|---|
| 4744 | all:
 | 
|---|
| 4745 |         @echo '@@@%%%=$(MAKE)=@@@%%%'
 | 
|---|
| 4746 | _ACEOF
 | 
|---|
| 4747 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 | 
|---|
| 4748 | case `${MAKE-make} -f conftest.make 2>/dev/null` in
 | 
|---|
| 4749 |   *@@@%%%=?*=@@@%%%*)
 | 
|---|
| 4750 |     eval ac_cv_prog_make_${ac_make}_set=yes;;
 | 
|---|
| 4751 |   *)
 | 
|---|
| 4752 |     eval ac_cv_prog_make_${ac_make}_set=no;;
 | 
|---|
| 4753 | esac
 | 
|---|
| 4754 | rm -f conftest.make
 | 
|---|
| 4755 | fi
 | 
|---|
| 4756 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 | 
|---|
| 4757 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 | 
|---|
| 4758 | $as_echo "yes" >&6; }
 | 
|---|
| 4759 |   SET_MAKE=
 | 
|---|
| 4760 | else
 | 
|---|
| 4761 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 4762 | $as_echo "no" >&6; }
 | 
|---|
| 4763 |   SET_MAKE="MAKE=${MAKE-make}"
 | 
|---|
| 4764 | fi
 | 
|---|
| 4765 | 
 | 
|---|
| 4766 | if test -n "$ac_tool_prefix"; then
 | 
|---|
| 4767 |   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 | 
|---|
| 4768 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 | 
|---|
| 4769 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 4770 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 4771 | if ${ac_cv_prog_RANLIB+:} false; then :
 | 
|---|
| 4772 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4773 | else
 | 
|---|
| 4774 |   if test -n "$RANLIB"; then
 | 
|---|
| 4775 |   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 | 
|---|
| 4776 | else
 | 
|---|
| 4777 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 4778 | for as_dir in $PATH
 | 
|---|
| 4779 | do
 | 
|---|
| 4780 |   IFS=$as_save_IFS
 | 
|---|
| 4781 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 4782 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 4783 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 4784 |     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 | 
|---|
| 4785 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 4786 |     break 2
 | 
|---|
| 4787 |   fi
 | 
|---|
| 4788 | done
 | 
|---|
| 4789 |   done
 | 
|---|
| 4790 | IFS=$as_save_IFS
 | 
|---|
| 4791 | 
 | 
|---|
| 4792 | fi
 | 
|---|
| 4793 | fi
 | 
|---|
| 4794 | RANLIB=$ac_cv_prog_RANLIB
 | 
|---|
| 4795 | if test -n "$RANLIB"; then
 | 
|---|
| 4796 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 | 
|---|
| 4797 | $as_echo "$RANLIB" >&6; }
 | 
|---|
| 4798 | else
 | 
|---|
| 4799 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 4800 | $as_echo "no" >&6; }
 | 
|---|
| 4801 | fi
 | 
|---|
| 4802 | 
 | 
|---|
| 4803 | 
 | 
|---|
| 4804 | fi
 | 
|---|
| 4805 | if test -z "$ac_cv_prog_RANLIB"; then
 | 
|---|
| 4806 |   ac_ct_RANLIB=$RANLIB
 | 
|---|
| 4807 |   # Extract the first word of "ranlib", so it can be a program name with args.
 | 
|---|
| 4808 | set dummy ranlib; ac_word=$2
 | 
|---|
| 4809 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 | 
|---|
| 4810 | $as_echo_n "checking for $ac_word... " >&6; }
 | 
|---|
| 4811 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 | 
|---|
| 4812 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4813 | else
 | 
|---|
| 4814 |   if test -n "$ac_ct_RANLIB"; then
 | 
|---|
| 4815 |   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 | 
|---|
| 4816 | else
 | 
|---|
| 4817 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 4818 | for as_dir in $PATH
 | 
|---|
| 4819 | do
 | 
|---|
| 4820 |   IFS=$as_save_IFS
 | 
|---|
| 4821 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 4822 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 4823 |   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 | 
|---|
| 4824 |     ac_cv_prog_ac_ct_RANLIB="ranlib"
 | 
|---|
| 4825 |     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 | 
|---|
| 4826 |     break 2
 | 
|---|
| 4827 |   fi
 | 
|---|
| 4828 | done
 | 
|---|
| 4829 |   done
 | 
|---|
| 4830 | IFS=$as_save_IFS
 | 
|---|
| 4831 | 
 | 
|---|
| 4832 | fi
 | 
|---|
| 4833 | fi
 | 
|---|
| 4834 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 | 
|---|
| 4835 | if test -n "$ac_ct_RANLIB"; then
 | 
|---|
| 4836 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 | 
|---|
| 4837 | $as_echo "$ac_ct_RANLIB" >&6; }
 | 
|---|
| 4838 | else
 | 
|---|
| 4839 |   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 | 
|---|
| 4840 | $as_echo "no" >&6; }
 | 
|---|
| 4841 | fi
 | 
|---|
| 4842 | 
 | 
|---|
| 4843 |   if test "x$ac_ct_RANLIB" = x; then
 | 
|---|
| 4844 |     RANLIB=":"
 | 
|---|
| 4845 |   else
 | 
|---|
| 4846 |     case $cross_compiling:$ac_tool_warned in
 | 
|---|
| 4847 | yes:)
 | 
|---|
| 4848 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 | 
|---|
| 4849 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 | 
|---|
| 4850 | ac_tool_warned=yes ;;
 | 
|---|
| 4851 | esac
 | 
|---|
| 4852 |     RANLIB=$ac_ct_RANLIB
 | 
|---|
| 4853 |   fi
 | 
|---|
| 4854 | else
 | 
|---|
| 4855 |   RANLIB="$ac_cv_prog_RANLIB"
 | 
|---|
| 4856 | fi
 | 
|---|
| 4857 | 
 | 
|---|
| 4858 | 
 | 
|---|
| 4859 | # Checks for libraries.
 | 
|---|
| 4860 | 
 | 
|---|
| 4861 | # Checks for header files.
 | 
|---|
| 4862 | ac_ext=c
 | 
|---|
| 4863 | ac_cpp='$CPP $CPPFLAGS'
 | 
|---|
| 4864 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 4865 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 4866 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
 | 
|---|
| 4867 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 | 
|---|
| 4868 | $as_echo_n "checking how to run the C preprocessor... " >&6; }
 | 
|---|
| 4869 | # On Suns, sometimes $CPP names a directory.
 | 
|---|
| 4870 | if test -n "$CPP" && test -d "$CPP"; then
 | 
|---|
| 4871 |   CPP=
 | 
|---|
| 4872 | fi
 | 
|---|
| 4873 | if test -z "$CPP"; then
 | 
|---|
| 4874 |   if ${ac_cv_prog_CPP+:} false; then :
 | 
|---|
| 4875 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 4876 | else
 | 
|---|
| 4877 |       # Double quotes because CPP needs to be expanded
 | 
|---|
| 4878 |     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 | 
|---|
| 4879 |     do
 | 
|---|
| 4880 |       ac_preproc_ok=false
 | 
|---|
| 4881 | for ac_c_preproc_warn_flag in '' yes
 | 
|---|
| 4882 | do
 | 
|---|
| 4883 |   # Use a header file that comes with gcc, so configuring glibc
 | 
|---|
| 4884 |   # with a fresh cross-compiler works.
 | 
|---|
| 4885 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 | 
|---|
| 4886 |   # <limits.h> exists even on freestanding compilers.
 | 
|---|
| 4887 |   # On the NeXT, cc -E runs the code through the compiler's parser,
 | 
|---|
| 4888 |   # not just through cpp. "Syntax error" is here to catch this case.
 | 
|---|
| 4889 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 4890 | /* end confdefs.h.  */
 | 
|---|
| 4891 | #ifdef __STDC__
 | 
|---|
| 4892 | # include <limits.h>
 | 
|---|
| 4893 | #else
 | 
|---|
| 4894 | # include <assert.h>
 | 
|---|
| 4895 | #endif
 | 
|---|
| 4896 |                      Syntax error
 | 
|---|
| 4897 | _ACEOF
 | 
|---|
| 4898 | if ac_fn_c_try_cpp "$LINENO"; then :
 | 
|---|
| 4899 | 
 | 
|---|
| 4900 | else
 | 
|---|
| 4901 |   # Broken: fails on valid input.
 | 
|---|
| 4902 | continue
 | 
|---|
| 4903 | fi
 | 
|---|
| 4904 | rm -f conftest.err conftest.i conftest.$ac_ext
 | 
|---|
| 4905 | 
 | 
|---|
| 4906 |   # OK, works on sane cases.  Now check whether nonexistent headers
 | 
|---|
| 4907 |   # can be detected and how.
 | 
|---|
| 4908 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 4909 | /* end confdefs.h.  */
 | 
|---|
| 4910 | #include <ac_nonexistent.h>
 | 
|---|
| 4911 | _ACEOF
 | 
|---|
| 4912 | if ac_fn_c_try_cpp "$LINENO"; then :
 | 
|---|
| 4913 |   # Broken: success on invalid input.
 | 
|---|
| 4914 | continue
 | 
|---|
| 4915 | else
 | 
|---|
| 4916 |   # Passes both tests.
 | 
|---|
| 4917 | ac_preproc_ok=:
 | 
|---|
| 4918 | break
 | 
|---|
| 4919 | fi
 | 
|---|
| 4920 | rm -f conftest.err conftest.i conftest.$ac_ext
 | 
|---|
| 4921 | 
 | 
|---|
| 4922 | done
 | 
|---|
| 4923 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 | 
|---|
| 4924 | rm -f conftest.i conftest.err conftest.$ac_ext
 | 
|---|
| 4925 | if $ac_preproc_ok; then :
 | 
|---|
| 4926 |   break
 | 
|---|
| 4927 | fi
 | 
|---|
| 4928 | 
 | 
|---|
| 4929 |     done
 | 
|---|
| 4930 |     ac_cv_prog_CPP=$CPP
 | 
|---|
| 4931 | 
 | 
|---|
| 4932 | fi
 | 
|---|
| 4933 |   CPP=$ac_cv_prog_CPP
 | 
|---|
| 4934 | else
 | 
|---|
| 4935 |   ac_cv_prog_CPP=$CPP
 | 
|---|
| 4936 | fi
 | 
|---|
| 4937 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 | 
|---|
| 4938 | $as_echo "$CPP" >&6; }
 | 
|---|
| 4939 | ac_preproc_ok=false
 | 
|---|
| 4940 | for ac_c_preproc_warn_flag in '' yes
 | 
|---|
| 4941 | do
 | 
|---|
| 4942 |   # Use a header file that comes with gcc, so configuring glibc
 | 
|---|
| 4943 |   # with a fresh cross-compiler works.
 | 
|---|
| 4944 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 | 
|---|
| 4945 |   # <limits.h> exists even on freestanding compilers.
 | 
|---|
| 4946 |   # On the NeXT, cc -E runs the code through the compiler's parser,
 | 
|---|
| 4947 |   # not just through cpp. "Syntax error" is here to catch this case.
 | 
|---|
| 4948 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 4949 | /* end confdefs.h.  */
 | 
|---|
| 4950 | #ifdef __STDC__
 | 
|---|
| 4951 | # include <limits.h>
 | 
|---|
| 4952 | #else
 | 
|---|
| 4953 | # include <assert.h>
 | 
|---|
| 4954 | #endif
 | 
|---|
| 4955 |                      Syntax error
 | 
|---|
| 4956 | _ACEOF
 | 
|---|
| 4957 | if ac_fn_c_try_cpp "$LINENO"; then :
 | 
|---|
| 4958 | 
 | 
|---|
| 4959 | else
 | 
|---|
| 4960 |   # Broken: fails on valid input.
 | 
|---|
| 4961 | continue
 | 
|---|
| 4962 | fi
 | 
|---|
| 4963 | rm -f conftest.err conftest.i conftest.$ac_ext
 | 
|---|
| 4964 | 
 | 
|---|
| 4965 |   # OK, works on sane cases.  Now check whether nonexistent headers
 | 
|---|
| 4966 |   # can be detected and how.
 | 
|---|
| 4967 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 4968 | /* end confdefs.h.  */
 | 
|---|
| 4969 | #include <ac_nonexistent.h>
 | 
|---|
| 4970 | _ACEOF
 | 
|---|
| 4971 | if ac_fn_c_try_cpp "$LINENO"; then :
 | 
|---|
| 4972 |   # Broken: success on invalid input.
 | 
|---|
| 4973 | continue
 | 
|---|
| 4974 | else
 | 
|---|
| 4975 |   # Passes both tests.
 | 
|---|
| 4976 | ac_preproc_ok=:
 | 
|---|
| 4977 | break
 | 
|---|
| 4978 | fi
 | 
|---|
| 4979 | rm -f conftest.err conftest.i conftest.$ac_ext
 | 
|---|
| 4980 | 
 | 
|---|
| 4981 | done
 | 
|---|
| 4982 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 | 
|---|
| 4983 | rm -f conftest.i conftest.err conftest.$ac_ext
 | 
|---|
| 4984 | if $ac_preproc_ok; then :
 | 
|---|
| 4985 | 
 | 
|---|
| 4986 | else
 | 
|---|
| 4987 |   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
|---|
| 4988 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
|---|
| 4989 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 | 
|---|
| 4990 | See \`config.log' for more details" "$LINENO" 5; }
 | 
|---|
| 4991 | fi
 | 
|---|
| 4992 | 
 | 
|---|
| 4993 | ac_ext=c
 | 
|---|
| 4994 | ac_cpp='$CPP $CPPFLAGS'
 | 
|---|
| 4995 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 | 
|---|
| 4996 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 | 
|---|
| 4997 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
 | 
|---|
| 4998 | 
 | 
|---|
| 4999 | 
 | 
|---|
| 5000 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 | 
|---|
| 5001 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 | 
|---|
| 5002 | if ${ac_cv_path_GREP+:} false; then :
 | 
|---|
| 5003 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5004 | else
 | 
|---|
| 5005 |   if test -z "$GREP"; then
 | 
|---|
| 5006 |   ac_path_GREP_found=false
 | 
|---|
| 5007 |   # Loop through the user's path and test for each of PROGNAME-LIST
 | 
|---|
| 5008 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 5009 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 | 
|---|
| 5010 | do
 | 
|---|
| 5011 |   IFS=$as_save_IFS
 | 
|---|
| 5012 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 5013 |     for ac_prog in grep ggrep; do
 | 
|---|
| 5014 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 5015 |       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 | 
|---|
| 5016 |       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 | 
|---|
| 5017 | # Check for GNU ac_path_GREP and select it if it is found.
 | 
|---|
| 5018 |   # Check for GNU $ac_path_GREP
 | 
|---|
| 5019 | case `"$ac_path_GREP" --version 2>&1` in
 | 
|---|
| 5020 | *GNU*)
 | 
|---|
| 5021 |   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 | 
|---|
| 5022 | *)
 | 
|---|
| 5023 |   ac_count=0
 | 
|---|
| 5024 |   $as_echo_n 0123456789 >"conftest.in"
 | 
|---|
| 5025 |   while :
 | 
|---|
| 5026 |   do
 | 
|---|
| 5027 |     cat "conftest.in" "conftest.in" >"conftest.tmp"
 | 
|---|
| 5028 |     mv "conftest.tmp" "conftest.in"
 | 
|---|
| 5029 |     cp "conftest.in" "conftest.nl"
 | 
|---|
| 5030 |     $as_echo 'GREP' >> "conftest.nl"
 | 
|---|
| 5031 |     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 | 
|---|
| 5032 |     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 | 
|---|
| 5033 |     as_fn_arith $ac_count + 1 && ac_count=$as_val
 | 
|---|
| 5034 |     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 | 
|---|
| 5035 |       # Best one so far, save it but keep looking for a better one
 | 
|---|
| 5036 |       ac_cv_path_GREP="$ac_path_GREP"
 | 
|---|
| 5037 |       ac_path_GREP_max=$ac_count
 | 
|---|
| 5038 |     fi
 | 
|---|
| 5039 |     # 10*(2^10) chars as input seems more than enough
 | 
|---|
| 5040 |     test $ac_count -gt 10 && break
 | 
|---|
| 5041 |   done
 | 
|---|
| 5042 |   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 | 
|---|
| 5043 | esac
 | 
|---|
| 5044 | 
 | 
|---|
| 5045 |       $ac_path_GREP_found && break 3
 | 
|---|
| 5046 |     done
 | 
|---|
| 5047 |   done
 | 
|---|
| 5048 |   done
 | 
|---|
| 5049 | IFS=$as_save_IFS
 | 
|---|
| 5050 |   if test -z "$ac_cv_path_GREP"; then
 | 
|---|
| 5051 |     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 | 
|---|
| 5052 |   fi
 | 
|---|
| 5053 | else
 | 
|---|
| 5054 |   ac_cv_path_GREP=$GREP
 | 
|---|
| 5055 | fi
 | 
|---|
| 5056 | 
 | 
|---|
| 5057 | fi
 | 
|---|
| 5058 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 | 
|---|
| 5059 | $as_echo "$ac_cv_path_GREP" >&6; }
 | 
|---|
| 5060 |  GREP="$ac_cv_path_GREP"
 | 
|---|
| 5061 | 
 | 
|---|
| 5062 | 
 | 
|---|
| 5063 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 | 
|---|
| 5064 | $as_echo_n "checking for egrep... " >&6; }
 | 
|---|
| 5065 | if ${ac_cv_path_EGREP+:} false; then :
 | 
|---|
| 5066 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5067 | else
 | 
|---|
| 5068 |   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 | 
|---|
| 5069 |    then ac_cv_path_EGREP="$GREP -E"
 | 
|---|
| 5070 |    else
 | 
|---|
| 5071 |      if test -z "$EGREP"; then
 | 
|---|
| 5072 |   ac_path_EGREP_found=false
 | 
|---|
| 5073 |   # Loop through the user's path and test for each of PROGNAME-LIST
 | 
|---|
| 5074 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 5075 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 | 
|---|
| 5076 | do
 | 
|---|
| 5077 |   IFS=$as_save_IFS
 | 
|---|
| 5078 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 5079 |     for ac_prog in egrep; do
 | 
|---|
| 5080 |     for ac_exec_ext in '' $ac_executable_extensions; do
 | 
|---|
| 5081 |       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 | 
|---|
| 5082 |       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 | 
|---|
| 5083 | # Check for GNU ac_path_EGREP and select it if it is found.
 | 
|---|
| 5084 |   # Check for GNU $ac_path_EGREP
 | 
|---|
| 5085 | case `"$ac_path_EGREP" --version 2>&1` in
 | 
|---|
| 5086 | *GNU*)
 | 
|---|
| 5087 |   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 | 
|---|
| 5088 | *)
 | 
|---|
| 5089 |   ac_count=0
 | 
|---|
| 5090 |   $as_echo_n 0123456789 >"conftest.in"
 | 
|---|
| 5091 |   while :
 | 
|---|
| 5092 |   do
 | 
|---|
| 5093 |     cat "conftest.in" "conftest.in" >"conftest.tmp"
 | 
|---|
| 5094 |     mv "conftest.tmp" "conftest.in"
 | 
|---|
| 5095 |     cp "conftest.in" "conftest.nl"
 | 
|---|
| 5096 |     $as_echo 'EGREP' >> "conftest.nl"
 | 
|---|
| 5097 |     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 | 
|---|
| 5098 |     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 | 
|---|
| 5099 |     as_fn_arith $ac_count + 1 && ac_count=$as_val
 | 
|---|
| 5100 |     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 | 
|---|
| 5101 |       # Best one so far, save it but keep looking for a better one
 | 
|---|
| 5102 |       ac_cv_path_EGREP="$ac_path_EGREP"
 | 
|---|
| 5103 |       ac_path_EGREP_max=$ac_count
 | 
|---|
| 5104 |     fi
 | 
|---|
| 5105 |     # 10*(2^10) chars as input seems more than enough
 | 
|---|
| 5106 |     test $ac_count -gt 10 && break
 | 
|---|
| 5107 |   done
 | 
|---|
| 5108 |   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 | 
|---|
| 5109 | esac
 | 
|---|
| 5110 | 
 | 
|---|
| 5111 |       $ac_path_EGREP_found && break 3
 | 
|---|
| 5112 |     done
 | 
|---|
| 5113 |   done
 | 
|---|
| 5114 |   done
 | 
|---|
| 5115 | IFS=$as_save_IFS
 | 
|---|
| 5116 |   if test -z "$ac_cv_path_EGREP"; then
 | 
|---|
| 5117 |     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 | 
|---|
| 5118 |   fi
 | 
|---|
| 5119 | else
 | 
|---|
| 5120 |   ac_cv_path_EGREP=$EGREP
 | 
|---|
| 5121 | fi
 | 
|---|
| 5122 | 
 | 
|---|
| 5123 |    fi
 | 
|---|
| 5124 | fi
 | 
|---|
| 5125 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 | 
|---|
| 5126 | $as_echo "$ac_cv_path_EGREP" >&6; }
 | 
|---|
| 5127 |  EGREP="$ac_cv_path_EGREP"
 | 
|---|
| 5128 | 
 | 
|---|
| 5129 | 
 | 
|---|
| 5130 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 | 
|---|
| 5131 | $as_echo_n "checking for ANSI C header files... " >&6; }
 | 
|---|
| 5132 | if ${ac_cv_header_stdc+:} false; then :
 | 
|---|
| 5133 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5134 | else
 | 
|---|
| 5135 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5136 | /* end confdefs.h.  */
 | 
|---|
| 5137 | #include <stdlib.h>
 | 
|---|
| 5138 | #include <stdarg.h>
 | 
|---|
| 5139 | #include <string.h>
 | 
|---|
| 5140 | #include <float.h>
 | 
|---|
| 5141 | 
 | 
|---|
| 5142 | int
 | 
|---|
| 5143 | main ()
 | 
|---|
| 5144 | {
 | 
|---|
| 5145 | 
 | 
|---|
| 5146 |   ;
 | 
|---|
| 5147 |   return 0;
 | 
|---|
| 5148 | }
 | 
|---|
| 5149 | _ACEOF
 | 
|---|
| 5150 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 5151 |   ac_cv_header_stdc=yes
 | 
|---|
| 5152 | else
 | 
|---|
| 5153 |   ac_cv_header_stdc=no
 | 
|---|
| 5154 | fi
 | 
|---|
| 5155 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 5156 | 
 | 
|---|
| 5157 | if test $ac_cv_header_stdc = yes; then
 | 
|---|
| 5158 |   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 | 
|---|
| 5159 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5160 | /* end confdefs.h.  */
 | 
|---|
| 5161 | #include <string.h>
 | 
|---|
| 5162 | 
 | 
|---|
| 5163 | _ACEOF
 | 
|---|
| 5164 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 | 
|---|
| 5165 |   $EGREP "memchr" >/dev/null 2>&1; then :
 | 
|---|
| 5166 | 
 | 
|---|
| 5167 | else
 | 
|---|
| 5168 |   ac_cv_header_stdc=no
 | 
|---|
| 5169 | fi
 | 
|---|
| 5170 | rm -f conftest*
 | 
|---|
| 5171 | 
 | 
|---|
| 5172 | fi
 | 
|---|
| 5173 | 
 | 
|---|
| 5174 | if test $ac_cv_header_stdc = yes; then
 | 
|---|
| 5175 |   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 | 
|---|
| 5176 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5177 | /* end confdefs.h.  */
 | 
|---|
| 5178 | #include <stdlib.h>
 | 
|---|
| 5179 | 
 | 
|---|
| 5180 | _ACEOF
 | 
|---|
| 5181 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 | 
|---|
| 5182 |   $EGREP "free" >/dev/null 2>&1; then :
 | 
|---|
| 5183 | 
 | 
|---|
| 5184 | else
 | 
|---|
| 5185 |   ac_cv_header_stdc=no
 | 
|---|
| 5186 | fi
 | 
|---|
| 5187 | rm -f conftest*
 | 
|---|
| 5188 | 
 | 
|---|
| 5189 | fi
 | 
|---|
| 5190 | 
 | 
|---|
| 5191 | if test $ac_cv_header_stdc = yes; then
 | 
|---|
| 5192 |   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 | 
|---|
| 5193 |   if test "$cross_compiling" = yes; then :
 | 
|---|
| 5194 |   :
 | 
|---|
| 5195 | else
 | 
|---|
| 5196 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5197 | /* end confdefs.h.  */
 | 
|---|
| 5198 | #include <ctype.h>
 | 
|---|
| 5199 | #include <stdlib.h>
 | 
|---|
| 5200 | #if ((' ' & 0x0FF) == 0x020)
 | 
|---|
| 5201 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 | 
|---|
| 5202 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 | 
|---|
| 5203 | #else
 | 
|---|
| 5204 | # define ISLOWER(c) \
 | 
|---|
| 5205 |                    (('a' <= (c) && (c) <= 'i') \
 | 
|---|
| 5206 |                      || ('j' <= (c) && (c) <= 'r') \
 | 
|---|
| 5207 |                      || ('s' <= (c) && (c) <= 'z'))
 | 
|---|
| 5208 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 | 
|---|
| 5209 | #endif
 | 
|---|
| 5210 | 
 | 
|---|
| 5211 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 | 
|---|
| 5212 | int
 | 
|---|
| 5213 | main ()
 | 
|---|
| 5214 | {
 | 
|---|
| 5215 |   int i;
 | 
|---|
| 5216 |   for (i = 0; i < 256; i++)
 | 
|---|
| 5217 |     if (XOR (islower (i), ISLOWER (i))
 | 
|---|
| 5218 |         || toupper (i) != TOUPPER (i))
 | 
|---|
| 5219 |       return 2;
 | 
|---|
| 5220 |   return 0;
 | 
|---|
| 5221 | }
 | 
|---|
| 5222 | _ACEOF
 | 
|---|
| 5223 | if ac_fn_c_try_run "$LINENO"; then :
 | 
|---|
| 5224 | 
 | 
|---|
| 5225 | else
 | 
|---|
| 5226 |   ac_cv_header_stdc=no
 | 
|---|
| 5227 | fi
 | 
|---|
| 5228 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 | 
|---|
| 5229 |   conftest.$ac_objext conftest.beam conftest.$ac_ext
 | 
|---|
| 5230 | fi
 | 
|---|
| 5231 | 
 | 
|---|
| 5232 | fi
 | 
|---|
| 5233 | fi
 | 
|---|
| 5234 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 | 
|---|
| 5235 | $as_echo "$ac_cv_header_stdc" >&6; }
 | 
|---|
| 5236 | if test $ac_cv_header_stdc = yes; then
 | 
|---|
| 5237 | 
 | 
|---|
| 5238 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 | 
|---|
| 5239 | 
 | 
|---|
| 5240 | fi
 | 
|---|
| 5241 | 
 | 
|---|
| 5242 | # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 | 
|---|
| 5243 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 | 
|---|
| 5244 |                   inttypes.h stdint.h unistd.h
 | 
|---|
| 5245 | do :
 | 
|---|
| 5246 |   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 | 
|---|
| 5247 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 | 
|---|
| 5248 | "
 | 
|---|
| 5249 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 | 
|---|
| 5250 |   cat >>confdefs.h <<_ACEOF
 | 
|---|
| 5251 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 | 
|---|
| 5252 | _ACEOF
 | 
|---|
| 5253 | 
 | 
|---|
| 5254 | fi
 | 
|---|
| 5255 | 
 | 
|---|
| 5256 | done
 | 
|---|
| 5257 | 
 | 
|---|
| 5258 | 
 | 
|---|
| 5259 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 | 
|---|
| 5260 | if test "x$ac_cv_type_size_t" = xyes; then :
 | 
|---|
| 5261 | 
 | 
|---|
| 5262 | else
 | 
|---|
| 5263 | 
 | 
|---|
| 5264 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 5265 | #define size_t unsigned int
 | 
|---|
| 5266 | _ACEOF
 | 
|---|
| 5267 | 
 | 
|---|
| 5268 | fi
 | 
|---|
| 5269 | 
 | 
|---|
| 5270 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
 | 
|---|
| 5271 | # for constant arguments.  Useless!
 | 
|---|
| 5272 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
 | 
|---|
| 5273 | $as_echo_n "checking for working alloca.h... " >&6; }
 | 
|---|
| 5274 | if ${ac_cv_working_alloca_h+:} false; then :
 | 
|---|
| 5275 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5276 | else
 | 
|---|
| 5277 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5278 | /* end confdefs.h.  */
 | 
|---|
| 5279 | #include <alloca.h>
 | 
|---|
| 5280 | int
 | 
|---|
| 5281 | main ()
 | 
|---|
| 5282 | {
 | 
|---|
| 5283 | char *p = (char *) alloca (2 * sizeof (int));
 | 
|---|
| 5284 |                           if (p) return 0;
 | 
|---|
| 5285 |   ;
 | 
|---|
| 5286 |   return 0;
 | 
|---|
| 5287 | }
 | 
|---|
| 5288 | _ACEOF
 | 
|---|
| 5289 | if ac_fn_c_try_link "$LINENO"; then :
 | 
|---|
| 5290 |   ac_cv_working_alloca_h=yes
 | 
|---|
| 5291 | else
 | 
|---|
| 5292 |   ac_cv_working_alloca_h=no
 | 
|---|
| 5293 | fi
 | 
|---|
| 5294 | rm -f core conftest.err conftest.$ac_objext \
 | 
|---|
| 5295 |     conftest$ac_exeext conftest.$ac_ext
 | 
|---|
| 5296 | fi
 | 
|---|
| 5297 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
 | 
|---|
| 5298 | $as_echo "$ac_cv_working_alloca_h" >&6; }
 | 
|---|
| 5299 | if test $ac_cv_working_alloca_h = yes; then
 | 
|---|
| 5300 | 
 | 
|---|
| 5301 | $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
 | 
|---|
| 5302 | 
 | 
|---|
| 5303 | fi
 | 
|---|
| 5304 | 
 | 
|---|
| 5305 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
 | 
|---|
| 5306 | $as_echo_n "checking for alloca... " >&6; }
 | 
|---|
| 5307 | if ${ac_cv_func_alloca_works+:} false; then :
 | 
|---|
| 5308 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5309 | else
 | 
|---|
| 5310 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5311 | /* end confdefs.h.  */
 | 
|---|
| 5312 | #ifdef __GNUC__
 | 
|---|
| 5313 | # define alloca __builtin_alloca
 | 
|---|
| 5314 | #else
 | 
|---|
| 5315 | # ifdef _MSC_VER
 | 
|---|
| 5316 | #  include <malloc.h>
 | 
|---|
| 5317 | #  define alloca _alloca
 | 
|---|
| 5318 | # else
 | 
|---|
| 5319 | #  ifdef HAVE_ALLOCA_H
 | 
|---|
| 5320 | #   include <alloca.h>
 | 
|---|
| 5321 | #  else
 | 
|---|
| 5322 | #   ifdef _AIX
 | 
|---|
| 5323 |  #pragma alloca
 | 
|---|
| 5324 | #   else
 | 
|---|
| 5325 | #    ifndef alloca /* predefined by HP cc +Olibcalls */
 | 
|---|
| 5326 | void *alloca (size_t);
 | 
|---|
| 5327 | #    endif
 | 
|---|
| 5328 | #   endif
 | 
|---|
| 5329 | #  endif
 | 
|---|
| 5330 | # endif
 | 
|---|
| 5331 | #endif
 | 
|---|
| 5332 | 
 | 
|---|
| 5333 | int
 | 
|---|
| 5334 | main ()
 | 
|---|
| 5335 | {
 | 
|---|
| 5336 | char *p = (char *) alloca (1);
 | 
|---|
| 5337 |                                     if (p) return 0;
 | 
|---|
| 5338 |   ;
 | 
|---|
| 5339 |   return 0;
 | 
|---|
| 5340 | }
 | 
|---|
| 5341 | _ACEOF
 | 
|---|
| 5342 | if ac_fn_c_try_link "$LINENO"; then :
 | 
|---|
| 5343 |   ac_cv_func_alloca_works=yes
 | 
|---|
| 5344 | else
 | 
|---|
| 5345 |   ac_cv_func_alloca_works=no
 | 
|---|
| 5346 | fi
 | 
|---|
| 5347 | rm -f core conftest.err conftest.$ac_objext \
 | 
|---|
| 5348 |     conftest$ac_exeext conftest.$ac_ext
 | 
|---|
| 5349 | fi
 | 
|---|
| 5350 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
 | 
|---|
| 5351 | $as_echo "$ac_cv_func_alloca_works" >&6; }
 | 
|---|
| 5352 | 
 | 
|---|
| 5353 | if test $ac_cv_func_alloca_works = yes; then
 | 
|---|
| 5354 | 
 | 
|---|
| 5355 | $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
 | 
|---|
| 5356 | 
 | 
|---|
| 5357 | else
 | 
|---|
| 5358 |   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
 | 
|---|
| 5359 | # that cause trouble.  Some versions do not even contain alloca or
 | 
|---|
| 5360 | # contain a buggy version.  If you still want to use their alloca,
 | 
|---|
| 5361 | # use ar to extract alloca.o from them instead of compiling alloca.c.
 | 
|---|
| 5362 | 
 | 
|---|
| 5363 | ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
 | 
|---|
| 5364 | 
 | 
|---|
| 5365 | $as_echo "#define C_ALLOCA 1" >>confdefs.h
 | 
|---|
| 5366 | 
 | 
|---|
| 5367 | 
 | 
|---|
| 5368 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
 | 
|---|
| 5369 | $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
 | 
|---|
| 5370 | if ${ac_cv_os_cray+:} false; then :
 | 
|---|
| 5371 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5372 | else
 | 
|---|
| 5373 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5374 | /* end confdefs.h.  */
 | 
|---|
| 5375 | #if defined CRAY && ! defined CRAY2
 | 
|---|
| 5376 | webecray
 | 
|---|
| 5377 | #else
 | 
|---|
| 5378 | wenotbecray
 | 
|---|
| 5379 | #endif
 | 
|---|
| 5380 | 
 | 
|---|
| 5381 | _ACEOF
 | 
|---|
| 5382 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 | 
|---|
| 5383 |   $EGREP "webecray" >/dev/null 2>&1; then :
 | 
|---|
| 5384 |   ac_cv_os_cray=yes
 | 
|---|
| 5385 | else
 | 
|---|
| 5386 |   ac_cv_os_cray=no
 | 
|---|
| 5387 | fi
 | 
|---|
| 5388 | rm -f conftest*
 | 
|---|
| 5389 | 
 | 
|---|
| 5390 | fi
 | 
|---|
| 5391 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
 | 
|---|
| 5392 | $as_echo "$ac_cv_os_cray" >&6; }
 | 
|---|
| 5393 | if test $ac_cv_os_cray = yes; then
 | 
|---|
| 5394 |   for ac_func in _getb67 GETB67 getb67; do
 | 
|---|
| 5395 |     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 | 
|---|
| 5396 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 | 
|---|
| 5397 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 | 
|---|
| 5398 | 
 | 
|---|
| 5399 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 5400 | #define CRAY_STACKSEG_END $ac_func
 | 
|---|
| 5401 | _ACEOF
 | 
|---|
| 5402 | 
 | 
|---|
| 5403 |     break
 | 
|---|
| 5404 | fi
 | 
|---|
| 5405 | 
 | 
|---|
| 5406 |   done
 | 
|---|
| 5407 | fi
 | 
|---|
| 5408 | 
 | 
|---|
| 5409 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
 | 
|---|
| 5410 | $as_echo_n "checking stack direction for C alloca... " >&6; }
 | 
|---|
| 5411 | if ${ac_cv_c_stack_direction+:} false; then :
 | 
|---|
| 5412 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5413 | else
 | 
|---|
| 5414 |   if test "$cross_compiling" = yes; then :
 | 
|---|
| 5415 |   ac_cv_c_stack_direction=0
 | 
|---|
| 5416 | else
 | 
|---|
| 5417 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5418 | /* end confdefs.h.  */
 | 
|---|
| 5419 | $ac_includes_default
 | 
|---|
| 5420 | int
 | 
|---|
| 5421 | find_stack_direction ()
 | 
|---|
| 5422 | {
 | 
|---|
| 5423 |   static char *addr = 0;
 | 
|---|
| 5424 |   auto char dummy;
 | 
|---|
| 5425 |   if (addr == 0)
 | 
|---|
| 5426 |     {
 | 
|---|
| 5427 |       addr = &dummy;
 | 
|---|
| 5428 |       return find_stack_direction ();
 | 
|---|
| 5429 |     }
 | 
|---|
| 5430 |   else
 | 
|---|
| 5431 |     return (&dummy > addr) ? 1 : -1;
 | 
|---|
| 5432 | }
 | 
|---|
| 5433 | 
 | 
|---|
| 5434 | int
 | 
|---|
| 5435 | main ()
 | 
|---|
| 5436 | {
 | 
|---|
| 5437 |   return find_stack_direction () < 0;
 | 
|---|
| 5438 | }
 | 
|---|
| 5439 | _ACEOF
 | 
|---|
| 5440 | if ac_fn_c_try_run "$LINENO"; then :
 | 
|---|
| 5441 |   ac_cv_c_stack_direction=1
 | 
|---|
| 5442 | else
 | 
|---|
| 5443 |   ac_cv_c_stack_direction=-1
 | 
|---|
| 5444 | fi
 | 
|---|
| 5445 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 | 
|---|
| 5446 |   conftest.$ac_objext conftest.beam conftest.$ac_ext
 | 
|---|
| 5447 | fi
 | 
|---|
| 5448 | 
 | 
|---|
| 5449 | fi
 | 
|---|
| 5450 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
 | 
|---|
| 5451 | $as_echo "$ac_cv_c_stack_direction" >&6; }
 | 
|---|
| 5452 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 5453 | #define STACK_DIRECTION $ac_cv_c_stack_direction
 | 
|---|
| 5454 | _ACEOF
 | 
|---|
| 5455 | 
 | 
|---|
| 5456 | 
 | 
|---|
| 5457 | fi
 | 
|---|
| 5458 | 
 | 
|---|
| 5459 | for ac_header in fenv.h float.h inttypes.h libintl.h limits.h malloc.h stddef.h stdlib.h string.h unistd.h
 | 
|---|
| 5460 | do :
 | 
|---|
| 5461 |   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 | 
|---|
| 5462 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 | 
|---|
| 5463 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 | 
|---|
| 5464 |   cat >>confdefs.h <<_ACEOF
 | 
|---|
| 5465 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 | 
|---|
| 5466 | _ACEOF
 | 
|---|
| 5467 | 
 | 
|---|
| 5468 | fi
 | 
|---|
| 5469 | 
 | 
|---|
| 5470 | done
 | 
|---|
| 5471 | 
 | 
|---|
| 5472 | 
 | 
|---|
| 5473 | # Checks for typedefs, structures, and compiler characteristics.
 | 
|---|
| 5474 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
 | 
|---|
| 5475 | $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
 | 
|---|
| 5476 | if ${ac_cv_header_stdbool_h+:} false; then :
 | 
|---|
| 5477 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5478 | else
 | 
|---|
| 5479 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5480 | /* end confdefs.h.  */
 | 
|---|
| 5481 | 
 | 
|---|
| 5482 | #include <stdbool.h>
 | 
|---|
| 5483 | #ifndef bool
 | 
|---|
| 5484 |  "error: bool is not defined"
 | 
|---|
| 5485 | #endif
 | 
|---|
| 5486 | #ifndef false
 | 
|---|
| 5487 |  "error: false is not defined"
 | 
|---|
| 5488 | #endif
 | 
|---|
| 5489 | #if false
 | 
|---|
| 5490 |  "error: false is not 0"
 | 
|---|
| 5491 | #endif
 | 
|---|
| 5492 | #ifndef true
 | 
|---|
| 5493 |  "error: true is not defined"
 | 
|---|
| 5494 | #endif
 | 
|---|
| 5495 | #if true != 1
 | 
|---|
| 5496 |  "error: true is not 1"
 | 
|---|
| 5497 | #endif
 | 
|---|
| 5498 | #ifndef __bool_true_false_are_defined
 | 
|---|
| 5499 |  "error: __bool_true_false_are_defined is not defined"
 | 
|---|
| 5500 | #endif
 | 
|---|
| 5501 | 
 | 
|---|
| 5502 |         struct s { _Bool s: 1; _Bool t; } s;
 | 
|---|
| 5503 | 
 | 
|---|
| 5504 |         char a[true == 1 ? 1 : -1];
 | 
|---|
| 5505 |         char b[false == 0 ? 1 : -1];
 | 
|---|
| 5506 |         char c[__bool_true_false_are_defined == 1 ? 1 : -1];
 | 
|---|
| 5507 |         char d[(bool) 0.5 == true ? 1 : -1];
 | 
|---|
| 5508 |         /* See body of main program for 'e'.  */
 | 
|---|
| 5509 |         char f[(_Bool) 0.0 == false ? 1 : -1];
 | 
|---|
| 5510 |         char g[true];
 | 
|---|
| 5511 |         char h[sizeof (_Bool)];
 | 
|---|
| 5512 |         char i[sizeof s.t];
 | 
|---|
| 5513 |         enum { j = false, k = true, l = false * true, m = true * 256 };
 | 
|---|
| 5514 |         /* The following fails for
 | 
|---|
| 5515 |            HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
 | 
|---|
| 5516 |         _Bool n[m];
 | 
|---|
| 5517 |         char o[sizeof n == m * sizeof n[0] ? 1 : -1];
 | 
|---|
| 5518 |         char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
 | 
|---|
| 5519 |         /* Catch a bug in an HP-UX C compiler.  See
 | 
|---|
| 5520 |            http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
 | 
|---|
| 5521 |            http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
 | 
|---|
| 5522 |          */
 | 
|---|
| 5523 |         _Bool q = true;
 | 
|---|
| 5524 |         _Bool *pq = &q;
 | 
|---|
| 5525 | 
 | 
|---|
| 5526 | int
 | 
|---|
| 5527 | main ()
 | 
|---|
| 5528 | {
 | 
|---|
| 5529 | 
 | 
|---|
| 5530 |         bool e = &s;
 | 
|---|
| 5531 |         *pq |= q;
 | 
|---|
| 5532 |         *pq |= ! q;
 | 
|---|
| 5533 |         /* Refer to every declared value, to avoid compiler optimizations.  */
 | 
|---|
| 5534 |         return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
 | 
|---|
| 5535 |                 + !m + !n + !o + !p + !q + !pq);
 | 
|---|
| 5536 | 
 | 
|---|
| 5537 |   ;
 | 
|---|
| 5538 |   return 0;
 | 
|---|
| 5539 | }
 | 
|---|
| 5540 | _ACEOF
 | 
|---|
| 5541 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 5542 |   ac_cv_header_stdbool_h=yes
 | 
|---|
| 5543 | else
 | 
|---|
| 5544 |   ac_cv_header_stdbool_h=no
 | 
|---|
| 5545 | fi
 | 
|---|
| 5546 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 5547 | fi
 | 
|---|
| 5548 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
 | 
|---|
| 5549 | $as_echo "$ac_cv_header_stdbool_h" >&6; }
 | 
|---|
| 5550 | ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
 | 
|---|
| 5551 | if test "x$ac_cv_type__Bool" = xyes; then :
 | 
|---|
| 5552 | 
 | 
|---|
| 5553 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 5554 | #define HAVE__BOOL 1
 | 
|---|
| 5555 | _ACEOF
 | 
|---|
| 5556 | 
 | 
|---|
| 5557 | 
 | 
|---|
| 5558 | fi
 | 
|---|
| 5559 | 
 | 
|---|
| 5560 | if test $ac_cv_header_stdbool_h = yes; then
 | 
|---|
| 5561 | 
 | 
|---|
| 5562 | $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
 | 
|---|
| 5563 | 
 | 
|---|
| 5564 | fi
 | 
|---|
| 5565 | 
 | 
|---|
| 5566 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
 | 
|---|
| 5567 | $as_echo_n "checking for inline... " >&6; }
 | 
|---|
| 5568 | if ${ac_cv_c_inline+:} false; then :
 | 
|---|
| 5569 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5570 | else
 | 
|---|
| 5571 |   ac_cv_c_inline=no
 | 
|---|
| 5572 | for ac_kw in inline __inline__ __inline; do
 | 
|---|
| 5573 |   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5574 | /* end confdefs.h.  */
 | 
|---|
| 5575 | #ifndef __cplusplus
 | 
|---|
| 5576 | typedef int foo_t;
 | 
|---|
| 5577 | static $ac_kw foo_t static_foo () {return 0; }
 | 
|---|
| 5578 | $ac_kw foo_t foo () {return 0; }
 | 
|---|
| 5579 | #endif
 | 
|---|
| 5580 | 
 | 
|---|
| 5581 | _ACEOF
 | 
|---|
| 5582 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 5583 |   ac_cv_c_inline=$ac_kw
 | 
|---|
| 5584 | fi
 | 
|---|
| 5585 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 5586 |   test "$ac_cv_c_inline" != no && break
 | 
|---|
| 5587 | done
 | 
|---|
| 5588 | 
 | 
|---|
| 5589 | fi
 | 
|---|
| 5590 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
 | 
|---|
| 5591 | $as_echo "$ac_cv_c_inline" >&6; }
 | 
|---|
| 5592 | 
 | 
|---|
| 5593 | case $ac_cv_c_inline in
 | 
|---|
| 5594 |   inline | yes) ;;
 | 
|---|
| 5595 |   *)
 | 
|---|
| 5596 |     case $ac_cv_c_inline in
 | 
|---|
| 5597 |       no) ac_val=;;
 | 
|---|
| 5598 |       *) ac_val=$ac_cv_c_inline;;
 | 
|---|
| 5599 |     esac
 | 
|---|
| 5600 |     cat >>confdefs.h <<_ACEOF
 | 
|---|
| 5601 | #ifndef __cplusplus
 | 
|---|
| 5602 | #define inline $ac_val
 | 
|---|
| 5603 | #endif
 | 
|---|
| 5604 | _ACEOF
 | 
|---|
| 5605 |     ;;
 | 
|---|
| 5606 | esac
 | 
|---|
| 5607 | 
 | 
|---|
| 5608 | ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t"
 | 
|---|
| 5609 | case $ac_cv_c_int16_t in #(
 | 
|---|
| 5610 |   no|yes) ;; #(
 | 
|---|
| 5611 |   *)
 | 
|---|
| 5612 | 
 | 
|---|
| 5613 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 5614 | #define int16_t $ac_cv_c_int16_t
 | 
|---|
| 5615 | _ACEOF
 | 
|---|
| 5616 | ;;
 | 
|---|
| 5617 | esac
 | 
|---|
| 5618 | 
 | 
|---|
| 5619 | ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
 | 
|---|
| 5620 | case $ac_cv_c_int32_t in #(
 | 
|---|
| 5621 |   no|yes) ;; #(
 | 
|---|
| 5622 |   *)
 | 
|---|
| 5623 | 
 | 
|---|
| 5624 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 5625 | #define int32_t $ac_cv_c_int32_t
 | 
|---|
| 5626 | _ACEOF
 | 
|---|
| 5627 | ;;
 | 
|---|
| 5628 | esac
 | 
|---|
| 5629 | 
 | 
|---|
| 5630 | ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t"
 | 
|---|
| 5631 | case $ac_cv_c_int8_t in #(
 | 
|---|
| 5632 |   no|yes) ;; #(
 | 
|---|
| 5633 |   *)
 | 
|---|
| 5634 | 
 | 
|---|
| 5635 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 5636 | #define int8_t $ac_cv_c_int8_t
 | 
|---|
| 5637 | _ACEOF
 | 
|---|
| 5638 | ;;
 | 
|---|
| 5639 | esac
 | 
|---|
| 5640 | 
 | 
|---|
| 5641 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
 | 
|---|
| 5642 | $as_echo_n "checking for C/C++ restrict keyword... " >&6; }
 | 
|---|
| 5643 | if ${ac_cv_c_restrict+:} false; then :
 | 
|---|
| 5644 |   $as_echo_n "(cached) " >&6
 | 
|---|
| 5645 | else
 | 
|---|
| 5646 |   ac_cv_c_restrict=no
 | 
|---|
| 5647 |    # The order here caters to the fact that C++ does not require restrict.
 | 
|---|
| 5648 |    for ac_kw in __restrict __restrict__ _Restrict restrict; do
 | 
|---|
| 5649 |      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 | 
|---|
| 5650 | /* end confdefs.h.  */
 | 
|---|
| 5651 | typedef int * int_ptr;
 | 
|---|
| 5652 |         int foo (int_ptr $ac_kw ip) {
 | 
|---|
| 5653 |         return ip[0];
 | 
|---|
| 5654 |        }
 | 
|---|
| 5655 | int
 | 
|---|
| 5656 | main ()
 | 
|---|
| 5657 | {
 | 
|---|
| 5658 | int s[1];
 | 
|---|
| 5659 |         int * $ac_kw t = s;
 | 
|---|
| 5660 |         t[0] = 0;
 | 
|---|
| 5661 |         return foo(t)
 | 
|---|
| 5662 |   ;
 | 
|---|
| 5663 |   return 0;
 | 
|---|
| 5664 | }
 | 
|---|
| 5665 | _ACEOF
 | 
|---|
| 5666 | if ac_fn_c_try_compile "$LINENO"; then :
 | 
|---|
| 5667 |   ac_cv_c_restrict=$ac_kw
 | 
|---|
| 5668 | fi
 | 
|---|
| 5669 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 | 
|---|
| 5670 |      test "$ac_cv_c_restrict" != no && break
 | 
|---|
| 5671 |    done
 | 
|---|
| 5672 | 
 | 
|---|
| 5673 | fi
 | 
|---|
| 5674 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
 | 
|---|
| 5675 | $as_echo "$ac_cv_c_restrict" >&6; }
 | 
|---|
| 5676 | 
 | 
|---|
| 5677 |  case $ac_cv_c_restrict in
 | 
|---|
| 5678 |    restrict) ;;
 | 
|---|
| 5679 |    no) $as_echo "#define restrict /**/" >>confdefs.h
 | 
|---|
| 5680 |  ;;
 | 
|---|
| 5681 |    *)  cat >>confdefs.h <<_ACEOF
 | 
|---|
| 5682 | #define restrict $ac_cv_c_restrict
 | 
|---|
| 5683 | _ACEOF
 | 
|---|
| 5684 |  ;;
 | 
|---|
| 5685 |  esac
 | 
|---|
| 5686 | 
 | 
|---|
| 5687 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 | 
|---|
| 5688 | if test "x$ac_cv_type_size_t" = xyes; then :
 | 
|---|
| 5689 | 
 | 
|---|
| 5690 | else
 | 
|---|
| 5691 | 
 | 
|---|
| 5692 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 5693 | #define size_t unsigned int
 | 
|---|
| 5694 | _ACEOF
 | 
|---|
| 5695 | 
 | 
|---|
| 5696 | fi
 | 
|---|
| 5697 | 
 | 
|---|
| 5698 | ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
 | 
|---|
| 5699 | case $ac_cv_c_uint16_t in #(
 | 
|---|
| 5700 |   no|yes) ;; #(
 | 
|---|
| 5701 |   *)
 | 
|---|
| 5702 | 
 | 
|---|
| 5703 | 
 | 
|---|
| 5704 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 5705 | #define uint16_t $ac_cv_c_uint16_t
 | 
|---|
| 5706 | _ACEOF
 | 
|---|
| 5707 | ;;
 | 
|---|
| 5708 |   esac
 | 
|---|
| 5709 | 
 | 
|---|
| 5710 | ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
 | 
|---|
| 5711 | case $ac_cv_c_uint32_t in #(
 | 
|---|
| 5712 |   no|yes) ;; #(
 | 
|---|
| 5713 |   *)
 | 
|---|
| 5714 | 
 | 
|---|
| 5715 | $as_echo "#define _UINT32_T 1" >>confdefs.h
 | 
|---|
| 5716 | 
 | 
|---|
| 5717 | 
 | 
|---|
| 5718 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 5719 | #define uint32_t $ac_cv_c_uint32_t
 | 
|---|
| 5720 | _ACEOF
 | 
|---|
| 5721 | ;;
 | 
|---|
| 5722 |   esac
 | 
|---|
| 5723 | 
 | 
|---|
| 5724 | ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
 | 
|---|
| 5725 | case $ac_cv_c_uint8_t in #(
 | 
|---|
| 5726 |   no|yes) ;; #(
 | 
|---|
| 5727 |   *)
 | 
|---|
| 5728 | 
 | 
|---|
| 5729 | $as_echo "#define _UINT8_T 1" >>confdefs.h
 | 
|---|
| 5730 | 
 | 
|---|
| 5731 | 
 | 
|---|
| 5732 | cat >>confdefs.h <<_ACEOF
 | 
|---|
| 5733 | #define uint8_t $ac_cv_c_uint8_t
 | 
|---|
| 5734 | _ACEOF
 | 
|---|
| 5735 | ;;
 | 
|---|
| 5736 |   esac
 | 
|---|
| 5737 | 
 | 
|---|
| 5738 | 
 | 
|---|
| 5739 | # Checks for library functions.
 | 
|---|
| 5740 | for ac_func in memset putenv strchr strtol
 | 
|---|
| 5741 | do :
 | 
|---|
| 5742 |   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 | 
|---|
| 5743 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 | 
|---|
| 5744 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 | 
|---|
| 5745 |   cat >>confdefs.h <<_ACEOF
 | 
|---|
| 5746 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 | 
|---|
| 5747 | _ACEOF
 | 
|---|
| 5748 | 
 | 
|---|
| 5749 | fi
 | 
|---|
| 5750 | done
 | 
|---|
| 5751 | 
 | 
|---|
| 5752 | 
 | 
|---|
| 5753 | ac_config_files="$ac_config_files Makefile src/driver/Makefile src/Makefile src/examples/Makefile src/libcfa/Makefile"
 | 
|---|
| 5754 | 
 | 
|---|
| 5755 | 
 | 
|---|
| 5756 | cat >confcache <<\_ACEOF
 | 
|---|
| 5757 | # This file is a shell script that caches the results of configure
 | 
|---|
| 5758 | # tests run on this system so they can be shared between configure
 | 
|---|
| 5759 | # scripts and configure runs, see configure's option --config-cache.
 | 
|---|
| 5760 | # It is not useful on other systems.  If it contains results you don't
 | 
|---|
| 5761 | # want to keep, you may remove or edit it.
 | 
|---|
| 5762 | #
 | 
|---|
| 5763 | # config.status only pays attention to the cache file if you give it
 | 
|---|
| 5764 | # the --recheck option to rerun configure.
 | 
|---|
| 5765 | #
 | 
|---|
| 5766 | # `ac_cv_env_foo' variables (set or unset) will be overridden when
 | 
|---|
| 5767 | # loading this file, other *unset* `ac_cv_foo' will be assigned the
 | 
|---|
| 5768 | # following values.
 | 
|---|
| 5769 | 
 | 
|---|
| 5770 | _ACEOF
 | 
|---|
| 5771 | 
 | 
|---|
| 5772 | # The following way of writing the cache mishandles newlines in values,
 | 
|---|
| 5773 | # but we know of no workaround that is simple, portable, and efficient.
 | 
|---|
| 5774 | # So, we kill variables containing newlines.
 | 
|---|
| 5775 | # Ultrix sh set writes to stderr and can't be redirected directly,
 | 
|---|
| 5776 | # and sets the high bit in the cache file unless we assign to the vars.
 | 
|---|
| 5777 | (
 | 
|---|
| 5778 |   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 | 
|---|
| 5779 |     eval ac_val=\$$ac_var
 | 
|---|
| 5780 |     case $ac_val in #(
 | 
|---|
| 5781 |     *${as_nl}*)
 | 
|---|
| 5782 |       case $ac_var in #(
 | 
|---|
| 5783 |       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 | 
|---|
| 5784 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 | 
|---|
| 5785 |       esac
 | 
|---|
| 5786 |       case $ac_var in #(
 | 
|---|
| 5787 |       _ | IFS | as_nl) ;; #(
 | 
|---|
| 5788 |       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 | 
|---|
| 5789 |       *) { eval $ac_var=; unset $ac_var;} ;;
 | 
|---|
| 5790 |       esac ;;
 | 
|---|
| 5791 |     esac
 | 
|---|
| 5792 |   done
 | 
|---|
| 5793 | 
 | 
|---|
| 5794 |   (set) 2>&1 |
 | 
|---|
| 5795 |     case $as_nl`(ac_space=' '; set) 2>&1` in #(
 | 
|---|
| 5796 |     *${as_nl}ac_space=\ *)
 | 
|---|
| 5797 |       # `set' does not quote correctly, so add quotes: double-quote
 | 
|---|
| 5798 |       # substitution turns \\\\ into \\, and sed turns \\ into \.
 | 
|---|
| 5799 |       sed -n \
 | 
|---|
| 5800 |         "s/'/'\\\\''/g;
 | 
|---|
| 5801 |           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 | 
|---|
| 5802 |       ;; #(
 | 
|---|
| 5803 |     *)
 | 
|---|
| 5804 |       # `set' quotes correctly as required by POSIX, so do not add quotes.
 | 
|---|
| 5805 |       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 | 
|---|
| 5806 |       ;;
 | 
|---|
| 5807 |     esac |
 | 
|---|
| 5808 |     sort
 | 
|---|
| 5809 | ) |
 | 
|---|
| 5810 |   sed '
 | 
|---|
| 5811 |      /^ac_cv_env_/b end
 | 
|---|
| 5812 |      t clear
 | 
|---|
| 5813 |      :clear
 | 
|---|
| 5814 |      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 | 
|---|
| 5815 |      t end
 | 
|---|
| 5816 |      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 | 
|---|
| 5817 |      :end' >>confcache
 | 
|---|
| 5818 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 | 
|---|
| 5819 |   if test -w "$cache_file"; then
 | 
|---|
| 5820 |     if test "x$cache_file" != "x/dev/null"; then
 | 
|---|
| 5821 |       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 | 
|---|
| 5822 | $as_echo "$as_me: updating cache $cache_file" >&6;}
 | 
|---|
| 5823 |       if test ! -f "$cache_file" || test -h "$cache_file"; then
 | 
|---|
| 5824 |         cat confcache >"$cache_file"
 | 
|---|
| 5825 |       else
 | 
|---|
| 5826 |         case $cache_file in #(
 | 
|---|
| 5827 |         */* | ?:*)
 | 
|---|
| 5828 |           mv -f confcache "$cache_file"$$ &&
 | 
|---|
| 5829 |           mv -f "$cache_file"$$ "$cache_file" ;; #(
 | 
|---|
| 5830 |         *)
 | 
|---|
| 5831 |           mv -f confcache "$cache_file" ;;
 | 
|---|
| 5832 |         esac
 | 
|---|
| 5833 |       fi
 | 
|---|
| 5834 |     fi
 | 
|---|
| 5835 |   else
 | 
|---|
| 5836 |     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 | 
|---|
| 5837 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 | 
|---|
| 5838 |   fi
 | 
|---|
| 5839 | fi
 | 
|---|
| 5840 | rm -f confcache
 | 
|---|
| 5841 | 
 | 
|---|
| 5842 | test "x$prefix" = xNONE && prefix=$ac_default_prefix
 | 
|---|
| 5843 | # Let make expand exec_prefix.
 | 
|---|
| 5844 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 | 
|---|
| 5845 | 
 | 
|---|
| 5846 | DEFS=-DHAVE_CONFIG_H
 | 
|---|
| 5847 | 
 | 
|---|
| 5848 | ac_libobjs=
 | 
|---|
| 5849 | ac_ltlibobjs=
 | 
|---|
| 5850 | U=
 | 
|---|
| 5851 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 | 
|---|
| 5852 |   # 1. Remove the extension, and $U if already installed.
 | 
|---|
| 5853 |   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 | 
|---|
| 5854 |   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 | 
|---|
| 5855 |   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 | 
|---|
| 5856 |   #    will be set to the directory where LIBOBJS objects are built.
 | 
|---|
| 5857 |   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 | 
|---|
| 5858 |   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 | 
|---|
| 5859 | done
 | 
|---|
| 5860 | LIBOBJS=$ac_libobjs
 | 
|---|
| 5861 | 
 | 
|---|
| 5862 | LTLIBOBJS=$ac_ltlibobjs
 | 
|---|
| 5863 | 
 | 
|---|
| 5864 | 
 | 
|---|
| 5865 |  if test -n "$EXEEXT"; then
 | 
|---|
| 5866 |   am__EXEEXT_TRUE=
 | 
|---|
| 5867 |   am__EXEEXT_FALSE='#'
 | 
|---|
| 5868 | else
 | 
|---|
| 5869 |   am__EXEEXT_TRUE='#'
 | 
|---|
| 5870 |   am__EXEEXT_FALSE=
 | 
|---|
| 5871 | fi
 | 
|---|
| 5872 | 
 | 
|---|
| 5873 | if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 | 
|---|
| 5874 |   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
 | 
|---|
| 5875 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
 | 
|---|
| 5876 | fi
 | 
|---|
| 5877 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 | 
|---|
| 5878 |   as_fn_error $? "conditional \"AMDEP\" was never defined.
 | 
|---|
| 5879 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
 | 
|---|
| 5880 | fi
 | 
|---|
| 5881 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 | 
|---|
| 5882 |   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
 | 
|---|
| 5883 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
 | 
|---|
| 5884 | fi
 | 
|---|
| 5885 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 | 
|---|
| 5886 |   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 | 
|---|
| 5887 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
 | 
|---|
| 5888 | fi
 | 
|---|
| 5889 | 
 | 
|---|
| 5890 | : "${CONFIG_STATUS=./config.status}"
 | 
|---|
| 5891 | ac_write_fail=0
 | 
|---|
| 5892 | ac_clean_files_save=$ac_clean_files
 | 
|---|
| 5893 | ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 | 
|---|
| 5894 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 | 
|---|
| 5895 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 | 
|---|
| 5896 | as_write_fail=0
 | 
|---|
| 5897 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 | 
|---|
| 5898 | #! $SHELL
 | 
|---|
| 5899 | # Generated by $as_me.
 | 
|---|
| 5900 | # Run this file to recreate the current configuration.
 | 
|---|
| 5901 | # Compiler output produced by configure, useful for debugging
 | 
|---|
| 5902 | # configure, is in config.log if it exists.
 | 
|---|
| 5903 | 
 | 
|---|
| 5904 | debug=false
 | 
|---|
| 5905 | ac_cs_recheck=false
 | 
|---|
| 5906 | ac_cs_silent=false
 | 
|---|
| 5907 | 
 | 
|---|
| 5908 | SHELL=\${CONFIG_SHELL-$SHELL}
 | 
|---|
| 5909 | export SHELL
 | 
|---|
| 5910 | _ASEOF
 | 
|---|
| 5911 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 | 
|---|
| 5912 | ## -------------------- ##
 | 
|---|
| 5913 | ## M4sh Initialization. ##
 | 
|---|
| 5914 | ## -------------------- ##
 | 
|---|
| 5915 | 
 | 
|---|
| 5916 | # Be more Bourne compatible
 | 
|---|
| 5917 | DUALCASE=1; export DUALCASE # for MKS sh
 | 
|---|
| 5918 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 | 
|---|
| 5919 |   emulate sh
 | 
|---|
| 5920 |   NULLCMD=:
 | 
|---|
| 5921 |   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 | 
|---|
| 5922 |   # is contrary to our usage.  Disable this feature.
 | 
|---|
| 5923 |   alias -g '${1+"$@"}'='"$@"'
 | 
|---|
| 5924 |   setopt NO_GLOB_SUBST
 | 
|---|
| 5925 | else
 | 
|---|
| 5926 |   case `(set -o) 2>/dev/null` in #(
 | 
|---|
| 5927 |   *posix*) :
 | 
|---|
| 5928 |     set -o posix ;; #(
 | 
|---|
| 5929 |   *) :
 | 
|---|
| 5930 |      ;;
 | 
|---|
| 5931 | esac
 | 
|---|
| 5932 | fi
 | 
|---|
| 5933 | 
 | 
|---|
| 5934 | 
 | 
|---|
| 5935 | as_nl='
 | 
|---|
| 5936 | '
 | 
|---|
| 5937 | export as_nl
 | 
|---|
| 5938 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
 | 
|---|
| 5939 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 | 
|---|
| 5940 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 | 
|---|
| 5941 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 | 
|---|
| 5942 | # Prefer a ksh shell builtin over an external printf program on Solaris,
 | 
|---|
| 5943 | # but without wasting forks for bash or zsh.
 | 
|---|
| 5944 | if test -z "$BASH_VERSION$ZSH_VERSION" \
 | 
|---|
| 5945 |     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 | 
|---|
| 5946 |   as_echo='print -r --'
 | 
|---|
| 5947 |   as_echo_n='print -rn --'
 | 
|---|
| 5948 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 | 
|---|
| 5949 |   as_echo='printf %s\n'
 | 
|---|
| 5950 |   as_echo_n='printf %s'
 | 
|---|
| 5951 | else
 | 
|---|
| 5952 |   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 | 
|---|
| 5953 |     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 | 
|---|
| 5954 |     as_echo_n='/usr/ucb/echo -n'
 | 
|---|
| 5955 |   else
 | 
|---|
| 5956 |     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 | 
|---|
| 5957 |     as_echo_n_body='eval
 | 
|---|
| 5958 |       arg=$1;
 | 
|---|
| 5959 |       case $arg in #(
 | 
|---|
| 5960 |       *"$as_nl"*)
 | 
|---|
| 5961 |         expr "X$arg" : "X\\(.*\\)$as_nl";
 | 
|---|
| 5962 |         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 | 
|---|
| 5963 |       esac;
 | 
|---|
| 5964 |       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 | 
|---|
| 5965 |     '
 | 
|---|
| 5966 |     export as_echo_n_body
 | 
|---|
| 5967 |     as_echo_n='sh -c $as_echo_n_body as_echo'
 | 
|---|
| 5968 |   fi
 | 
|---|
| 5969 |   export as_echo_body
 | 
|---|
| 5970 |   as_echo='sh -c $as_echo_body as_echo'
 | 
|---|
| 5971 | fi
 | 
|---|
| 5972 | 
 | 
|---|
| 5973 | # The user is always right.
 | 
|---|
| 5974 | if test "${PATH_SEPARATOR+set}" != set; then
 | 
|---|
| 5975 |   PATH_SEPARATOR=:
 | 
|---|
| 5976 |   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 | 
|---|
| 5977 |     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 | 
|---|
| 5978 |       PATH_SEPARATOR=';'
 | 
|---|
| 5979 |   }
 | 
|---|
| 5980 | fi
 | 
|---|
| 5981 | 
 | 
|---|
| 5982 | 
 | 
|---|
| 5983 | # IFS
 | 
|---|
| 5984 | # We need space, tab and new line, in precisely that order.  Quoting is
 | 
|---|
| 5985 | # there to prevent editors from complaining about space-tab.
 | 
|---|
| 5986 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 | 
|---|
| 5987 | # splitting by setting IFS to empty value.)
 | 
|---|
| 5988 | IFS=" ""        $as_nl"
 | 
|---|
| 5989 | 
 | 
|---|
| 5990 | # Find who we are.  Look in the path if we contain no directory separator.
 | 
|---|
| 5991 | as_myself=
 | 
|---|
| 5992 | case $0 in #((
 | 
|---|
| 5993 |   *[\\/]* ) as_myself=$0 ;;
 | 
|---|
| 5994 |   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 | 
|---|
| 5995 | for as_dir in $PATH
 | 
|---|
| 5996 | do
 | 
|---|
| 5997 |   IFS=$as_save_IFS
 | 
|---|
| 5998 |   test -z "$as_dir" && as_dir=.
 | 
|---|
| 5999 |     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 | 
|---|
| 6000 |   done
 | 
|---|
| 6001 | IFS=$as_save_IFS
 | 
|---|
| 6002 | 
 | 
|---|
| 6003 |      ;;
 | 
|---|
| 6004 | esac
 | 
|---|
| 6005 | # We did not find ourselves, most probably we were run as `sh COMMAND'
 | 
|---|
| 6006 | # in which case we are not to be found in the path.
 | 
|---|
| 6007 | if test "x$as_myself" = x; then
 | 
|---|
| 6008 |   as_myself=$0
 | 
|---|
| 6009 | fi
 | 
|---|
| 6010 | if test ! -f "$as_myself"; then
 | 
|---|
| 6011 |   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 | 
|---|
| 6012 |   exit 1
 | 
|---|
| 6013 | fi
 | 
|---|
| 6014 | 
 | 
|---|
| 6015 | # Unset variables that we do not need and which cause bugs (e.g. in
 | 
|---|
| 6016 | # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 | 
|---|
| 6017 | # suppresses any "Segmentation fault" message there.  '((' could
 | 
|---|
| 6018 | # trigger a bug in pdksh 5.2.14.
 | 
|---|
| 6019 | for as_var in BASH_ENV ENV MAIL MAILPATH
 | 
|---|
| 6020 | do eval test x\${$as_var+set} = xset \
 | 
|---|
| 6021 |   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 | 
|---|
| 6022 | done
 | 
|---|
| 6023 | PS1='$ '
 | 
|---|
| 6024 | PS2='> '
 | 
|---|
| 6025 | PS4='+ '
 | 
|---|
| 6026 | 
 | 
|---|
| 6027 | # NLS nuisances.
 | 
|---|
| 6028 | LC_ALL=C
 | 
|---|
| 6029 | export LC_ALL
 | 
|---|
| 6030 | LANGUAGE=C
 | 
|---|
| 6031 | export LANGUAGE
 | 
|---|
| 6032 | 
 | 
|---|
| 6033 | # CDPATH.
 | 
|---|
| 6034 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 | 
|---|
| 6035 | 
 | 
|---|
| 6036 | 
 | 
|---|
| 6037 | # as_fn_error STATUS ERROR [LINENO LOG_FD]
 | 
|---|
| 6038 | # ----------------------------------------
 | 
|---|
| 6039 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 | 
|---|
| 6040 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 | 
|---|
| 6041 | # script with STATUS, using 1 if that was 0.
 | 
|---|
| 6042 | as_fn_error ()
 | 
|---|
| 6043 | {
 | 
|---|
| 6044 |   as_status=$1; test $as_status -eq 0 && as_status=1
 | 
|---|
| 6045 |   if test "$4"; then
 | 
|---|
| 6046 |     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 | 
|---|
| 6047 |     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 | 
|---|
| 6048 |   fi
 | 
|---|
| 6049 |   $as_echo "$as_me: error: $2" >&2
 | 
|---|
| 6050 |   as_fn_exit $as_status
 | 
|---|
| 6051 | } # as_fn_error
 | 
|---|
| 6052 | 
 | 
|---|
| 6053 | 
 | 
|---|
| 6054 | # as_fn_set_status STATUS
 | 
|---|
| 6055 | # -----------------------
 | 
|---|
| 6056 | # Set $? to STATUS, without forking.
 | 
|---|
| 6057 | as_fn_set_status ()
 | 
|---|
| 6058 | {
 | 
|---|
| 6059 |   return $1
 | 
|---|
| 6060 | } # as_fn_set_status
 | 
|---|
| 6061 | 
 | 
|---|
| 6062 | # as_fn_exit STATUS
 | 
|---|
| 6063 | # -----------------
 | 
|---|
| 6064 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 | 
|---|
| 6065 | as_fn_exit ()
 | 
|---|
| 6066 | {
 | 
|---|
| 6067 |   set +e
 | 
|---|
| 6068 |   as_fn_set_status $1
 | 
|---|
| 6069 |   exit $1
 | 
|---|
| 6070 | } # as_fn_exit
 | 
|---|
| 6071 | 
 | 
|---|
| 6072 | # as_fn_unset VAR
 | 
|---|
| 6073 | # ---------------
 | 
|---|
| 6074 | # Portably unset VAR.
 | 
|---|
| 6075 | as_fn_unset ()
 | 
|---|
| 6076 | {
 | 
|---|
| 6077 |   { eval $1=; unset $1;}
 | 
|---|
| 6078 | }
 | 
|---|
| 6079 | as_unset=as_fn_unset
 | 
|---|
| 6080 | # as_fn_append VAR VALUE
 | 
|---|
| 6081 | # ----------------------
 | 
|---|
| 6082 | # Append the text in VALUE to the end of the definition contained in VAR. Take
 | 
|---|
| 6083 | # advantage of any shell optimizations that allow amortized linear growth over
 | 
|---|
| 6084 | # repeated appends, instead of the typical quadratic growth present in naive
 | 
|---|
| 6085 | # implementations.
 | 
|---|
| 6086 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 | 
|---|
| 6087 |   eval 'as_fn_append ()
 | 
|---|
| 6088 |   {
 | 
|---|
| 6089 |     eval $1+=\$2
 | 
|---|
| 6090 |   }'
 | 
|---|
| 6091 | else
 | 
|---|
| 6092 |   as_fn_append ()
 | 
|---|
| 6093 |   {
 | 
|---|
| 6094 |     eval $1=\$$1\$2
 | 
|---|
| 6095 |   }
 | 
|---|
| 6096 | fi # as_fn_append
 | 
|---|
| 6097 | 
 | 
|---|
| 6098 | # as_fn_arith ARG...
 | 
|---|
| 6099 | # ------------------
 | 
|---|
| 6100 | # Perform arithmetic evaluation on the ARGs, and store the result in the
 | 
|---|
| 6101 | # global $as_val. Take advantage of shells that can avoid forks. The arguments
 | 
|---|
| 6102 | # must be portable across $(()) and expr.
 | 
|---|
| 6103 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 | 
|---|
| 6104 |   eval 'as_fn_arith ()
 | 
|---|
| 6105 |   {
 | 
|---|
| 6106 |     as_val=$(( $* ))
 | 
|---|
| 6107 |   }'
 | 
|---|
| 6108 | else
 | 
|---|
| 6109 |   as_fn_arith ()
 | 
|---|
| 6110 |   {
 | 
|---|
| 6111 |     as_val=`expr "$@" || test $? -eq 1`
 | 
|---|
| 6112 |   }
 | 
|---|
| 6113 | fi # as_fn_arith
 | 
|---|
| 6114 | 
 | 
|---|
| 6115 | 
 | 
|---|
| 6116 | if expr a : '\(a\)' >/dev/null 2>&1 &&
 | 
|---|
| 6117 |    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 | 
|---|
| 6118 |   as_expr=expr
 | 
|---|
| 6119 | else
 | 
|---|
| 6120 |   as_expr=false
 | 
|---|
| 6121 | fi
 | 
|---|
| 6122 | 
 | 
|---|
| 6123 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 | 
|---|
| 6124 |   as_basename=basename
 | 
|---|
| 6125 | else
 | 
|---|
| 6126 |   as_basename=false
 | 
|---|
| 6127 | fi
 | 
|---|
| 6128 | 
 | 
|---|
| 6129 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 | 
|---|
| 6130 |   as_dirname=dirname
 | 
|---|
| 6131 | else
 | 
|---|
| 6132 |   as_dirname=false
 | 
|---|
| 6133 | fi
 | 
|---|
| 6134 | 
 | 
|---|
| 6135 | as_me=`$as_basename -- "$0" ||
 | 
|---|
| 6136 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 | 
|---|
| 6137 |          X"$0" : 'X\(//\)$' \| \
 | 
|---|
| 6138 |          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 6139 | $as_echo X/"$0" |
 | 
|---|
| 6140 |     sed '/^.*\/\([^/][^/]*\)\/*$/{
 | 
|---|
| 6141 |             s//\1/
 | 
|---|
| 6142 |             q
 | 
|---|
| 6143 |           }
 | 
|---|
| 6144 |           /^X\/\(\/\/\)$/{
 | 
|---|
| 6145 |             s//\1/
 | 
|---|
| 6146 |             q
 | 
|---|
| 6147 |           }
 | 
|---|
| 6148 |           /^X\/\(\/\).*/{
 | 
|---|
| 6149 |             s//\1/
 | 
|---|
| 6150 |             q
 | 
|---|
| 6151 |           }
 | 
|---|
| 6152 |           s/.*/./; q'`
 | 
|---|
| 6153 | 
 | 
|---|
| 6154 | # Avoid depending upon Character Ranges.
 | 
|---|
| 6155 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 | 
|---|
| 6156 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 | 
|---|
| 6157 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 | 
|---|
| 6158 | as_cr_digits='0123456789'
 | 
|---|
| 6159 | as_cr_alnum=$as_cr_Letters$as_cr_digits
 | 
|---|
| 6160 | 
 | 
|---|
| 6161 | ECHO_C= ECHO_N= ECHO_T=
 | 
|---|
| 6162 | case `echo -n x` in #(((((
 | 
|---|
| 6163 | -n*)
 | 
|---|
| 6164 |   case `echo 'xy\c'` in
 | 
|---|
| 6165 |   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 | 
|---|
| 6166 |   xy)  ECHO_C='\c';;
 | 
|---|
| 6167 |   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 | 
|---|
| 6168 |        ECHO_T=' ';;
 | 
|---|
| 6169 |   esac;;
 | 
|---|
| 6170 | *)
 | 
|---|
| 6171 |   ECHO_N='-n';;
 | 
|---|
| 6172 | esac
 | 
|---|
| 6173 | 
 | 
|---|
| 6174 | rm -f conf$$ conf$$.exe conf$$.file
 | 
|---|
| 6175 | if test -d conf$$.dir; then
 | 
|---|
| 6176 |   rm -f conf$$.dir/conf$$.file
 | 
|---|
| 6177 | else
 | 
|---|
| 6178 |   rm -f conf$$.dir
 | 
|---|
| 6179 |   mkdir conf$$.dir 2>/dev/null
 | 
|---|
| 6180 | fi
 | 
|---|
| 6181 | if (echo >conf$$.file) 2>/dev/null; then
 | 
|---|
| 6182 |   if ln -s conf$$.file conf$$ 2>/dev/null; then
 | 
|---|
| 6183 |     as_ln_s='ln -s'
 | 
|---|
| 6184 |     # ... but there are two gotchas:
 | 
|---|
| 6185 |     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 | 
|---|
| 6186 |     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 | 
|---|
| 6187 |     # In both cases, we have to default to `cp -p'.
 | 
|---|
| 6188 |     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 | 
|---|
| 6189 |       as_ln_s='cp -p'
 | 
|---|
| 6190 |   elif ln conf$$.file conf$$ 2>/dev/null; then
 | 
|---|
| 6191 |     as_ln_s=ln
 | 
|---|
| 6192 |   else
 | 
|---|
| 6193 |     as_ln_s='cp -p'
 | 
|---|
| 6194 |   fi
 | 
|---|
| 6195 | else
 | 
|---|
| 6196 |   as_ln_s='cp -p'
 | 
|---|
| 6197 | fi
 | 
|---|
| 6198 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 | 
|---|
| 6199 | rmdir conf$$.dir 2>/dev/null
 | 
|---|
| 6200 | 
 | 
|---|
| 6201 | 
 | 
|---|
| 6202 | # as_fn_mkdir_p
 | 
|---|
| 6203 | # -------------
 | 
|---|
| 6204 | # Create "$as_dir" as a directory, including parents if necessary.
 | 
|---|
| 6205 | as_fn_mkdir_p ()
 | 
|---|
| 6206 | {
 | 
|---|
| 6207 | 
 | 
|---|
| 6208 |   case $as_dir in #(
 | 
|---|
| 6209 |   -*) as_dir=./$as_dir;;
 | 
|---|
| 6210 |   esac
 | 
|---|
| 6211 |   test -d "$as_dir" || eval $as_mkdir_p || {
 | 
|---|
| 6212 |     as_dirs=
 | 
|---|
| 6213 |     while :; do
 | 
|---|
| 6214 |       case $as_dir in #(
 | 
|---|
| 6215 |       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 | 
|---|
| 6216 |       *) as_qdir=$as_dir;;
 | 
|---|
| 6217 |       esac
 | 
|---|
| 6218 |       as_dirs="'$as_qdir' $as_dirs"
 | 
|---|
| 6219 |       as_dir=`$as_dirname -- "$as_dir" ||
 | 
|---|
| 6220 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 | 
|---|
| 6221 |          X"$as_dir" : 'X\(//\)[^/]' \| \
 | 
|---|
| 6222 |          X"$as_dir" : 'X\(//\)$' \| \
 | 
|---|
| 6223 |          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 6224 | $as_echo X"$as_dir" |
 | 
|---|
| 6225 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 | 
|---|
| 6226 |             s//\1/
 | 
|---|
| 6227 |             q
 | 
|---|
| 6228 |           }
 | 
|---|
| 6229 |           /^X\(\/\/\)[^/].*/{
 | 
|---|
| 6230 |             s//\1/
 | 
|---|
| 6231 |             q
 | 
|---|
| 6232 |           }
 | 
|---|
| 6233 |           /^X\(\/\/\)$/{
 | 
|---|
| 6234 |             s//\1/
 | 
|---|
| 6235 |             q
 | 
|---|
| 6236 |           }
 | 
|---|
| 6237 |           /^X\(\/\).*/{
 | 
|---|
| 6238 |             s//\1/
 | 
|---|
| 6239 |             q
 | 
|---|
| 6240 |           }
 | 
|---|
| 6241 |           s/.*/./; q'`
 | 
|---|
| 6242 |       test -d "$as_dir" && break
 | 
|---|
| 6243 |     done
 | 
|---|
| 6244 |     test -z "$as_dirs" || eval "mkdir $as_dirs"
 | 
|---|
| 6245 |   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 | 
|---|
| 6246 | 
 | 
|---|
| 6247 | 
 | 
|---|
| 6248 | } # as_fn_mkdir_p
 | 
|---|
| 6249 | if mkdir -p . 2>/dev/null; then
 | 
|---|
| 6250 |   as_mkdir_p='mkdir -p "$as_dir"'
 | 
|---|
| 6251 | else
 | 
|---|
| 6252 |   test -d ./-p && rmdir ./-p
 | 
|---|
| 6253 |   as_mkdir_p=false
 | 
|---|
| 6254 | fi
 | 
|---|
| 6255 | 
 | 
|---|
| 6256 | if test -x / >/dev/null 2>&1; then
 | 
|---|
| 6257 |   as_test_x='test -x'
 | 
|---|
| 6258 | else
 | 
|---|
| 6259 |   if ls -dL / >/dev/null 2>&1; then
 | 
|---|
| 6260 |     as_ls_L_option=L
 | 
|---|
| 6261 |   else
 | 
|---|
| 6262 |     as_ls_L_option=
 | 
|---|
| 6263 |   fi
 | 
|---|
| 6264 |   as_test_x='
 | 
|---|
| 6265 |     eval sh -c '\''
 | 
|---|
| 6266 |       if test -d "$1"; then
 | 
|---|
| 6267 |         test -d "$1/.";
 | 
|---|
| 6268 |       else
 | 
|---|
| 6269 |         case $1 in #(
 | 
|---|
| 6270 |         -*)set "./$1";;
 | 
|---|
| 6271 |         esac;
 | 
|---|
| 6272 |         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 | 
|---|
| 6273 |         ???[sx]*):;;*)false;;esac;fi
 | 
|---|
| 6274 |     '\'' sh
 | 
|---|
| 6275 |   '
 | 
|---|
| 6276 | fi
 | 
|---|
| 6277 | as_executable_p=$as_test_x
 | 
|---|
| 6278 | 
 | 
|---|
| 6279 | # Sed expression to map a string onto a valid CPP name.
 | 
|---|
| 6280 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 | 
|---|
| 6281 | 
 | 
|---|
| 6282 | # Sed expression to map a string onto a valid variable name.
 | 
|---|
| 6283 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 | 
|---|
| 6284 | 
 | 
|---|
| 6285 | 
 | 
|---|
| 6286 | exec 6>&1
 | 
|---|
| 6287 | ## ----------------------------------- ##
 | 
|---|
| 6288 | ## Main body of $CONFIG_STATUS script. ##
 | 
|---|
| 6289 | ## ----------------------------------- ##
 | 
|---|
| 6290 | _ASEOF
 | 
|---|
| 6291 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 | 
|---|
| 6292 | 
 | 
|---|
| 6293 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 6294 | # Save the log message, to keep $0 and so on meaningful, and to
 | 
|---|
| 6295 | # report actual input values of CONFIG_FILES etc. instead of their
 | 
|---|
| 6296 | # values after options handling.
 | 
|---|
| 6297 | ac_log="
 | 
|---|
| 6298 | This file was extended by cfa-cc $as_me 1.0.0, which was
 | 
|---|
| 6299 | generated by GNU Autoconf 2.68.  Invocation command line was
 | 
|---|
| 6300 | 
 | 
|---|
| 6301 |   CONFIG_FILES    = $CONFIG_FILES
 | 
|---|
| 6302 |   CONFIG_HEADERS  = $CONFIG_HEADERS
 | 
|---|
| 6303 |   CONFIG_LINKS    = $CONFIG_LINKS
 | 
|---|
| 6304 |   CONFIG_COMMANDS = $CONFIG_COMMANDS
 | 
|---|
| 6305 |   $ $0 $@
 | 
|---|
| 6306 | 
 | 
|---|
| 6307 | on `(hostname || uname -n) 2>/dev/null | sed 1q`
 | 
|---|
| 6308 | "
 | 
|---|
| 6309 | 
 | 
|---|
| 6310 | _ACEOF
 | 
|---|
| 6311 | 
 | 
|---|
| 6312 | case $ac_config_files in *"
 | 
|---|
| 6313 | "*) set x $ac_config_files; shift; ac_config_files=$*;;
 | 
|---|
| 6314 | esac
 | 
|---|
| 6315 | 
 | 
|---|
| 6316 | case $ac_config_headers in *"
 | 
|---|
| 6317 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 | 
|---|
| 6318 | esac
 | 
|---|
| 6319 | 
 | 
|---|
| 6320 | 
 | 
|---|
| 6321 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 6322 | # Files that config.status was made for.
 | 
|---|
| 6323 | config_files="$ac_config_files"
 | 
|---|
| 6324 | config_headers="$ac_config_headers"
 | 
|---|
| 6325 | config_commands="$ac_config_commands"
 | 
|---|
| 6326 | 
 | 
|---|
| 6327 | _ACEOF
 | 
|---|
| 6328 | 
 | 
|---|
| 6329 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 6330 | ac_cs_usage="\
 | 
|---|
| 6331 | \`$as_me' instantiates files and other configuration actions
 | 
|---|
| 6332 | from templates according to the current configuration.  Unless the files
 | 
|---|
| 6333 | and actions are specified as TAGs, all are instantiated by default.
 | 
|---|
| 6334 | 
 | 
|---|
| 6335 | Usage: $0 [OPTION]... [TAG]...
 | 
|---|
| 6336 | 
 | 
|---|
| 6337 |   -h, --help       print this help, then exit
 | 
|---|
| 6338 |   -V, --version    print version number and configuration settings, then exit
 | 
|---|
| 6339 |       --config     print configuration, then exit
 | 
|---|
| 6340 |   -q, --quiet, --silent
 | 
|---|
| 6341 |                    do not print progress messages
 | 
|---|
| 6342 |   -d, --debug      don't remove temporary files
 | 
|---|
| 6343 |       --recheck    update $as_me by reconfiguring in the same conditions
 | 
|---|
| 6344 |       --file=FILE[:TEMPLATE]
 | 
|---|
| 6345 |                    instantiate the configuration file FILE
 | 
|---|
| 6346 |       --header=FILE[:TEMPLATE]
 | 
|---|
| 6347 |                    instantiate the configuration header FILE
 | 
|---|
| 6348 | 
 | 
|---|
| 6349 | Configuration files:
 | 
|---|
| 6350 | $config_files
 | 
|---|
| 6351 | 
 | 
|---|
| 6352 | Configuration headers:
 | 
|---|
| 6353 | $config_headers
 | 
|---|
| 6354 | 
 | 
|---|
| 6355 | Configuration commands:
 | 
|---|
| 6356 | $config_commands
 | 
|---|
| 6357 | 
 | 
|---|
| 6358 | Report bugs to <cforall@plg.uwaterloo.ca>."
 | 
|---|
| 6359 | 
 | 
|---|
| 6360 | _ACEOF
 | 
|---|
| 6361 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 6362 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 | 
|---|
| 6363 | ac_cs_version="\\
 | 
|---|
| 6364 | cfa-cc config.status 1.0.0
 | 
|---|
| 6365 | configured by $0, generated by GNU Autoconf 2.68,
 | 
|---|
| 6366 |   with options \\"\$ac_cs_config\\"
 | 
|---|
| 6367 | 
 | 
|---|
| 6368 | Copyright (C) 2010 Free Software Foundation, Inc.
 | 
|---|
| 6369 | This config.status script is free software; the Free Software Foundation
 | 
|---|
| 6370 | gives unlimited permission to copy, distribute and modify it."
 | 
|---|
| 6371 | 
 | 
|---|
| 6372 | ac_pwd='$ac_pwd'
 | 
|---|
| 6373 | srcdir='$srcdir'
 | 
|---|
| 6374 | INSTALL='$INSTALL'
 | 
|---|
| 6375 | MKDIR_P='$MKDIR_P'
 | 
|---|
| 6376 | AWK='$AWK'
 | 
|---|
| 6377 | test -n "\$AWK" || AWK=awk
 | 
|---|
| 6378 | _ACEOF
 | 
|---|
| 6379 | 
 | 
|---|
| 6380 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 6381 | # The default lists apply if the user does not specify any file.
 | 
|---|
| 6382 | ac_need_defaults=:
 | 
|---|
| 6383 | while test $# != 0
 | 
|---|
| 6384 | do
 | 
|---|
| 6385 |   case $1 in
 | 
|---|
| 6386 |   --*=?*)
 | 
|---|
| 6387 |     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 | 
|---|
| 6388 |     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 | 
|---|
| 6389 |     ac_shift=:
 | 
|---|
| 6390 |     ;;
 | 
|---|
| 6391 |   --*=)
 | 
|---|
| 6392 |     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 | 
|---|
| 6393 |     ac_optarg=
 | 
|---|
| 6394 |     ac_shift=:
 | 
|---|
| 6395 |     ;;
 | 
|---|
| 6396 |   *)
 | 
|---|
| 6397 |     ac_option=$1
 | 
|---|
| 6398 |     ac_optarg=$2
 | 
|---|
| 6399 |     ac_shift=shift
 | 
|---|
| 6400 |     ;;
 | 
|---|
| 6401 |   esac
 | 
|---|
| 6402 | 
 | 
|---|
| 6403 |   case $ac_option in
 | 
|---|
| 6404 |   # Handling of the options.
 | 
|---|
| 6405 |   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 | 
|---|
| 6406 |     ac_cs_recheck=: ;;
 | 
|---|
| 6407 |   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 | 
|---|
| 6408 |     $as_echo "$ac_cs_version"; exit ;;
 | 
|---|
| 6409 |   --config | --confi | --conf | --con | --co | --c )
 | 
|---|
| 6410 |     $as_echo "$ac_cs_config"; exit ;;
 | 
|---|
| 6411 |   --debug | --debu | --deb | --de | --d | -d )
 | 
|---|
| 6412 |     debug=: ;;
 | 
|---|
| 6413 |   --file | --fil | --fi | --f )
 | 
|---|
| 6414 |     $ac_shift
 | 
|---|
| 6415 |     case $ac_optarg in
 | 
|---|
| 6416 |     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 | 
|---|
| 6417 |     '') as_fn_error $? "missing file argument" ;;
 | 
|---|
| 6418 |     esac
 | 
|---|
| 6419 |     as_fn_append CONFIG_FILES " '$ac_optarg'"
 | 
|---|
| 6420 |     ac_need_defaults=false;;
 | 
|---|
| 6421 |   --header | --heade | --head | --hea )
 | 
|---|
| 6422 |     $ac_shift
 | 
|---|
| 6423 |     case $ac_optarg in
 | 
|---|
| 6424 |     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 | 
|---|
| 6425 |     esac
 | 
|---|
| 6426 |     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 | 
|---|
| 6427 |     ac_need_defaults=false;;
 | 
|---|
| 6428 |   --he | --h)
 | 
|---|
| 6429 |     # Conflict between --help and --header
 | 
|---|
| 6430 |     as_fn_error $? "ambiguous option: \`$1'
 | 
|---|
| 6431 | Try \`$0 --help' for more information.";;
 | 
|---|
| 6432 |   --help | --hel | -h )
 | 
|---|
| 6433 |     $as_echo "$ac_cs_usage"; exit ;;
 | 
|---|
| 6434 |   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 | 
|---|
| 6435 |   | -silent | --silent | --silen | --sile | --sil | --si | --s)
 | 
|---|
| 6436 |     ac_cs_silent=: ;;
 | 
|---|
| 6437 | 
 | 
|---|
| 6438 |   # This is an error.
 | 
|---|
| 6439 |   -*) as_fn_error $? "unrecognized option: \`$1'
 | 
|---|
| 6440 | Try \`$0 --help' for more information." ;;
 | 
|---|
| 6441 | 
 | 
|---|
| 6442 |   *) as_fn_append ac_config_targets " $1"
 | 
|---|
| 6443 |      ac_need_defaults=false ;;
 | 
|---|
| 6444 | 
 | 
|---|
| 6445 |   esac
 | 
|---|
| 6446 |   shift
 | 
|---|
| 6447 | done
 | 
|---|
| 6448 | 
 | 
|---|
| 6449 | ac_configure_extra_args=
 | 
|---|
| 6450 | 
 | 
|---|
| 6451 | if $ac_cs_silent; then
 | 
|---|
| 6452 |   exec 6>/dev/null
 | 
|---|
| 6453 |   ac_configure_extra_args="$ac_configure_extra_args --silent"
 | 
|---|
| 6454 | fi
 | 
|---|
| 6455 | 
 | 
|---|
| 6456 | _ACEOF
 | 
|---|
| 6457 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 6458 | if \$ac_cs_recheck; then
 | 
|---|
| 6459 |   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 | 
|---|
| 6460 |   shift
 | 
|---|
| 6461 |   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 | 
|---|
| 6462 |   CONFIG_SHELL='$SHELL'
 | 
|---|
| 6463 |   export CONFIG_SHELL
 | 
|---|
| 6464 |   exec "\$@"
 | 
|---|
| 6465 | fi
 | 
|---|
| 6466 | 
 | 
|---|
| 6467 | _ACEOF
 | 
|---|
| 6468 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 6469 | exec 5>>config.log
 | 
|---|
| 6470 | {
 | 
|---|
| 6471 |   echo
 | 
|---|
| 6472 |   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 | 
|---|
| 6473 | ## Running $as_me. ##
 | 
|---|
| 6474 | _ASBOX
 | 
|---|
| 6475 |   $as_echo "$ac_log"
 | 
|---|
| 6476 | } >&5
 | 
|---|
| 6477 | 
 | 
|---|
| 6478 | _ACEOF
 | 
|---|
| 6479 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 6480 | #
 | 
|---|
| 6481 | # INIT-COMMANDS
 | 
|---|
| 6482 | #
 | 
|---|
| 6483 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 | 
|---|
| 6484 | 
 | 
|---|
| 6485 | _ACEOF
 | 
|---|
| 6486 | 
 | 
|---|
| 6487 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 6488 | 
 | 
|---|
| 6489 | # Handling of arguments.
 | 
|---|
| 6490 | for ac_config_target in $ac_config_targets
 | 
|---|
| 6491 | do
 | 
|---|
| 6492 |   case $ac_config_target in
 | 
|---|
| 6493 |     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 | 
|---|
| 6494 |     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 | 
|---|
| 6495 |     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 | 
|---|
| 6496 |     "src/driver/Makefile") CONFIG_FILES="$CONFIG_FILES src/driver/Makefile" ;;
 | 
|---|
| 6497 |     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 | 
|---|
| 6498 |     "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
 | 
|---|
| 6499 |     "src/libcfa/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcfa/Makefile" ;;
 | 
|---|
| 6500 | 
 | 
|---|
| 6501 |   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 | 
|---|
| 6502 |   esac
 | 
|---|
| 6503 | done
 | 
|---|
| 6504 | 
 | 
|---|
| 6505 | 
 | 
|---|
| 6506 | # If the user did not use the arguments to specify the items to instantiate,
 | 
|---|
| 6507 | # then the envvar interface is used.  Set only those that are not.
 | 
|---|
| 6508 | # We use the long form for the default assignment because of an extremely
 | 
|---|
| 6509 | # bizarre bug on SunOS 4.1.3.
 | 
|---|
| 6510 | if $ac_need_defaults; then
 | 
|---|
| 6511 |   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 | 
|---|
| 6512 |   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 | 
|---|
| 6513 |   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 | 
|---|
| 6514 | fi
 | 
|---|
| 6515 | 
 | 
|---|
| 6516 | # Have a temporary directory for convenience.  Make it in the build tree
 | 
|---|
| 6517 | # simply because there is no reason against having it here, and in addition,
 | 
|---|
| 6518 | # creating and moving files from /tmp can sometimes cause problems.
 | 
|---|
| 6519 | # Hook for its removal unless debugging.
 | 
|---|
| 6520 | # Note that there is a small window in which the directory will not be cleaned:
 | 
|---|
| 6521 | # after its creation but before its name has been assigned to `$tmp'.
 | 
|---|
| 6522 | $debug ||
 | 
|---|
| 6523 | {
 | 
|---|
| 6524 |   tmp= ac_tmp=
 | 
|---|
| 6525 |   trap 'exit_status=$?
 | 
|---|
| 6526 |   : "${ac_tmp:=$tmp}"
 | 
|---|
| 6527 |   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 | 
|---|
| 6528 | ' 0
 | 
|---|
| 6529 |   trap 'as_fn_exit 1' 1 2 13 15
 | 
|---|
| 6530 | }
 | 
|---|
| 6531 | # Create a (secure) tmp directory for tmp files.
 | 
|---|
| 6532 | 
 | 
|---|
| 6533 | {
 | 
|---|
| 6534 |   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 | 
|---|
| 6535 |   test -d "$tmp"
 | 
|---|
| 6536 | }  ||
 | 
|---|
| 6537 | {
 | 
|---|
| 6538 |   tmp=./conf$$-$RANDOM
 | 
|---|
| 6539 |   (umask 077 && mkdir "$tmp")
 | 
|---|
| 6540 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 | 
|---|
| 6541 | ac_tmp=$tmp
 | 
|---|
| 6542 | 
 | 
|---|
| 6543 | # Set up the scripts for CONFIG_FILES section.
 | 
|---|
| 6544 | # No need to generate them if there are no CONFIG_FILES.
 | 
|---|
| 6545 | # This happens for instance with `./config.status config.h'.
 | 
|---|
| 6546 | if test -n "$CONFIG_FILES"; then
 | 
|---|
| 6547 | 
 | 
|---|
| 6548 | 
 | 
|---|
| 6549 | ac_cr=`echo X | tr X '\015'`
 | 
|---|
| 6550 | # On cygwin, bash can eat \r inside `` if the user requested igncr.
 | 
|---|
| 6551 | # But we know of no other shell where ac_cr would be empty at this
 | 
|---|
| 6552 | # point, so we can use a bashism as a fallback.
 | 
|---|
| 6553 | if test "x$ac_cr" = x; then
 | 
|---|
| 6554 |   eval ac_cr=\$\'\\r\'
 | 
|---|
| 6555 | fi
 | 
|---|
| 6556 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 | 
|---|
| 6557 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 | 
|---|
| 6558 |   ac_cs_awk_cr='\\r'
 | 
|---|
| 6559 | else
 | 
|---|
| 6560 |   ac_cs_awk_cr=$ac_cr
 | 
|---|
| 6561 | fi
 | 
|---|
| 6562 | 
 | 
|---|
| 6563 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 | 
|---|
| 6564 | _ACEOF
 | 
|---|
| 6565 | 
 | 
|---|
| 6566 | 
 | 
|---|
| 6567 | {
 | 
|---|
| 6568 |   echo "cat >conf$$subs.awk <<_ACEOF" &&
 | 
|---|
| 6569 |   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 | 
|---|
| 6570 |   echo "_ACEOF"
 | 
|---|
| 6571 | } >conf$$subs.sh ||
 | 
|---|
| 6572 |   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 | 
|---|
| 6573 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 | 
|---|
| 6574 | ac_delim='%!_!# '
 | 
|---|
| 6575 | for ac_last_try in false false false false false :; do
 | 
|---|
| 6576 |   . ./conf$$subs.sh ||
 | 
|---|
| 6577 |     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 | 
|---|
| 6578 | 
 | 
|---|
| 6579 |   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 | 
|---|
| 6580 |   if test $ac_delim_n = $ac_delim_num; then
 | 
|---|
| 6581 |     break
 | 
|---|
| 6582 |   elif $ac_last_try; then
 | 
|---|
| 6583 |     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 | 
|---|
| 6584 |   else
 | 
|---|
| 6585 |     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 | 
|---|
| 6586 |   fi
 | 
|---|
| 6587 | done
 | 
|---|
| 6588 | rm -f conf$$subs.sh
 | 
|---|
| 6589 | 
 | 
|---|
| 6590 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 6591 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 | 
|---|
| 6592 | _ACEOF
 | 
|---|
| 6593 | sed -n '
 | 
|---|
| 6594 | h
 | 
|---|
| 6595 | s/^/S["/; s/!.*/"]=/
 | 
|---|
| 6596 | p
 | 
|---|
| 6597 | g
 | 
|---|
| 6598 | s/^[^!]*!//
 | 
|---|
| 6599 | :repl
 | 
|---|
| 6600 | t repl
 | 
|---|
| 6601 | s/'"$ac_delim"'$//
 | 
|---|
| 6602 | t delim
 | 
|---|
| 6603 | :nl
 | 
|---|
| 6604 | h
 | 
|---|
| 6605 | s/\(.\{148\}\)..*/\1/
 | 
|---|
| 6606 | t more1
 | 
|---|
| 6607 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 | 
|---|
| 6608 | p
 | 
|---|
| 6609 | n
 | 
|---|
| 6610 | b repl
 | 
|---|
| 6611 | :more1
 | 
|---|
| 6612 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 | 
|---|
| 6613 | p
 | 
|---|
| 6614 | g
 | 
|---|
| 6615 | s/.\{148\}//
 | 
|---|
| 6616 | t nl
 | 
|---|
| 6617 | :delim
 | 
|---|
| 6618 | h
 | 
|---|
| 6619 | s/\(.\{148\}\)..*/\1/
 | 
|---|
| 6620 | t more2
 | 
|---|
| 6621 | s/["\\]/\\&/g; s/^/"/; s/$/"/
 | 
|---|
| 6622 | p
 | 
|---|
| 6623 | b
 | 
|---|
| 6624 | :more2
 | 
|---|
| 6625 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 | 
|---|
| 6626 | p
 | 
|---|
| 6627 | g
 | 
|---|
| 6628 | s/.\{148\}//
 | 
|---|
| 6629 | t delim
 | 
|---|
| 6630 | ' <conf$$subs.awk | sed '
 | 
|---|
| 6631 | /^[^""]/{
 | 
|---|
| 6632 |   N
 | 
|---|
| 6633 |   s/\n//
 | 
|---|
| 6634 | }
 | 
|---|
| 6635 | ' >>$CONFIG_STATUS || ac_write_fail=1
 | 
|---|
| 6636 | rm -f conf$$subs.awk
 | 
|---|
| 6637 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 6638 | _ACAWK
 | 
|---|
| 6639 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 | 
|---|
| 6640 |   for (key in S) S_is_set[key] = 1
 | 
|---|
| 6641 |   FS = ""
 | 
|---|
| 6642 | 
 | 
|---|
| 6643 | }
 | 
|---|
| 6644 | {
 | 
|---|
| 6645 |   line = $ 0
 | 
|---|
| 6646 |   nfields = split(line, field, "@")
 | 
|---|
| 6647 |   substed = 0
 | 
|---|
| 6648 |   len = length(field[1])
 | 
|---|
| 6649 |   for (i = 2; i < nfields; i++) {
 | 
|---|
| 6650 |     key = field[i]
 | 
|---|
| 6651 |     keylen = length(key)
 | 
|---|
| 6652 |     if (S_is_set[key]) {
 | 
|---|
| 6653 |       value = S[key]
 | 
|---|
| 6654 |       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 | 
|---|
| 6655 |       len += length(value) + length(field[++i])
 | 
|---|
| 6656 |       substed = 1
 | 
|---|
| 6657 |     } else
 | 
|---|
| 6658 |       len += 1 + keylen
 | 
|---|
| 6659 |   }
 | 
|---|
| 6660 | 
 | 
|---|
| 6661 |   print line
 | 
|---|
| 6662 | }
 | 
|---|
| 6663 | 
 | 
|---|
| 6664 | _ACAWK
 | 
|---|
| 6665 | _ACEOF
 | 
|---|
| 6666 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 6667 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 | 
|---|
| 6668 |   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 | 
|---|
| 6669 | else
 | 
|---|
| 6670 |   cat
 | 
|---|
| 6671 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 | 
|---|
| 6672 |   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 | 
|---|
| 6673 | _ACEOF
 | 
|---|
| 6674 | 
 | 
|---|
| 6675 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 | 
|---|
| 6676 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 | 
|---|
| 6677 | # trailing colons and then remove the whole line if VPATH becomes empty
 | 
|---|
| 6678 | # (actually we leave an empty line to preserve line numbers).
 | 
|---|
| 6679 | if test "x$srcdir" = x.; then
 | 
|---|
| 6680 |   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 | 
|---|
| 6681 | h
 | 
|---|
| 6682 | s///
 | 
|---|
| 6683 | s/^/:/
 | 
|---|
| 6684 | s/[      ]*$/:/
 | 
|---|
| 6685 | s/:\$(srcdir):/:/g
 | 
|---|
| 6686 | s/:\${srcdir}:/:/g
 | 
|---|
| 6687 | s/:@srcdir@:/:/g
 | 
|---|
| 6688 | s/^:*//
 | 
|---|
| 6689 | s/:*$//
 | 
|---|
| 6690 | x
 | 
|---|
| 6691 | s/\(=[   ]*\).*/\1/
 | 
|---|
| 6692 | G
 | 
|---|
| 6693 | s/\n//
 | 
|---|
| 6694 | s/^[^=]*=[       ]*$//
 | 
|---|
| 6695 | }'
 | 
|---|
| 6696 | fi
 | 
|---|
| 6697 | 
 | 
|---|
| 6698 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 6699 | fi # test -n "$CONFIG_FILES"
 | 
|---|
| 6700 | 
 | 
|---|
| 6701 | # Set up the scripts for CONFIG_HEADERS section.
 | 
|---|
| 6702 | # No need to generate them if there are no CONFIG_HEADERS.
 | 
|---|
| 6703 | # This happens for instance with `./config.status Makefile'.
 | 
|---|
| 6704 | if test -n "$CONFIG_HEADERS"; then
 | 
|---|
| 6705 | cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 | 
|---|
| 6706 | BEGIN {
 | 
|---|
| 6707 | _ACEOF
 | 
|---|
| 6708 | 
 | 
|---|
| 6709 | # Transform confdefs.h into an awk script `defines.awk', embedded as
 | 
|---|
| 6710 | # here-document in config.status, that substitutes the proper values into
 | 
|---|
| 6711 | # config.h.in to produce config.h.
 | 
|---|
| 6712 | 
 | 
|---|
| 6713 | # Create a delimiter string that does not exist in confdefs.h, to ease
 | 
|---|
| 6714 | # handling of long lines.
 | 
|---|
| 6715 | ac_delim='%!_!# '
 | 
|---|
| 6716 | for ac_last_try in false false :; do
 | 
|---|
| 6717 |   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 | 
|---|
| 6718 |   if test -z "$ac_tt"; then
 | 
|---|
| 6719 |     break
 | 
|---|
| 6720 |   elif $ac_last_try; then
 | 
|---|
| 6721 |     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 | 
|---|
| 6722 |   else
 | 
|---|
| 6723 |     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 | 
|---|
| 6724 |   fi
 | 
|---|
| 6725 | done
 | 
|---|
| 6726 | 
 | 
|---|
| 6727 | # For the awk script, D is an array of macro values keyed by name,
 | 
|---|
| 6728 | # likewise P contains macro parameters if any.  Preserve backslash
 | 
|---|
| 6729 | # newline sequences.
 | 
|---|
| 6730 | 
 | 
|---|
| 6731 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 | 
|---|
| 6732 | sed -n '
 | 
|---|
| 6733 | s/.\{148\}/&'"$ac_delim"'/g
 | 
|---|
| 6734 | t rset
 | 
|---|
| 6735 | :rset
 | 
|---|
| 6736 | s/^[     ]*#[    ]*define[       ][      ]*/ /
 | 
|---|
| 6737 | t def
 | 
|---|
| 6738 | d
 | 
|---|
| 6739 | :def
 | 
|---|
| 6740 | s/\\$//
 | 
|---|
| 6741 | t bsnl
 | 
|---|
| 6742 | s/["\\]/\\&/g
 | 
|---|
| 6743 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 | 
|---|
| 6744 | D["\1"]=" \3"/p
 | 
|---|
| 6745 | s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 | 
|---|
| 6746 | d
 | 
|---|
| 6747 | :bsnl
 | 
|---|
| 6748 | s/["\\]/\\&/g
 | 
|---|
| 6749 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 | 
|---|
| 6750 | D["\1"]=" \3\\\\\\n"\\/p
 | 
|---|
| 6751 | t cont
 | 
|---|
| 6752 | s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 | 
|---|
| 6753 | t cont
 | 
|---|
| 6754 | d
 | 
|---|
| 6755 | :cont
 | 
|---|
| 6756 | n
 | 
|---|
| 6757 | s/.\{148\}/&'"$ac_delim"'/g
 | 
|---|
| 6758 | t clear
 | 
|---|
| 6759 | :clear
 | 
|---|
| 6760 | s/\\$//
 | 
|---|
| 6761 | t bsnlc
 | 
|---|
| 6762 | s/["\\]/\\&/g; s/^/"/; s/$/"/p
 | 
|---|
| 6763 | d
 | 
|---|
| 6764 | :bsnlc
 | 
|---|
| 6765 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 | 
|---|
| 6766 | b cont
 | 
|---|
| 6767 | ' <confdefs.h | sed '
 | 
|---|
| 6768 | s/'"$ac_delim"'/"\\\
 | 
|---|
| 6769 | "/g' >>$CONFIG_STATUS || ac_write_fail=1
 | 
|---|
| 6770 | 
 | 
|---|
| 6771 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 6772 |   for (key in D) D_is_set[key] = 1
 | 
|---|
| 6773 |   FS = ""
 | 
|---|
| 6774 | }
 | 
|---|
| 6775 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 | 
|---|
| 6776 |   line = \$ 0
 | 
|---|
| 6777 |   split(line, arg, " ")
 | 
|---|
| 6778 |   if (arg[1] == "#") {
 | 
|---|
| 6779 |     defundef = arg[2]
 | 
|---|
| 6780 |     mac1 = arg[3]
 | 
|---|
| 6781 |   } else {
 | 
|---|
| 6782 |     defundef = substr(arg[1], 2)
 | 
|---|
| 6783 |     mac1 = arg[2]
 | 
|---|
| 6784 |   }
 | 
|---|
| 6785 |   split(mac1, mac2, "(") #)
 | 
|---|
| 6786 |   macro = mac2[1]
 | 
|---|
| 6787 |   prefix = substr(line, 1, index(line, defundef) - 1)
 | 
|---|
| 6788 |   if (D_is_set[macro]) {
 | 
|---|
| 6789 |     # Preserve the white space surrounding the "#".
 | 
|---|
| 6790 |     print prefix "define", macro P[macro] D[macro]
 | 
|---|
| 6791 |     next
 | 
|---|
| 6792 |   } else {
 | 
|---|
| 6793 |     # Replace #undef with comments.  This is necessary, for example,
 | 
|---|
| 6794 |     # in the case of _POSIX_SOURCE, which is predefined and required
 | 
|---|
| 6795 |     # on some systems where configure will not decide to define it.
 | 
|---|
| 6796 |     if (defundef == "undef") {
 | 
|---|
| 6797 |       print "/*", prefix defundef, macro, "*/"
 | 
|---|
| 6798 |       next
 | 
|---|
| 6799 |     }
 | 
|---|
| 6800 |   }
 | 
|---|
| 6801 | }
 | 
|---|
| 6802 | { print }
 | 
|---|
| 6803 | _ACAWK
 | 
|---|
| 6804 | _ACEOF
 | 
|---|
| 6805 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 6806 |   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 | 
|---|
| 6807 | fi # test -n "$CONFIG_HEADERS"
 | 
|---|
| 6808 | 
 | 
|---|
| 6809 | 
 | 
|---|
| 6810 | eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 | 
|---|
| 6811 | shift
 | 
|---|
| 6812 | for ac_tag
 | 
|---|
| 6813 | do
 | 
|---|
| 6814 |   case $ac_tag in
 | 
|---|
| 6815 |   :[FHLC]) ac_mode=$ac_tag; continue;;
 | 
|---|
| 6816 |   esac
 | 
|---|
| 6817 |   case $ac_mode$ac_tag in
 | 
|---|
| 6818 |   :[FHL]*:*);;
 | 
|---|
| 6819 |   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 | 
|---|
| 6820 |   :[FH]-) ac_tag=-:-;;
 | 
|---|
| 6821 |   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 | 
|---|
| 6822 |   esac
 | 
|---|
| 6823 |   ac_save_IFS=$IFS
 | 
|---|
| 6824 |   IFS=:
 | 
|---|
| 6825 |   set x $ac_tag
 | 
|---|
| 6826 |   IFS=$ac_save_IFS
 | 
|---|
| 6827 |   shift
 | 
|---|
| 6828 |   ac_file=$1
 | 
|---|
| 6829 |   shift
 | 
|---|
| 6830 | 
 | 
|---|
| 6831 |   case $ac_mode in
 | 
|---|
| 6832 |   :L) ac_source=$1;;
 | 
|---|
| 6833 |   :[FH])
 | 
|---|
| 6834 |     ac_file_inputs=
 | 
|---|
| 6835 |     for ac_f
 | 
|---|
| 6836 |     do
 | 
|---|
| 6837 |       case $ac_f in
 | 
|---|
| 6838 |       -) ac_f="$ac_tmp/stdin";;
 | 
|---|
| 6839 |       *) # Look for the file first in the build tree, then in the source tree
 | 
|---|
| 6840 |          # (if the path is not absolute).  The absolute path cannot be DOS-style,
 | 
|---|
| 6841 |          # because $ac_f cannot contain `:'.
 | 
|---|
| 6842 |          test -f "$ac_f" ||
 | 
|---|
| 6843 |            case $ac_f in
 | 
|---|
| 6844 |            [\\/$]*) false;;
 | 
|---|
| 6845 |            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 | 
|---|
| 6846 |            esac ||
 | 
|---|
| 6847 |            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 | 
|---|
| 6848 |       esac
 | 
|---|
| 6849 |       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 | 
|---|
| 6850 |       as_fn_append ac_file_inputs " '$ac_f'"
 | 
|---|
| 6851 |     done
 | 
|---|
| 6852 | 
 | 
|---|
| 6853 |     # Let's still pretend it is `configure' which instantiates (i.e., don't
 | 
|---|
| 6854 |     # use $as_me), people would be surprised to read:
 | 
|---|
| 6855 |     #    /* config.h.  Generated by config.status.  */
 | 
|---|
| 6856 |     configure_input='Generated from '`
 | 
|---|
| 6857 |           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 | 
|---|
| 6858 |         `' by configure.'
 | 
|---|
| 6859 |     if test x"$ac_file" != x-; then
 | 
|---|
| 6860 |       configure_input="$ac_file.  $configure_input"
 | 
|---|
| 6861 |       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 | 
|---|
| 6862 | $as_echo "$as_me: creating $ac_file" >&6;}
 | 
|---|
| 6863 |     fi
 | 
|---|
| 6864 |     # Neutralize special characters interpreted by sed in replacement strings.
 | 
|---|
| 6865 |     case $configure_input in #(
 | 
|---|
| 6866 |     *\&* | *\|* | *\\* )
 | 
|---|
| 6867 |        ac_sed_conf_input=`$as_echo "$configure_input" |
 | 
|---|
| 6868 |        sed 's/[\\\\&|]/\\\\&/g'`;; #(
 | 
|---|
| 6869 |     *) ac_sed_conf_input=$configure_input;;
 | 
|---|
| 6870 |     esac
 | 
|---|
| 6871 | 
 | 
|---|
| 6872 |     case $ac_tag in
 | 
|---|
| 6873 |     *:-:* | *:-) cat >"$ac_tmp/stdin" \
 | 
|---|
| 6874 |       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 | 
|---|
| 6875 |     esac
 | 
|---|
| 6876 |     ;;
 | 
|---|
| 6877 |   esac
 | 
|---|
| 6878 | 
 | 
|---|
| 6879 |   ac_dir=`$as_dirname -- "$ac_file" ||
 | 
|---|
| 6880 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 | 
|---|
| 6881 |          X"$ac_file" : 'X\(//\)[^/]' \| \
 | 
|---|
| 6882 |          X"$ac_file" : 'X\(//\)$' \| \
 | 
|---|
| 6883 |          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 6884 | $as_echo X"$ac_file" |
 | 
|---|
| 6885 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 | 
|---|
| 6886 |             s//\1/
 | 
|---|
| 6887 |             q
 | 
|---|
| 6888 |           }
 | 
|---|
| 6889 |           /^X\(\/\/\)[^/].*/{
 | 
|---|
| 6890 |             s//\1/
 | 
|---|
| 6891 |             q
 | 
|---|
| 6892 |           }
 | 
|---|
| 6893 |           /^X\(\/\/\)$/{
 | 
|---|
| 6894 |             s//\1/
 | 
|---|
| 6895 |             q
 | 
|---|
| 6896 |           }
 | 
|---|
| 6897 |           /^X\(\/\).*/{
 | 
|---|
| 6898 |             s//\1/
 | 
|---|
| 6899 |             q
 | 
|---|
| 6900 |           }
 | 
|---|
| 6901 |           s/.*/./; q'`
 | 
|---|
| 6902 |   as_dir="$ac_dir"; as_fn_mkdir_p
 | 
|---|
| 6903 |   ac_builddir=.
 | 
|---|
| 6904 | 
 | 
|---|
| 6905 | case "$ac_dir" in
 | 
|---|
| 6906 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 | 
|---|
| 6907 | *)
 | 
|---|
| 6908 |   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 | 
|---|
| 6909 |   # A ".." for each directory in $ac_dir_suffix.
 | 
|---|
| 6910 |   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 | 
|---|
| 6911 |   case $ac_top_builddir_sub in
 | 
|---|
| 6912 |   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 | 
|---|
| 6913 |   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 | 
|---|
| 6914 |   esac ;;
 | 
|---|
| 6915 | esac
 | 
|---|
| 6916 | ac_abs_top_builddir=$ac_pwd
 | 
|---|
| 6917 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
 | 
|---|
| 6918 | # for backward compatibility:
 | 
|---|
| 6919 | ac_top_builddir=$ac_top_build_prefix
 | 
|---|
| 6920 | 
 | 
|---|
| 6921 | case $srcdir in
 | 
|---|
| 6922 |   .)  # We are building in place.
 | 
|---|
| 6923 |     ac_srcdir=.
 | 
|---|
| 6924 |     ac_top_srcdir=$ac_top_builddir_sub
 | 
|---|
| 6925 |     ac_abs_top_srcdir=$ac_pwd ;;
 | 
|---|
| 6926 |   [\\/]* | ?:[\\/]* )  # Absolute name.
 | 
|---|
| 6927 |     ac_srcdir=$srcdir$ac_dir_suffix;
 | 
|---|
| 6928 |     ac_top_srcdir=$srcdir
 | 
|---|
| 6929 |     ac_abs_top_srcdir=$srcdir ;;
 | 
|---|
| 6930 |   *) # Relative name.
 | 
|---|
| 6931 |     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 | 
|---|
| 6932 |     ac_top_srcdir=$ac_top_build_prefix$srcdir
 | 
|---|
| 6933 |     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 | 
|---|
| 6934 | esac
 | 
|---|
| 6935 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 | 
|---|
| 6936 | 
 | 
|---|
| 6937 | 
 | 
|---|
| 6938 |   case $ac_mode in
 | 
|---|
| 6939 |   :F)
 | 
|---|
| 6940 |   #
 | 
|---|
| 6941 |   # CONFIG_FILE
 | 
|---|
| 6942 |   #
 | 
|---|
| 6943 | 
 | 
|---|
| 6944 |   case $INSTALL in
 | 
|---|
| 6945 |   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 | 
|---|
| 6946 |   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 | 
|---|
| 6947 |   esac
 | 
|---|
| 6948 |   ac_MKDIR_P=$MKDIR_P
 | 
|---|
| 6949 |   case $MKDIR_P in
 | 
|---|
| 6950 |   [\\/$]* | ?:[\\/]* ) ;;
 | 
|---|
| 6951 |   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 | 
|---|
| 6952 |   esac
 | 
|---|
| 6953 | _ACEOF
 | 
|---|
| 6954 | 
 | 
|---|
| 6955 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 6956 | # If the template does not know about datarootdir, expand it.
 | 
|---|
| 6957 | # FIXME: This hack should be removed a few years after 2.60.
 | 
|---|
| 6958 | ac_datarootdir_hack=; ac_datarootdir_seen=
 | 
|---|
| 6959 | ac_sed_dataroot='
 | 
|---|
| 6960 | /datarootdir/ {
 | 
|---|
| 6961 |   p
 | 
|---|
| 6962 |   q
 | 
|---|
| 6963 | }
 | 
|---|
| 6964 | /@datadir@/p
 | 
|---|
| 6965 | /@docdir@/p
 | 
|---|
| 6966 | /@infodir@/p
 | 
|---|
| 6967 | /@localedir@/p
 | 
|---|
| 6968 | /@mandir@/p'
 | 
|---|
| 6969 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 | 
|---|
| 6970 | *datarootdir*) ac_datarootdir_seen=yes;;
 | 
|---|
| 6971 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 | 
|---|
| 6972 |   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 | 
|---|
| 6973 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 | 
|---|
| 6974 | _ACEOF
 | 
|---|
| 6975 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 6976 |   ac_datarootdir_hack='
 | 
|---|
| 6977 |   s&@datadir@&$datadir&g
 | 
|---|
| 6978 |   s&@docdir@&$docdir&g
 | 
|---|
| 6979 |   s&@infodir@&$infodir&g
 | 
|---|
| 6980 |   s&@localedir@&$localedir&g
 | 
|---|
| 6981 |   s&@mandir@&$mandir&g
 | 
|---|
| 6982 |   s&\\\${datarootdir}&$datarootdir&g' ;;
 | 
|---|
| 6983 | esac
 | 
|---|
| 6984 | _ACEOF
 | 
|---|
| 6985 | 
 | 
|---|
| 6986 | # Neutralize VPATH when `$srcdir' = `.'.
 | 
|---|
| 6987 | # Shell code in configure.ac might set extrasub.
 | 
|---|
| 6988 | # FIXME: do we really want to maintain this feature?
 | 
|---|
| 6989 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
|---|
| 6990 | ac_sed_extra="$ac_vpsub
 | 
|---|
| 6991 | $extrasub
 | 
|---|
| 6992 | _ACEOF
 | 
|---|
| 6993 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 | 
|---|
| 6994 | :t
 | 
|---|
| 6995 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 | 
|---|
| 6996 | s|@configure_input@|$ac_sed_conf_input|;t t
 | 
|---|
| 6997 | s&@top_builddir@&$ac_top_builddir_sub&;t t
 | 
|---|
| 6998 | s&@top_build_prefix@&$ac_top_build_prefix&;t t
 | 
|---|
| 6999 | s&@srcdir@&$ac_srcdir&;t t
 | 
|---|
| 7000 | s&@abs_srcdir@&$ac_abs_srcdir&;t t
 | 
|---|
| 7001 | s&@top_srcdir@&$ac_top_srcdir&;t t
 | 
|---|
| 7002 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 | 
|---|
| 7003 | s&@builddir@&$ac_builddir&;t t
 | 
|---|
| 7004 | s&@abs_builddir@&$ac_abs_builddir&;t t
 | 
|---|
| 7005 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 | 
|---|
| 7006 | s&@INSTALL@&$ac_INSTALL&;t t
 | 
|---|
| 7007 | s&@MKDIR_P@&$ac_MKDIR_P&;t t
 | 
|---|
| 7008 | $ac_datarootdir_hack
 | 
|---|
| 7009 | "
 | 
|---|
| 7010 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 | 
|---|
| 7011 |   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 | 
|---|
| 7012 | 
 | 
|---|
| 7013 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 | 
|---|
| 7014 |   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 | 
|---|
| 7015 |   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 | 
|---|
| 7016 |       "$ac_tmp/out"`; test -z "$ac_out"; } &&
 | 
|---|
| 7017 |   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 | 
|---|
| 7018 | which seems to be undefined.  Please make sure it is defined" >&5
 | 
|---|
| 7019 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 | 
|---|
| 7020 | which seems to be undefined.  Please make sure it is defined" >&2;}
 | 
|---|
| 7021 | 
 | 
|---|
| 7022 |   rm -f "$ac_tmp/stdin"
 | 
|---|
| 7023 |   case $ac_file in
 | 
|---|
| 7024 |   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 | 
|---|
| 7025 |   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 | 
|---|
| 7026 |   esac \
 | 
|---|
| 7027 |   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 | 
|---|
| 7028 |  ;;
 | 
|---|
| 7029 |   :H)
 | 
|---|
| 7030 |   #
 | 
|---|
| 7031 |   # CONFIG_HEADER
 | 
|---|
| 7032 |   #
 | 
|---|
| 7033 |   if test x"$ac_file" != x-; then
 | 
|---|
| 7034 |     {
 | 
|---|
| 7035 |       $as_echo "/* $configure_input  */" \
 | 
|---|
| 7036 |       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 | 
|---|
| 7037 |     } >"$ac_tmp/config.h" \
 | 
|---|
| 7038 |       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 | 
|---|
| 7039 |     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 | 
|---|
| 7040 |       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 | 
|---|
| 7041 | $as_echo "$as_me: $ac_file is unchanged" >&6;}
 | 
|---|
| 7042 |     else
 | 
|---|
| 7043 |       rm -f "$ac_file"
 | 
|---|
| 7044 |       mv "$ac_tmp/config.h" "$ac_file" \
 | 
|---|
| 7045 |         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 | 
|---|
| 7046 |     fi
 | 
|---|
| 7047 |   else
 | 
|---|
| 7048 |     $as_echo "/* $configure_input  */" \
 | 
|---|
| 7049 |       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 | 
|---|
| 7050 |       || as_fn_error $? "could not create -" "$LINENO" 5
 | 
|---|
| 7051 |   fi
 | 
|---|
| 7052 | # Compute "$ac_file"'s index in $config_headers.
 | 
|---|
| 7053 | _am_arg="$ac_file"
 | 
|---|
| 7054 | _am_stamp_count=1
 | 
|---|
| 7055 | for _am_header in $config_headers :; do
 | 
|---|
| 7056 |   case $_am_header in
 | 
|---|
| 7057 |     $_am_arg | $_am_arg:* )
 | 
|---|
| 7058 |       break ;;
 | 
|---|
| 7059 |     * )
 | 
|---|
| 7060 |       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 | 
|---|
| 7061 |   esac
 | 
|---|
| 7062 | done
 | 
|---|
| 7063 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 | 
|---|
| 7064 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 | 
|---|
| 7065 |          X"$_am_arg" : 'X\(//\)[^/]' \| \
 | 
|---|
| 7066 |          X"$_am_arg" : 'X\(//\)$' \| \
 | 
|---|
| 7067 |          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 7068 | $as_echo X"$_am_arg" |
 | 
|---|
| 7069 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 | 
|---|
| 7070 |             s//\1/
 | 
|---|
| 7071 |             q
 | 
|---|
| 7072 |           }
 | 
|---|
| 7073 |           /^X\(\/\/\)[^/].*/{
 | 
|---|
| 7074 |             s//\1/
 | 
|---|
| 7075 |             q
 | 
|---|
| 7076 |           }
 | 
|---|
| 7077 |           /^X\(\/\/\)$/{
 | 
|---|
| 7078 |             s//\1/
 | 
|---|
| 7079 |             q
 | 
|---|
| 7080 |           }
 | 
|---|
| 7081 |           /^X\(\/\).*/{
 | 
|---|
| 7082 |             s//\1/
 | 
|---|
| 7083 |             q
 | 
|---|
| 7084 |           }
 | 
|---|
| 7085 |           s/.*/./; q'`/stamp-h$_am_stamp_count
 | 
|---|
| 7086 |  ;;
 | 
|---|
| 7087 | 
 | 
|---|
| 7088 |   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 | 
|---|
| 7089 | $as_echo "$as_me: executing $ac_file commands" >&6;}
 | 
|---|
| 7090 |  ;;
 | 
|---|
| 7091 |   esac
 | 
|---|
| 7092 | 
 | 
|---|
| 7093 | 
 | 
|---|
| 7094 |   case $ac_file$ac_mode in
 | 
|---|
| 7095 |     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 | 
|---|
| 7096 |   # Autoconf 2.62 quotes --file arguments for eval, but not when files
 | 
|---|
| 7097 |   # are listed without --file.  Let's play safe and only enable the eval
 | 
|---|
| 7098 |   # if we detect the quoting.
 | 
|---|
| 7099 |   case $CONFIG_FILES in
 | 
|---|
| 7100 |   *\'*) eval set x "$CONFIG_FILES" ;;
 | 
|---|
| 7101 |   *)   set x $CONFIG_FILES ;;
 | 
|---|
| 7102 |   esac
 | 
|---|
| 7103 |   shift
 | 
|---|
| 7104 |   for mf
 | 
|---|
| 7105 |   do
 | 
|---|
| 7106 |     # Strip MF so we end up with the name of the file.
 | 
|---|
| 7107 |     mf=`echo "$mf" | sed -e 's/:.*$//'`
 | 
|---|
| 7108 |     # Check whether this is an Automake generated Makefile or not.
 | 
|---|
| 7109 |     # We used to match only the files named `Makefile.in', but
 | 
|---|
| 7110 |     # some people rename them; so instead we look at the file content.
 | 
|---|
| 7111 |     # Grep'ing the first line is not enough: some people post-process
 | 
|---|
| 7112 |     # each Makefile.in and add a new line on top of each file to say so.
 | 
|---|
| 7113 |     # Grep'ing the whole file is not good either: AIX grep has a line
 | 
|---|
| 7114 |     # limit of 2048, but all sed's we know have understand at least 4000.
 | 
|---|
| 7115 |     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 | 
|---|
| 7116 |       dirpart=`$as_dirname -- "$mf" ||
 | 
|---|
| 7117 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 | 
|---|
| 7118 |          X"$mf" : 'X\(//\)[^/]' \| \
 | 
|---|
| 7119 |          X"$mf" : 'X\(//\)$' \| \
 | 
|---|
| 7120 |          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 7121 | $as_echo X"$mf" |
 | 
|---|
| 7122 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 | 
|---|
| 7123 |             s//\1/
 | 
|---|
| 7124 |             q
 | 
|---|
| 7125 |           }
 | 
|---|
| 7126 |           /^X\(\/\/\)[^/].*/{
 | 
|---|
| 7127 |             s//\1/
 | 
|---|
| 7128 |             q
 | 
|---|
| 7129 |           }
 | 
|---|
| 7130 |           /^X\(\/\/\)$/{
 | 
|---|
| 7131 |             s//\1/
 | 
|---|
| 7132 |             q
 | 
|---|
| 7133 |           }
 | 
|---|
| 7134 |           /^X\(\/\).*/{
 | 
|---|
| 7135 |             s//\1/
 | 
|---|
| 7136 |             q
 | 
|---|
| 7137 |           }
 | 
|---|
| 7138 |           s/.*/./; q'`
 | 
|---|
| 7139 |     else
 | 
|---|
| 7140 |       continue
 | 
|---|
| 7141 |     fi
 | 
|---|
| 7142 |     # Extract the definition of DEPDIR, am__include, and am__quote
 | 
|---|
| 7143 |     # from the Makefile without running `make'.
 | 
|---|
| 7144 |     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 | 
|---|
| 7145 |     test -z "$DEPDIR" && continue
 | 
|---|
| 7146 |     am__include=`sed -n 's/^am__include = //p' < "$mf"`
 | 
|---|
| 7147 |     test -z "am__include" && continue
 | 
|---|
| 7148 |     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 | 
|---|
| 7149 |     # When using ansi2knr, U may be empty or an underscore; expand it
 | 
|---|
| 7150 |     U=`sed -n 's/^U = //p' < "$mf"`
 | 
|---|
| 7151 |     # Find all dependency output files, they are included files with
 | 
|---|
| 7152 |     # $(DEPDIR) in their names.  We invoke sed twice because it is the
 | 
|---|
| 7153 |     # simplest approach to changing $(DEPDIR) to its actual value in the
 | 
|---|
| 7154 |     # expansion.
 | 
|---|
| 7155 |     for file in `sed -n "
 | 
|---|
| 7156 |       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 | 
|---|
| 7157 |          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 | 
|---|
| 7158 |       # Make sure the directory exists.
 | 
|---|
| 7159 |       test -f "$dirpart/$file" && continue
 | 
|---|
| 7160 |       fdir=`$as_dirname -- "$file" ||
 | 
|---|
| 7161 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 | 
|---|
| 7162 |          X"$file" : 'X\(//\)[^/]' \| \
 | 
|---|
| 7163 |          X"$file" : 'X\(//\)$' \| \
 | 
|---|
| 7164 |          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 | 
|---|
| 7165 | $as_echo X"$file" |
 | 
|---|
| 7166 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 | 
|---|
| 7167 |             s//\1/
 | 
|---|
| 7168 |             q
 | 
|---|
| 7169 |           }
 | 
|---|
| 7170 |           /^X\(\/\/\)[^/].*/{
 | 
|---|
| 7171 |             s//\1/
 | 
|---|
| 7172 |             q
 | 
|---|
| 7173 |           }
 | 
|---|
| 7174 |           /^X\(\/\/\)$/{
 | 
|---|
| 7175 |             s//\1/
 | 
|---|
| 7176 |             q
 | 
|---|
| 7177 |           }
 | 
|---|
| 7178 |           /^X\(\/\).*/{
 | 
|---|
| 7179 |             s//\1/
 | 
|---|
| 7180 |             q
 | 
|---|
| 7181 |           }
 | 
|---|
| 7182 |           s/.*/./; q'`
 | 
|---|
| 7183 |       as_dir=$dirpart/$fdir; as_fn_mkdir_p
 | 
|---|
| 7184 |       # echo "creating $dirpart/$file"
 | 
|---|
| 7185 |       echo '# dummy' > "$dirpart/$file"
 | 
|---|
| 7186 |     done
 | 
|---|
| 7187 |   done
 | 
|---|
| 7188 | }
 | 
|---|
| 7189 |  ;;
 | 
|---|
| 7190 | 
 | 
|---|
| 7191 |   esac
 | 
|---|
| 7192 | done # for ac_tag
 | 
|---|
| 7193 | 
 | 
|---|
| 7194 | 
 | 
|---|
| 7195 | as_fn_exit 0
 | 
|---|
| 7196 | _ACEOF
 | 
|---|
| 7197 | ac_clean_files=$ac_clean_files_save
 | 
|---|
| 7198 | 
 | 
|---|
| 7199 | test $ac_write_fail = 0 ||
 | 
|---|
| 7200 |   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 | 
|---|
| 7201 | 
 | 
|---|
| 7202 | 
 | 
|---|
| 7203 | # configure is writing to config.log, and then calls config.status.
 | 
|---|
| 7204 | # config.status does its own redirection, appending to config.log.
 | 
|---|
| 7205 | # Unfortunately, on DOS this fails, as config.log is still kept open
 | 
|---|
| 7206 | # by configure, so config.status won't be able to write to it; its
 | 
|---|
| 7207 | # output is simply discarded.  So we exec the FD to /dev/null,
 | 
|---|
| 7208 | # effectively closing config.log, so it can be properly (re)opened and
 | 
|---|
| 7209 | # appended to by config.status.  When coming back to configure, we
 | 
|---|
| 7210 | # need to make the FD available again.
 | 
|---|
| 7211 | if test "$no_create" != yes; then
 | 
|---|
| 7212 |   ac_cs_success=:
 | 
|---|
| 7213 |   ac_config_status_args=
 | 
|---|
| 7214 |   test "$silent" = yes &&
 | 
|---|
| 7215 |     ac_config_status_args="$ac_config_status_args --quiet"
 | 
|---|
| 7216 |   exec 5>/dev/null
 | 
|---|
| 7217 |   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 | 
|---|
| 7218 |   exec 5>>config.log
 | 
|---|
| 7219 |   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 | 
|---|
| 7220 |   # would make configure fail if this is the last instruction.
 | 
|---|
| 7221 |   $ac_cs_success || as_fn_exit 1
 | 
|---|
| 7222 | fi
 | 
|---|
| 7223 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 | 
|---|
| 7224 |   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 | 
|---|
| 7225 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 | 
|---|
| 7226 | fi
 | 
|---|
| 7227 | 
 | 
|---|
| 7228 | 
 | 
|---|
| 7229 | # Final text
 | 
|---|
| 7230 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: Cforall configuraton completed. Type \"make -j 8 install\"." >&5
 | 
|---|
| 7231 | $as_echo "Cforall configuraton completed. Type \"make -j 8 install\"." >&6; }
 | 
|---|