[3b77289] | 1 | #! /bin/sh
|
---|
| 2 | # Guess values for system-dependent variables and create Makefiles.
|
---|
[44f44617] | 3 | # Generated by GNU Autoconf 2.69 for cfa-cc 1.0.0.0.
|
---|
[3b77289] | 4 | #
|
---|
| 5 | # Report bugs to <cforall@plg.uwaterloo.ca>.
|
---|
| 6 | #
|
---|
| 7 | #
|
---|
[44f44617] | 8 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
|
---|
[3b77289] | 9 | #
|
---|
| 10 | #
|
---|
| 11 | # This configure script is free software; the Free Software Foundation
|
---|
| 12 | # gives unlimited permission to copy, distribute and modify it.
|
---|
| 13 | ## -------------------- ##
|
---|
| 14 | ## M4sh Initialization. ##
|
---|
| 15 | ## -------------------- ##
|
---|
| 16 |
|
---|
| 17 | # Be more Bourne compatible
|
---|
| 18 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
| 19 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
---|
| 20 | emulate sh
|
---|
| 21 | NULLCMD=:
|
---|
| 22 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
---|
| 23 | # is contrary to our usage. Disable this feature.
|
---|
| 24 | alias -g '${1+"$@"}'='"$@"'
|
---|
| 25 | setopt NO_GLOB_SUBST
|
---|
| 26 | else
|
---|
| 27 | case `(set -o) 2>/dev/null` in #(
|
---|
| 28 | *posix*) :
|
---|
| 29 | set -o posix ;; #(
|
---|
| 30 | *) :
|
---|
| 31 | ;;
|
---|
| 32 | esac
|
---|
| 33 | fi
|
---|
| 34 |
|
---|
| 35 |
|
---|
| 36 | as_nl='
|
---|
| 37 | '
|
---|
| 38 | export as_nl
|
---|
| 39 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
---|
| 40 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
---|
| 41 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
| 42 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
| 43 | # Prefer a ksh shell builtin over an external printf program on Solaris,
|
---|
| 44 | # but without wasting forks for bash or zsh.
|
---|
| 45 | if test -z "$BASH_VERSION$ZSH_VERSION" \
|
---|
| 46 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
| 47 | as_echo='print -r --'
|
---|
| 48 | as_echo_n='print -rn --'
|
---|
| 49 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
| 50 | as_echo='printf %s\n'
|
---|
| 51 | as_echo_n='printf %s'
|
---|
| 52 | else
|
---|
| 53 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
---|
| 54 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
---|
| 55 | as_echo_n='/usr/ucb/echo -n'
|
---|
| 56 | else
|
---|
| 57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
---|
| 58 | as_echo_n_body='eval
|
---|
| 59 | arg=$1;
|
---|
| 60 | case $arg in #(
|
---|
| 61 | *"$as_nl"*)
|
---|
| 62 | expr "X$arg" : "X\\(.*\\)$as_nl";
|
---|
| 63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
---|
| 64 | esac;
|
---|
| 65 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
---|
| 66 | '
|
---|
| 67 | export as_echo_n_body
|
---|
| 68 | as_echo_n='sh -c $as_echo_n_body as_echo'
|
---|
| 69 | fi
|
---|
| 70 | export as_echo_body
|
---|
| 71 | as_echo='sh -c $as_echo_body as_echo'
|
---|
| 72 | fi
|
---|
| 73 |
|
---|
| 74 | # The user is always right.
|
---|
| 75 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
| 76 | PATH_SEPARATOR=:
|
---|
| 77 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
---|
| 78 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
---|
| 79 | PATH_SEPARATOR=';'
|
---|
| 80 | }
|
---|
| 81 | fi
|
---|
| 82 |
|
---|
| 83 |
|
---|
| 84 | # IFS
|
---|
| 85 | # We need space, tab and new line, in precisely that order. Quoting is
|
---|
| 86 | # there to prevent editors from complaining about space-tab.
|
---|
| 87 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
---|
| 88 | # splitting by setting IFS to empty value.)
|
---|
| 89 | IFS=" "" $as_nl"
|
---|
| 90 |
|
---|
| 91 | # Find who we are. Look in the path if we contain no directory separator.
|
---|
| 92 | as_myself=
|
---|
| 93 | case $0 in #((
|
---|
| 94 | *[\\/]* ) as_myself=$0 ;;
|
---|
| 95 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 96 | for as_dir in $PATH
|
---|
| 97 | do
|
---|
| 98 | IFS=$as_save_IFS
|
---|
| 99 | test -z "$as_dir" && as_dir=.
|
---|
| 100 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
| 101 | done
|
---|
| 102 | IFS=$as_save_IFS
|
---|
| 103 |
|
---|
| 104 | ;;
|
---|
| 105 | esac
|
---|
| 106 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
| 107 | # in which case we are not to be found in the path.
|
---|
| 108 | if test "x$as_myself" = x; then
|
---|
| 109 | as_myself=$0
|
---|
| 110 | fi
|
---|
| 111 | if test ! -f "$as_myself"; then
|
---|
| 112 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
---|
| 113 | exit 1
|
---|
| 114 | fi
|
---|
| 115 |
|
---|
| 116 | # Unset variables that we do not need and which cause bugs (e.g. in
|
---|
| 117 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
---|
| 118 | # suppresses any "Segmentation fault" message there. '((' could
|
---|
| 119 | # trigger a bug in pdksh 5.2.14.
|
---|
| 120 | for as_var in BASH_ENV ENV MAIL MAILPATH
|
---|
| 121 | do eval test x\${$as_var+set} = xset \
|
---|
| 122 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
---|
| 123 | done
|
---|
| 124 | PS1='$ '
|
---|
| 125 | PS2='> '
|
---|
| 126 | PS4='+ '
|
---|
| 127 |
|
---|
| 128 | # NLS nuisances.
|
---|
| 129 | LC_ALL=C
|
---|
| 130 | export LC_ALL
|
---|
| 131 | LANGUAGE=C
|
---|
| 132 | export LANGUAGE
|
---|
| 133 |
|
---|
| 134 | # CDPATH.
|
---|
| 135 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
---|
| 136 |
|
---|
[44f44617] | 137 | # Use a proper internal environment variable to ensure we don't fall
|
---|
| 138 | # into an infinite loop, continuously re-executing ourselves.
|
---|
| 139 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
|
---|
| 140 | _as_can_reexec=no; export _as_can_reexec;
|
---|
| 141 | # We cannot yet assume a decent shell, so we have to provide a
|
---|
| 142 | # neutralization value for shells without unset; and this also
|
---|
| 143 | # works around shells that cannot unset nonexistent variables.
|
---|
| 144 | # Preserve -v and -x to the replacement shell.
|
---|
| 145 | BASH_ENV=/dev/null
|
---|
| 146 | ENV=/dev/null
|
---|
| 147 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
---|
| 148 | case $- in # ((((
|
---|
| 149 | *v*x* | *x*v* ) as_opts=-vx ;;
|
---|
| 150 | *v* ) as_opts=-v ;;
|
---|
| 151 | *x* ) as_opts=-x ;;
|
---|
| 152 | * ) as_opts= ;;
|
---|
| 153 | esac
|
---|
| 154 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
|
---|
| 155 | # Admittedly, this is quite paranoid, since all the known shells bail
|
---|
| 156 | # out after a failed `exec'.
|
---|
| 157 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
|
---|
| 158 | as_fn_exit 255
|
---|
| 159 | fi
|
---|
| 160 | # We don't want this to propagate to other subprocesses.
|
---|
| 161 | { _as_can_reexec=; unset _as_can_reexec;}
|
---|
[3b77289] | 162 | if test "x$CONFIG_SHELL" = x; then
|
---|
| 163 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
|
---|
| 164 | emulate sh
|
---|
| 165 | NULLCMD=:
|
---|
| 166 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
|
---|
| 167 | # is contrary to our usage. Disable this feature.
|
---|
| 168 | alias -g '\${1+\"\$@\"}'='\"\$@\"'
|
---|
| 169 | setopt NO_GLOB_SUBST
|
---|
| 170 | else
|
---|
| 171 | case \`(set -o) 2>/dev/null\` in #(
|
---|
| 172 | *posix*) :
|
---|
| 173 | set -o posix ;; #(
|
---|
| 174 | *) :
|
---|
| 175 | ;;
|
---|
| 176 | esac
|
---|
| 177 | fi
|
---|
| 178 | "
|
---|
| 179 | as_required="as_fn_return () { (exit \$1); }
|
---|
| 180 | as_fn_success () { as_fn_return 0; }
|
---|
| 181 | as_fn_failure () { as_fn_return 1; }
|
---|
| 182 | as_fn_ret_success () { return 0; }
|
---|
| 183 | as_fn_ret_failure () { return 1; }
|
---|
| 184 |
|
---|
| 185 | exitcode=0
|
---|
| 186 | as_fn_success || { exitcode=1; echo as_fn_success failed.; }
|
---|
| 187 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
---|
| 188 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
---|
| 189 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
---|
| 190 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
---|
| 191 |
|
---|
| 192 | else
|
---|
| 193 | exitcode=1; echo positional parameters were not saved.
|
---|
| 194 | fi
|
---|
[44f44617] | 195 | test x\$exitcode = x0 || exit 1
|
---|
| 196 | test -x / || exit 1"
|
---|
[3b77289] | 197 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
|
---|
| 198 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
|
---|
| 199 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
---|
| 200 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
|
---|
| 201 | test \$(( 1 + 1 )) = 2 || exit 1"
|
---|
| 202 | if (eval "$as_required") 2>/dev/null; then :
|
---|
| 203 | as_have_required=yes
|
---|
| 204 | else
|
---|
| 205 | as_have_required=no
|
---|
| 206 | fi
|
---|
| 207 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
|
---|
| 208 |
|
---|
| 209 | else
|
---|
| 210 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 211 | as_found=false
|
---|
| 212 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
---|
| 213 | do
|
---|
| 214 | IFS=$as_save_IFS
|
---|
| 215 | test -z "$as_dir" && as_dir=.
|
---|
| 216 | as_found=:
|
---|
| 217 | case $as_dir in #(
|
---|
| 218 | /*)
|
---|
| 219 | for as_base in sh bash ksh sh5; do
|
---|
| 220 | # Try only shells that exist, to save several forks.
|
---|
| 221 | as_shell=$as_dir/$as_base
|
---|
| 222 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
---|
| 223 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
---|
| 224 | CONFIG_SHELL=$as_shell as_have_required=yes
|
---|
| 225 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
---|
| 226 | break 2
|
---|
| 227 | fi
|
---|
| 228 | fi
|
---|
| 229 | done;;
|
---|
| 230 | esac
|
---|
| 231 | as_found=false
|
---|
| 232 | done
|
---|
| 233 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
|
---|
| 234 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
|
---|
| 235 | CONFIG_SHELL=$SHELL as_have_required=yes
|
---|
| 236 | fi; }
|
---|
| 237 | IFS=$as_save_IFS
|
---|
| 238 |
|
---|
| 239 |
|
---|
| 240 | if test "x$CONFIG_SHELL" != x; then :
|
---|
[44f44617] | 241 | export CONFIG_SHELL
|
---|
| 242 | # We cannot yet assume a decent shell, so we have to provide a
|
---|
| 243 | # neutralization value for shells without unset; and this also
|
---|
| 244 | # works around shells that cannot unset nonexistent variables.
|
---|
| 245 | # Preserve -v and -x to the replacement shell.
|
---|
| 246 | BASH_ENV=/dev/null
|
---|
| 247 | ENV=/dev/null
|
---|
| 248 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
---|
| 249 | case $- in # ((((
|
---|
| 250 | *v*x* | *x*v* ) as_opts=-vx ;;
|
---|
| 251 | *v* ) as_opts=-v ;;
|
---|
| 252 | *x* ) as_opts=-x ;;
|
---|
| 253 | * ) as_opts= ;;
|
---|
| 254 | esac
|
---|
| 255 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
|
---|
| 256 | # Admittedly, this is quite paranoid, since all the known shells bail
|
---|
| 257 | # out after a failed `exec'.
|
---|
| 258 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
|
---|
| 259 | exit 255
|
---|
[3b77289] | 260 | fi
|
---|
| 261 |
|
---|
| 262 | if test x$as_have_required = xno; then :
|
---|
| 263 | $as_echo "$0: This script requires a shell more modern than all"
|
---|
| 264 | $as_echo "$0: the shells that I found on your system."
|
---|
| 265 | if test x${ZSH_VERSION+set} = xset ; then
|
---|
| 266 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
---|
| 267 | $as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
---|
| 268 | else
|
---|
| 269 | $as_echo "$0: Please tell bug-autoconf@gnu.org and
|
---|
| 270 | $0: cforall@plg.uwaterloo.ca about your system, including
|
---|
| 271 | $0: any error possibly output before this message. Then
|
---|
| 272 | $0: install a modern shell, or manually run the script
|
---|
| 273 | $0: under such a shell if you do have one."
|
---|
| 274 | fi
|
---|
| 275 | exit 1
|
---|
| 276 | fi
|
---|
| 277 | fi
|
---|
| 278 | fi
|
---|
| 279 | SHELL=${CONFIG_SHELL-/bin/sh}
|
---|
| 280 | export SHELL
|
---|
| 281 | # Unset more variables known to interfere with behavior of common tools.
|
---|
| 282 | CLICOLOR_FORCE= GREP_OPTIONS=
|
---|
| 283 | unset CLICOLOR_FORCE GREP_OPTIONS
|
---|
| 284 |
|
---|
| 285 | ## --------------------- ##
|
---|
| 286 | ## M4sh Shell Functions. ##
|
---|
| 287 | ## --------------------- ##
|
---|
| 288 | # as_fn_unset VAR
|
---|
| 289 | # ---------------
|
---|
| 290 | # Portably unset VAR.
|
---|
| 291 | as_fn_unset ()
|
---|
| 292 | {
|
---|
| 293 | { eval $1=; unset $1;}
|
---|
| 294 | }
|
---|
| 295 | as_unset=as_fn_unset
|
---|
| 296 |
|
---|
| 297 | # as_fn_set_status STATUS
|
---|
| 298 | # -----------------------
|
---|
| 299 | # Set $? to STATUS, without forking.
|
---|
| 300 | as_fn_set_status ()
|
---|
| 301 | {
|
---|
| 302 | return $1
|
---|
| 303 | } # as_fn_set_status
|
---|
| 304 |
|
---|
| 305 | # as_fn_exit STATUS
|
---|
| 306 | # -----------------
|
---|
| 307 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
---|
| 308 | as_fn_exit ()
|
---|
| 309 | {
|
---|
| 310 | set +e
|
---|
| 311 | as_fn_set_status $1
|
---|
| 312 | exit $1
|
---|
| 313 | } # as_fn_exit
|
---|
| 314 |
|
---|
| 315 | # as_fn_mkdir_p
|
---|
| 316 | # -------------
|
---|
| 317 | # Create "$as_dir" as a directory, including parents if necessary.
|
---|
| 318 | as_fn_mkdir_p ()
|
---|
| 319 | {
|
---|
| 320 |
|
---|
| 321 | case $as_dir in #(
|
---|
| 322 | -*) as_dir=./$as_dir;;
|
---|
| 323 | esac
|
---|
| 324 | test -d "$as_dir" || eval $as_mkdir_p || {
|
---|
| 325 | as_dirs=
|
---|
| 326 | while :; do
|
---|
| 327 | case $as_dir in #(
|
---|
| 328 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
---|
| 329 | *) as_qdir=$as_dir;;
|
---|
| 330 | esac
|
---|
| 331 | as_dirs="'$as_qdir' $as_dirs"
|
---|
| 332 | as_dir=`$as_dirname -- "$as_dir" ||
|
---|
| 333 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 334 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 335 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
| 336 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 337 | $as_echo X"$as_dir" |
|
---|
| 338 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 339 | s//\1/
|
---|
| 340 | q
|
---|
| 341 | }
|
---|
| 342 | /^X\(\/\/\)[^/].*/{
|
---|
| 343 | s//\1/
|
---|
| 344 | q
|
---|
| 345 | }
|
---|
| 346 | /^X\(\/\/\)$/{
|
---|
| 347 | s//\1/
|
---|
| 348 | q
|
---|
| 349 | }
|
---|
| 350 | /^X\(\/\).*/{
|
---|
| 351 | s//\1/
|
---|
| 352 | q
|
---|
| 353 | }
|
---|
| 354 | s/.*/./; q'`
|
---|
| 355 | test -d "$as_dir" && break
|
---|
| 356 | done
|
---|
| 357 | test -z "$as_dirs" || eval "mkdir $as_dirs"
|
---|
| 358 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
---|
| 359 |
|
---|
| 360 |
|
---|
| 361 | } # as_fn_mkdir_p
|
---|
[44f44617] | 362 |
|
---|
| 363 | # as_fn_executable_p FILE
|
---|
| 364 | # -----------------------
|
---|
| 365 | # Test if FILE is an executable regular file.
|
---|
| 366 | as_fn_executable_p ()
|
---|
| 367 | {
|
---|
| 368 | test -f "$1" && test -x "$1"
|
---|
| 369 | } # as_fn_executable_p
|
---|
[3b77289] | 370 | # as_fn_append VAR VALUE
|
---|
| 371 | # ----------------------
|
---|
| 372 | # Append the text in VALUE to the end of the definition contained in VAR. Take
|
---|
| 373 | # advantage of any shell optimizations that allow amortized linear growth over
|
---|
| 374 | # repeated appends, instead of the typical quadratic growth present in naive
|
---|
| 375 | # implementations.
|
---|
| 376 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
---|
| 377 | eval 'as_fn_append ()
|
---|
| 378 | {
|
---|
| 379 | eval $1+=\$2
|
---|
| 380 | }'
|
---|
| 381 | else
|
---|
| 382 | as_fn_append ()
|
---|
| 383 | {
|
---|
| 384 | eval $1=\$$1\$2
|
---|
| 385 | }
|
---|
| 386 | fi # as_fn_append
|
---|
| 387 |
|
---|
| 388 | # as_fn_arith ARG...
|
---|
| 389 | # ------------------
|
---|
| 390 | # Perform arithmetic evaluation on the ARGs, and store the result in the
|
---|
| 391 | # global $as_val. Take advantage of shells that can avoid forks. The arguments
|
---|
| 392 | # must be portable across $(()) and expr.
|
---|
| 393 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
---|
| 394 | eval 'as_fn_arith ()
|
---|
| 395 | {
|
---|
| 396 | as_val=$(( $* ))
|
---|
| 397 | }'
|
---|
| 398 | else
|
---|
| 399 | as_fn_arith ()
|
---|
| 400 | {
|
---|
| 401 | as_val=`expr "$@" || test $? -eq 1`
|
---|
| 402 | }
|
---|
| 403 | fi # as_fn_arith
|
---|
| 404 |
|
---|
| 405 |
|
---|
| 406 | # as_fn_error STATUS ERROR [LINENO LOG_FD]
|
---|
| 407 | # ----------------------------------------
|
---|
| 408 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
---|
| 409 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
---|
| 410 | # script with STATUS, using 1 if that was 0.
|
---|
| 411 | as_fn_error ()
|
---|
| 412 | {
|
---|
| 413 | as_status=$1; test $as_status -eq 0 && as_status=1
|
---|
| 414 | if test "$4"; then
|
---|
| 415 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 416 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
---|
| 417 | fi
|
---|
| 418 | $as_echo "$as_me: error: $2" >&2
|
---|
| 419 | as_fn_exit $as_status
|
---|
| 420 | } # as_fn_error
|
---|
| 421 |
|
---|
| 422 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
| 423 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
| 424 | as_expr=expr
|
---|
| 425 | else
|
---|
| 426 | as_expr=false
|
---|
| 427 | fi
|
---|
| 428 |
|
---|
| 429 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
---|
| 430 | as_basename=basename
|
---|
| 431 | else
|
---|
| 432 | as_basename=false
|
---|
| 433 | fi
|
---|
| 434 |
|
---|
| 435 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
---|
| 436 | as_dirname=dirname
|
---|
| 437 | else
|
---|
| 438 | as_dirname=false
|
---|
| 439 | fi
|
---|
| 440 |
|
---|
| 441 | as_me=`$as_basename -- "$0" ||
|
---|
| 442 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
| 443 | X"$0" : 'X\(//\)$' \| \
|
---|
| 444 | X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 445 | $as_echo X/"$0" |
|
---|
| 446 | sed '/^.*\/\([^/][^/]*\)\/*$/{
|
---|
| 447 | s//\1/
|
---|
| 448 | q
|
---|
| 449 | }
|
---|
| 450 | /^X\/\(\/\/\)$/{
|
---|
| 451 | s//\1/
|
---|
| 452 | q
|
---|
| 453 | }
|
---|
| 454 | /^X\/\(\/\).*/{
|
---|
| 455 | s//\1/
|
---|
| 456 | q
|
---|
| 457 | }
|
---|
| 458 | s/.*/./; q'`
|
---|
| 459 |
|
---|
| 460 | # Avoid depending upon Character Ranges.
|
---|
| 461 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
| 462 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
| 463 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
| 464 | as_cr_digits='0123456789'
|
---|
| 465 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
| 466 |
|
---|
| 467 |
|
---|
| 468 | as_lineno_1=$LINENO as_lineno_1a=$LINENO
|
---|
| 469 | as_lineno_2=$LINENO as_lineno_2a=$LINENO
|
---|
| 470 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
|
---|
| 471 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
|
---|
| 472 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
|
---|
| 473 | sed -n '
|
---|
| 474 | p
|
---|
| 475 | /[$]LINENO/=
|
---|
| 476 | ' <$as_myself |
|
---|
| 477 | sed '
|
---|
| 478 | s/[$]LINENO.*/&-/
|
---|
| 479 | t lineno
|
---|
| 480 | b
|
---|
| 481 | :lineno
|
---|
| 482 | N
|
---|
| 483 | :loop
|
---|
| 484 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
---|
| 485 | t loop
|
---|
| 486 | s/-\n.*//
|
---|
| 487 | ' >$as_me.lineno &&
|
---|
| 488 | chmod +x "$as_me.lineno" ||
|
---|
| 489 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
---|
| 490 |
|
---|
[44f44617] | 491 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
|
---|
| 492 | # already done that, so ensure we don't try to do so again and fall
|
---|
| 493 | # in an infinite loop. This has already happened in practice.
|
---|
| 494 | _as_can_reexec=no; export _as_can_reexec
|
---|
[3b77289] | 495 | # Don't try to exec as it changes $[0], causing all sort of problems
|
---|
| 496 | # (the dirname of $[0] is not the place where we might find the
|
---|
| 497 | # original and so on. Autoconf is especially sensitive to this).
|
---|
| 498 | . "./$as_me.lineno"
|
---|
| 499 | # Exit status is that of the last command.
|
---|
| 500 | exit
|
---|
| 501 | }
|
---|
| 502 |
|
---|
| 503 | ECHO_C= ECHO_N= ECHO_T=
|
---|
| 504 | case `echo -n x` in #(((((
|
---|
| 505 | -n*)
|
---|
| 506 | case `echo 'xy\c'` in
|
---|
| 507 | *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
---|
| 508 | xy) ECHO_C='\c';;
|
---|
| 509 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
---|
| 510 | ECHO_T=' ';;
|
---|
| 511 | esac;;
|
---|
| 512 | *)
|
---|
| 513 | ECHO_N='-n';;
|
---|
| 514 | esac
|
---|
| 515 |
|
---|
| 516 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
| 517 | if test -d conf$$.dir; then
|
---|
| 518 | rm -f conf$$.dir/conf$$.file
|
---|
| 519 | else
|
---|
| 520 | rm -f conf$$.dir
|
---|
| 521 | mkdir conf$$.dir 2>/dev/null
|
---|
| 522 | fi
|
---|
| 523 | if (echo >conf$$.file) 2>/dev/null; then
|
---|
| 524 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
| 525 | as_ln_s='ln -s'
|
---|
| 526 | # ... but there are two gotchas:
|
---|
| 527 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
---|
| 528 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
---|
[44f44617] | 529 | # In both cases, we have to default to `cp -pR'.
|
---|
[3b77289] | 530 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
---|
[44f44617] | 531 | as_ln_s='cp -pR'
|
---|
[3b77289] | 532 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
| 533 | as_ln_s=ln
|
---|
| 534 | else
|
---|
[44f44617] | 535 | as_ln_s='cp -pR'
|
---|
[3b77289] | 536 | fi
|
---|
| 537 | else
|
---|
[44f44617] | 538 | as_ln_s='cp -pR'
|
---|
[3b77289] | 539 | fi
|
---|
| 540 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
---|
| 541 | rmdir conf$$.dir 2>/dev/null
|
---|
| 542 |
|
---|
| 543 | if mkdir -p . 2>/dev/null; then
|
---|
| 544 | as_mkdir_p='mkdir -p "$as_dir"'
|
---|
| 545 | else
|
---|
| 546 | test -d ./-p && rmdir ./-p
|
---|
| 547 | as_mkdir_p=false
|
---|
| 548 | fi
|
---|
| 549 |
|
---|
[44f44617] | 550 | as_test_x='test -x'
|
---|
| 551 | as_executable_p=as_fn_executable_p
|
---|
[3b77289] | 552 |
|
---|
| 553 | # Sed expression to map a string onto a valid CPP name.
|
---|
| 554 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 555 |
|
---|
| 556 | # Sed expression to map a string onto a valid variable name.
|
---|
| 557 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 558 |
|
---|
| 559 |
|
---|
| 560 | test -n "$DJDIR" || exec 7<&0 </dev/null
|
---|
| 561 | exec 6>&1
|
---|
| 562 |
|
---|
| 563 | # Name of the host.
|
---|
| 564 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
|
---|
| 565 | # so uname gets run too.
|
---|
| 566 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 567 |
|
---|
| 568 | #
|
---|
| 569 | # Initializations.
|
---|
| 570 | #
|
---|
| 571 | ac_default_prefix=/usr/local
|
---|
| 572 | ac_clean_files=
|
---|
| 573 | ac_config_libobj_dir=.
|
---|
| 574 | LIBOBJS=
|
---|
| 575 | cross_compiling=no
|
---|
| 576 | subdirs=
|
---|
| 577 | MFLAGS=
|
---|
| 578 | MAKEFLAGS=
|
---|
| 579 |
|
---|
| 580 | # Identity of this package.
|
---|
| 581 | PACKAGE_NAME='cfa-cc'
|
---|
| 582 | PACKAGE_TARNAME='cfa-cc'
|
---|
[4b1afb6] | 583 | PACKAGE_VERSION='1.0.0.0'
|
---|
| 584 | PACKAGE_STRING='cfa-cc 1.0.0.0'
|
---|
[3b77289] | 585 | PACKAGE_BUGREPORT='cforall@plg.uwaterloo.ca'
|
---|
| 586 | PACKAGE_URL=''
|
---|
| 587 |
|
---|
| 588 | # Factoring default headers for most tests.
|
---|
| 589 | ac_includes_default="\
|
---|
| 590 | #include <stdio.h>
|
---|
| 591 | #ifdef HAVE_SYS_TYPES_H
|
---|
| 592 | # include <sys/types.h>
|
---|
| 593 | #endif
|
---|
| 594 | #ifdef HAVE_SYS_STAT_H
|
---|
| 595 | # include <sys/stat.h>
|
---|
| 596 | #endif
|
---|
| 597 | #ifdef STDC_HEADERS
|
---|
| 598 | # include <stdlib.h>
|
---|
| 599 | # include <stddef.h>
|
---|
| 600 | #else
|
---|
| 601 | # ifdef HAVE_STDLIB_H
|
---|
| 602 | # include <stdlib.h>
|
---|
| 603 | # endif
|
---|
| 604 | #endif
|
---|
| 605 | #ifdef HAVE_STRING_H
|
---|
| 606 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
|
---|
| 607 | # include <memory.h>
|
---|
| 608 | # endif
|
---|
| 609 | # include <string.h>
|
---|
| 610 | #endif
|
---|
| 611 | #ifdef HAVE_STRINGS_H
|
---|
| 612 | # include <strings.h>
|
---|
| 613 | #endif
|
---|
| 614 | #ifdef HAVE_INTTYPES_H
|
---|
| 615 | # include <inttypes.h>
|
---|
| 616 | #endif
|
---|
| 617 | #ifdef HAVE_STDINT_H
|
---|
| 618 | # include <stdint.h>
|
---|
| 619 | #endif
|
---|
| 620 | #ifdef HAVE_UNISTD_H
|
---|
| 621 | # include <unistd.h>
|
---|
| 622 | #endif"
|
---|
| 623 |
|
---|
| 624 | ac_subst_vars='am__EXEEXT_FALSE
|
---|
| 625 | am__EXEEXT_TRUE
|
---|
| 626 | LTLIBOBJS
|
---|
| 627 | LIBOBJS
|
---|
[5d6ce1f] | 628 | ALLOCA
|
---|
[3b77289] | 629 | EGREP
|
---|
| 630 | GREP
|
---|
| 631 | CPP
|
---|
[00cc023] | 632 | RANLIB
|
---|
[56c3935] | 633 | LEXLIB
|
---|
| 634 | LEX_OUTPUT_ROOT
|
---|
| 635 | LEX
|
---|
| 636 | YFLAGS
|
---|
| 637 | YACC
|
---|
[8e5724e] | 638 | am__fastdepCCAS_FALSE
|
---|
| 639 | am__fastdepCCAS_TRUE
|
---|
| 640 | CCASDEPMODE
|
---|
| 641 | CCASFLAGS
|
---|
| 642 | CCAS
|
---|
[3b77289] | 643 | am__fastdepCC_FALSE
|
---|
| 644 | am__fastdepCC_TRUE
|
---|
| 645 | CCDEPMODE
|
---|
| 646 | ac_ct_CC
|
---|
| 647 | CFLAGS
|
---|
| 648 | CC
|
---|
| 649 | am__fastdepCXX_FALSE
|
---|
| 650 | am__fastdepCXX_TRUE
|
---|
| 651 | CXXDEPMODE
|
---|
| 652 | am__nodep
|
---|
| 653 | AMDEPBACKSLASH
|
---|
| 654 | AMDEP_FALSE
|
---|
| 655 | AMDEP_TRUE
|
---|
| 656 | am__quote
|
---|
| 657 | am__include
|
---|
| 658 | DEPDIR
|
---|
| 659 | OBJEXT
|
---|
| 660 | EXEEXT
|
---|
| 661 | ac_ct_CXX
|
---|
| 662 | CPPFLAGS
|
---|
| 663 | LDFLAGS
|
---|
| 664 | CXXFLAGS
|
---|
| 665 | CXX
|
---|
[3f414ef] | 666 | CFA_FLAGS
|
---|
[e4745d7a] | 667 | MACHINE_TYPE
|
---|
| 668 | host_os
|
---|
| 669 | host_vendor
|
---|
| 670 | host_cpu
|
---|
| 671 | host
|
---|
| 672 | build_os
|
---|
| 673 | build_vendor
|
---|
| 674 | build_cpu
|
---|
| 675 | build
|
---|
[5d6ce1f] | 676 | CFA_LIBDIR
|
---|
| 677 | CFA_BINDIR
|
---|
| 678 | CFA_INCDIR
|
---|
| 679 | CFA_PREFIX
|
---|
[facc44f] | 680 | BUILD_CONCURRENCY_FALSE
|
---|
| 681 | BUILD_CONCURRENCY_TRUE
|
---|
[24f4671] | 682 | BUILD_NO_LIB_FALSE
|
---|
| 683 | BUILD_NO_LIB_TRUE
|
---|
[9def87a] | 684 | BUILD_DEBUG_FALSE
|
---|
| 685 | BUILD_DEBUG_TRUE
|
---|
| 686 | BUILD_RELEASE_FALSE
|
---|
| 687 | BUILD_RELEASE_TRUE
|
---|
[e24f13a] | 688 | CFA_BACKEND_CC
|
---|
[5d6ce1f] | 689 | BACKEND_CC
|
---|
[df47e2f] | 690 | CFA_NAME
|
---|
[6aa5ec0f] | 691 | MAINT
|
---|
| 692 | MAINTAINER_MODE_FALSE
|
---|
| 693 | MAINTAINER_MODE_TRUE
|
---|
[3b77289] | 694 | am__untar
|
---|
| 695 | am__tar
|
---|
| 696 | AMTAR
|
---|
| 697 | am__leading_dot
|
---|
| 698 | SET_MAKE
|
---|
| 699 | AWK
|
---|
| 700 | mkdir_p
|
---|
| 701 | MKDIR_P
|
---|
| 702 | INSTALL_STRIP_PROGRAM
|
---|
| 703 | STRIP
|
---|
| 704 | install_sh
|
---|
| 705 | MAKEINFO
|
---|
| 706 | AUTOHEADER
|
---|
| 707 | AUTOMAKE
|
---|
| 708 | AUTOCONF
|
---|
| 709 | ACLOCAL
|
---|
| 710 | VERSION
|
---|
| 711 | PACKAGE
|
---|
| 712 | CYGPATH_W
|
---|
| 713 | am__isrc
|
---|
| 714 | INSTALL_DATA
|
---|
| 715 | INSTALL_SCRIPT
|
---|
| 716 | INSTALL_PROGRAM
|
---|
[ef7d253] | 717 | AM_BACKSLASH
|
---|
| 718 | AM_DEFAULT_VERBOSITY
|
---|
| 719 | AM_DEFAULT_V
|
---|
| 720 | AM_V
|
---|
[3b77289] | 721 | target_alias
|
---|
| 722 | host_alias
|
---|
| 723 | build_alias
|
---|
| 724 | LIBS
|
---|
| 725 | ECHO_T
|
---|
| 726 | ECHO_N
|
---|
| 727 | ECHO_C
|
---|
| 728 | DEFS
|
---|
| 729 | mandir
|
---|
| 730 | localedir
|
---|
| 731 | libdir
|
---|
| 732 | psdir
|
---|
| 733 | pdfdir
|
---|
| 734 | dvidir
|
---|
| 735 | htmldir
|
---|
| 736 | infodir
|
---|
| 737 | docdir
|
---|
| 738 | oldincludedir
|
---|
| 739 | includedir
|
---|
[44f44617] | 740 | runstatedir
|
---|
[3b77289] | 741 | localstatedir
|
---|
| 742 | sharedstatedir
|
---|
| 743 | sysconfdir
|
---|
| 744 | datadir
|
---|
| 745 | datarootdir
|
---|
| 746 | libexecdir
|
---|
| 747 | sbindir
|
---|
| 748 | bindir
|
---|
| 749 | program_transform_name
|
---|
| 750 | prefix
|
---|
| 751 | exec_prefix
|
---|
| 752 | PACKAGE_URL
|
---|
| 753 | PACKAGE_BUGREPORT
|
---|
| 754 | PACKAGE_STRING
|
---|
| 755 | PACKAGE_VERSION
|
---|
| 756 | PACKAGE_TARNAME
|
---|
| 757 | PACKAGE_NAME
|
---|
| 758 | PATH_SEPARATOR
|
---|
| 759 | SHELL'
|
---|
| 760 | ac_subst_files=''
|
---|
| 761 | ac_user_opts='
|
---|
| 762 | enable_option_checking
|
---|
[ef7d253] | 763 | enable_silent_rules
|
---|
[6aa5ec0f] | 764 | enable_maintainer_mode
|
---|
[796cea3] | 765 | with_cfa_name
|
---|
[3b77289] | 766 | with_backend_compiler
|
---|
[9def87a] | 767 | enable_target_release
|
---|
| 768 | enable_target_debug
|
---|
[facc44f] | 769 | enable_threading
|
---|
[5d6ce1f] | 770 | enable_dependency_tracking
|
---|
[3b77289] | 771 | '
|
---|
| 772 | ac_precious_vars='build_alias
|
---|
| 773 | host_alias
|
---|
| 774 | target_alias
|
---|
| 775 | CXX
|
---|
| 776 | CXXFLAGS
|
---|
| 777 | LDFLAGS
|
---|
| 778 | LIBS
|
---|
| 779 | CPPFLAGS
|
---|
| 780 | CCC
|
---|
| 781 | CC
|
---|
| 782 | CFLAGS
|
---|
[8e5724e] | 783 | CCAS
|
---|
| 784 | CCASFLAGS
|
---|
[56c3935] | 785 | YACC
|
---|
| 786 | YFLAGS
|
---|
[3b77289] | 787 | CPP'
|
---|
| 788 |
|
---|
| 789 |
|
---|
| 790 | # Initialize some variables set by options.
|
---|
| 791 | ac_init_help=
|
---|
| 792 | ac_init_version=false
|
---|
| 793 | ac_unrecognized_opts=
|
---|
| 794 | ac_unrecognized_sep=
|
---|
| 795 | # The variables have the same names as the options, with
|
---|
| 796 | # dashes changed to underlines.
|
---|
| 797 | cache_file=/dev/null
|
---|
| 798 | exec_prefix=NONE
|
---|
| 799 | no_create=
|
---|
| 800 | no_recursion=
|
---|
| 801 | prefix=NONE
|
---|
| 802 | program_prefix=NONE
|
---|
| 803 | program_suffix=NONE
|
---|
| 804 | program_transform_name=s,x,x,
|
---|
| 805 | silent=
|
---|
| 806 | site=
|
---|
| 807 | srcdir=
|
---|
| 808 | verbose=
|
---|
| 809 | x_includes=NONE
|
---|
| 810 | x_libraries=NONE
|
---|
| 811 |
|
---|
| 812 | # Installation directory options.
|
---|
| 813 | # These are left unexpanded so users can "make install exec_prefix=/foo"
|
---|
| 814 | # and all the variables that are supposed to be based on exec_prefix
|
---|
| 815 | # by default will actually change.
|
---|
| 816 | # Use braces instead of parens because sh, perl, etc. also accept them.
|
---|
| 817 | # (The list follows the same order as the GNU Coding Standards.)
|
---|
| 818 | bindir='${exec_prefix}/bin'
|
---|
| 819 | sbindir='${exec_prefix}/sbin'
|
---|
| 820 | libexecdir='${exec_prefix}/libexec'
|
---|
| 821 | datarootdir='${prefix}/share'
|
---|
| 822 | datadir='${datarootdir}'
|
---|
| 823 | sysconfdir='${prefix}/etc'
|
---|
| 824 | sharedstatedir='${prefix}/com'
|
---|
| 825 | localstatedir='${prefix}/var'
|
---|
[44f44617] | 826 | runstatedir='${localstatedir}/run'
|
---|
[3b77289] | 827 | includedir='${prefix}/include'
|
---|
| 828 | oldincludedir='/usr/include'
|
---|
| 829 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
|
---|
| 830 | infodir='${datarootdir}/info'
|
---|
| 831 | htmldir='${docdir}'
|
---|
| 832 | dvidir='${docdir}'
|
---|
| 833 | pdfdir='${docdir}'
|
---|
| 834 | psdir='${docdir}'
|
---|
| 835 | libdir='${exec_prefix}/lib'
|
---|
| 836 | localedir='${datarootdir}/locale'
|
---|
| 837 | mandir='${datarootdir}/man'
|
---|
| 838 |
|
---|
| 839 | ac_prev=
|
---|
| 840 | ac_dashdash=
|
---|
| 841 | for ac_option
|
---|
| 842 | do
|
---|
| 843 | # If the previous option needs an argument, assign it.
|
---|
| 844 | if test -n "$ac_prev"; then
|
---|
| 845 | eval $ac_prev=\$ac_option
|
---|
| 846 | ac_prev=
|
---|
| 847 | continue
|
---|
| 848 | fi
|
---|
| 849 |
|
---|
| 850 | case $ac_option in
|
---|
| 851 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
---|
| 852 | *=) ac_optarg= ;;
|
---|
| 853 | *) ac_optarg=yes ;;
|
---|
| 854 | esac
|
---|
| 855 |
|
---|
| 856 | # Accept the important Cygnus configure options, so we can diagnose typos.
|
---|
| 857 |
|
---|
| 858 | case $ac_dashdash$ac_option in
|
---|
| 859 | --)
|
---|
| 860 | ac_dashdash=yes ;;
|
---|
| 861 |
|
---|
| 862 | -bindir | --bindir | --bindi | --bind | --bin | --bi)
|
---|
| 863 | ac_prev=bindir ;;
|
---|
| 864 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
---|
| 865 | bindir=$ac_optarg ;;
|
---|
| 866 |
|
---|
| 867 | -build | --build | --buil | --bui | --bu)
|
---|
| 868 | ac_prev=build_alias ;;
|
---|
| 869 | -build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
---|
| 870 | build_alias=$ac_optarg ;;
|
---|
| 871 |
|
---|
| 872 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
---|
| 873 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
---|
| 874 | ac_prev=cache_file ;;
|
---|
| 875 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
---|
| 876 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
---|
| 877 | cache_file=$ac_optarg ;;
|
---|
| 878 |
|
---|
| 879 | --config-cache | -C)
|
---|
| 880 | cache_file=config.cache ;;
|
---|
| 881 |
|
---|
| 882 | -datadir | --datadir | --datadi | --datad)
|
---|
| 883 | ac_prev=datadir ;;
|
---|
| 884 | -datadir=* | --datadir=* | --datadi=* | --datad=*)
|
---|
| 885 | datadir=$ac_optarg ;;
|
---|
| 886 |
|
---|
| 887 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
|
---|
| 888 | | --dataroo | --dataro | --datar)
|
---|
| 889 | ac_prev=datarootdir ;;
|
---|
| 890 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
|
---|
| 891 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
|
---|
| 892 | datarootdir=$ac_optarg ;;
|
---|
| 893 |
|
---|
| 894 | -disable-* | --disable-*)
|
---|
| 895 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
---|
| 896 | # Reject names that are not valid shell variable names.
|
---|
| 897 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
| 898 | as_fn_error $? "invalid feature name: $ac_useropt"
|
---|
| 899 | ac_useropt_orig=$ac_useropt
|
---|
| 900 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 901 | case $ac_user_opts in
|
---|
| 902 | *"
|
---|
| 903 | "enable_$ac_useropt"
|
---|
| 904 | "*) ;;
|
---|
| 905 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
|
---|
| 906 | ac_unrecognized_sep=', ';;
|
---|
| 907 | esac
|
---|
| 908 | eval enable_$ac_useropt=no ;;
|
---|
| 909 |
|
---|
| 910 | -docdir | --docdir | --docdi | --doc | --do)
|
---|
| 911 | ac_prev=docdir ;;
|
---|
| 912 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
|
---|
| 913 | docdir=$ac_optarg ;;
|
---|
| 914 |
|
---|
| 915 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
|
---|
| 916 | ac_prev=dvidir ;;
|
---|
| 917 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
|
---|
| 918 | dvidir=$ac_optarg ;;
|
---|
| 919 |
|
---|
| 920 | -enable-* | --enable-*)
|
---|
| 921 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
---|
| 922 | # Reject names that are not valid shell variable names.
|
---|
| 923 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
| 924 | as_fn_error $? "invalid feature name: $ac_useropt"
|
---|
| 925 | ac_useropt_orig=$ac_useropt
|
---|
| 926 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 927 | case $ac_user_opts in
|
---|
| 928 | *"
|
---|
| 929 | "enable_$ac_useropt"
|
---|
| 930 | "*) ;;
|
---|
| 931 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
|
---|
| 932 | ac_unrecognized_sep=', ';;
|
---|
| 933 | esac
|
---|
| 934 | eval enable_$ac_useropt=\$ac_optarg ;;
|
---|
| 935 |
|
---|
| 936 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
---|
| 937 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
---|
| 938 | | --exec | --exe | --ex)
|
---|
| 939 | ac_prev=exec_prefix ;;
|
---|
| 940 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
---|
| 941 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
---|
| 942 | | --exec=* | --exe=* | --ex=*)
|
---|
| 943 | exec_prefix=$ac_optarg ;;
|
---|
| 944 |
|
---|
| 945 | -gas | --gas | --ga | --g)
|
---|
| 946 | # Obsolete; use --with-gas.
|
---|
| 947 | with_gas=yes ;;
|
---|
| 948 |
|
---|
| 949 | -help | --help | --hel | --he | -h)
|
---|
| 950 | ac_init_help=long ;;
|
---|
| 951 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
---|
| 952 | ac_init_help=recursive ;;
|
---|
| 953 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
---|
| 954 | ac_init_help=short ;;
|
---|
| 955 |
|
---|
| 956 | -host | --host | --hos | --ho)
|
---|
| 957 | ac_prev=host_alias ;;
|
---|
| 958 | -host=* | --host=* | --hos=* | --ho=*)
|
---|
| 959 | host_alias=$ac_optarg ;;
|
---|
| 960 |
|
---|
| 961 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
|
---|
| 962 | ac_prev=htmldir ;;
|
---|
| 963 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
|
---|
| 964 | | --ht=*)
|
---|
| 965 | htmldir=$ac_optarg ;;
|
---|
| 966 |
|
---|
| 967 | -includedir | --includedir | --includedi | --included | --include \
|
---|
| 968 | | --includ | --inclu | --incl | --inc)
|
---|
| 969 | ac_prev=includedir ;;
|
---|
| 970 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
---|
| 971 | | --includ=* | --inclu=* | --incl=* | --inc=*)
|
---|
| 972 | includedir=$ac_optarg ;;
|
---|
| 973 |
|
---|
| 974 | -infodir | --infodir | --infodi | --infod | --info | --inf)
|
---|
| 975 | ac_prev=infodir ;;
|
---|
| 976 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
---|
| 977 | infodir=$ac_optarg ;;
|
---|
| 978 |
|
---|
| 979 | -libdir | --libdir | --libdi | --libd)
|
---|
| 980 | ac_prev=libdir ;;
|
---|
| 981 | -libdir=* | --libdir=* | --libdi=* | --libd=*)
|
---|
| 982 | libdir=$ac_optarg ;;
|
---|
| 983 |
|
---|
| 984 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
---|
| 985 | | --libexe | --libex | --libe)
|
---|
| 986 | ac_prev=libexecdir ;;
|
---|
| 987 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
---|
| 988 | | --libexe=* | --libex=* | --libe=*)
|
---|
| 989 | libexecdir=$ac_optarg ;;
|
---|
| 990 |
|
---|
| 991 | -localedir | --localedir | --localedi | --localed | --locale)
|
---|
| 992 | ac_prev=localedir ;;
|
---|
| 993 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
|
---|
| 994 | localedir=$ac_optarg ;;
|
---|
| 995 |
|
---|
| 996 | -localstatedir | --localstatedir | --localstatedi | --localstated \
|
---|
| 997 | | --localstate | --localstat | --localsta | --localst | --locals)
|
---|
| 998 | ac_prev=localstatedir ;;
|
---|
| 999 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
---|
| 1000 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
|
---|
| 1001 | localstatedir=$ac_optarg ;;
|
---|
| 1002 |
|
---|
| 1003 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
---|
| 1004 | ac_prev=mandir ;;
|
---|
| 1005 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
---|
| 1006 | mandir=$ac_optarg ;;
|
---|
| 1007 |
|
---|
| 1008 | -nfp | --nfp | --nf)
|
---|
| 1009 | # Obsolete; use --without-fp.
|
---|
| 1010 | with_fp=no ;;
|
---|
| 1011 |
|
---|
| 1012 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
---|
| 1013 | | --no-cr | --no-c | -n)
|
---|
| 1014 | no_create=yes ;;
|
---|
| 1015 |
|
---|
| 1016 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
---|
| 1017 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
---|
| 1018 | no_recursion=yes ;;
|
---|
| 1019 |
|
---|
| 1020 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
---|
| 1021 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
---|
| 1022 | | --oldin | --oldi | --old | --ol | --o)
|
---|
| 1023 | ac_prev=oldincludedir ;;
|
---|
| 1024 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
---|
| 1025 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
---|
| 1026 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
---|
| 1027 | oldincludedir=$ac_optarg ;;
|
---|
| 1028 |
|
---|
| 1029 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
---|
| 1030 | ac_prev=prefix ;;
|
---|
| 1031 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
---|
| 1032 | prefix=$ac_optarg ;;
|
---|
| 1033 |
|
---|
| 1034 | -program-prefix | --program-prefix | --program-prefi | --program-pref \
|
---|
| 1035 | | --program-pre | --program-pr | --program-p)
|
---|
| 1036 | ac_prev=program_prefix ;;
|
---|
| 1037 | -program-prefix=* | --program-prefix=* | --program-prefi=* \
|
---|
| 1038 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
---|
| 1039 | program_prefix=$ac_optarg ;;
|
---|
| 1040 |
|
---|
| 1041 | -program-suffix | --program-suffix | --program-suffi | --program-suff \
|
---|
| 1042 | | --program-suf | --program-su | --program-s)
|
---|
| 1043 | ac_prev=program_suffix ;;
|
---|
| 1044 | -program-suffix=* | --program-suffix=* | --program-suffi=* \
|
---|
| 1045 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
---|
| 1046 | program_suffix=$ac_optarg ;;
|
---|
| 1047 |
|
---|
| 1048 | -program-transform-name | --program-transform-name \
|
---|
| 1049 | | --program-transform-nam | --program-transform-na \
|
---|
| 1050 | | --program-transform-n | --program-transform- \
|
---|
| 1051 | | --program-transform | --program-transfor \
|
---|
| 1052 | | --program-transfo | --program-transf \
|
---|
| 1053 | | --program-trans | --program-tran \
|
---|
| 1054 | | --progr-tra | --program-tr | --program-t)
|
---|
| 1055 | ac_prev=program_transform_name ;;
|
---|
| 1056 | -program-transform-name=* | --program-transform-name=* \
|
---|
| 1057 | | --program-transform-nam=* | --program-transform-na=* \
|
---|
| 1058 | | --program-transform-n=* | --program-transform-=* \
|
---|
| 1059 | | --program-transform=* | --program-transfor=* \
|
---|
| 1060 | | --program-transfo=* | --program-transf=* \
|
---|
| 1061 | | --program-trans=* | --program-tran=* \
|
---|
| 1062 | | --progr-tra=* | --program-tr=* | --program-t=*)
|
---|
| 1063 | program_transform_name=$ac_optarg ;;
|
---|
| 1064 |
|
---|
| 1065 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
|
---|
| 1066 | ac_prev=pdfdir ;;
|
---|
| 1067 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
|
---|
| 1068 | pdfdir=$ac_optarg ;;
|
---|
| 1069 |
|
---|
| 1070 | -psdir | --psdir | --psdi | --psd | --ps)
|
---|
| 1071 | ac_prev=psdir ;;
|
---|
| 1072 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
|
---|
| 1073 | psdir=$ac_optarg ;;
|
---|
| 1074 |
|
---|
| 1075 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 1076 | | -silent | --silent | --silen | --sile | --sil)
|
---|
| 1077 | silent=yes ;;
|
---|
| 1078 |
|
---|
[44f44617] | 1079 | -runstatedir | --runstatedir | --runstatedi | --runstated \
|
---|
| 1080 | | --runstate | --runstat | --runsta | --runst | --runs \
|
---|
| 1081 | | --run | --ru | --r)
|
---|
| 1082 | ac_prev=runstatedir ;;
|
---|
| 1083 | -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
|
---|
| 1084 | | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
|
---|
| 1085 | | --run=* | --ru=* | --r=*)
|
---|
| 1086 | runstatedir=$ac_optarg ;;
|
---|
| 1087 |
|
---|
[3b77289] | 1088 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
---|
| 1089 | ac_prev=sbindir ;;
|
---|
| 1090 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
---|
| 1091 | | --sbi=* | --sb=*)
|
---|
| 1092 | sbindir=$ac_optarg ;;
|
---|
| 1093 |
|
---|
| 1094 | -sharedstatedir | --sharedstatedir | --sharedstatedi \
|
---|
| 1095 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
---|
| 1096 | | --sharedst | --shareds | --shared | --share | --shar \
|
---|
| 1097 | | --sha | --sh)
|
---|
| 1098 | ac_prev=sharedstatedir ;;
|
---|
| 1099 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
---|
| 1100 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
---|
| 1101 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
---|
| 1102 | | --sha=* | --sh=*)
|
---|
| 1103 | sharedstatedir=$ac_optarg ;;
|
---|
| 1104 |
|
---|
| 1105 | -site | --site | --sit)
|
---|
| 1106 | ac_prev=site ;;
|
---|
| 1107 | -site=* | --site=* | --sit=*)
|
---|
| 1108 | site=$ac_optarg ;;
|
---|
| 1109 |
|
---|
| 1110 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
---|
| 1111 | ac_prev=srcdir ;;
|
---|
| 1112 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
---|
| 1113 | srcdir=$ac_optarg ;;
|
---|
| 1114 |
|
---|
| 1115 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
---|
| 1116 | | --syscon | --sysco | --sysc | --sys | --sy)
|
---|
| 1117 | ac_prev=sysconfdir ;;
|
---|
| 1118 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
---|
| 1119 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
---|
| 1120 | sysconfdir=$ac_optarg ;;
|
---|
| 1121 |
|
---|
| 1122 | -target | --target | --targe | --targ | --tar | --ta | --t)
|
---|
| 1123 | ac_prev=target_alias ;;
|
---|
| 1124 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
---|
| 1125 | target_alias=$ac_optarg ;;
|
---|
| 1126 |
|
---|
| 1127 | -v | -verbose | --verbose | --verbos | --verbo | --verb)
|
---|
| 1128 | verbose=yes ;;
|
---|
| 1129 |
|
---|
| 1130 | -version | --version | --versio | --versi | --vers | -V)
|
---|
| 1131 | ac_init_version=: ;;
|
---|
| 1132 |
|
---|
| 1133 | -with-* | --with-*)
|
---|
| 1134 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
---|
| 1135 | # Reject names that are not valid shell variable names.
|
---|
| 1136 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
| 1137 | as_fn_error $? "invalid package name: $ac_useropt"
|
---|
| 1138 | ac_useropt_orig=$ac_useropt
|
---|
| 1139 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 1140 | case $ac_user_opts in
|
---|
| 1141 | *"
|
---|
| 1142 | "with_$ac_useropt"
|
---|
| 1143 | "*) ;;
|
---|
| 1144 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
|
---|
| 1145 | ac_unrecognized_sep=', ';;
|
---|
| 1146 | esac
|
---|
| 1147 | eval with_$ac_useropt=\$ac_optarg ;;
|
---|
| 1148 |
|
---|
| 1149 | -without-* | --without-*)
|
---|
| 1150 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
---|
| 1151 | # Reject names that are not valid shell variable names.
|
---|
| 1152 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
| 1153 | as_fn_error $? "invalid package name: $ac_useropt"
|
---|
| 1154 | ac_useropt_orig=$ac_useropt
|
---|
| 1155 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 1156 | case $ac_user_opts in
|
---|
| 1157 | *"
|
---|
| 1158 | "with_$ac_useropt"
|
---|
| 1159 | "*) ;;
|
---|
| 1160 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
|
---|
| 1161 | ac_unrecognized_sep=', ';;
|
---|
| 1162 | esac
|
---|
| 1163 | eval with_$ac_useropt=no ;;
|
---|
| 1164 |
|
---|
| 1165 | --x)
|
---|
| 1166 | # Obsolete; use --with-x.
|
---|
| 1167 | with_x=yes ;;
|
---|
| 1168 |
|
---|
| 1169 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
---|
| 1170 | | --x-incl | --x-inc | --x-in | --x-i)
|
---|
| 1171 | ac_prev=x_includes ;;
|
---|
| 1172 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
---|
| 1173 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
---|
| 1174 | x_includes=$ac_optarg ;;
|
---|
| 1175 |
|
---|
| 1176 | -x-libraries | --x-libraries | --x-librarie | --x-librari \
|
---|
| 1177 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
---|
| 1178 | ac_prev=x_libraries ;;
|
---|
| 1179 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
---|
| 1180 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
---|
| 1181 | x_libraries=$ac_optarg ;;
|
---|
| 1182 |
|
---|
| 1183 | -*) as_fn_error $? "unrecognized option: \`$ac_option'
|
---|
| 1184 | Try \`$0 --help' for more information"
|
---|
| 1185 | ;;
|
---|
| 1186 |
|
---|
| 1187 | *=*)
|
---|
| 1188 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
---|
| 1189 | # Reject names that are not valid shell variable names.
|
---|
| 1190 | case $ac_envvar in #(
|
---|
| 1191 | '' | [0-9]* | *[!_$as_cr_alnum]* )
|
---|
| 1192 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
|
---|
| 1193 | esac
|
---|
| 1194 | eval $ac_envvar=\$ac_optarg
|
---|
| 1195 | export $ac_envvar ;;
|
---|
| 1196 |
|
---|
| 1197 | *)
|
---|
| 1198 | # FIXME: should be removed in autoconf 3.0.
|
---|
| 1199 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
---|
| 1200 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
---|
| 1201 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
---|
| 1202 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
|
---|
| 1203 | ;;
|
---|
| 1204 |
|
---|
| 1205 | esac
|
---|
| 1206 | done
|
---|
| 1207 |
|
---|
| 1208 | if test -n "$ac_prev"; then
|
---|
| 1209 | ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
---|
| 1210 | as_fn_error $? "missing argument to $ac_option"
|
---|
| 1211 | fi
|
---|
| 1212 |
|
---|
| 1213 | if test -n "$ac_unrecognized_opts"; then
|
---|
| 1214 | case $enable_option_checking in
|
---|
| 1215 | no) ;;
|
---|
| 1216 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
|
---|
| 1217 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
---|
| 1218 | esac
|
---|
| 1219 | fi
|
---|
| 1220 |
|
---|
| 1221 | # Check all directory arguments for consistency.
|
---|
| 1222 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
---|
| 1223 | datadir sysconfdir sharedstatedir localstatedir includedir \
|
---|
| 1224 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
---|
[44f44617] | 1225 | libdir localedir mandir runstatedir
|
---|
[3b77289] | 1226 | do
|
---|
| 1227 | eval ac_val=\$$ac_var
|
---|
| 1228 | # Remove trailing slashes.
|
---|
| 1229 | case $ac_val in
|
---|
| 1230 | */ )
|
---|
| 1231 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
|
---|
| 1232 | eval $ac_var=\$ac_val;;
|
---|
| 1233 | esac
|
---|
| 1234 | # Be sure to have absolute directory names.
|
---|
| 1235 | case $ac_val in
|
---|
| 1236 | [\\/$]* | ?:[\\/]* ) continue;;
|
---|
| 1237 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
---|
| 1238 | esac
|
---|
| 1239 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
|
---|
| 1240 | done
|
---|
| 1241 |
|
---|
| 1242 | # There might be people who depend on the old broken behavior: `$host'
|
---|
| 1243 | # used to hold the argument of --host etc.
|
---|
| 1244 | # FIXME: To remove some day.
|
---|
| 1245 | build=$build_alias
|
---|
| 1246 | host=$host_alias
|
---|
| 1247 | target=$target_alias
|
---|
| 1248 |
|
---|
| 1249 | # FIXME: To remove some day.
|
---|
| 1250 | if test "x$host_alias" != x; then
|
---|
| 1251 | if test "x$build_alias" = x; then
|
---|
| 1252 | cross_compiling=maybe
|
---|
| 1253 | elif test "x$build_alias" != "x$host_alias"; then
|
---|
| 1254 | cross_compiling=yes
|
---|
| 1255 | fi
|
---|
| 1256 | fi
|
---|
| 1257 |
|
---|
| 1258 | ac_tool_prefix=
|
---|
| 1259 | test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
---|
| 1260 |
|
---|
| 1261 | test "$silent" = yes && exec 6>/dev/null
|
---|
| 1262 |
|
---|
| 1263 |
|
---|
| 1264 | ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
---|
| 1265 | ac_ls_di=`ls -di .` &&
|
---|
| 1266 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
---|
| 1267 | as_fn_error $? "working directory cannot be determined"
|
---|
| 1268 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
---|
| 1269 | as_fn_error $? "pwd does not report name of working directory"
|
---|
| 1270 |
|
---|
| 1271 |
|
---|
| 1272 | # Find the source files, if location was not specified.
|
---|
| 1273 | if test -z "$srcdir"; then
|
---|
| 1274 | ac_srcdir_defaulted=yes
|
---|
| 1275 | # Try the directory containing this script, then the parent directory.
|
---|
| 1276 | ac_confdir=`$as_dirname -- "$as_myself" ||
|
---|
| 1277 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 1278 | X"$as_myself" : 'X\(//\)[^/]' \| \
|
---|
| 1279 | X"$as_myself" : 'X\(//\)$' \| \
|
---|
| 1280 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 1281 | $as_echo X"$as_myself" |
|
---|
| 1282 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 1283 | s//\1/
|
---|
| 1284 | q
|
---|
| 1285 | }
|
---|
| 1286 | /^X\(\/\/\)[^/].*/{
|
---|
| 1287 | s//\1/
|
---|
| 1288 | q
|
---|
| 1289 | }
|
---|
| 1290 | /^X\(\/\/\)$/{
|
---|
| 1291 | s//\1/
|
---|
| 1292 | q
|
---|
| 1293 | }
|
---|
| 1294 | /^X\(\/\).*/{
|
---|
| 1295 | s//\1/
|
---|
| 1296 | q
|
---|
| 1297 | }
|
---|
| 1298 | s/.*/./; q'`
|
---|
| 1299 | srcdir=$ac_confdir
|
---|
| 1300 | if test ! -r "$srcdir/$ac_unique_file"; then
|
---|
| 1301 | srcdir=..
|
---|
| 1302 | fi
|
---|
| 1303 | else
|
---|
| 1304 | ac_srcdir_defaulted=no
|
---|
| 1305 | fi
|
---|
| 1306 | if test ! -r "$srcdir/$ac_unique_file"; then
|
---|
| 1307 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
---|
| 1308 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
|
---|
| 1309 | fi
|
---|
| 1310 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
---|
| 1311 | ac_abs_confdir=`(
|
---|
| 1312 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
|
---|
| 1313 | pwd)`
|
---|
| 1314 | # When building in place, set srcdir=.
|
---|
| 1315 | if test "$ac_abs_confdir" = "$ac_pwd"; then
|
---|
| 1316 | srcdir=.
|
---|
| 1317 | fi
|
---|
| 1318 | # Remove unnecessary trailing slashes from srcdir.
|
---|
| 1319 | # Double slashes in file names in object file debugging info
|
---|
| 1320 | # mess up M-x gdb in Emacs.
|
---|
| 1321 | case $srcdir in
|
---|
| 1322 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
|
---|
| 1323 | esac
|
---|
| 1324 | for ac_var in $ac_precious_vars; do
|
---|
| 1325 | eval ac_env_${ac_var}_set=\${${ac_var}+set}
|
---|
| 1326 | eval ac_env_${ac_var}_value=\$${ac_var}
|
---|
| 1327 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
|
---|
| 1328 | eval ac_cv_env_${ac_var}_value=\$${ac_var}
|
---|
| 1329 | done
|
---|
| 1330 |
|
---|
| 1331 | #
|
---|
| 1332 | # Report the --help message.
|
---|
| 1333 | #
|
---|
| 1334 | if test "$ac_init_help" = "long"; then
|
---|
| 1335 | # Omit some internal or obsolete options to make the list less imposing.
|
---|
| 1336 | # This message is too long to be a string in the A/UX 3.1 sh.
|
---|
| 1337 | cat <<_ACEOF
|
---|
[4b1afb6] | 1338 | \`configure' configures cfa-cc 1.0.0.0 to adapt to many kinds of systems.
|
---|
[3b77289] | 1339 |
|
---|
| 1340 | Usage: $0 [OPTION]... [VAR=VALUE]...
|
---|
| 1341 |
|
---|
| 1342 | To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
---|
| 1343 | VAR=VALUE. See below for descriptions of some of the useful variables.
|
---|
| 1344 |
|
---|
| 1345 | Defaults for the options are specified in brackets.
|
---|
| 1346 |
|
---|
| 1347 | Configuration:
|
---|
| 1348 | -h, --help display this help and exit
|
---|
| 1349 | --help=short display options specific to this package
|
---|
| 1350 | --help=recursive display the short help of all the included packages
|
---|
| 1351 | -V, --version display version information and exit
|
---|
| 1352 | -q, --quiet, --silent do not print \`checking ...' messages
|
---|
| 1353 | --cache-file=FILE cache test results in FILE [disabled]
|
---|
| 1354 | -C, --config-cache alias for \`--cache-file=config.cache'
|
---|
| 1355 | -n, --no-create do not create output files
|
---|
| 1356 | --srcdir=DIR find the sources in DIR [configure dir or \`..']
|
---|
| 1357 |
|
---|
| 1358 | Installation directories:
|
---|
| 1359 | --prefix=PREFIX install architecture-independent files in PREFIX
|
---|
| 1360 | [$ac_default_prefix]
|
---|
| 1361 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
---|
| 1362 | [PREFIX]
|
---|
| 1363 |
|
---|
| 1364 | By default, \`make install' will install all the files in
|
---|
| 1365 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
---|
| 1366 | an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
---|
| 1367 | for instance \`--prefix=\$HOME'.
|
---|
| 1368 |
|
---|
| 1369 | For better control, use the options below.
|
---|
| 1370 |
|
---|
| 1371 | Fine tuning of the installation directories:
|
---|
| 1372 | --bindir=DIR user executables [EPREFIX/bin]
|
---|
| 1373 | --sbindir=DIR system admin executables [EPREFIX/sbin]
|
---|
| 1374 | --libexecdir=DIR program executables [EPREFIX/libexec]
|
---|
| 1375 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
---|
| 1376 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
---|
| 1377 | --localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
---|
[44f44617] | 1378 | --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
|
---|
[3b77289] | 1379 | --libdir=DIR object code libraries [EPREFIX/lib]
|
---|
| 1380 | --includedir=DIR C header files [PREFIX/include]
|
---|
| 1381 | --oldincludedir=DIR C header files for non-gcc [/usr/include]
|
---|
| 1382 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
---|
| 1383 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
---|
| 1384 | --infodir=DIR info documentation [DATAROOTDIR/info]
|
---|
| 1385 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
---|
| 1386 | --mandir=DIR man documentation [DATAROOTDIR/man]
|
---|
| 1387 | --docdir=DIR documentation root [DATAROOTDIR/doc/cfa-cc]
|
---|
| 1388 | --htmldir=DIR html documentation [DOCDIR]
|
---|
| 1389 | --dvidir=DIR dvi documentation [DOCDIR]
|
---|
| 1390 | --pdfdir=DIR pdf documentation [DOCDIR]
|
---|
| 1391 | --psdir=DIR ps documentation [DOCDIR]
|
---|
| 1392 | _ACEOF
|
---|
| 1393 |
|
---|
| 1394 | cat <<\_ACEOF
|
---|
| 1395 |
|
---|
| 1396 | Program names:
|
---|
| 1397 | --program-prefix=PREFIX prepend PREFIX to installed program names
|
---|
| 1398 | --program-suffix=SUFFIX append SUFFIX to installed program names
|
---|
| 1399 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
---|
[e4745d7a] | 1400 |
|
---|
| 1401 | System types:
|
---|
| 1402 | --build=BUILD configure for building on BUILD [guessed]
|
---|
| 1403 | --host=HOST cross-compile to build programs to run on HOST [BUILD]
|
---|
[3b77289] | 1404 | _ACEOF
|
---|
| 1405 | fi
|
---|
| 1406 |
|
---|
| 1407 | if test -n "$ac_init_help"; then
|
---|
| 1408 | case $ac_init_help in
|
---|
[4b1afb6] | 1409 | short | recursive ) echo "Configuration of cfa-cc 1.0.0.0:";;
|
---|
[3b77289] | 1410 | esac
|
---|
| 1411 | cat <<\_ACEOF
|
---|
| 1412 |
|
---|
| 1413 | Optional Features:
|
---|
| 1414 | --disable-option-checking ignore unrecognized --enable/--with options
|
---|
| 1415 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
---|
| 1416 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
---|
[44f44617] | 1417 | --enable-silent-rules less verbose build output (undo: "make V=1")
|
---|
| 1418 | --disable-silent-rules verbose build output (undo: "make V=0")
|
---|
| 1419 | --disable-maintainer-mode
|
---|
| 1420 | disable make rules and dependencies not useful (and
|
---|
| 1421 | sometimes confusing) to the casual installer
|
---|
[9def87a] | 1422 | --enable-target-release Build and install the release target
|
---|
| 1423 | --enable-target-debug Build and install the debug target
|
---|
[facc44f] | 1424 | --enable-threading Build and install libcfa with threading support
|
---|
| 1425 | (Enabled by default)
|
---|
[44f44617] | 1426 | --enable-dependency-tracking
|
---|
| 1427 | do not reject slow dependency extractors
|
---|
| 1428 | --disable-dependency-tracking
|
---|
| 1429 | speeds up one-time build
|
---|
[3b77289] | 1430 |
|
---|
| 1431 | Optional Packages:
|
---|
| 1432 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
---|
| 1433 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
---|
[796cea3] | 1434 | --with-cfa-name=NAME NAME too which cfa will be installed
|
---|
[3b77289] | 1435 | --with-backend-compiler=PROGRAM PROGRAM that performs the final code compilation (must be gcc-compatible)
|
---|
| 1436 |
|
---|
| 1437 | Some influential environment variables:
|
---|
| 1438 | CXX C++ compiler command
|
---|
| 1439 | CXXFLAGS C++ compiler flags
|
---|
| 1440 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
---|
| 1441 | nonstandard directory <lib dir>
|
---|
| 1442 | LIBS libraries to pass to the linker, e.g. -l<library>
|
---|
| 1443 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
---|
| 1444 | you have headers in a nonstandard directory <include dir>
|
---|
| 1445 | CC C compiler command
|
---|
| 1446 | CFLAGS C compiler flags
|
---|
[8e5724e] | 1447 | CCAS assembler compiler command (defaults to CC)
|
---|
| 1448 | CCASFLAGS assembler compiler flags (defaults to CFLAGS)
|
---|
[56c3935] | 1449 | YACC The `Yet Another Compiler Compiler' implementation to use.
|
---|
| 1450 | Defaults to the first program found out of: `bison -y', `byacc',
|
---|
| 1451 | `yacc'.
|
---|
| 1452 | YFLAGS The list of arguments that will be passed by default to $YACC.
|
---|
| 1453 | This script will default YFLAGS to the empty string to avoid a
|
---|
| 1454 | default value of `-d' given by some make applications.
|
---|
[3b77289] | 1455 | CPP C preprocessor
|
---|
| 1456 |
|
---|
| 1457 | Use these variables to override the choices made by `configure' or to help
|
---|
| 1458 | it to find libraries and programs with nonstandard names/locations.
|
---|
| 1459 |
|
---|
| 1460 | Report bugs to <cforall@plg.uwaterloo.ca>.
|
---|
| 1461 | _ACEOF
|
---|
| 1462 | ac_status=$?
|
---|
| 1463 | fi
|
---|
| 1464 |
|
---|
| 1465 | if test "$ac_init_help" = "recursive"; then
|
---|
| 1466 | # If there are subdirs, report their specific --help.
|
---|
| 1467 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
---|
| 1468 | test -d "$ac_dir" ||
|
---|
| 1469 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
|
---|
| 1470 | continue
|
---|
| 1471 | ac_builddir=.
|
---|
| 1472 |
|
---|
| 1473 | case "$ac_dir" in
|
---|
| 1474 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 1475 | *)
|
---|
| 1476 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
---|
| 1477 | # A ".." for each directory in $ac_dir_suffix.
|
---|
| 1478 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
---|
| 1479 | case $ac_top_builddir_sub in
|
---|
| 1480 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 1481 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 1482 | esac ;;
|
---|
| 1483 | esac
|
---|
| 1484 | ac_abs_top_builddir=$ac_pwd
|
---|
| 1485 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 1486 | # for backward compatibility:
|
---|
| 1487 | ac_top_builddir=$ac_top_build_prefix
|
---|
| 1488 |
|
---|
| 1489 | case $srcdir in
|
---|
| 1490 | .) # We are building in place.
|
---|
| 1491 | ac_srcdir=.
|
---|
| 1492 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 1493 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 1494 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
| 1495 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
| 1496 | ac_top_srcdir=$srcdir
|
---|
| 1497 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 1498 | *) # Relative name.
|
---|
| 1499 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 1500 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 1501 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
| 1502 | esac
|
---|
| 1503 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
| 1504 |
|
---|
| 1505 | cd "$ac_dir" || { ac_status=$?; continue; }
|
---|
| 1506 | # Check for guested configure.
|
---|
| 1507 | if test -f "$ac_srcdir/configure.gnu"; then
|
---|
| 1508 | echo &&
|
---|
| 1509 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
---|
| 1510 | elif test -f "$ac_srcdir/configure"; then
|
---|
| 1511 | echo &&
|
---|
| 1512 | $SHELL "$ac_srcdir/configure" --help=recursive
|
---|
| 1513 | else
|
---|
| 1514 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
---|
| 1515 | fi || ac_status=$?
|
---|
| 1516 | cd "$ac_pwd" || { ac_status=$?; break; }
|
---|
| 1517 | done
|
---|
| 1518 | fi
|
---|
| 1519 |
|
---|
| 1520 | test -n "$ac_init_help" && exit $ac_status
|
---|
| 1521 | if $ac_init_version; then
|
---|
| 1522 | cat <<\_ACEOF
|
---|
[4b1afb6] | 1523 | cfa-cc configure 1.0.0.0
|
---|
[44f44617] | 1524 | generated by GNU Autoconf 2.69
|
---|
[3b77289] | 1525 |
|
---|
[44f44617] | 1526 | Copyright (C) 2012 Free Software Foundation, Inc.
|
---|
[3b77289] | 1527 | This configure script is free software; the Free Software Foundation
|
---|
| 1528 | gives unlimited permission to copy, distribute and modify it.
|
---|
| 1529 | _ACEOF
|
---|
| 1530 | exit
|
---|
| 1531 | fi
|
---|
| 1532 |
|
---|
| 1533 | ## ------------------------ ##
|
---|
| 1534 | ## Autoconf initialization. ##
|
---|
| 1535 | ## ------------------------ ##
|
---|
| 1536 |
|
---|
| 1537 | # ac_fn_cxx_try_compile LINENO
|
---|
| 1538 | # ----------------------------
|
---|
| 1539 | # Try to compile conftest.$ac_ext, and return whether this succeeded.
|
---|
| 1540 | ac_fn_cxx_try_compile ()
|
---|
| 1541 | {
|
---|
| 1542 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1543 | rm -f conftest.$ac_objext
|
---|
| 1544 | if { { ac_try="$ac_compile"
|
---|
| 1545 | case "(($ac_try" in
|
---|
| 1546 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1547 | *) ac_try_echo=$ac_try;;
|
---|
| 1548 | esac
|
---|
| 1549 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1550 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1551 | (eval "$ac_compile") 2>conftest.err
|
---|
| 1552 | ac_status=$?
|
---|
| 1553 | if test -s conftest.err; then
|
---|
| 1554 | grep -v '^ *+' conftest.err >conftest.er1
|
---|
| 1555 | cat conftest.er1 >&5
|
---|
| 1556 | mv -f conftest.er1 conftest.err
|
---|
| 1557 | fi
|
---|
| 1558 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1559 | test $ac_status = 0; } && {
|
---|
| 1560 | test -z "$ac_cxx_werror_flag" ||
|
---|
| 1561 | test ! -s conftest.err
|
---|
| 1562 | } && test -s conftest.$ac_objext; then :
|
---|
| 1563 | ac_retval=0
|
---|
| 1564 | else
|
---|
| 1565 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1566 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1567 |
|
---|
| 1568 | ac_retval=1
|
---|
| 1569 | fi
|
---|
| 1570 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1571 | as_fn_set_status $ac_retval
|
---|
| 1572 |
|
---|
| 1573 | } # ac_fn_cxx_try_compile
|
---|
| 1574 |
|
---|
| 1575 | # ac_fn_c_try_compile LINENO
|
---|
| 1576 | # --------------------------
|
---|
| 1577 | # Try to compile conftest.$ac_ext, and return whether this succeeded.
|
---|
| 1578 | ac_fn_c_try_compile ()
|
---|
| 1579 | {
|
---|
| 1580 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1581 | rm -f conftest.$ac_objext
|
---|
| 1582 | if { { ac_try="$ac_compile"
|
---|
| 1583 | case "(($ac_try" in
|
---|
| 1584 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1585 | *) ac_try_echo=$ac_try;;
|
---|
| 1586 | esac
|
---|
| 1587 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1588 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1589 | (eval "$ac_compile") 2>conftest.err
|
---|
| 1590 | ac_status=$?
|
---|
| 1591 | if test -s conftest.err; then
|
---|
| 1592 | grep -v '^ *+' conftest.err >conftest.er1
|
---|
| 1593 | cat conftest.er1 >&5
|
---|
| 1594 | mv -f conftest.er1 conftest.err
|
---|
| 1595 | fi
|
---|
| 1596 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1597 | test $ac_status = 0; } && {
|
---|
| 1598 | test -z "$ac_c_werror_flag" ||
|
---|
| 1599 | test ! -s conftest.err
|
---|
| 1600 | } && test -s conftest.$ac_objext; then :
|
---|
| 1601 | ac_retval=0
|
---|
| 1602 | else
|
---|
| 1603 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1604 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1605 |
|
---|
| 1606 | ac_retval=1
|
---|
| 1607 | fi
|
---|
| 1608 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1609 | as_fn_set_status $ac_retval
|
---|
| 1610 |
|
---|
| 1611 | } # ac_fn_c_try_compile
|
---|
| 1612 |
|
---|
[56c3935] | 1613 | # ac_fn_c_try_link LINENO
|
---|
| 1614 | # -----------------------
|
---|
| 1615 | # Try to link conftest.$ac_ext, and return whether this succeeded.
|
---|
| 1616 | ac_fn_c_try_link ()
|
---|
| 1617 | {
|
---|
| 1618 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1619 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 1620 | if { { ac_try="$ac_link"
|
---|
| 1621 | case "(($ac_try" in
|
---|
| 1622 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1623 | *) ac_try_echo=$ac_try;;
|
---|
| 1624 | esac
|
---|
| 1625 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1626 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1627 | (eval "$ac_link") 2>conftest.err
|
---|
| 1628 | ac_status=$?
|
---|
| 1629 | if test -s conftest.err; then
|
---|
| 1630 | grep -v '^ *+' conftest.err >conftest.er1
|
---|
| 1631 | cat conftest.er1 >&5
|
---|
| 1632 | mv -f conftest.er1 conftest.err
|
---|
| 1633 | fi
|
---|
| 1634 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1635 | test $ac_status = 0; } && {
|
---|
| 1636 | test -z "$ac_c_werror_flag" ||
|
---|
| 1637 | test ! -s conftest.err
|
---|
| 1638 | } && test -s conftest$ac_exeext && {
|
---|
| 1639 | test "$cross_compiling" = yes ||
|
---|
[44f44617] | 1640 | test -x conftest$ac_exeext
|
---|
[56c3935] | 1641 | }; then :
|
---|
| 1642 | ac_retval=0
|
---|
| 1643 | else
|
---|
| 1644 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1645 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1646 |
|
---|
| 1647 | ac_retval=1
|
---|
| 1648 | fi
|
---|
| 1649 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
---|
| 1650 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
---|
| 1651 | # interfere with the next link command; also delete a directory that is
|
---|
| 1652 | # left behind by Apple's compiler. We do this before executing the actions.
|
---|
| 1653 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
---|
| 1654 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1655 | as_fn_set_status $ac_retval
|
---|
| 1656 |
|
---|
| 1657 | } # ac_fn_c_try_link
|
---|
| 1658 |
|
---|
[5d6ce1f] | 1659 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
|
---|
| 1660 | # -------------------------------------------
|
---|
| 1661 | # Tests whether TYPE exists after having included INCLUDES, setting cache
|
---|
| 1662 | # variable VAR accordingly.
|
---|
| 1663 | ac_fn_c_check_type ()
|
---|
[3b77289] | 1664 | {
|
---|
| 1665 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
[5d6ce1f] | 1666 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1667 | $as_echo_n "checking for $2... " >&6; }
|
---|
| 1668 | if eval \${$3+:} false; then :
|
---|
| 1669 | $as_echo_n "(cached) " >&6
|
---|
| 1670 | else
|
---|
| 1671 | eval "$3=no"
|
---|
| 1672 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1673 | /* end confdefs.h. */
|
---|
| 1674 | $4
|
---|
| 1675 | int
|
---|
| 1676 | main ()
|
---|
| 1677 | {
|
---|
| 1678 | if (sizeof ($2))
|
---|
| 1679 | return 0;
|
---|
| 1680 | ;
|
---|
| 1681 | return 0;
|
---|
| 1682 | }
|
---|
| 1683 | _ACEOF
|
---|
| 1684 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 1685 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1686 | /* end confdefs.h. */
|
---|
| 1687 | $4
|
---|
| 1688 | int
|
---|
| 1689 | main ()
|
---|
| 1690 | {
|
---|
| 1691 | if (sizeof (($2)))
|
---|
| 1692 | return 0;
|
---|
| 1693 | ;
|
---|
| 1694 | return 0;
|
---|
| 1695 | }
|
---|
| 1696 | _ACEOF
|
---|
| 1697 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 1698 |
|
---|
| 1699 | else
|
---|
| 1700 | eval "$3=yes"
|
---|
| 1701 | fi
|
---|
| 1702 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 1703 | fi
|
---|
| 1704 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 1705 | fi
|
---|
| 1706 | eval ac_res=\$$3
|
---|
| 1707 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 1708 | $as_echo "$ac_res" >&6; }
|
---|
| 1709 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1710 |
|
---|
| 1711 | } # ac_fn_c_check_type
|
---|
| 1712 |
|
---|
| 1713 | # ac_fn_c_try_cpp LINENO
|
---|
| 1714 | # ----------------------
|
---|
| 1715 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
---|
| 1716 | ac_fn_c_try_cpp ()
|
---|
| 1717 | {
|
---|
| 1718 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1719 | if { { ac_try="$ac_cpp conftest.$ac_ext"
|
---|
[3b77289] | 1720 | case "(($ac_try" in
|
---|
| 1721 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1722 | *) ac_try_echo=$ac_try;;
|
---|
| 1723 | esac
|
---|
| 1724 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1725 | $as_echo "$ac_try_echo"; } >&5
|
---|
[5d6ce1f] | 1726 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
---|
[3b77289] | 1727 | ac_status=$?
|
---|
| 1728 | if test -s conftest.err; then
|
---|
| 1729 | grep -v '^ *+' conftest.err >conftest.er1
|
---|
| 1730 | cat conftest.er1 >&5
|
---|
| 1731 | mv -f conftest.er1 conftest.err
|
---|
| 1732 | fi
|
---|
| 1733 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
[5d6ce1f] | 1734 | test $ac_status = 0; } > conftest.i && {
|
---|
| 1735 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
---|
[3b77289] | 1736 | test ! -s conftest.err
|
---|
| 1737 | }; then :
|
---|
| 1738 | ac_retval=0
|
---|
| 1739 | else
|
---|
| 1740 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1741 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1742 |
|
---|
[5d6ce1f] | 1743 | ac_retval=1
|
---|
[3b77289] | 1744 | fi
|
---|
| 1745 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1746 | as_fn_set_status $ac_retval
|
---|
| 1747 |
|
---|
[5d6ce1f] | 1748 | } # ac_fn_c_try_cpp
|
---|
[3b77289] | 1749 |
|
---|
[5d6ce1f] | 1750 | # ac_fn_c_try_run LINENO
|
---|
[3b77289] | 1751 | # ----------------------
|
---|
[5d6ce1f] | 1752 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
---|
| 1753 | # that executables *can* be run.
|
---|
| 1754 | ac_fn_c_try_run ()
|
---|
[3b77289] | 1755 | {
|
---|
| 1756 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
[5d6ce1f] | 1757 | if { { ac_try="$ac_link"
|
---|
[3b77289] | 1758 | case "(($ac_try" in
|
---|
| 1759 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1760 | *) ac_try_echo=$ac_try;;
|
---|
| 1761 | esac
|
---|
| 1762 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1763 | $as_echo "$ac_try_echo"; } >&5
|
---|
[5d6ce1f] | 1764 | (eval "$ac_link") 2>&5
|
---|
| 1765 | ac_status=$?
|
---|
| 1766 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1767 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
---|
| 1768 | { { case "(($ac_try" in
|
---|
| 1769 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1770 | *) ac_try_echo=$ac_try;;
|
---|
| 1771 | esac
|
---|
| 1772 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1773 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1774 | (eval "$ac_try") 2>&5
|
---|
| 1775 | ac_status=$?
|
---|
| 1776 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1777 | test $ac_status = 0; }; }; then :
|
---|
| 1778 | ac_retval=0
|
---|
| 1779 | else
|
---|
| 1780 | $as_echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 1781 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1782 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1783 |
|
---|
| 1784 | ac_retval=$ac_status
|
---|
| 1785 | fi
|
---|
| 1786 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
---|
| 1787 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1788 | as_fn_set_status $ac_retval
|
---|
| 1789 |
|
---|
| 1790 | } # ac_fn_c_try_run
|
---|
| 1791 |
|
---|
| 1792 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
---|
| 1793 | # -------------------------------------------------------
|
---|
| 1794 | # Tests whether HEADER exists and can be compiled using the include files in
|
---|
| 1795 | # INCLUDES, setting the cache variable VAR accordingly.
|
---|
| 1796 | ac_fn_c_check_header_compile ()
|
---|
| 1797 | {
|
---|
| 1798 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1799 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1800 | $as_echo_n "checking for $2... " >&6; }
|
---|
| 1801 | if eval \${$3+:} false; then :
|
---|
| 1802 | $as_echo_n "(cached) " >&6
|
---|
| 1803 | else
|
---|
| 1804 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1805 | /* end confdefs.h. */
|
---|
| 1806 | $4
|
---|
| 1807 | #include <$2>
|
---|
| 1808 | _ACEOF
|
---|
| 1809 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 1810 | eval "$3=yes"
|
---|
| 1811 | else
|
---|
| 1812 | eval "$3=no"
|
---|
| 1813 | fi
|
---|
| 1814 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 1815 | fi
|
---|
| 1816 | eval ac_res=\$$3
|
---|
| 1817 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 1818 | $as_echo "$ac_res" >&6; }
|
---|
| 1819 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1820 |
|
---|
| 1821 | } # ac_fn_c_check_header_compile
|
---|
| 1822 |
|
---|
| 1823 | # ac_fn_c_check_func LINENO FUNC VAR
|
---|
| 1824 | # ----------------------------------
|
---|
| 1825 | # Tests whether FUNC exists, setting the cache variable VAR accordingly
|
---|
| 1826 | ac_fn_c_check_func ()
|
---|
| 1827 | {
|
---|
| 1828 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1829 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1830 | $as_echo_n "checking for $2... " >&6; }
|
---|
| 1831 | if eval \${$3+:} false; then :
|
---|
| 1832 | $as_echo_n "(cached) " >&6
|
---|
| 1833 | else
|
---|
| 1834 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1835 | /* end confdefs.h. */
|
---|
| 1836 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
---|
| 1837 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 1838 | #define $2 innocuous_$2
|
---|
| 1839 |
|
---|
| 1840 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 1841 | which can conflict with char $2 (); below.
|
---|
| 1842 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 1843 | <limits.h> exists even on freestanding compilers. */
|
---|
| 1844 |
|
---|
| 1845 | #ifdef __STDC__
|
---|
| 1846 | # include <limits.h>
|
---|
| 1847 | #else
|
---|
| 1848 | # include <assert.h>
|
---|
| 1849 | #endif
|
---|
| 1850 |
|
---|
| 1851 | #undef $2
|
---|
| 1852 |
|
---|
| 1853 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 1854 | Use char because int might match the return type of a GCC
|
---|
| 1855 | builtin and then its argument prototype would still apply. */
|
---|
| 1856 | #ifdef __cplusplus
|
---|
| 1857 | extern "C"
|
---|
| 1858 | #endif
|
---|
| 1859 | char $2 ();
|
---|
| 1860 | /* The GNU C library defines this for functions which it implements
|
---|
| 1861 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 1862 | something starting with __ and the normal name is an alias. */
|
---|
| 1863 | #if defined __stub_$2 || defined __stub___$2
|
---|
| 1864 | choke me
|
---|
| 1865 | #endif
|
---|
| 1866 |
|
---|
| 1867 | int
|
---|
| 1868 | main ()
|
---|
| 1869 | {
|
---|
| 1870 | return $2 ();
|
---|
| 1871 | ;
|
---|
| 1872 | return 0;
|
---|
| 1873 | }
|
---|
| 1874 | _ACEOF
|
---|
| 1875 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
| 1876 | eval "$3=yes"
|
---|
| 1877 | else
|
---|
| 1878 | eval "$3=no"
|
---|
| 1879 | fi
|
---|
| 1880 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 1881 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 1882 | fi
|
---|
| 1883 | eval ac_res=\$$3
|
---|
| 1884 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 1885 | $as_echo "$ac_res" >&6; }
|
---|
| 1886 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1887 |
|
---|
| 1888 | } # ac_fn_c_check_func
|
---|
[3b77289] | 1889 |
|
---|
| 1890 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
---|
| 1891 | # -------------------------------------------------------
|
---|
| 1892 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
---|
| 1893 | # the include files in INCLUDES and setting the cache variable VAR
|
---|
| 1894 | # accordingly.
|
---|
| 1895 | ac_fn_c_check_header_mongrel ()
|
---|
| 1896 | {
|
---|
| 1897 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1898 | if eval \${$3+:} false; then :
|
---|
| 1899 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1900 | $as_echo_n "checking for $2... " >&6; }
|
---|
| 1901 | if eval \${$3+:} false; then :
|
---|
| 1902 | $as_echo_n "(cached) " >&6
|
---|
| 1903 | fi
|
---|
| 1904 | eval ac_res=\$$3
|
---|
| 1905 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 1906 | $as_echo "$ac_res" >&6; }
|
---|
| 1907 | else
|
---|
| 1908 | # Is the header compilable?
|
---|
| 1909 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
---|
| 1910 | $as_echo_n "checking $2 usability... " >&6; }
|
---|
| 1911 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1912 | /* end confdefs.h. */
|
---|
| 1913 | $4
|
---|
| 1914 | #include <$2>
|
---|
| 1915 | _ACEOF
|
---|
| 1916 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 1917 | ac_header_compiler=yes
|
---|
| 1918 | else
|
---|
| 1919 | ac_header_compiler=no
|
---|
| 1920 | fi
|
---|
| 1921 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 1922 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
---|
| 1923 | $as_echo "$ac_header_compiler" >&6; }
|
---|
| 1924 |
|
---|
| 1925 | # Is the header present?
|
---|
| 1926 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
---|
| 1927 | $as_echo_n "checking $2 presence... " >&6; }
|
---|
| 1928 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1929 | /* end confdefs.h. */
|
---|
| 1930 | #include <$2>
|
---|
| 1931 | _ACEOF
|
---|
| 1932 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
| 1933 | ac_header_preproc=yes
|
---|
| 1934 | else
|
---|
| 1935 | ac_header_preproc=no
|
---|
| 1936 | fi
|
---|
| 1937 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
| 1938 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
---|
| 1939 | $as_echo "$ac_header_preproc" >&6; }
|
---|
| 1940 |
|
---|
| 1941 | # So? What about this header?
|
---|
| 1942 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
|
---|
| 1943 | yes:no: )
|
---|
| 1944 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
---|
| 1945 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
---|
| 1946 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
---|
| 1947 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
---|
| 1948 | ;;
|
---|
| 1949 | no:yes:* )
|
---|
| 1950 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
---|
| 1951 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
---|
| 1952 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
---|
| 1953 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
---|
| 1954 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
---|
| 1955 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
---|
| 1956 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
---|
| 1957 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
---|
| 1958 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
---|
| 1959 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
---|
| 1960 | ( $as_echo "## --------------------------------------- ##
|
---|
| 1961 | ## Report this to cforall@plg.uwaterloo.ca ##
|
---|
| 1962 | ## --------------------------------------- ##"
|
---|
| 1963 | ) | sed "s/^/$as_me: WARNING: /" >&2
|
---|
| 1964 | ;;
|
---|
| 1965 | esac
|
---|
| 1966 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1967 | $as_echo_n "checking for $2... " >&6; }
|
---|
| 1968 | if eval \${$3+:} false; then :
|
---|
| 1969 | $as_echo_n "(cached) " >&6
|
---|
| 1970 | else
|
---|
| 1971 | eval "$3=\$ac_header_compiler"
|
---|
| 1972 | fi
|
---|
| 1973 | eval ac_res=\$$3
|
---|
| 1974 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 1975 | $as_echo "$ac_res" >&6; }
|
---|
| 1976 | fi
|
---|
| 1977 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1978 |
|
---|
| 1979 | } # ac_fn_c_check_header_mongrel
|
---|
| 1980 |
|
---|
[5d6ce1f] | 1981 | # ac_fn_c_find_intX_t LINENO BITS VAR
|
---|
| 1982 | # -----------------------------------
|
---|
| 1983 | # Finds a signed integer type with width BITS, setting cache variable VAR
|
---|
| 1984 | # accordingly.
|
---|
| 1985 | ac_fn_c_find_intX_t ()
|
---|
[3b77289] | 1986 | {
|
---|
| 1987 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
[5d6ce1f] | 1988 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
|
---|
| 1989 | $as_echo_n "checking for int$2_t... " >&6; }
|
---|
| 1990 | if eval \${$3+:} false; then :
|
---|
| 1991 | $as_echo_n "(cached) " >&6
|
---|
[3b77289] | 1992 | else
|
---|
[5d6ce1f] | 1993 | eval "$3=no"
|
---|
| 1994 | # Order is important - never check a type that is potentially smaller
|
---|
| 1995 | # than half of the expected target width.
|
---|
| 1996 | for ac_type in int$2_t 'int' 'long int' \
|
---|
| 1997 | 'long long int' 'short int' 'signed char'; do
|
---|
| 1998 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1999 | /* end confdefs.h. */
|
---|
| 2000 | $ac_includes_default
|
---|
| 2001 | enum { N = $2 / 2 - 1 };
|
---|
| 2002 | int
|
---|
| 2003 | main ()
|
---|
| 2004 | {
|
---|
| 2005 | static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
|
---|
[44f44617] | 2006 | test_array [0] = 0;
|
---|
| 2007 | return test_array [0];
|
---|
[3b77289] | 2008 |
|
---|
[5d6ce1f] | 2009 | ;
|
---|
| 2010 | return 0;
|
---|
| 2011 | }
|
---|
| 2012 | _ACEOF
|
---|
| 2013 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 2014 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 2015 | /* end confdefs.h. */
|
---|
| 2016 | $ac_includes_default
|
---|
| 2017 | enum { N = $2 / 2 - 1 };
|
---|
| 2018 | int
|
---|
| 2019 | main ()
|
---|
| 2020 | {
|
---|
| 2021 | static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
|
---|
| 2022 | < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
|
---|
[44f44617] | 2023 | test_array [0] = 0;
|
---|
| 2024 | return test_array [0];
|
---|
[5d6ce1f] | 2025 |
|
---|
| 2026 | ;
|
---|
| 2027 | return 0;
|
---|
| 2028 | }
|
---|
| 2029 | _ACEOF
|
---|
| 2030 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 2031 |
|
---|
| 2032 | else
|
---|
| 2033 | case $ac_type in #(
|
---|
| 2034 | int$2_t) :
|
---|
| 2035 | eval "$3=yes" ;; #(
|
---|
| 2036 | *) :
|
---|
| 2037 | eval "$3=\$ac_type" ;;
|
---|
| 2038 | esac
|
---|
[3b77289] | 2039 | fi
|
---|
[5d6ce1f] | 2040 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 2041 | fi
|
---|
| 2042 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 2043 | if eval test \"x\$"$3"\" = x"no"; then :
|
---|
| 2044 |
|
---|
| 2045 | else
|
---|
| 2046 | break
|
---|
| 2047 | fi
|
---|
| 2048 | done
|
---|
| 2049 | fi
|
---|
| 2050 | eval ac_res=\$$3
|
---|
| 2051 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 2052 | $as_echo "$ac_res" >&6; }
|
---|
[3b77289] | 2053 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 2054 |
|
---|
[5d6ce1f] | 2055 | } # ac_fn_c_find_intX_t
|
---|
[3b77289] | 2056 |
|
---|
[5d6ce1f] | 2057 | # ac_fn_c_find_uintX_t LINENO BITS VAR
|
---|
| 2058 | # ------------------------------------
|
---|
| 2059 | # Finds an unsigned integer type with width BITS, setting cache variable VAR
|
---|
| 2060 | # accordingly.
|
---|
| 2061 | ac_fn_c_find_uintX_t ()
|
---|
[3b77289] | 2062 | {
|
---|
| 2063 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
[5d6ce1f] | 2064 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
|
---|
| 2065 | $as_echo_n "checking for uint$2_t... " >&6; }
|
---|
[3b77289] | 2066 | if eval \${$3+:} false; then :
|
---|
| 2067 | $as_echo_n "(cached) " >&6
|
---|
| 2068 | else
|
---|
[5d6ce1f] | 2069 | eval "$3=no"
|
---|
| 2070 | # Order is important - never check a type that is potentially smaller
|
---|
| 2071 | # than half of the expected target width.
|
---|
| 2072 | for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
|
---|
| 2073 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
|
---|
| 2074 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[3b77289] | 2075 | /* end confdefs.h. */
|
---|
[5d6ce1f] | 2076 | $ac_includes_default
|
---|
| 2077 | int
|
---|
| 2078 | main ()
|
---|
| 2079 | {
|
---|
| 2080 | static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
|
---|
[44f44617] | 2081 | test_array [0] = 0;
|
---|
| 2082 | return test_array [0];
|
---|
[5d6ce1f] | 2083 |
|
---|
| 2084 | ;
|
---|
| 2085 | return 0;
|
---|
| 2086 | }
|
---|
[3b77289] | 2087 | _ACEOF
|
---|
| 2088 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[5d6ce1f] | 2089 | case $ac_type in #(
|
---|
| 2090 | uint$2_t) :
|
---|
| 2091 | eval "$3=yes" ;; #(
|
---|
| 2092 | *) :
|
---|
| 2093 | eval "$3=\$ac_type" ;;
|
---|
| 2094 | esac
|
---|
[3b77289] | 2095 | fi
|
---|
| 2096 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[5d6ce1f] | 2097 | if eval test \"x\$"$3"\" = x"no"; then :
|
---|
| 2098 |
|
---|
| 2099 | else
|
---|
| 2100 | break
|
---|
| 2101 | fi
|
---|
| 2102 | done
|
---|
[3b77289] | 2103 | fi
|
---|
| 2104 | eval ac_res=\$$3
|
---|
| 2105 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 2106 | $as_echo "$ac_res" >&6; }
|
---|
| 2107 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 2108 |
|
---|
[5d6ce1f] | 2109 | } # ac_fn_c_find_uintX_t
|
---|
[3b77289] | 2110 | cat >config.log <<_ACEOF
|
---|
| 2111 | This file contains any messages produced by compilers while
|
---|
| 2112 | running configure, to aid debugging if configure makes a mistake.
|
---|
| 2113 |
|
---|
[4b1afb6] | 2114 | It was created by cfa-cc $as_me 1.0.0.0, which was
|
---|
[44f44617] | 2115 | generated by GNU Autoconf 2.69. Invocation command line was
|
---|
[3b77289] | 2116 |
|
---|
| 2117 | $ $0 $@
|
---|
| 2118 |
|
---|
| 2119 | _ACEOF
|
---|
| 2120 | exec 5>>config.log
|
---|
| 2121 | {
|
---|
| 2122 | cat <<_ASUNAME
|
---|
| 2123 | ## --------- ##
|
---|
| 2124 | ## Platform. ##
|
---|
| 2125 | ## --------- ##
|
---|
| 2126 |
|
---|
| 2127 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 2128 | uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
---|
| 2129 | uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
---|
| 2130 | uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
---|
| 2131 | uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
---|
| 2132 |
|
---|
| 2133 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
---|
| 2134 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
---|
| 2135 |
|
---|
| 2136 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
---|
| 2137 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
---|
| 2138 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
---|
| 2139 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
---|
| 2140 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
---|
| 2141 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
---|
| 2142 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
---|
| 2143 |
|
---|
| 2144 | _ASUNAME
|
---|
| 2145 |
|
---|
| 2146 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2147 | for as_dir in $PATH
|
---|
| 2148 | do
|
---|
| 2149 | IFS=$as_save_IFS
|
---|
| 2150 | test -z "$as_dir" && as_dir=.
|
---|
| 2151 | $as_echo "PATH: $as_dir"
|
---|
| 2152 | done
|
---|
| 2153 | IFS=$as_save_IFS
|
---|
| 2154 |
|
---|
| 2155 | } >&5
|
---|
| 2156 |
|
---|
| 2157 | cat >&5 <<_ACEOF
|
---|
| 2158 |
|
---|
| 2159 |
|
---|
| 2160 | ## ----------- ##
|
---|
| 2161 | ## Core tests. ##
|
---|
| 2162 | ## ----------- ##
|
---|
| 2163 |
|
---|
| 2164 | _ACEOF
|
---|
| 2165 |
|
---|
| 2166 |
|
---|
| 2167 | # Keep a trace of the command line.
|
---|
| 2168 | # Strip out --no-create and --no-recursion so they do not pile up.
|
---|
| 2169 | # Strip out --silent because we don't want to record it for future runs.
|
---|
| 2170 | # Also quote any args containing shell meta-characters.
|
---|
| 2171 | # Make two passes to allow for proper duplicate-argument suppression.
|
---|
| 2172 | ac_configure_args=
|
---|
| 2173 | ac_configure_args0=
|
---|
| 2174 | ac_configure_args1=
|
---|
| 2175 | ac_must_keep_next=false
|
---|
| 2176 | for ac_pass in 1 2
|
---|
| 2177 | do
|
---|
| 2178 | for ac_arg
|
---|
| 2179 | do
|
---|
| 2180 | case $ac_arg in
|
---|
| 2181 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
---|
| 2182 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 2183 | | -silent | --silent | --silen | --sile | --sil)
|
---|
| 2184 | continue ;;
|
---|
| 2185 | *\'*)
|
---|
| 2186 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 2187 | esac
|
---|
| 2188 | case $ac_pass in
|
---|
| 2189 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
---|
| 2190 | 2)
|
---|
| 2191 | as_fn_append ac_configure_args1 " '$ac_arg'"
|
---|
| 2192 | if test $ac_must_keep_next = true; then
|
---|
| 2193 | ac_must_keep_next=false # Got value, back to normal.
|
---|
| 2194 | else
|
---|
| 2195 | case $ac_arg in
|
---|
| 2196 | *=* | --config-cache | -C | -disable-* | --disable-* \
|
---|
| 2197 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
---|
| 2198 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
---|
| 2199 | | -with-* | --with-* | -without-* | --without-* | --x)
|
---|
| 2200 | case "$ac_configure_args0 " in
|
---|
| 2201 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
---|
| 2202 | esac
|
---|
| 2203 | ;;
|
---|
| 2204 | -* ) ac_must_keep_next=true ;;
|
---|
| 2205 | esac
|
---|
| 2206 | fi
|
---|
| 2207 | as_fn_append ac_configure_args " '$ac_arg'"
|
---|
| 2208 | ;;
|
---|
| 2209 | esac
|
---|
| 2210 | done
|
---|
| 2211 | done
|
---|
| 2212 | { ac_configure_args0=; unset ac_configure_args0;}
|
---|
| 2213 | { ac_configure_args1=; unset ac_configure_args1;}
|
---|
| 2214 |
|
---|
| 2215 | # When interrupted or exit'd, cleanup temporary files, and complete
|
---|
| 2216 | # config.log. We remove comments because anyway the quotes in there
|
---|
| 2217 | # would cause problems or look ugly.
|
---|
| 2218 | # WARNING: Use '\'' to represent an apostrophe within the trap.
|
---|
| 2219 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
---|
| 2220 | trap 'exit_status=$?
|
---|
| 2221 | # Save into config.log some information that might help in debugging.
|
---|
| 2222 | {
|
---|
| 2223 | echo
|
---|
| 2224 |
|
---|
| 2225 | $as_echo "## ---------------- ##
|
---|
| 2226 | ## Cache variables. ##
|
---|
| 2227 | ## ---------------- ##"
|
---|
| 2228 | echo
|
---|
| 2229 | # The following way of writing the cache mishandles newlines in values,
|
---|
| 2230 | (
|
---|
| 2231 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
|
---|
| 2232 | eval ac_val=\$$ac_var
|
---|
| 2233 | case $ac_val in #(
|
---|
| 2234 | *${as_nl}*)
|
---|
| 2235 | case $ac_var in #(
|
---|
| 2236 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
---|
| 2237 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
---|
| 2238 | esac
|
---|
| 2239 | case $ac_var in #(
|
---|
| 2240 | _ | IFS | as_nl) ;; #(
|
---|
| 2241 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
---|
| 2242 | *) { eval $ac_var=; unset $ac_var;} ;;
|
---|
| 2243 | esac ;;
|
---|
| 2244 | esac
|
---|
| 2245 | done
|
---|
| 2246 | (set) 2>&1 |
|
---|
| 2247 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
|
---|
| 2248 | *${as_nl}ac_space=\ *)
|
---|
| 2249 | sed -n \
|
---|
| 2250 | "s/'\''/'\''\\\\'\'''\''/g;
|
---|
| 2251 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
|
---|
| 2252 | ;; #(
|
---|
| 2253 | *)
|
---|
| 2254 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
---|
| 2255 | ;;
|
---|
| 2256 | esac |
|
---|
| 2257 | sort
|
---|
| 2258 | )
|
---|
| 2259 | echo
|
---|
| 2260 |
|
---|
| 2261 | $as_echo "## ----------------- ##
|
---|
| 2262 | ## Output variables. ##
|
---|
| 2263 | ## ----------------- ##"
|
---|
| 2264 | echo
|
---|
| 2265 | for ac_var in $ac_subst_vars
|
---|
| 2266 | do
|
---|
| 2267 | eval ac_val=\$$ac_var
|
---|
| 2268 | case $ac_val in
|
---|
| 2269 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
---|
| 2270 | esac
|
---|
| 2271 | $as_echo "$ac_var='\''$ac_val'\''"
|
---|
| 2272 | done | sort
|
---|
| 2273 | echo
|
---|
| 2274 |
|
---|
| 2275 | if test -n "$ac_subst_files"; then
|
---|
| 2276 | $as_echo "## ------------------- ##
|
---|
| 2277 | ## File substitutions. ##
|
---|
| 2278 | ## ------------------- ##"
|
---|
| 2279 | echo
|
---|
| 2280 | for ac_var in $ac_subst_files
|
---|
| 2281 | do
|
---|
| 2282 | eval ac_val=\$$ac_var
|
---|
| 2283 | case $ac_val in
|
---|
| 2284 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
---|
| 2285 | esac
|
---|
| 2286 | $as_echo "$ac_var='\''$ac_val'\''"
|
---|
| 2287 | done | sort
|
---|
| 2288 | echo
|
---|
| 2289 | fi
|
---|
| 2290 |
|
---|
| 2291 | if test -s confdefs.h; then
|
---|
| 2292 | $as_echo "## ----------- ##
|
---|
| 2293 | ## confdefs.h. ##
|
---|
| 2294 | ## ----------- ##"
|
---|
| 2295 | echo
|
---|
| 2296 | cat confdefs.h
|
---|
| 2297 | echo
|
---|
| 2298 | fi
|
---|
| 2299 | test "$ac_signal" != 0 &&
|
---|
| 2300 | $as_echo "$as_me: caught signal $ac_signal"
|
---|
| 2301 | $as_echo "$as_me: exit $exit_status"
|
---|
| 2302 | } >&5
|
---|
| 2303 | rm -f core *.core core.conftest.* &&
|
---|
| 2304 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
---|
| 2305 | exit $exit_status
|
---|
| 2306 | ' 0
|
---|
| 2307 | for ac_signal in 1 2 13 15; do
|
---|
| 2308 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
---|
| 2309 | done
|
---|
| 2310 | ac_signal=0
|
---|
| 2311 |
|
---|
| 2312 | # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
---|
| 2313 | rm -f -r conftest* confdefs.h
|
---|
| 2314 |
|
---|
| 2315 | $as_echo "/* confdefs.h */" > confdefs.h
|
---|
| 2316 |
|
---|
| 2317 | # Predefined preprocessor variables.
|
---|
| 2318 |
|
---|
| 2319 | cat >>confdefs.h <<_ACEOF
|
---|
| 2320 | #define PACKAGE_NAME "$PACKAGE_NAME"
|
---|
| 2321 | _ACEOF
|
---|
| 2322 |
|
---|
| 2323 | cat >>confdefs.h <<_ACEOF
|
---|
| 2324 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
---|
| 2325 | _ACEOF
|
---|
| 2326 |
|
---|
| 2327 | cat >>confdefs.h <<_ACEOF
|
---|
| 2328 | #define PACKAGE_VERSION "$PACKAGE_VERSION"
|
---|
| 2329 | _ACEOF
|
---|
| 2330 |
|
---|
| 2331 | cat >>confdefs.h <<_ACEOF
|
---|
| 2332 | #define PACKAGE_STRING "$PACKAGE_STRING"
|
---|
| 2333 | _ACEOF
|
---|
| 2334 |
|
---|
| 2335 | cat >>confdefs.h <<_ACEOF
|
---|
| 2336 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
---|
| 2337 | _ACEOF
|
---|
| 2338 |
|
---|
| 2339 | cat >>confdefs.h <<_ACEOF
|
---|
| 2340 | #define PACKAGE_URL "$PACKAGE_URL"
|
---|
| 2341 | _ACEOF
|
---|
| 2342 |
|
---|
| 2343 |
|
---|
| 2344 | # Let the site file select an alternate cache file if it wants to.
|
---|
| 2345 | # Prefer an explicitly selected file to automatically selected ones.
|
---|
| 2346 | ac_site_file1=NONE
|
---|
| 2347 | ac_site_file2=NONE
|
---|
| 2348 | if test -n "$CONFIG_SITE"; then
|
---|
| 2349 | # We do not want a PATH search for config.site.
|
---|
| 2350 | case $CONFIG_SITE in #((
|
---|
| 2351 | -*) ac_site_file1=./$CONFIG_SITE;;
|
---|
| 2352 | */*) ac_site_file1=$CONFIG_SITE;;
|
---|
| 2353 | *) ac_site_file1=./$CONFIG_SITE;;
|
---|
| 2354 | esac
|
---|
| 2355 | elif test "x$prefix" != xNONE; then
|
---|
| 2356 | ac_site_file1=$prefix/share/config.site
|
---|
| 2357 | ac_site_file2=$prefix/etc/config.site
|
---|
| 2358 | else
|
---|
| 2359 | ac_site_file1=$ac_default_prefix/share/config.site
|
---|
| 2360 | ac_site_file2=$ac_default_prefix/etc/config.site
|
---|
| 2361 | fi
|
---|
| 2362 | for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
---|
| 2363 | do
|
---|
| 2364 | test "x$ac_site_file" = xNONE && continue
|
---|
| 2365 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
---|
| 2366 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
---|
| 2367 | $as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
---|
| 2368 | sed 's/^/| /' "$ac_site_file" >&5
|
---|
| 2369 | . "$ac_site_file" \
|
---|
| 2370 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 2371 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 2372 | as_fn_error $? "failed to load site script $ac_site_file
|
---|
| 2373 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
| 2374 | fi
|
---|
| 2375 | done
|
---|
| 2376 |
|
---|
| 2377 | if test -r "$cache_file"; then
|
---|
| 2378 | # Some versions of bash will fail to source /dev/null (special files
|
---|
| 2379 | # actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
---|
| 2380 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
---|
| 2381 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
---|
| 2382 | $as_echo "$as_me: loading cache $cache_file" >&6;}
|
---|
| 2383 | case $cache_file in
|
---|
| 2384 | [\\/]* | ?:[\\/]* ) . "$cache_file";;
|
---|
| 2385 | *) . "./$cache_file";;
|
---|
| 2386 | esac
|
---|
| 2387 | fi
|
---|
| 2388 | else
|
---|
| 2389 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
---|
| 2390 | $as_echo "$as_me: creating cache $cache_file" >&6;}
|
---|
| 2391 | >$cache_file
|
---|
| 2392 | fi
|
---|
| 2393 |
|
---|
| 2394 | # Check that the precious variables saved in the cache have kept the same
|
---|
| 2395 | # value.
|
---|
| 2396 | ac_cache_corrupted=false
|
---|
| 2397 | for ac_var in $ac_precious_vars; do
|
---|
| 2398 | eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
---|
| 2399 | eval ac_new_set=\$ac_env_${ac_var}_set
|
---|
| 2400 | eval ac_old_val=\$ac_cv_env_${ac_var}_value
|
---|
| 2401 | eval ac_new_val=\$ac_env_${ac_var}_value
|
---|
| 2402 | case $ac_old_set,$ac_new_set in
|
---|
| 2403 | set,)
|
---|
| 2404 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
---|
| 2405 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
---|
| 2406 | ac_cache_corrupted=: ;;
|
---|
| 2407 | ,set)
|
---|
| 2408 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
---|
| 2409 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
---|
| 2410 | ac_cache_corrupted=: ;;
|
---|
| 2411 | ,);;
|
---|
| 2412 | *)
|
---|
| 2413 | if test "x$ac_old_val" != "x$ac_new_val"; then
|
---|
| 2414 | # differences in whitespace do not lead to failure.
|
---|
| 2415 | ac_old_val_w=`echo x $ac_old_val`
|
---|
| 2416 | ac_new_val_w=`echo x $ac_new_val`
|
---|
| 2417 | if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
---|
| 2418 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
---|
| 2419 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
---|
| 2420 | ac_cache_corrupted=:
|
---|
| 2421 | else
|
---|
| 2422 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
---|
| 2423 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
---|
| 2424 | eval $ac_var=\$ac_old_val
|
---|
| 2425 | fi
|
---|
| 2426 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
---|
| 2427 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
---|
| 2428 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
---|
| 2429 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
---|
| 2430 | fi;;
|
---|
| 2431 | esac
|
---|
| 2432 | # Pass precious variables to config.status.
|
---|
| 2433 | if test "$ac_new_set" = set; then
|
---|
| 2434 | case $ac_new_val in
|
---|
| 2435 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 2436 | *) ac_arg=$ac_var=$ac_new_val ;;
|
---|
| 2437 | esac
|
---|
| 2438 | case " $ac_configure_args " in
|
---|
| 2439 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
---|
| 2440 | *) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
---|
| 2441 | esac
|
---|
| 2442 | fi
|
---|
| 2443 | done
|
---|
| 2444 | if $ac_cache_corrupted; then
|
---|
| 2445 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 2446 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 2447 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
---|
| 2448 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
---|
| 2449 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
---|
| 2450 | fi
|
---|
| 2451 | ## -------------------- ##
|
---|
| 2452 | ## Main body of script. ##
|
---|
| 2453 | ## -------------------- ##
|
---|
| 2454 |
|
---|
| 2455 | ac_ext=c
|
---|
| 2456 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 2457 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2458 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2459 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 2460 |
|
---|
| 2461 |
|
---|
| 2462 | ac_aux_dir=
|
---|
[00cc023] | 2463 | for ac_dir in automake "$srcdir"/automake; do
|
---|
[3b77289] | 2464 | if test -f "$ac_dir/install-sh"; then
|
---|
| 2465 | ac_aux_dir=$ac_dir
|
---|
| 2466 | ac_install_sh="$ac_aux_dir/install-sh -c"
|
---|
| 2467 | break
|
---|
| 2468 | elif test -f "$ac_dir/install.sh"; then
|
---|
| 2469 | ac_aux_dir=$ac_dir
|
---|
| 2470 | ac_install_sh="$ac_aux_dir/install.sh -c"
|
---|
| 2471 | break
|
---|
| 2472 | elif test -f "$ac_dir/shtool"; then
|
---|
| 2473 | ac_aux_dir=$ac_dir
|
---|
| 2474 | ac_install_sh="$ac_aux_dir/shtool install -c"
|
---|
| 2475 | break
|
---|
| 2476 | fi
|
---|
| 2477 | done
|
---|
| 2478 | if test -z "$ac_aux_dir"; then
|
---|
[00cc023] | 2479 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in automake \"$srcdir\"/automake" "$LINENO" 5
|
---|
[3b77289] | 2480 | fi
|
---|
| 2481 |
|
---|
| 2482 | # These three variables are undocumented and unsupported,
|
---|
| 2483 | # and are intended to be withdrawn in a future Autoconf release.
|
---|
| 2484 | # They can cause serious problems if a builder's source tree is in a directory
|
---|
| 2485 | # whose full name contains unusual characters.
|
---|
| 2486 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
---|
| 2487 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
---|
| 2488 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
---|
| 2489 |
|
---|
| 2490 |
|
---|
[d3b7937] | 2491 | #AC_CONFIG_SRCDIR([src/main.cc])
|
---|
[00cc023] | 2492 | ac_config_headers="$ac_config_headers config.h"
|
---|
| 2493 |
|
---|
[ef7d253] | 2494 | # Check whether --enable-silent-rules was given.
|
---|
| 2495 | if test "${enable_silent_rules+set}" = set; then :
|
---|
| 2496 | enableval=$enable_silent_rules;
|
---|
| 2497 | fi
|
---|
| 2498 |
|
---|
[44f44617] | 2499 | case $enable_silent_rules in # (((
|
---|
| 2500 | yes) AM_DEFAULT_VERBOSITY=0;;
|
---|
| 2501 | no) AM_DEFAULT_VERBOSITY=1;;
|
---|
| 2502 | *) AM_DEFAULT_VERBOSITY=1;;
|
---|
[ef7d253] | 2503 | esac
|
---|
| 2504 | am_make=${MAKE-make}
|
---|
| 2505 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
|
---|
| 2506 | $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
|
---|
| 2507 | if ${am_cv_make_support_nested_variables+:} false; then :
|
---|
| 2508 | $as_echo_n "(cached) " >&6
|
---|
| 2509 | else
|
---|
| 2510 | if $as_echo 'TRUE=$(BAR$(V))
|
---|
| 2511 | BAR0=false
|
---|
| 2512 | BAR1=true
|
---|
| 2513 | V=1
|
---|
| 2514 | am__doit:
|
---|
| 2515 | @$(TRUE)
|
---|
| 2516 | .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
|
---|
| 2517 | am_cv_make_support_nested_variables=yes
|
---|
| 2518 | else
|
---|
| 2519 | am_cv_make_support_nested_variables=no
|
---|
| 2520 | fi
|
---|
| 2521 | fi
|
---|
| 2522 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
|
---|
| 2523 | $as_echo "$am_cv_make_support_nested_variables" >&6; }
|
---|
| 2524 | if test $am_cv_make_support_nested_variables = yes; then
|
---|
| 2525 | AM_V='$(V)'
|
---|
| 2526 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
|
---|
| 2527 | else
|
---|
| 2528 | AM_V=$AM_DEFAULT_VERBOSITY
|
---|
| 2529 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
|
---|
| 2530 | fi
|
---|
| 2531 | AM_BACKSLASH='\'
|
---|
| 2532 |
|
---|
[00cc023] | 2533 |
|
---|
[44f44617] | 2534 | am__api_version='1.15'
|
---|
[00cc023] | 2535 |
|
---|
[3b77289] | 2536 | # Find a good install program. We prefer a C program (faster),
|
---|
| 2537 | # so one script is as good as another. But avoid the broken or
|
---|
| 2538 | # incompatible versions:
|
---|
| 2539 | # SysV /etc/install, /usr/sbin/install
|
---|
| 2540 | # SunOS /usr/etc/install
|
---|
| 2541 | # IRIX /sbin/install
|
---|
| 2542 | # AIX /bin/install
|
---|
| 2543 | # AmigaOS /C/install, which installs bootblocks on floppy discs
|
---|
| 2544 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
---|
| 2545 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
---|
| 2546 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
---|
| 2547 | # OS/2's system install, which has a completely different semantic
|
---|
| 2548 | # ./install, which can be erroneously created by make from ./install.sh.
|
---|
| 2549 | # Reject install programs that cannot install multiple files.
|
---|
| 2550 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
---|
| 2551 | $as_echo_n "checking for a BSD-compatible install... " >&6; }
|
---|
| 2552 | if test -z "$INSTALL"; then
|
---|
| 2553 | if ${ac_cv_path_install+:} false; then :
|
---|
| 2554 | $as_echo_n "(cached) " >&6
|
---|
| 2555 | else
|
---|
| 2556 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2557 | for as_dir in $PATH
|
---|
| 2558 | do
|
---|
| 2559 | IFS=$as_save_IFS
|
---|
| 2560 | test -z "$as_dir" && as_dir=.
|
---|
| 2561 | # Account for people who put trailing slashes in PATH elements.
|
---|
| 2562 | case $as_dir/ in #((
|
---|
| 2563 | ./ | .// | /[cC]/* | \
|
---|
| 2564 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
---|
| 2565 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
---|
| 2566 | /usr/ucb/* ) ;;
|
---|
| 2567 | *)
|
---|
| 2568 | # OSF1 and SCO ODT 3.0 have their own names for install.
|
---|
| 2569 | # Don't use installbsd from OSF since it installs stuff as root
|
---|
| 2570 | # by default.
|
---|
| 2571 | for ac_prog in ginstall scoinst install; do
|
---|
| 2572 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[44f44617] | 2573 | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
---|
[3b77289] | 2574 | if test $ac_prog = install &&
|
---|
| 2575 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
| 2576 | # AIX install. It has an incompatible calling convention.
|
---|
| 2577 | :
|
---|
| 2578 | elif test $ac_prog = install &&
|
---|
| 2579 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
| 2580 | # program-specific install script used by HP pwplus--don't use.
|
---|
| 2581 | :
|
---|
| 2582 | else
|
---|
| 2583 | rm -rf conftest.one conftest.two conftest.dir
|
---|
| 2584 | echo one > conftest.one
|
---|
| 2585 | echo two > conftest.two
|
---|
| 2586 | mkdir conftest.dir
|
---|
| 2587 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
---|
| 2588 | test -s conftest.one && test -s conftest.two &&
|
---|
| 2589 | test -s conftest.dir/conftest.one &&
|
---|
| 2590 | test -s conftest.dir/conftest.two
|
---|
| 2591 | then
|
---|
| 2592 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
---|
| 2593 | break 3
|
---|
| 2594 | fi
|
---|
| 2595 | fi
|
---|
| 2596 | fi
|
---|
| 2597 | done
|
---|
| 2598 | done
|
---|
| 2599 | ;;
|
---|
| 2600 | esac
|
---|
| 2601 |
|
---|
| 2602 | done
|
---|
| 2603 | IFS=$as_save_IFS
|
---|
| 2604 |
|
---|
| 2605 | rm -rf conftest.one conftest.two conftest.dir
|
---|
| 2606 |
|
---|
| 2607 | fi
|
---|
| 2608 | if test "${ac_cv_path_install+set}" = set; then
|
---|
| 2609 | INSTALL=$ac_cv_path_install
|
---|
| 2610 | else
|
---|
| 2611 | # As a last resort, use the slow shell script. Don't cache a
|
---|
| 2612 | # value for INSTALL within a source directory, because that will
|
---|
| 2613 | # break other packages using the cache if that directory is
|
---|
| 2614 | # removed, or if the value is a relative name.
|
---|
| 2615 | INSTALL=$ac_install_sh
|
---|
| 2616 | fi
|
---|
| 2617 | fi
|
---|
| 2618 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
---|
| 2619 | $as_echo "$INSTALL" >&6; }
|
---|
| 2620 |
|
---|
| 2621 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
---|
| 2622 | # It thinks the first close brace ends the variable substitution.
|
---|
| 2623 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
---|
| 2624 |
|
---|
| 2625 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
---|
| 2626 |
|
---|
| 2627 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
---|
| 2628 |
|
---|
| 2629 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
|
---|
| 2630 | $as_echo_n "checking whether build environment is sane... " >&6; }
|
---|
| 2631 | # Reject unsafe characters in $srcdir or the absolute working directory
|
---|
| 2632 | # name. Accept space and tab only in the latter.
|
---|
| 2633 | am_lf='
|
---|
| 2634 | '
|
---|
| 2635 | case `pwd` in
|
---|
| 2636 | *[\\\"\#\$\&\'\`$am_lf]*)
|
---|
| 2637 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
|
---|
| 2638 | esac
|
---|
| 2639 | case $srcdir in
|
---|
| 2640 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
|
---|
[44f44617] | 2641 | as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
|
---|
[3b77289] | 2642 | esac
|
---|
| 2643 |
|
---|
[44f44617] | 2644 | # Do 'set' in a subshell so we don't clobber the current shell's
|
---|
[3b77289] | 2645 | # arguments. Must try -L first in case configure is actually a
|
---|
| 2646 | # symlink; some systems play weird games with the mod time of symlinks
|
---|
| 2647 | # (eg FreeBSD returns the mod time of the symlink's containing
|
---|
| 2648 | # directory).
|
---|
| 2649 | if (
|
---|
[44f44617] | 2650 | am_has_slept=no
|
---|
| 2651 | for am_try in 1 2; do
|
---|
| 2652 | echo "timestamp, slept: $am_has_slept" > conftest.file
|
---|
| 2653 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
|
---|
| 2654 | if test "$*" = "X"; then
|
---|
| 2655 | # -L didn't work.
|
---|
| 2656 | set X `ls -t "$srcdir/configure" conftest.file`
|
---|
| 2657 | fi
|
---|
| 2658 | if test "$*" != "X $srcdir/configure conftest.file" \
|
---|
| 2659 | && test "$*" != "X conftest.file $srcdir/configure"; then
|
---|
| 2660 |
|
---|
| 2661 | # If neither matched, then we have a broken ls. This can happen
|
---|
| 2662 | # if, for instance, CONFIG_SHELL is bash and it inherits a
|
---|
| 2663 | # broken ls alias from the environment. This has actually
|
---|
| 2664 | # happened. Such a system could not be considered "sane".
|
---|
| 2665 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
|
---|
| 2666 | alias in your environment" "$LINENO" 5
|
---|
| 2667 | fi
|
---|
| 2668 | if test "$2" = conftest.file || test $am_try -eq 2; then
|
---|
| 2669 | break
|
---|
| 2670 | fi
|
---|
| 2671 | # Just in case.
|
---|
| 2672 | sleep 1
|
---|
| 2673 | am_has_slept=yes
|
---|
| 2674 | done
|
---|
[3b77289] | 2675 | test "$2" = conftest.file
|
---|
| 2676 | )
|
---|
| 2677 | then
|
---|
| 2678 | # Ok.
|
---|
| 2679 | :
|
---|
| 2680 | else
|
---|
| 2681 | as_fn_error $? "newly created file is older than distributed files!
|
---|
| 2682 | Check your system clock" "$LINENO" 5
|
---|
| 2683 | fi
|
---|
| 2684 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 2685 | $as_echo "yes" >&6; }
|
---|
[44f44617] | 2686 | # If we didn't sleep, we still need to ensure time stamps of config.status and
|
---|
| 2687 | # generated files are strictly newer.
|
---|
| 2688 | am_sleep_pid=
|
---|
| 2689 | if grep 'slept: no' conftest.file >/dev/null 2>&1; then
|
---|
| 2690 | ( sleep 1 ) &
|
---|
| 2691 | am_sleep_pid=$!
|
---|
| 2692 | fi
|
---|
| 2693 |
|
---|
| 2694 | rm -f conftest.file
|
---|
| 2695 |
|
---|
[3b77289] | 2696 | test "$program_prefix" != NONE &&
|
---|
| 2697 | program_transform_name="s&^&$program_prefix&;$program_transform_name"
|
---|
| 2698 | # Use a double $ so make ignores it.
|
---|
| 2699 | test "$program_suffix" != NONE &&
|
---|
| 2700 | program_transform_name="s&\$&$program_suffix&;$program_transform_name"
|
---|
| 2701 | # Double any \ or $.
|
---|
| 2702 | # By default was `s,x,x', remove it if useless.
|
---|
| 2703 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
|
---|
| 2704 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
|
---|
| 2705 |
|
---|
[44f44617] | 2706 | # Expand $ac_aux_dir to an absolute path.
|
---|
| 2707 | am_aux_dir=`cd "$ac_aux_dir" && pwd`
|
---|
[3b77289] | 2708 |
|
---|
| 2709 | if test x"${MISSING+set}" != xset; then
|
---|
| 2710 | case $am_aux_dir in
|
---|
| 2711 | *\ * | *\ *)
|
---|
| 2712 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
|
---|
| 2713 | *)
|
---|
| 2714 | MISSING="\${SHELL} $am_aux_dir/missing" ;;
|
---|
| 2715 | esac
|
---|
| 2716 | fi
|
---|
| 2717 | # Use eval to expand $SHELL
|
---|
[44f44617] | 2718 | if eval "$MISSING --is-lightweight"; then
|
---|
| 2719 | am_missing_run="$MISSING "
|
---|
[3b77289] | 2720 | else
|
---|
| 2721 | am_missing_run=
|
---|
[44f44617] | 2722 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
|
---|
| 2723 | $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
|
---|
[3b77289] | 2724 | fi
|
---|
| 2725 |
|
---|
[44f44617] | 2726 | if test x"${install_sh+set}" != xset; then
|
---|
[3b77289] | 2727 | case $am_aux_dir in
|
---|
| 2728 | *\ * | *\ *)
|
---|
| 2729 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
|
---|
| 2730 | *)
|
---|
| 2731 | install_sh="\${SHELL} $am_aux_dir/install-sh"
|
---|
| 2732 | esac
|
---|
| 2733 | fi
|
---|
| 2734 |
|
---|
[44f44617] | 2735 | # Installed binaries are usually stripped using 'strip' when the user
|
---|
| 2736 | # run "make install-strip". However 'strip' might not be the right
|
---|
[3b77289] | 2737 | # tool to use in cross-compilation environments, therefore Automake
|
---|
[44f44617] | 2738 | # will honor the 'STRIP' environment variable to overrule this program.
|
---|
[3b77289] | 2739 | if test "$cross_compiling" != no; then
|
---|
| 2740 | if test -n "$ac_tool_prefix"; then
|
---|
| 2741 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
---|
| 2742 | set dummy ${ac_tool_prefix}strip; ac_word=$2
|
---|
| 2743 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 2744 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 2745 | if ${ac_cv_prog_STRIP+:} false; then :
|
---|
| 2746 | $as_echo_n "(cached) " >&6
|
---|
| 2747 | else
|
---|
| 2748 | if test -n "$STRIP"; then
|
---|
| 2749 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
---|
| 2750 | else
|
---|
| 2751 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2752 | for as_dir in $PATH
|
---|
| 2753 | do
|
---|
| 2754 | IFS=$as_save_IFS
|
---|
| 2755 | test -z "$as_dir" && as_dir=.
|
---|
| 2756 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[44f44617] | 2757 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[3b77289] | 2758 | ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
---|
| 2759 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 2760 | break 2
|
---|
| 2761 | fi
|
---|
| 2762 | done
|
---|
| 2763 | done
|
---|
| 2764 | IFS=$as_save_IFS
|
---|
| 2765 |
|
---|
| 2766 | fi
|
---|
| 2767 | fi
|
---|
| 2768 | STRIP=$ac_cv_prog_STRIP
|
---|
| 2769 | if test -n "$STRIP"; then
|
---|
| 2770 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
---|
| 2771 | $as_echo "$STRIP" >&6; }
|
---|
| 2772 | else
|
---|
| 2773 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2774 | $as_echo "no" >&6; }
|
---|
| 2775 | fi
|
---|
| 2776 |
|
---|
| 2777 |
|
---|
| 2778 | fi
|
---|
| 2779 | if test -z "$ac_cv_prog_STRIP"; then
|
---|
| 2780 | ac_ct_STRIP=$STRIP
|
---|
| 2781 | # Extract the first word of "strip", so it can be a program name with args.
|
---|
| 2782 | set dummy strip; ac_word=$2
|
---|
| 2783 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 2784 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 2785 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
|
---|
| 2786 | $as_echo_n "(cached) " >&6
|
---|
| 2787 | else
|
---|
| 2788 | if test -n "$ac_ct_STRIP"; then
|
---|
| 2789 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
---|
| 2790 | else
|
---|
| 2791 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2792 | for as_dir in $PATH
|
---|
| 2793 | do
|
---|
| 2794 | IFS=$as_save_IFS
|
---|
| 2795 | test -z "$as_dir" && as_dir=.
|
---|
| 2796 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[44f44617] | 2797 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[3b77289] | 2798 | ac_cv_prog_ac_ct_STRIP="strip"
|
---|
| 2799 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 2800 | break 2
|
---|
| 2801 | fi
|
---|
| 2802 | done
|
---|
| 2803 | done
|
---|
| 2804 | IFS=$as_save_IFS
|
---|
| 2805 |
|
---|
| 2806 | fi
|
---|
| 2807 | fi
|
---|
| 2808 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
---|
| 2809 | if test -n "$ac_ct_STRIP"; then
|
---|
| 2810 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
---|
| 2811 | $as_echo "$ac_ct_STRIP" >&6; }
|
---|
| 2812 | else
|
---|
| 2813 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2814 | $as_echo "no" >&6; }
|
---|
| 2815 | fi
|
---|
| 2816 |
|
---|
| 2817 | if test "x$ac_ct_STRIP" = x; then
|
---|
| 2818 | STRIP=":"
|
---|
| 2819 | else
|
---|
| 2820 | case $cross_compiling:$ac_tool_warned in
|
---|
| 2821 | yes:)
|
---|
| 2822 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
| 2823 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 2824 | ac_tool_warned=yes ;;
|
---|
| 2825 | esac
|
---|
| 2826 | STRIP=$ac_ct_STRIP
|
---|
| 2827 | fi
|
---|
| 2828 | else
|
---|
| 2829 | STRIP="$ac_cv_prog_STRIP"
|
---|
| 2830 | fi
|
---|
| 2831 |
|
---|
| 2832 | fi
|
---|
| 2833 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
---|
| 2834 |
|
---|
| 2835 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
|
---|
| 2836 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
|
---|
| 2837 | if test -z "$MKDIR_P"; then
|
---|
| 2838 | if ${ac_cv_path_mkdir+:} false; then :
|
---|
| 2839 | $as_echo_n "(cached) " >&6
|
---|
| 2840 | else
|
---|
| 2841 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2842 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
|
---|
| 2843 | do
|
---|
| 2844 | IFS=$as_save_IFS
|
---|
| 2845 | test -z "$as_dir" && as_dir=.
|
---|
| 2846 | for ac_prog in mkdir gmkdir; do
|
---|
| 2847 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[44f44617] | 2848 | as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
|
---|
[3b77289] | 2849 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
|
---|
| 2850 | 'mkdir (GNU coreutils) '* | \
|
---|
| 2851 | 'mkdir (coreutils) '* | \
|
---|
| 2852 | 'mkdir (fileutils) '4.1*)
|
---|
| 2853 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
|
---|
| 2854 | break 3;;
|
---|
| 2855 | esac
|
---|
| 2856 | done
|
---|
| 2857 | done
|
---|
| 2858 | done
|
---|
| 2859 | IFS=$as_save_IFS
|
---|
| 2860 |
|
---|
| 2861 | fi
|
---|
| 2862 |
|
---|
| 2863 | test -d ./--version && rmdir ./--version
|
---|
| 2864 | if test "${ac_cv_path_mkdir+set}" = set; then
|
---|
| 2865 | MKDIR_P="$ac_cv_path_mkdir -p"
|
---|
| 2866 | else
|
---|
| 2867 | # As a last resort, use the slow shell script. Don't cache a
|
---|
| 2868 | # value for MKDIR_P within a source directory, because that will
|
---|
| 2869 | # break other packages using the cache if that directory is
|
---|
| 2870 | # removed, or if the value is a relative name.
|
---|
| 2871 | MKDIR_P="$ac_install_sh -d"
|
---|
| 2872 | fi
|
---|
| 2873 | fi
|
---|
| 2874 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
|
---|
| 2875 | $as_echo "$MKDIR_P" >&6; }
|
---|
| 2876 |
|
---|
| 2877 | for ac_prog in gawk mawk nawk awk
|
---|
| 2878 | do
|
---|
| 2879 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 2880 | set dummy $ac_prog; ac_word=$2
|
---|
| 2881 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 2882 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 2883 | if ${ac_cv_prog_AWK+:} false; then :
|
---|
| 2884 | $as_echo_n "(cached) " >&6
|
---|
| 2885 | else
|
---|
| 2886 | if test -n "$AWK"; then
|
---|
| 2887 | ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
---|
| 2888 | else
|
---|
| 2889 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2890 | for as_dir in $PATH
|
---|
| 2891 | do
|
---|
| 2892 | IFS=$as_save_IFS
|
---|
| 2893 | test -z "$as_dir" && as_dir=.
|
---|
| 2894 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[44f44617] | 2895 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[3b77289] | 2896 | ac_cv_prog_AWK="$ac_prog"
|
---|
| 2897 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 2898 | break 2
|
---|
| 2899 | fi
|
---|
| 2900 | done
|
---|
| 2901 | done
|
---|
| 2902 | IFS=$as_save_IFS
|
---|
| 2903 |
|
---|
| 2904 | fi
|
---|
| 2905 | fi
|
---|
| 2906 | AWK=$ac_cv_prog_AWK
|
---|
| 2907 | if test -n "$AWK"; then
|
---|
| 2908 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
---|
| 2909 | $as_echo "$AWK" >&6; }
|
---|
| 2910 | else
|
---|
| 2911 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2912 | $as_echo "no" >&6; }
|
---|
| 2913 | fi
|
---|
| 2914 |
|
---|
| 2915 |
|
---|
| 2916 | test -n "$AWK" && break
|
---|
| 2917 | done
|
---|
| 2918 |
|
---|
| 2919 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
---|
| 2920 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
---|
| 2921 | set x ${MAKE-make}
|
---|
| 2922 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
---|
| 2923 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
|
---|
| 2924 | $as_echo_n "(cached) " >&6
|
---|
| 2925 | else
|
---|
| 2926 | cat >conftest.make <<\_ACEOF
|
---|
| 2927 | SHELL = /bin/sh
|
---|
| 2928 | all:
|
---|
| 2929 | @echo '@@@%%%=$(MAKE)=@@@%%%'
|
---|
| 2930 | _ACEOF
|
---|
| 2931 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
|
---|
| 2932 | case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
---|
| 2933 | *@@@%%%=?*=@@@%%%*)
|
---|
| 2934 | eval ac_cv_prog_make_${ac_make}_set=yes;;
|
---|
| 2935 | *)
|
---|
| 2936 | eval ac_cv_prog_make_${ac_make}_set=no;;
|
---|
| 2937 | esac
|
---|
| 2938 | rm -f conftest.make
|
---|
| 2939 | fi
|
---|
| 2940 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
---|
| 2941 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 2942 | $as_echo "yes" >&6; }
|
---|
| 2943 | SET_MAKE=
|
---|
| 2944 | else
|
---|
| 2945 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2946 | $as_echo "no" >&6; }
|
---|
| 2947 | SET_MAKE="MAKE=${MAKE-make}"
|
---|
| 2948 | fi
|
---|
| 2949 |
|
---|
| 2950 | rm -rf .tst 2>/dev/null
|
---|
| 2951 | mkdir .tst 2>/dev/null
|
---|
| 2952 | if test -d .tst; then
|
---|
| 2953 | am__leading_dot=.
|
---|
| 2954 | else
|
---|
| 2955 | am__leading_dot=_
|
---|
| 2956 | fi
|
---|
| 2957 | rmdir .tst 2>/dev/null
|
---|
| 2958 |
|
---|
| 2959 | if test "`cd $srcdir && pwd`" != "`pwd`"; then
|
---|
| 2960 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
|
---|
| 2961 | # is not polluted with repeated "-I."
|
---|
| 2962 | am__isrc=' -I$(srcdir)'
|
---|
| 2963 | # test to see if srcdir already configured
|
---|
| 2964 | if test -f $srcdir/config.status; then
|
---|
| 2965 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
|
---|
| 2966 | fi
|
---|
| 2967 | fi
|
---|
| 2968 |
|
---|
| 2969 | # test whether we have cygpath
|
---|
| 2970 | if test -z "$CYGPATH_W"; then
|
---|
| 2971 | if (cygpath --version) >/dev/null 2>/dev/null; then
|
---|
| 2972 | CYGPATH_W='cygpath -w'
|
---|
| 2973 | else
|
---|
| 2974 | CYGPATH_W=echo
|
---|
| 2975 | fi
|
---|
| 2976 | fi
|
---|
| 2977 |
|
---|
| 2978 |
|
---|
| 2979 | # Define the identity of the package.
|
---|
[b87a5ed] | 2980 | PACKAGE='cfa-cc'
|
---|
[4b1afb6] | 2981 | VERSION='1.0.0.0'
|
---|
[3b77289] | 2982 |
|
---|
| 2983 |
|
---|
| 2984 | cat >>confdefs.h <<_ACEOF
|
---|
| 2985 | #define PACKAGE "$PACKAGE"
|
---|
| 2986 | _ACEOF
|
---|
| 2987 |
|
---|
| 2988 |
|
---|
| 2989 | cat >>confdefs.h <<_ACEOF
|
---|
| 2990 | #define VERSION "$VERSION"
|
---|
| 2991 | _ACEOF
|
---|
| 2992 |
|
---|
| 2993 | # Some tools Automake needs.
|
---|
| 2994 |
|
---|
| 2995 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
|
---|
| 2996 |
|
---|
| 2997 |
|
---|
| 2998 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
|
---|
| 2999 |
|
---|
| 3000 |
|
---|
| 3001 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
|
---|
| 3002 |
|
---|
| 3003 |
|
---|
| 3004 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
---|
| 3005 |
|
---|
| 3006 |
|
---|
| 3007 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
---|
| 3008 |
|
---|
[44f44617] | 3009 | # For better backward compatibility. To be removed once Automake 1.9.x
|
---|
| 3010 | # dies out for good. For more background, see:
|
---|
| 3011 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
|
---|
| 3012 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
|
---|
| 3013 | mkdir_p='$(MKDIR_P)'
|
---|
| 3014 |
|
---|
| 3015 | # We need awk for the "check" target (and possibly the TAP driver). The
|
---|
| 3016 | # system "awk" is bad on some platforms.
|
---|
[3b77289] | 3017 | # Always define AMTAR for backward compatibility. Yes, it's still used
|
---|
| 3018 | # in the wild :-( We should find a proper way to deprecate it ...
|
---|
| 3019 | AMTAR='$${TAR-tar}'
|
---|
| 3020 |
|
---|
[44f44617] | 3021 |
|
---|
| 3022 | # We'll loop over all known methods to create a tar archive until one works.
|
---|
| 3023 | _am_tools='gnutar pax cpio none'
|
---|
| 3024 |
|
---|
[3b77289] | 3025 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
|
---|
| 3026 |
|
---|
| 3027 |
|
---|
| 3028 |
|
---|
| 3029 |
|
---|
[7e91d4f] | 3030 |
|
---|
[5d6ce1f] | 3031 |
|
---|
[44f44617] | 3032 | # POSIX will say in a future version that running "rm -f" with no argument
|
---|
| 3033 | # is OK; and we want to be able to make that assumption in our Makefile
|
---|
| 3034 | # recipes. So use an aggressive probe to check that the usage we want is
|
---|
| 3035 | # actually supported "in the wild" to an acceptable degree.
|
---|
| 3036 | # See automake bug#10828.
|
---|
| 3037 | # To make any issue more visible, cause the running configure to be aborted
|
---|
| 3038 | # by default if the 'rm' program in use doesn't match our expectations; the
|
---|
| 3039 | # user can still override this though.
|
---|
| 3040 | if rm -f && rm -fr && rm -rf; then : OK; else
|
---|
| 3041 | cat >&2 <<'END'
|
---|
| 3042 | Oops!
|
---|
| 3043 |
|
---|
| 3044 | Your 'rm' program seems unable to run without file operands specified
|
---|
| 3045 | on the command line, even when the '-f' option is present. This is contrary
|
---|
| 3046 | to the behaviour of most rm programs out there, and not conforming with
|
---|
| 3047 | the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
|
---|
| 3048 |
|
---|
| 3049 | Please tell bug-automake@gnu.org about your system, including the value
|
---|
| 3050 | of your $PATH and any error possibly output before this message. This
|
---|
| 3051 | can help us improve future automake versions.
|
---|
| 3052 |
|
---|
| 3053 | END
|
---|
| 3054 | if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
|
---|
| 3055 | echo 'Configuration will proceed anyway, since you have set the' >&2
|
---|
| 3056 | echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
|
---|
| 3057 | echo >&2
|
---|
| 3058 | else
|
---|
| 3059 | cat >&2 <<'END'
|
---|
| 3060 | Aborting the configuration process, to ensure you take notice of the issue.
|
---|
| 3061 |
|
---|
| 3062 | You can download and install GNU coreutils to get an 'rm' implementation
|
---|
| 3063 | that behaves properly: <http://www.gnu.org/software/coreutils/>.
|
---|
| 3064 |
|
---|
| 3065 | If you want to complete the configuration process using your problematic
|
---|
| 3066 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
|
---|
| 3067 | to "yes", and re-run configure.
|
---|
| 3068 |
|
---|
| 3069 | END
|
---|
| 3070 | as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
|
---|
| 3071 | fi
|
---|
| 3072 | fi
|
---|
| 3073 |
|
---|
| 3074 |
|
---|
[6aa5ec0f] | 3075 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
---|
| 3076 | $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
|
---|
| 3077 | # Check whether --enable-maintainer-mode was given.
|
---|
| 3078 | if test "${enable_maintainer_mode+set}" = set; then :
|
---|
| 3079 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
|
---|
| 3080 | else
|
---|
[a61fea9a] | 3081 | USE_MAINTAINER_MODE=yes
|
---|
[6aa5ec0f] | 3082 | fi
|
---|
| 3083 |
|
---|
| 3084 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
|
---|
| 3085 | $as_echo "$USE_MAINTAINER_MODE" >&6; }
|
---|
| 3086 | if test $USE_MAINTAINER_MODE = yes; then
|
---|
| 3087 | MAINTAINER_MODE_TRUE=
|
---|
| 3088 | MAINTAINER_MODE_FALSE='#'
|
---|
| 3089 | else
|
---|
| 3090 | MAINTAINER_MODE_TRUE='#'
|
---|
| 3091 | MAINTAINER_MODE_FALSE=
|
---|
| 3092 | fi
|
---|
| 3093 |
|
---|
| 3094 | MAINT=$MAINTAINER_MODE_TRUE
|
---|
| 3095 |
|
---|
[6e4b913] | 3096 | # may require auto* software to be installed
|
---|
[6aa5ec0f] | 3097 |
|
---|
[df47e2f] | 3098 | # Allow program name tansformation
|
---|
[65e9bc1] | 3099 | # will fill program_transform_name with appropriate sed regex
|
---|
[df47e2f] | 3100 |
|
---|
| 3101 |
|
---|
| 3102 | #Trasforming cc1 will break compilation
|
---|
[65e9bc1] | 3103 | if test "${program_transform_name}" = ""; then
|
---|
| 3104 | as_fn_error $? "Program transform not supported.
|
---|
| 3105 | Use --with-cfa-name='[Desired name here]' instead" "$LINENO" 5
|
---|
[df47e2f] | 3106 | fi
|
---|
| 3107 |
|
---|
[796cea3] | 3108 |
|
---|
| 3109 | # Check whether --with-cfa-name was given.
|
---|
| 3110 | if test "${with_cfa_name+set}" = set; then :
|
---|
| 3111 | withval=$with_cfa_name; cfa_name=$withval
|
---|
| 3112 | else
|
---|
| 3113 | cfa_name="cfa"
|
---|
| 3114 | fi
|
---|
| 3115 |
|
---|
| 3116 |
|
---|
[df47e2f] | 3117 | #Define the new name of the installed command
|
---|
| 3118 | CFA_NAME=${cfa_name}
|
---|
| 3119 |
|
---|
| 3120 |
|
---|
[65c61ec] | 3121 | rm -f version
|
---|
[2042d41] | 3122 | echo ${PACKAGE_VERSION} > version # file containing version number for other tools
|
---|
[65c61ec] | 3123 | chmod ugo-w version
|
---|
[2042d41] | 3124 | ver_major=`cut -d '.' -f1 version` # subdivide version number into components at periods
|
---|
| 3125 | ver_minor=`cut -d '.' -f2 version`
|
---|
| 3126 | ver_patch=`cut -d '.' -f3 version`
|
---|
| 3127 | ver_build=`cut -d '.' -f4 version`
|
---|
[ec129c4] | 3128 |
|
---|
[4b1afb6] | 3129 | # AC_SUBST([CONFIG_STATUS_DEPENDENCIES], ['$(top_srcdir)/version'])
|
---|
[ec129c4] | 3130 |
|
---|
[47a8d17] | 3131 | cat >>confdefs.h <<_ACEOF
|
---|
| 3132 | #define CFA_VERSION_MAJOR ${ver_major}
|
---|
| 3133 | _ACEOF
|
---|
| 3134 |
|
---|
| 3135 |
|
---|
| 3136 | cat >>confdefs.h <<_ACEOF
|
---|
| 3137 | #define CFA_VERSION_MINOR ${ver_minor}
|
---|
| 3138 | _ACEOF
|
---|
| 3139 |
|
---|
| 3140 |
|
---|
| 3141 | cat >>confdefs.h <<_ACEOF
|
---|
| 3142 | #define CFA_VERSION_PATCH ${ver_patch}
|
---|
| 3143 | _ACEOF
|
---|
| 3144 |
|
---|
| 3145 |
|
---|
| 3146 | cat >>confdefs.h <<_ACEOF
|
---|
| 3147 | #define CFA_VERSION_BUILD ${ver_build}
|
---|
| 3148 | _ACEOF
|
---|
[ec129c4] | 3149 |
|
---|
| 3150 |
|
---|
[47a8d17] | 3151 | cat >>confdefs.h <<_ACEOF
|
---|
[4b1afb6] | 3152 | #define CFA_VERSION_SHORT "${ver_major}"
|
---|
[47a8d17] | 3153 | _ACEOF
|
---|
| 3154 |
|
---|
| 3155 |
|
---|
| 3156 | cat >>confdefs.h <<_ACEOF
|
---|
[4b1afb6] | 3157 | #define CFA_VERSION "${ver_major}.${ver_minor}"
|
---|
[47a8d17] | 3158 | _ACEOF
|
---|
| 3159 |
|
---|
| 3160 |
|
---|
| 3161 | cat >>confdefs.h <<_ACEOF
|
---|
[4b1afb6] | 3162 | #define CFA_VERSION_LONG "${ver_major}.${ver_minor}.${ver_patch}"
|
---|
[47a8d17] | 3163 | _ACEOF
|
---|
| 3164 |
|
---|
| 3165 |
|
---|
| 3166 | cat >>confdefs.h <<_ACEOF
|
---|
[4b1afb6] | 3167 | #define CFA_VERSION_FULL "${ver_major}.${ver_minor}.${ver_patch}.${ver_build}"
|
---|
[47a8d17] | 3168 | _ACEOF
|
---|
[ec129c4] | 3169 |
|
---|
| 3170 |
|
---|
[5d6ce1f] | 3171 | # Installation paths
|
---|
| 3172 |
|
---|
| 3173 |
|
---|
| 3174 | # Check whether --with-backend-compiler was given.
|
---|
| 3175 | if test "${with_backend_compiler+set}" = set; then :
|
---|
[e24f13a] | 3176 | withval=$with_backend_compiler; backendcompiler=$withval
|
---|
[5d6ce1f] | 3177 | else
|
---|
[e24f13a] | 3178 | backendcompiler=""
|
---|
[5d6ce1f] | 3179 | fi
|
---|
| 3180 |
|
---|
[6e4b913] | 3181 | if test "x$backendcompiler" != "x"; then
|
---|
[e24f13a] | 3182 | BACKEND_CC=${backendcompiler}
|
---|
| 3183 | else
|
---|
[00cc023] | 3184 | # Extract the first word of "gcc", so it can be a program name with args.
|
---|
[5d6ce1f] | 3185 | set dummy gcc; ac_word=$2
|
---|
[3b77289] | 3186 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 3187 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[e24f13a] | 3188 | if ${ac_cv_path_BACKEND_CC+:} false; then :
|
---|
[3b77289] | 3189 | $as_echo_n "(cached) " >&6
|
---|
| 3190 | else
|
---|
[e24f13a] | 3191 | case $BACKEND_CC in
|
---|
[5d6ce1f] | 3192 | [\\/]* | ?:[\\/]*)
|
---|
[e24f13a] | 3193 | ac_cv_path_BACKEND_CC="$BACKEND_CC" # Let the user override the test with a path.
|
---|
[5d6ce1f] | 3194 | ;;
|
---|
| 3195 | *)
|
---|
| 3196 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
[3b77289] | 3197 | for as_dir in $PATH
|
---|
| 3198 | do
|
---|
| 3199 | IFS=$as_save_IFS
|
---|
| 3200 | test -z "$as_dir" && as_dir=.
|
---|
| 3201 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[44f44617] | 3202 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[e24f13a] | 3203 | ac_cv_path_BACKEND_CC="$as_dir/$ac_word$ac_exec_ext"
|
---|
[3b77289] | 3204 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 3205 | break 2
|
---|
| 3206 | fi
|
---|
| 3207 | done
|
---|
| 3208 | done
|
---|
| 3209 | IFS=$as_save_IFS
|
---|
| 3210 |
|
---|
[5d6ce1f] | 3211 | ;;
|
---|
| 3212 | esac
|
---|
[3b77289] | 3213 | fi
|
---|
[e24f13a] | 3214 | BACKEND_CC=$ac_cv_path_BACKEND_CC
|
---|
| 3215 | if test -n "$BACKEND_CC"; then
|
---|
| 3216 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKEND_CC" >&5
|
---|
| 3217 | $as_echo "$BACKEND_CC" >&6; }
|
---|
[5d6ce1f] | 3218 | else
|
---|
| 3219 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 3220 | $as_echo "no" >&6; }
|
---|
| 3221 | fi
|
---|
| 3222 |
|
---|
[6e4b913] | 3223 | # check gcc installed
|
---|
[e24f13a] | 3224 | if test "x$BACKEND_CC" = "x"; then
|
---|
[00cc023] | 3225 | as_fn_error $? "some version of gcc is needed. Get it at ftp://ftp.gnu.org" "$LINENO" 5
|
---|
| 3226 | exit 1
|
---|
| 3227 | fi
|
---|
[e24f13a] | 3228 | fi
|
---|
[5d6ce1f] | 3229 |
|
---|
| 3230 | cat >>confdefs.h <<_ACEOF
|
---|
[e24f13a] | 3231 | #define CFA_BACKEND_CC "${BACKEND_CC}"
|
---|
[5d6ce1f] | 3232 | _ACEOF
|
---|
| 3233 |
|
---|
| 3234 |
|
---|
| 3235 |
|
---|
[9def87a] | 3236 |
|
---|
| 3237 |
|
---|
| 3238 | # Check whether --enable-target-release was given.
|
---|
| 3239 | if test "${enable_target_release+set}" = set; then :
|
---|
| 3240 | enableval=$enable_target_release;
|
---|
| 3241 | fi
|
---|
| 3242 |
|
---|
| 3243 | # Check whether --enable-target-debug was given.
|
---|
| 3244 | if test "${enable_target_debug+set}" = set; then :
|
---|
| 3245 | enableval=$enable_target_debug;
|
---|
| 3246 | fi
|
---|
| 3247 |
|
---|
[facc44f] | 3248 | # Check whether --enable-threading was given.
|
---|
| 3249 | if test "${enable_threading+set}" = set; then :
|
---|
| 3250 | enableval=$enable_threading; case "${enableval}" in
|
---|
[a62cbb3] | 3251 | yes) build_threading="yes" ;;
|
---|
[facc44f] | 3252 | no) build_threading="no" ;;
|
---|
| 3253 | *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
|
---|
| 3254 | esac
|
---|
| 3255 | else
|
---|
| 3256 | build_threading="yes"
|
---|
| 3257 | fi
|
---|
| 3258 |
|
---|
[9def87a] | 3259 |
|
---|
| 3260 | case "$enable_target_release" in
|
---|
| 3261 | yes)
|
---|
| 3262 | case "$enable_target_debug" in
|
---|
| 3263 | yes)
|
---|
| 3264 | build_release="yes"
|
---|
| 3265 | build_debug="yes"
|
---|
| 3266 | ;;
|
---|
| 3267 | no)
|
---|
| 3268 | build_release="yes"
|
---|
| 3269 | build_debug="no"
|
---|
| 3270 | ;;
|
---|
| 3271 | *)
|
---|
| 3272 | build_release="yes"
|
---|
| 3273 | build_debug="no"
|
---|
| 3274 | ;;
|
---|
| 3275 | esac
|
---|
| 3276 | ;;
|
---|
| 3277 | no)
|
---|
| 3278 | case "$enable_target_debug" in
|
---|
| 3279 | yes)
|
---|
| 3280 | build_release="no"
|
---|
| 3281 | build_debug="yes"
|
---|
| 3282 | ;;
|
---|
| 3283 | no)
|
---|
[24f4671] | 3284 | build_release="no"
|
---|
| 3285 | build_debug="no"
|
---|
[9def87a] | 3286 | ;;
|
---|
| 3287 | *)
|
---|
| 3288 | build_release="no"
|
---|
| 3289 | build_debug="yes"
|
---|
| 3290 | ;;
|
---|
| 3291 | esac
|
---|
| 3292 | ;;
|
---|
| 3293 | *)
|
---|
| 3294 | case "$enable_target_debug" in
|
---|
| 3295 | yes)
|
---|
| 3296 | build_release="no"
|
---|
| 3297 | build_debug="yes"
|
---|
| 3298 | ;;
|
---|
| 3299 | no)
|
---|
| 3300 | build_release="yes"
|
---|
| 3301 | build_debug="no"
|
---|
| 3302 | ;;
|
---|
| 3303 | *)
|
---|
| 3304 | build_release="yes"
|
---|
| 3305 | build_debug="yes"
|
---|
| 3306 | ;;
|
---|
| 3307 | esac
|
---|
| 3308 | ;;
|
---|
| 3309 | esac
|
---|
| 3310 |
|
---|
| 3311 | if test "x$build_release" = "xyes"; then
|
---|
| 3312 | BUILD_RELEASE_TRUE=
|
---|
| 3313 | BUILD_RELEASE_FALSE='#'
|
---|
| 3314 | else
|
---|
| 3315 | BUILD_RELEASE_TRUE='#'
|
---|
| 3316 | BUILD_RELEASE_FALSE=
|
---|
| 3317 | fi
|
---|
| 3318 |
|
---|
| 3319 | if test "x$build_debug" = "xyes"; then
|
---|
| 3320 | BUILD_DEBUG_TRUE=
|
---|
| 3321 | BUILD_DEBUG_FALSE='#'
|
---|
| 3322 | else
|
---|
| 3323 | BUILD_DEBUG_TRUE='#'
|
---|
| 3324 | BUILD_DEBUG_FALSE=
|
---|
| 3325 | fi
|
---|
| 3326 |
|
---|
[24f4671] | 3327 | if test "x$build_release$build_debug" = "xnono"; then
|
---|
| 3328 | BUILD_NO_LIB_TRUE=
|
---|
| 3329 | BUILD_NO_LIB_FALSE='#'
|
---|
| 3330 | else
|
---|
| 3331 | BUILD_NO_LIB_TRUE='#'
|
---|
| 3332 | BUILD_NO_LIB_FALSE=
|
---|
| 3333 | fi
|
---|
| 3334 |
|
---|
[facc44f] | 3335 | if test "x$build_threading" = "xyes"; then
|
---|
| 3336 | BUILD_CONCURRENCY_TRUE=
|
---|
| 3337 | BUILD_CONCURRENCY_FALSE='#'
|
---|
| 3338 | else
|
---|
| 3339 | BUILD_CONCURRENCY_TRUE='#'
|
---|
| 3340 | BUILD_CONCURRENCY_FALSE=
|
---|
| 3341 | fi
|
---|
| 3342 |
|
---|
[9def87a] | 3343 |
|
---|
[5d6ce1f] | 3344 | if test "x$prefix" = "xNONE"; then
|
---|
[00cc023] | 3345 | cfa_prefix=${ac_default_prefix}
|
---|
[5d6ce1f] | 3346 | else
|
---|
[00cc023] | 3347 | cfa_prefix=${prefix}
|
---|
[5d6ce1f] | 3348 | fi
|
---|
| 3349 |
|
---|
| 3350 | cat >>confdefs.h <<_ACEOF
|
---|
| 3351 | #define CFA_PREFIX "${cfa_prefix}"
|
---|
| 3352 | _ACEOF
|
---|
| 3353 |
|
---|
| 3354 | CFA_PREFIX=${cfa_prefix}
|
---|
| 3355 |
|
---|
| 3356 |
|
---|
| 3357 | if test "$includedir" = '${prefix}/include'; then
|
---|
[df47e2f] | 3358 | cfa_incdir="${cfa_prefix}/include/${cfa_name}"
|
---|
[5d6ce1f] | 3359 | else
|
---|
[faf8857] | 3360 | cfa_incdir=${includedir}
|
---|
[5d6ce1f] | 3361 | fi
|
---|
| 3362 |
|
---|
| 3363 | cat >>confdefs.h <<_ACEOF
|
---|
| 3364 | #define CFA_INCDIR "${cfa_incdir}"
|
---|
| 3365 | _ACEOF
|
---|
| 3366 |
|
---|
| 3367 | CFA_INCDIR=${cfa_incdir}
|
---|
| 3368 |
|
---|
| 3369 |
|
---|
| 3370 | if test "$bindir" = '${exec_prefix}/bin'; then
|
---|
| 3371 | cfa_bindir="${cfa_prefix}/bin"
|
---|
| 3372 | else
|
---|
| 3373 | cfa_bindir=${bindir}
|
---|
[3b77289] | 3374 | fi
|
---|
[5d6ce1f] | 3375 |
|
---|
| 3376 | cat >>confdefs.h <<_ACEOF
|
---|
| 3377 | #define CFA_BINDIR "${cfa_bindir}"
|
---|
| 3378 | _ACEOF
|
---|
| 3379 |
|
---|
| 3380 | CFA_BINDIR=${cfa_bindir}
|
---|
| 3381 |
|
---|
| 3382 |
|
---|
| 3383 | if test "$libdir" = '${exec_prefix}/lib'; then
|
---|
[df47e2f] | 3384 | cfa_libdir="${cfa_prefix}/lib/${cfa_name}"
|
---|
[3b77289] | 3385 | else
|
---|
[5d6ce1f] | 3386 | cfa_libdir=${libdir}
|
---|
[3b77289] | 3387 | fi
|
---|
| 3388 |
|
---|
[5d6ce1f] | 3389 | cat >>confdefs.h <<_ACEOF
|
---|
| 3390 | #define CFA_LIBDIR "${cfa_libdir}"
|
---|
| 3391 | _ACEOF
|
---|
| 3392 |
|
---|
| 3393 | CFA_LIBDIR=${cfa_libdir}
|
---|
[3b77289] | 3394 |
|
---|
| 3395 |
|
---|
[e4745d7a] | 3396 | # Make sure we can run config.sub.
|
---|
| 3397 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
---|
| 3398 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
|
---|
| 3399 |
|
---|
| 3400 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
|
---|
| 3401 | $as_echo_n "checking build system type... " >&6; }
|
---|
| 3402 | if ${ac_cv_build+:} false; then :
|
---|
| 3403 | $as_echo_n "(cached) " >&6
|
---|
| 3404 | else
|
---|
| 3405 | ac_build_alias=$build_alias
|
---|
| 3406 | test "x$ac_build_alias" = x &&
|
---|
| 3407 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
---|
| 3408 | test "x$ac_build_alias" = x &&
|
---|
| 3409 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
|
---|
| 3410 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
---|
| 3411 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
|
---|
| 3412 |
|
---|
| 3413 | fi
|
---|
| 3414 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
---|
| 3415 | $as_echo "$ac_cv_build" >&6; }
|
---|
| 3416 | case $ac_cv_build in
|
---|
| 3417 | *-*-*) ;;
|
---|
| 3418 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
|
---|
| 3419 | esac
|
---|
| 3420 | build=$ac_cv_build
|
---|
| 3421 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 3422 | set x $ac_cv_build
|
---|
| 3423 | shift
|
---|
| 3424 | build_cpu=$1
|
---|
| 3425 | build_vendor=$2
|
---|
| 3426 | shift; shift
|
---|
| 3427 | # Remember, the first character of IFS is used to create $*,
|
---|
| 3428 | # except with old shells:
|
---|
| 3429 | build_os=$*
|
---|
| 3430 | IFS=$ac_save_IFS
|
---|
| 3431 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
---|
| 3432 |
|
---|
| 3433 |
|
---|
| 3434 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
|
---|
| 3435 | $as_echo_n "checking host system type... " >&6; }
|
---|
| 3436 | if ${ac_cv_host+:} false; then :
|
---|
| 3437 | $as_echo_n "(cached) " >&6
|
---|
| 3438 | else
|
---|
| 3439 | if test "x$host_alias" = x; then
|
---|
| 3440 | ac_cv_host=$ac_cv_build
|
---|
| 3441 | else
|
---|
| 3442 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
---|
| 3443 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
|
---|
| 3444 | fi
|
---|
| 3445 |
|
---|
| 3446 | fi
|
---|
| 3447 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
---|
| 3448 | $as_echo "$ac_cv_host" >&6; }
|
---|
| 3449 | case $ac_cv_host in
|
---|
| 3450 | *-*-*) ;;
|
---|
| 3451 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
|
---|
| 3452 | esac
|
---|
| 3453 | host=$ac_cv_host
|
---|
| 3454 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 3455 | set x $ac_cv_host
|
---|
| 3456 | shift
|
---|
| 3457 | host_cpu=$1
|
---|
| 3458 | host_vendor=$2
|
---|
| 3459 | shift; shift
|
---|
| 3460 | # Remember, the first character of IFS is used to create $*,
|
---|
| 3461 | # except with old shells:
|
---|
| 3462 | host_os=$*
|
---|
| 3463 | IFS=$ac_save_IFS
|
---|
| 3464 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
---|
| 3465 |
|
---|
| 3466 |
|
---|
| 3467 | MACHINE_TYPE=$host_cpu
|
---|
| 3468 |
|
---|
| 3469 |
|
---|
[3f414ef] | 3470 | if ! test "$host_cpu" = "$build_cpu"; then
|
---|
| 3471 | case $host_cpu in
|
---|
| 3472 | i386)
|
---|
[4ec769c] | 3473 | CFLAGS+=" -m32 "
|
---|
| 3474 | CXXFLAGS+=" -m32 "
|
---|
| 3475 | CFAFLAGS+=" -m32 "
|
---|
| 3476 | LDFLAGS+=" -m32 "
|
---|
[3f414ef] | 3477 | ;;
|
---|
| 3478 | i686)
|
---|
[4ec769c] | 3479 | CFLAGS+=" -m32 "
|
---|
| 3480 | CXXFLAGS+=" -m32 "
|
---|
| 3481 | CFAFLAGS+=" -m32 "
|
---|
| 3482 | LDFLAGS+=" -m32 "
|
---|
[3f414ef] | 3483 | ;;
|
---|
| 3484 | x86_64)
|
---|
[4ec769c] | 3485 | CFLAGS+=" -m64 "
|
---|
| 3486 | CXXFLAGS+=" -m64 "
|
---|
| 3487 | CFAFLAGS+=" -m64 "
|
---|
| 3488 | LDFLAGS+=" -m64 "
|
---|
[3f414ef] | 3489 | ;;
|
---|
| 3490 | esac
|
---|
| 3491 | fi
|
---|
| 3492 |
|
---|
| 3493 |
|
---|
| 3494 | cat >>confdefs.h <<_ACEOF
|
---|
| 3495 | #define CFA_FLAGS "${CFAFLAGS}"
|
---|
| 3496 | _ACEOF
|
---|
| 3497 |
|
---|
| 3498 | CFA_FLAGS=${CFAFLAGS}
|
---|
| 3499 |
|
---|
| 3500 |
|
---|
[5d6ce1f] | 3501 | # Checks for programs.
|
---|
[3b77289] | 3502 | ac_ext=cpp
|
---|
| 3503 | ac_cpp='$CXXCPP $CPPFLAGS'
|
---|
| 3504 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3505 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3506 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
---|
| 3507 | if test -z "$CXX"; then
|
---|
| 3508 | if test -n "$CCC"; then
|
---|
| 3509 | CXX=$CCC
|
---|
| 3510 | else
|
---|
| 3511 | if test -n "$ac_tool_prefix"; then
|
---|
| 3512 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
---|
| 3513 | do
|
---|
| 3514 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
| 3515 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
| 3516 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 3517 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 3518 | if ${ac_cv_prog_CXX+:} false; then :
|
---|
| 3519 | $as_echo_n "(cached) " >&6
|
---|
| 3520 | else
|
---|
| 3521 | if test -n "$CXX"; then
|
---|
| 3522 | ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
---|
| 3523 | else
|
---|
| 3524 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3525 | for as_dir in $PATH
|
---|
| 3526 | do
|
---|
| 3527 | IFS=$as_save_IFS
|
---|
| 3528 | test -z "$as_dir" && as_dir=.
|
---|
| 3529 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[44f44617] | 3530 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[3b77289] | 3531 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
---|
| 3532 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 3533 | break 2
|
---|
| 3534 | fi
|
---|
| 3535 | done
|
---|
| 3536 | done
|
---|
| 3537 | IFS=$as_save_IFS
|
---|
| 3538 |
|
---|
| 3539 | fi
|
---|
| 3540 | fi
|
---|
| 3541 | CXX=$ac_cv_prog_CXX
|
---|
| 3542 | if test -n "$CXX"; then
|
---|
| 3543 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
|
---|
| 3544 | $as_echo "$CXX" >&6; }
|
---|
| 3545 | else
|
---|
| 3546 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 3547 | $as_echo "no" >&6; }
|
---|
| 3548 | fi
|
---|
| 3549 |
|
---|
| 3550 |
|
---|
| 3551 | test -n "$CXX" && break
|
---|
| 3552 | done
|
---|
| 3553 | fi
|
---|
| 3554 | if test -z "$CXX"; then
|
---|
| 3555 | ac_ct_CXX=$CXX
|
---|
| 3556 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
---|
| 3557 | do
|
---|
| 3558 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3559 | set dummy $ac_prog; ac_word=$2
|
---|
| 3560 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 3561 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 3562 | if ${ac_cv_prog_ac_ct_CXX+:} false; then :
|
---|
| 3563 | $as_echo_n "(cached) " >&6
|
---|
| 3564 | else
|
---|
| 3565 | if test -n "$ac_ct_CXX"; then
|
---|
| 3566 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
|
---|
| 3567 | else
|
---|
| 3568 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3569 | for as_dir in $PATH
|
---|
| 3570 | do
|
---|
| 3571 | IFS=$as_save_IFS
|
---|
| 3572 | test -z "$as_dir" && as_dir=.
|
---|
| 3573 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[44f44617] | 3574 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[3b77289] | 3575 | ac_cv_prog_ac_ct_CXX="$ac_prog"
|
---|
| 3576 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 3577 | break 2
|
---|
| 3578 | fi
|
---|
| 3579 | done
|
---|
| 3580 | done
|
---|
| 3581 | IFS=$as_save_IFS
|
---|
| 3582 |
|
---|
| 3583 | fi
|
---|
| 3584 | fi
|
---|
| 3585 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
---|
| 3586 | if test -n "$ac_ct_CXX"; then
|
---|
| 3587 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
|
---|
| 3588 | $as_echo "$ac_ct_CXX" >&6; }
|
---|
| 3589 | else
|
---|
| 3590 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 3591 | $as_echo "no" >&6; }
|
---|
| 3592 | fi
|
---|
| 3593 |
|
---|
| 3594 |
|
---|
| 3595 | test -n "$ac_ct_CXX" && break
|
---|
| 3596 | done
|
---|
| 3597 |
|
---|
| 3598 | if test "x$ac_ct_CXX" = x; then
|
---|
| 3599 | CXX="g++"
|
---|
| 3600 | else
|
---|
| 3601 | case $cross_compiling:$ac_tool_warned in
|
---|
| 3602 | yes:)
|
---|
| 3603 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
| 3604 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 3605 | ac_tool_warned=yes ;;
|
---|
| 3606 | esac
|
---|
| 3607 | CXX=$ac_ct_CXX
|
---|
| 3608 | fi
|
---|
| 3609 | fi
|
---|
| 3610 |
|
---|
| 3611 | fi
|
---|
| 3612 | fi
|
---|
| 3613 | # Provide some information about the compiler.
|
---|
| 3614 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
|
---|
| 3615 | set X $ac_compile
|
---|
| 3616 | ac_compiler=$2
|
---|
| 3617 | for ac_option in --version -v -V -qversion; do
|
---|
| 3618 | { { ac_try="$ac_compiler $ac_option >&5"
|
---|
| 3619 | case "(($ac_try" in
|
---|
| 3620 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3621 | *) ac_try_echo=$ac_try;;
|
---|
| 3622 | esac
|
---|
| 3623 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 3624 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 3625 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
---|
| 3626 | ac_status=$?
|
---|
| 3627 | if test -s conftest.err; then
|
---|
| 3628 | sed '10a\
|
---|
| 3629 | ... rest of stderr output deleted ...
|
---|
| 3630 | 10q' conftest.err >conftest.er1
|
---|
| 3631 | cat conftest.er1 >&5
|
---|
| 3632 | fi
|
---|
| 3633 | rm -f conftest.er1 conftest.err
|
---|
| 3634 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3635 | test $ac_status = 0; }
|
---|
| 3636 | done
|
---|
| 3637 |
|
---|
| 3638 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 3639 | /* end confdefs.h. */
|
---|
| 3640 |
|
---|
| 3641 | int
|
---|
| 3642 | main ()
|
---|
| 3643 | {
|
---|
| 3644 |
|
---|
| 3645 | ;
|
---|
| 3646 | return 0;
|
---|
| 3647 | }
|
---|
| 3648 | _ACEOF
|
---|
| 3649 | ac_clean_files_save=$ac_clean_files
|
---|
| 3650 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
|
---|
| 3651 | # Try to create an executable without -o first, disregard a.out.
|
---|
| 3652 | # It will help us diagnose broken compilers, and finding out an intuition
|
---|
| 3653 | # of exeext.
|
---|
| 3654 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
|
---|
| 3655 | $as_echo_n "checking whether the C++ compiler works... " >&6; }
|
---|
| 3656 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
---|
| 3657 |
|
---|
| 3658 | # The possible output files:
|
---|
| 3659 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
---|
| 3660 |
|
---|
| 3661 | ac_rmfiles=
|
---|
| 3662 | for ac_file in $ac_files
|
---|
| 3663 | do
|
---|
| 3664 | case $ac_file in
|
---|
| 3665 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
---|
| 3666 | * ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
---|
| 3667 | esac
|
---|
| 3668 | done
|
---|
| 3669 | rm -f $ac_rmfiles
|
---|
| 3670 |
|
---|
| 3671 | if { { ac_try="$ac_link_default"
|
---|
| 3672 | case "(($ac_try" in
|
---|
| 3673 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3674 | *) ac_try_echo=$ac_try;;
|
---|
| 3675 | esac
|
---|
| 3676 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 3677 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 3678 | (eval "$ac_link_default") 2>&5
|
---|
| 3679 | ac_status=$?
|
---|
| 3680 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3681 | test $ac_status = 0; }; then :
|
---|
| 3682 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
---|
| 3683 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
---|
| 3684 | # in a Makefile. We should not override ac_cv_exeext if it was cached,
|
---|
| 3685 | # so that the user can short-circuit this test for compilers unknown to
|
---|
| 3686 | # Autoconf.
|
---|
| 3687 | for ac_file in $ac_files ''
|
---|
| 3688 | do
|
---|
| 3689 | test -f "$ac_file" || continue
|
---|
| 3690 | case $ac_file in
|
---|
| 3691 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
|
---|
| 3692 | ;;
|
---|
| 3693 | [ab].out )
|
---|
| 3694 | # We found the default executable, but exeext='' is most
|
---|
| 3695 | # certainly right.
|
---|
| 3696 | break;;
|
---|
| 3697 | *.* )
|
---|
| 3698 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
---|
| 3699 | then :; else
|
---|
| 3700 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
| 3701 | fi
|
---|
| 3702 | # We set ac_cv_exeext here because the later test for it is not
|
---|
| 3703 | # safe: cross compilers may not add the suffix if given an `-o'
|
---|
| 3704 | # argument, so we may need to know it at that point already.
|
---|
| 3705 | # Even if this section looks crufty: it has the advantage of
|
---|
| 3706 | # actually working.
|
---|
| 3707 | break;;
|
---|
| 3708 | * )
|
---|
| 3709 | break;;
|
---|
| 3710 | esac
|
---|
| 3711 | done
|
---|
| 3712 | test "$ac_cv_exeext" = no && ac_cv_exeext=
|
---|
| 3713 |
|
---|
| 3714 | else
|
---|
| 3715 | ac_file=''
|
---|
| 3716 | fi
|
---|
| 3717 | if test -z "$ac_file"; then :
|
---|
| 3718 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 3719 | $as_echo "no" >&6; }
|
---|
| 3720 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 3721 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3722 |
|
---|
| 3723 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 3724 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 3725 | as_fn_error 77 "C++ compiler cannot create executables
|
---|
| 3726 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
| 3727 | else
|
---|
| 3728 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 3729 | $as_echo "yes" >&6; }
|
---|
| 3730 | fi
|
---|
| 3731 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
|
---|
| 3732 | $as_echo_n "checking for C++ compiler default output file name... " >&6; }
|
---|
| 3733 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
---|
| 3734 | $as_echo "$ac_file" >&6; }
|
---|
| 3735 | ac_exeext=$ac_cv_exeext
|
---|
| 3736 |
|
---|
| 3737 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
---|
| 3738 | ac_clean_files=$ac_clean_files_save
|
---|
| 3739 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
---|
| 3740 | $as_echo_n "checking for suffix of executables... " >&6; }
|
---|
| 3741 | if { { ac_try="$ac_link"
|
---|
| 3742 | case "(($ac_try" in
|
---|
| 3743 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3744 | *) ac_try_echo=$ac_try;;
|
---|
| 3745 | esac
|
---|
| 3746 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 3747 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 3748 | (eval "$ac_link") 2>&5
|
---|
| 3749 | ac_status=$?
|
---|
| 3750 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3751 | test $ac_status = 0; }; then :
|
---|
| 3752 | # If both `conftest.exe' and `conftest' are `present' (well, observable)
|
---|
| 3753 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
---|
| 3754 | # work properly (i.e., refer to `conftest.exe'), while it won't with
|
---|
| 3755 | # `rm'.
|
---|
| 3756 | for ac_file in conftest.exe conftest conftest.*; do
|
---|
| 3757 | test -f "$ac_file" || continue
|
---|
| 3758 | case $ac_file in
|
---|
| 3759 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
---|
| 3760 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
| 3761 | break;;
|
---|
| 3762 | * ) break;;
|
---|
| 3763 | esac
|
---|
| 3764 | done
|
---|
| 3765 | else
|
---|
| 3766 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 3767 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 3768 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link
|
---|
| 3769 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
| 3770 | fi
|
---|
| 3771 | rm -f conftest conftest$ac_cv_exeext
|
---|
| 3772 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
---|
| 3773 | $as_echo "$ac_cv_exeext" >&6; }
|
---|
| 3774 |
|
---|
| 3775 | rm -f conftest.$ac_ext
|
---|
| 3776 | EXEEXT=$ac_cv_exeext
|
---|
| 3777 | ac_exeext=$EXEEXT
|
---|
| 3778 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 3779 | /* end confdefs.h. */
|
---|
| 3780 | #include <stdio.h>
|
---|
| 3781 | int
|
---|
| 3782 | main ()
|
---|
| 3783 | {
|
---|
| 3784 | FILE *f = fopen ("conftest.out", "w");
|
---|
| 3785 | return ferror (f) || fclose (f) != 0;
|
---|
| 3786 |
|
---|
| 3787 | ;
|
---|
| 3788 | return 0;
|
---|
| 3789 | }
|
---|
| 3790 | _ACEOF
|
---|
| 3791 | ac_clean_files="$ac_clean_files conftest.out"
|
---|
| 3792 | # Check that the compiler produces executables we can run. If not, either
|
---|
| 3793 | # the compiler is broken, or we cross compile.
|
---|
| 3794 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
---|
| 3795 | $as_echo_n "checking whether we are cross compiling... " >&6; }
|
---|
| 3796 | if test "$cross_compiling" != yes; then
|
---|
| 3797 | { { ac_try="$ac_link"
|
---|
| 3798 | case "(($ac_try" in
|
---|
| 3799 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3800 | *) ac_try_echo=$ac_try;;
|
---|
| 3801 | esac
|
---|
| 3802 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 3803 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 3804 | (eval "$ac_link") 2>&5
|
---|
| 3805 | ac_status=$?
|
---|
| 3806 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3807 | test $ac_status = 0; }
|
---|
| 3808 | if { ac_try='./conftest$ac_cv_exeext'
|
---|
| 3809 | { { case "(($ac_try" in
|
---|
| 3810 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3811 | *) ac_try_echo=$ac_try;;
|
---|
| 3812 | esac
|
---|
| 3813 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 3814 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 3815 | (eval "$ac_try") 2>&5
|
---|
| 3816 | ac_status=$?
|
---|
| 3817 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3818 | test $ac_status = 0; }; }; then
|
---|
| 3819 | cross_compiling=no
|
---|
| 3820 | else
|
---|
| 3821 | if test "$cross_compiling" = maybe; then
|
---|
| 3822 | cross_compiling=yes
|
---|
| 3823 | else
|
---|
| 3824 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 3825 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 3826 | as_fn_error $? "cannot run C++ compiled programs.
|
---|
| 3827 | If you meant to cross compile, use \`--host'.
|
---|
| 3828 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
| 3829 | fi
|
---|
| 3830 | fi
|
---|
| 3831 | fi
|
---|
| 3832 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
---|
| 3833 | $as_echo "$cross_compiling" >&6; }
|
---|
| 3834 |
|
---|
| 3835 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
---|
| 3836 | ac_clean_files=$ac_clean_files_save
|
---|
| 3837 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
---|
| 3838 | $as_echo_n "checking for suffix of object files... " >&6; }
|
---|
| 3839 | if ${ac_cv_objext+:} false; then :
|
---|
| 3840 | $as_echo_n "(cached) " >&6
|
---|
| 3841 | else
|
---|
| 3842 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 3843 | /* end confdefs.h. */
|
---|
| 3844 |
|
---|
| 3845 | int
|
---|
| 3846 | main ()
|
---|
| 3847 | {
|
---|
| 3848 |
|
---|
| 3849 | ;
|
---|
| 3850 | return 0;
|
---|
| 3851 | }
|
---|
| 3852 | _ACEOF
|
---|
| 3853 | rm -f conftest.o conftest.obj
|
---|
| 3854 | if { { ac_try="$ac_compile"
|
---|
| 3855 | case "(($ac_try" in
|
---|
| 3856 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3857 | *) ac_try_echo=$ac_try;;
|
---|
| 3858 | esac
|
---|
| 3859 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 3860 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 3861 | (eval "$ac_compile") 2>&5
|
---|
| 3862 | ac_status=$?
|
---|
| 3863 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3864 | test $ac_status = 0; }; then :
|
---|
| 3865 | for ac_file in conftest.o conftest.obj conftest.*; do
|
---|
| 3866 | test -f "$ac_file" || continue;
|
---|
| 3867 | case $ac_file in
|
---|
| 3868 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
|
---|
| 3869 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
---|
| 3870 | break;;
|
---|
| 3871 | esac
|
---|
| 3872 | done
|
---|
| 3873 | else
|
---|
| 3874 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 3875 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3876 |
|
---|
| 3877 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 3878 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 3879 | as_fn_error $? "cannot compute suffix of object files: cannot compile
|
---|
| 3880 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
| 3881 | fi
|
---|
| 3882 | rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
---|
| 3883 | fi
|
---|
| 3884 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
---|
| 3885 | $as_echo "$ac_cv_objext" >&6; }
|
---|
| 3886 | OBJEXT=$ac_cv_objext
|
---|
| 3887 | ac_objext=$OBJEXT
|
---|
| 3888 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
|
---|
| 3889 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
|
---|
| 3890 | if ${ac_cv_cxx_compiler_gnu+:} false; then :
|
---|
| 3891 | $as_echo_n "(cached) " >&6
|
---|
| 3892 | else
|
---|
| 3893 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 3894 | /* end confdefs.h. */
|
---|
| 3895 |
|
---|
| 3896 | int
|
---|
| 3897 | main ()
|
---|
| 3898 | {
|
---|
| 3899 | #ifndef __GNUC__
|
---|
| 3900 | choke me
|
---|
| 3901 | #endif
|
---|
| 3902 |
|
---|
| 3903 | ;
|
---|
| 3904 | return 0;
|
---|
| 3905 | }
|
---|
| 3906 | _ACEOF
|
---|
| 3907 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
| 3908 | ac_compiler_gnu=yes
|
---|
| 3909 | else
|
---|
| 3910 | ac_compiler_gnu=no
|
---|
| 3911 | fi
|
---|
| 3912 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3913 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
---|
| 3914 |
|
---|
| 3915 | fi
|
---|
| 3916 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
|
---|
| 3917 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
|
---|
| 3918 | if test $ac_compiler_gnu = yes; then
|
---|
| 3919 | GXX=yes
|
---|
| 3920 | else
|
---|
| 3921 | GXX=
|
---|
| 3922 | fi
|
---|
| 3923 | ac_test_CXXFLAGS=${CXXFLAGS+set}
|
---|
| 3924 | ac_save_CXXFLAGS=$CXXFLAGS
|
---|
| 3925 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
|
---|
| 3926 | $as_echo_n "checking whether $CXX accepts -g... " >&6; }
|
---|
| 3927 | if ${ac_cv_prog_cxx_g+:} false; then :
|
---|
| 3928 | $as_echo_n "(cached) " >&6
|
---|
| 3929 | else
|
---|
| 3930 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag
|
---|
| 3931 | ac_cxx_werror_flag=yes
|
---|
| 3932 | ac_cv_prog_cxx_g=no
|
---|
| 3933 | CXXFLAGS="-g"
|
---|
| 3934 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 3935 | /* end confdefs.h. */
|
---|
| 3936 |
|
---|
| 3937 | int
|
---|
| 3938 | main ()
|
---|
| 3939 | {
|
---|
| 3940 |
|
---|
| 3941 | ;
|
---|
| 3942 | return 0;
|
---|
| 3943 | }
|
---|
| 3944 | _ACEOF
|
---|
| 3945 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
| 3946 | ac_cv_prog_cxx_g=yes
|
---|
| 3947 | else
|
---|
| 3948 | CXXFLAGS=""
|
---|
| 3949 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 3950 | /* end confdefs.h. */
|
---|
| 3951 |
|
---|
| 3952 | int
|
---|
| 3953 | main ()
|
---|
| 3954 | {
|
---|
| 3955 |
|
---|
| 3956 | ;
|
---|
| 3957 | return 0;
|
---|
| 3958 | }
|
---|
| 3959 | _ACEOF
|
---|
| 3960 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
| 3961 |
|
---|
| 3962 | else
|
---|
| 3963 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
---|
| 3964 | CXXFLAGS="-g"
|
---|
| 3965 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 3966 | /* end confdefs.h. */
|
---|
| 3967 |
|
---|
| 3968 | int
|
---|
| 3969 | main ()
|
---|
| 3970 | {
|
---|
| 3971 |
|
---|
| 3972 | ;
|
---|
| 3973 | return 0;
|
---|
| 3974 | }
|
---|
| 3975 | _ACEOF
|
---|
| 3976 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
| 3977 | ac_cv_prog_cxx_g=yes
|
---|
| 3978 | fi
|
---|
| 3979 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3980 | fi
|
---|
| 3981 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3982 | fi
|
---|
| 3983 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3984 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
---|
| 3985 | fi
|
---|
| 3986 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
|
---|
| 3987 | $as_echo "$ac_cv_prog_cxx_g" >&6; }
|
---|
| 3988 | if test "$ac_test_CXXFLAGS" = set; then
|
---|
| 3989 | CXXFLAGS=$ac_save_CXXFLAGS
|
---|
| 3990 | elif test $ac_cv_prog_cxx_g = yes; then
|
---|
| 3991 | if test "$GXX" = yes; then
|
---|
| 3992 | CXXFLAGS="-g -O2"
|
---|
| 3993 | else
|
---|
| 3994 | CXXFLAGS="-g"
|
---|
| 3995 | fi
|
---|
| 3996 | else
|
---|
| 3997 | if test "$GXX" = yes; then
|
---|
| 3998 | CXXFLAGS="-O2"
|
---|
| 3999 | else
|
---|
| 4000 | CXXFLAGS=
|
---|
| 4001 | fi
|
---|
| 4002 | fi
|
---|
| 4003 | ac_ext=c
|
---|
| 4004 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 4005 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 4006 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 4007 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 4008 | DEPDIR="${am__leading_dot}deps"
|
---|
| 4009 |
|
---|
| 4010 | ac_config_commands="$ac_config_commands depfiles"
|
---|
| 4011 |
|
---|
| 4012 |
|
---|
| 4013 | am_make=${MAKE-make}
|
---|
| 4014 | cat > confinc << 'END'
|
---|
| 4015 | am__doit:
|
---|
| 4016 | @echo this is the am__doit target
|
---|
| 4017 | .PHONY: am__doit
|
---|
| 4018 | END
|
---|
| 4019 | # If we don't find an include directive, just comment out the code.
|
---|
| 4020 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
|
---|
| 4021 | $as_echo_n "checking for style of include used by $am_make... " >&6; }
|
---|
| 4022 | am__include="#"
|
---|
| 4023 | am__quote=
|
---|
| 4024 | _am_result=none
|
---|
| 4025 | # First try GNU make style include.
|
---|
| 4026 | echo "include confinc" > confmf
|
---|
[44f44617] | 4027 | # Ignore all kinds of additional output from 'make'.
|
---|
[3b77289] | 4028 | case `$am_make -s -f confmf 2> /dev/null` in #(
|
---|
| 4029 | *the\ am__doit\ target*)
|
---|
| 4030 | am__include=include
|
---|
| 4031 | am__quote=
|
---|
| 4032 | _am_result=GNU
|
---|
| 4033 | ;;
|
---|
| 4034 | esac
|
---|
| 4035 | # Now try BSD make style include.
|
---|
| 4036 | if test "$am__include" = "#"; then
|
---|
| 4037 | echo '.include "confinc"' > confmf
|
---|
| 4038 | case `$am_make -s -f confmf 2> /dev/null` in #(
|
---|
| 4039 | *the\ am__doit\ target*)
|
---|
| 4040 | am__include=.include
|
---|
| 4041 | am__quote="\""
|
---|
| 4042 | _am_result=BSD
|
---|
| 4043 | ;;
|
---|
| 4044 | esac
|
---|
| 4045 | fi
|
---|
| 4046 |
|
---|
| 4047 |
|
---|
| 4048 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
|
---|
| 4049 | $as_echo "$_am_result" >&6; }
|
---|
| 4050 | rm -f confinc confmf
|
---|
| 4051 |
|
---|
| 4052 | # Check whether --enable-dependency-tracking was given.
|
---|
| 4053 | if test "${enable_dependency_tracking+set}" = set; then :
|
---|
| 4054 | enableval=$enable_dependency_tracking;
|
---|
| 4055 | fi
|
---|
| 4056 |
|
---|
| 4057 | if test "x$enable_dependency_tracking" != xno; then
|
---|
| 4058 | am_depcomp="$ac_aux_dir/depcomp"
|
---|
| 4059 | AMDEPBACKSLASH='\'
|
---|
| 4060 | am__nodep='_no'
|
---|
| 4061 | fi
|
---|
| 4062 | if test "x$enable_dependency_tracking" != xno; then
|
---|
| 4063 | AMDEP_TRUE=
|
---|
| 4064 | AMDEP_FALSE='#'
|
---|
| 4065 | else
|
---|
| 4066 | AMDEP_TRUE='#'
|
---|
| 4067 | AMDEP_FALSE=
|
---|
| 4068 | fi
|
---|
| 4069 |
|
---|
| 4070 |
|
---|
| 4071 |
|
---|
| 4072 | depcc="$CXX" am_compiler_list=
|
---|
| 4073 |
|
---|
| 4074 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
---|
| 4075 | $as_echo_n "checking dependency style of $depcc... " >&6; }
|
---|
| 4076 | if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
|
---|
| 4077 | $as_echo_n "(cached) " >&6
|
---|
| 4078 | else
|
---|
| 4079 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
---|
| 4080 | # We make a subdir and do the tests there. Otherwise we can end up
|
---|
| 4081 | # making bogus files that we don't know about and never remove. For
|
---|
| 4082 | # instance it was reported that on HP-UX the gcc test will end up
|
---|
[44f44617] | 4083 | # making a dummy file named 'D' -- because '-MD' means "put the output
|
---|
| 4084 | # in D".
|
---|
[3b77289] | 4085 | rm -rf conftest.dir
|
---|
| 4086 | mkdir conftest.dir
|
---|
| 4087 | # Copy depcomp to subdir because otherwise we won't find it if we're
|
---|
| 4088 | # using a relative directory.
|
---|
| 4089 | cp "$am_depcomp" conftest.dir
|
---|
| 4090 | cd conftest.dir
|
---|
| 4091 | # We will build objects and dependencies in a subdirectory because
|
---|
| 4092 | # it helps to detect inapplicable dependency modes. For instance
|
---|
| 4093 | # both Tru64's cc and ICC support -MD to output dependencies as a
|
---|
| 4094 | # side effect of compilation, but ICC will put the dependencies in
|
---|
| 4095 | # the current directory while Tru64 will put them in the object
|
---|
| 4096 | # directory.
|
---|
| 4097 | mkdir sub
|
---|
| 4098 |
|
---|
| 4099 | am_cv_CXX_dependencies_compiler_type=none
|
---|
| 4100 | if test "$am_compiler_list" = ""; then
|
---|
| 4101 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
---|
| 4102 | fi
|
---|
| 4103 | am__universal=false
|
---|
| 4104 | case " $depcc " in #(
|
---|
| 4105 | *\ -arch\ *\ -arch\ *) am__universal=true ;;
|
---|
| 4106 | esac
|
---|
| 4107 |
|
---|
| 4108 | for depmode in $am_compiler_list; do
|
---|
| 4109 | # Setup a source with many dependencies, because some compilers
|
---|
| 4110 | # like to wrap large dependency lists on column 80 (with \), and
|
---|
| 4111 | # we should not choose a depcomp mode which is confused by this.
|
---|
| 4112 | #
|
---|
| 4113 | # We need to recreate these files for each test, as the compiler may
|
---|
| 4114 | # overwrite some of them when testing with obscure command lines.
|
---|
| 4115 | # This happens at least with the AIX C compiler.
|
---|
| 4116 | : > sub/conftest.c
|
---|
| 4117 | for i in 1 2 3 4 5 6; do
|
---|
| 4118 | echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
---|
[44f44617] | 4119 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
|
---|
| 4120 | # Solaris 10 /bin/sh.
|
---|
| 4121 | echo '/* dummy */' > sub/conftst$i.h
|
---|
[3b77289] | 4122 | done
|
---|
| 4123 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
---|
| 4124 |
|
---|
[44f44617] | 4125 | # We check with '-c' and '-o' for the sake of the "dashmstdout"
|
---|
[3b77289] | 4126 | # mode. It turns out that the SunPro C++ compiler does not properly
|
---|
[44f44617] | 4127 | # handle '-M -o', and we need to detect this. Also, some Intel
|
---|
| 4128 | # versions had trouble with output in subdirs.
|
---|
[3b77289] | 4129 | am__obj=sub/conftest.${OBJEXT-o}
|
---|
| 4130 | am__minus_obj="-o $am__obj"
|
---|
| 4131 | case $depmode in
|
---|
| 4132 | gcc)
|
---|
| 4133 | # This depmode causes a compiler race in universal mode.
|
---|
| 4134 | test "$am__universal" = false || continue
|
---|
| 4135 | ;;
|
---|
| 4136 | nosideeffect)
|
---|
[44f44617] | 4137 | # After this tag, mechanisms are not by side-effect, so they'll
|
---|
| 4138 | # only be used when explicitly requested.
|
---|
[3b77289] | 4139 | if test "x$enable_dependency_tracking" = xyes; then
|
---|
| 4140 | continue
|
---|
| 4141 | else
|
---|
| 4142 | break
|
---|
| 4143 | fi
|
---|
| 4144 | ;;
|
---|
| 4145 | msvc7 | msvc7msys | msvisualcpp | msvcmsys)
|
---|
[44f44617] | 4146 | # This compiler won't grok '-c -o', but also, the minuso test has
|
---|
[3b77289] | 4147 | # not run yet. These depmodes are late enough in the game, and
|
---|
| 4148 | # so weak that their functioning should not be impacted.
|
---|
| 4149 | am__obj=conftest.${OBJEXT-o}
|
---|
| 4150 | am__minus_obj=
|
---|
| 4151 | ;;
|
---|
| 4152 | none) break ;;
|
---|
| 4153 | esac
|
---|
| 4154 | if depmode=$depmode \
|
---|
| 4155 | source=sub/conftest.c object=$am__obj \
|
---|
| 4156 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
---|
| 4157 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
|
---|
| 4158 | >/dev/null 2>conftest.err &&
|
---|
| 4159 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
---|
| 4160 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
---|
| 4161 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
|
---|
| 4162 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
---|
| 4163 | # icc doesn't choke on unknown options, it will just issue warnings
|
---|
| 4164 | # or remarks (even with -Werror). So we grep stderr for any message
|
---|
| 4165 | # that says an option was ignored or not supported.
|
---|
| 4166 | # When given -MP, icc 7.0 and 7.1 complain thusly:
|
---|
| 4167 | # icc: Command line warning: ignoring option '-M'; no argument required
|
---|
| 4168 | # The diagnosis changed in icc 8.0:
|
---|
| 4169 | # icc: Command line remark: option '-MP' not supported
|
---|
| 4170 | if (grep 'ignoring option' conftest.err ||
|
---|
| 4171 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
---|
| 4172 | am_cv_CXX_dependencies_compiler_type=$depmode
|
---|
| 4173 | break
|
---|
| 4174 | fi
|
---|
| 4175 | fi
|
---|
| 4176 | done
|
---|
| 4177 |
|
---|
| 4178 | cd ..
|
---|
| 4179 | rm -rf conftest.dir
|
---|
| 4180 | else
|
---|
| 4181 | am_cv_CXX_dependencies_compiler_type=none
|
---|
| 4182 | fi
|
---|
| 4183 |
|
---|
| 4184 | fi
|
---|
| 4185 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
|
---|
| 4186 | $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
|
---|
| 4187 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
|
---|
| 4188 |
|
---|
| 4189 | if
|
---|
| 4190 | test "x$enable_dependency_tracking" != xno \
|
---|
| 4191 | && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
|
---|
| 4192 | am__fastdepCXX_TRUE=
|
---|
| 4193 | am__fastdepCXX_FALSE='#'
|
---|
| 4194 | else
|
---|
| 4195 | am__fastdepCXX_TRUE='#'
|
---|
| 4196 | am__fastdepCXX_FALSE=
|
---|
| 4197 | fi
|
---|
| 4198 |
|
---|
| 4199 |
|
---|
| 4200 | ac_ext=c
|
---|
| 4201 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 4202 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 4203 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 4204 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 4205 | if test -n "$ac_tool_prefix"; then
|
---|
| 4206 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
---|
| 4207 | set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
---|
| 4208 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 4209 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 4210 | if ${ac_cv_prog_CC+:} false; then :
|
---|
| 4211 | $as_echo_n "(cached) " >&6
|
---|
| 4212 | else
|
---|
| 4213 | if test -n "$CC"; then
|
---|
| 4214 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 4215 | else
|
---|
| 4216 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4217 | for as_dir in $PATH
|
---|
| 4218 | do
|
---|
| 4219 | IFS=$as_save_IFS
|
---|
| 4220 | test -z "$as_dir" && as_dir=.
|
---|
| 4221 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[44f44617] | 4222 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[3b77289] | 4223 | ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
---|
| 4224 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 4225 | break 2
|
---|
| 4226 | fi
|
---|
| 4227 | done
|
---|
| 4228 | done
|
---|
| 4229 | IFS=$as_save_IFS
|
---|
| 4230 |
|
---|
| 4231 | fi
|
---|
| 4232 | fi
|
---|
| 4233 | CC=$ac_cv_prog_CC
|
---|
| 4234 | if test -n "$CC"; then
|
---|
| 4235 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
| 4236 | $as_echo "$CC" >&6; }
|
---|
| 4237 | else
|
---|
| 4238 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 4239 | $as_echo "no" >&6; }
|
---|
| 4240 | fi
|
---|
| 4241 |
|
---|
| 4242 |
|
---|
| 4243 | fi
|
---|
| 4244 | if test -z "$ac_cv_prog_CC"; then
|
---|
| 4245 | ac_ct_CC=$CC
|
---|
| 4246 | # Extract the first word of "gcc", so it can be a program name with args.
|
---|
| 4247 | set dummy gcc; ac_word=$2
|
---|
| 4248 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 4249 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 4250 | if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
---|
| 4251 | $as_echo_n "(cached) " >&6
|
---|
| 4252 | else
|
---|
| 4253 | if test -n "$ac_ct_CC"; then
|
---|
| 4254 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 4255 | else
|
---|
| 4256 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4257 | for as_dir in $PATH
|
---|
| 4258 | do
|
---|
| 4259 | IFS=$as_save_IFS
|
---|
| 4260 | test -z "$as_dir" && as_dir=.
|
---|
| 4261 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[44f44617] | 4262 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[3b77289] | 4263 | ac_cv_prog_ac_ct_CC="gcc"
|
---|
| 4264 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 4265 | break 2
|
---|
| 4266 | fi
|
---|
| 4267 | done
|
---|
| 4268 | done
|
---|
| 4269 | IFS=$as_save_IFS
|
---|
| 4270 |
|
---|
| 4271 | fi
|
---|
| 4272 | fi
|
---|
| 4273 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 4274 | if test -n "$ac_ct_CC"; then
|
---|
| 4275 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
---|
| 4276 | $as_echo "$ac_ct_CC" >&6; }
|
---|
| 4277 | else
|
---|
| 4278 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 4279 | $as_echo "no" >&6; }
|
---|
| 4280 | fi
|
---|
| 4281 |
|
---|
| 4282 | if test "x$ac_ct_CC" = x; then
|
---|
| 4283 | CC=""
|
---|
| 4284 | else
|
---|
| 4285 | case $cross_compiling:$ac_tool_warned in
|
---|
| 4286 | yes:)
|
---|
| 4287 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
| 4288 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 4289 | ac_tool_warned=yes ;;
|
---|
| 4290 | esac
|
---|
| 4291 | CC=$ac_ct_CC
|
---|
| 4292 | fi
|
---|
| 4293 | else
|
---|
| 4294 | CC="$ac_cv_prog_CC"
|
---|
| 4295 | fi
|
---|
| 4296 |
|
---|
| 4297 | if test -z "$CC"; then
|
---|
| 4298 | if test -n "$ac_tool_prefix"; then
|
---|
| 4299 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
---|
| 4300 | set dummy ${ac_tool_prefix}cc; ac_word=$2
|
---|
| 4301 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 4302 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 4303 | if ${ac_cv_prog_CC+:} false; then :
|
---|
| 4304 | $as_echo_n "(cached) " >&6
|
---|
| 4305 | else
|
---|
| 4306 | if test -n "$CC"; then
|
---|
| 4307 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 4308 | else
|
---|
| 4309 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4310 | for as_dir in $PATH
|
---|
| 4311 | do
|
---|
| 4312 | IFS=$as_save_IFS
|
---|
| 4313 | test -z "$as_dir" && as_dir=.
|
---|
| 4314 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[44f44617] | 4315 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[3b77289] | 4316 | ac_cv_prog_CC="${ac_tool_prefix}cc"
|
---|
| 4317 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 4318 | break 2
|
---|
| 4319 | fi
|
---|
| 4320 | done
|
---|
| 4321 | done
|
---|
| 4322 | IFS=$as_save_IFS
|
---|
| 4323 |
|
---|
| 4324 | fi
|
---|
| 4325 | fi
|
---|
| 4326 | CC=$ac_cv_prog_CC
|
---|
| 4327 | if test -n "$CC"; then
|
---|
| 4328 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
| 4329 | $as_echo "$CC" >&6; }
|
---|
| 4330 | else
|
---|
| 4331 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 4332 | $as_echo "no" >&6; }
|
---|
| 4333 | fi
|
---|
| 4334 |
|
---|
| 4335 |
|
---|
| 4336 | fi
|
---|
| 4337 | fi
|
---|
| 4338 | if test -z "$CC"; then
|
---|
| 4339 | # Extract the first word of "cc", so it can be a program name with args.
|
---|
| 4340 | set dummy cc; ac_word=$2
|
---|
| 4341 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 4342 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 4343 | if ${ac_cv_prog_CC+:} false; then :
|
---|
| 4344 | $as_echo_n "(cached) " >&6
|
---|
| 4345 | else
|
---|
| 4346 | if test -n "$CC"; then
|
---|
| 4347 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 4348 | else
|
---|
| 4349 | ac_prog_rejected=no
|
---|
| 4350 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4351 | for as_dir in $PATH
|
---|
| 4352 | do
|
---|
| 4353 | IFS=$as_save_IFS
|
---|
| 4354 | test -z "$as_dir" && as_dir=.
|
---|
| 4355 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[44f44617] | 4356 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[3b77289] | 4357 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
---|
| 4358 | ac_prog_rejected=yes
|
---|
| 4359 | continue
|
---|
| 4360 | fi
|
---|
| 4361 | ac_cv_prog_CC="cc"
|
---|
| 4362 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 4363 | break 2
|
---|
| 4364 | fi
|
---|
| 4365 | done
|
---|
| 4366 | done
|
---|
| 4367 | IFS=$as_save_IFS
|
---|
| 4368 |
|
---|
| 4369 | if test $ac_prog_rejected = yes; then
|
---|
| 4370 | # We found a bogon in the path, so make sure we never use it.
|
---|
| 4371 | set dummy $ac_cv_prog_CC
|
---|
| 4372 | shift
|
---|
| 4373 | if test $# != 0; then
|
---|
| 4374 | # We chose a different compiler from the bogus one.
|
---|
| 4375 | # However, it has the same basename, so the bogon will be chosen
|
---|
| 4376 | # first if we set CC to just the basename; use the full file name.
|
---|
| 4377 | shift
|
---|
| 4378 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
---|
| 4379 | fi
|
---|
| 4380 | fi
|
---|
| 4381 | fi
|
---|
| 4382 | fi
|
---|
| 4383 | CC=$ac_cv_prog_CC
|
---|
| 4384 | if test -n "$CC"; then
|
---|
| 4385 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
| 4386 | $as_echo "$CC" >&6; }
|
---|
| 4387 | else
|
---|
| 4388 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 4389 | $as_echo "no" >&6; }
|
---|
| 4390 | fi
|
---|
| 4391 |
|
---|
| 4392 |
|
---|
| 4393 | fi
|
---|
| 4394 | if test -z "$CC"; then
|
---|
| 4395 | if test -n "$ac_tool_prefix"; then
|
---|
| 4396 | for ac_prog in cl.exe
|
---|
| 4397 | do
|
---|
| 4398 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
| 4399 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
| 4400 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 4401 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 4402 | if ${ac_cv_prog_CC+:} false; then :
|
---|
| 4403 | $as_echo_n "(cached) " >&6
|
---|
| 4404 | else
|
---|
| 4405 | if test -n "$CC"; then
|
---|
| 4406 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 4407 | else
|
---|
| 4408 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4409 | for as_dir in $PATH
|
---|
| 4410 | do
|
---|
| 4411 | IFS=$as_save_IFS
|
---|
| 4412 | test -z "$as_dir" && as_dir=.
|
---|
| 4413 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[44f44617] | 4414 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[3b77289] | 4415 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
---|
| 4416 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 4417 | break 2
|
---|
| 4418 | fi
|
---|
| 4419 | done
|
---|
| 4420 | done
|
---|
| 4421 | IFS=$as_save_IFS
|
---|
| 4422 |
|
---|
| 4423 | fi
|
---|
| 4424 | fi
|
---|
| 4425 | CC=$ac_cv_prog_CC
|
---|
| 4426 | if test -n "$CC"; then
|
---|
| 4427 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
| 4428 | $as_echo "$CC" >&6; }
|
---|
| 4429 | else
|
---|
| 4430 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 4431 | $as_echo "no" >&6; }
|
---|
| 4432 | fi
|
---|
| 4433 |
|
---|
| 4434 |
|
---|
| 4435 | test -n "$CC" && break
|
---|
| 4436 | done
|
---|
| 4437 | fi
|
---|
| 4438 | if test -z "$CC"; then
|
---|
| 4439 | ac_ct_CC=$CC
|
---|
| 4440 | for ac_prog in cl.exe
|
---|
| 4441 | do
|
---|
| 4442 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 4443 | set dummy $ac_prog; ac_word=$2
|
---|
| 4444 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 4445 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 4446 | if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
---|
| 4447 | $as_echo_n "(cached) " >&6
|
---|
| 4448 | else
|
---|
| 4449 | if test -n "$ac_ct_CC"; then
|
---|
| 4450 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 4451 | else
|
---|
| 4452 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4453 | for as_dir in $PATH
|
---|
| 4454 | do
|
---|
| 4455 | IFS=$as_save_IFS
|
---|
| 4456 | test -z "$as_dir" && as_dir=.
|
---|
| 4457 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[44f44617] | 4458 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[3b77289] | 4459 | ac_cv_prog_ac_ct_CC="$ac_prog"
|
---|
| 4460 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 4461 | break 2
|
---|
| 4462 | fi
|
---|
| 4463 | done
|
---|
| 4464 | done
|
---|
| 4465 | IFS=$as_save_IFS
|
---|
| 4466 |
|
---|
| 4467 | fi
|
---|
| 4468 | fi
|
---|
| 4469 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 4470 | if test -n "$ac_ct_CC"; then
|
---|
| 4471 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
---|
| 4472 | $as_echo "$ac_ct_CC" >&6; }
|
---|
| 4473 | else
|
---|
| 4474 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 4475 | $as_echo "no" >&6; }
|
---|
| 4476 | fi
|
---|
| 4477 |
|
---|
| 4478 |
|
---|
| 4479 | test -n "$ac_ct_CC" && break
|
---|
| 4480 | done
|
---|
| 4481 |
|
---|
| 4482 | if test "x$ac_ct_CC" = x; then
|
---|
| 4483 | CC=""
|
---|
| 4484 | else
|
---|
| 4485 | case $cross_compiling:$ac_tool_warned in
|
---|
| 4486 | yes:)
|
---|
| 4487 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
| 4488 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 4489 | ac_tool_warned=yes ;;
|
---|
| 4490 | esac
|
---|
| 4491 | CC=$ac_ct_CC
|
---|
| 4492 | fi
|
---|
| 4493 | fi
|
---|
| 4494 |
|
---|
| 4495 | fi
|
---|
| 4496 |
|
---|
| 4497 |
|
---|
| 4498 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 4499 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 4500 | as_fn_error $? "no acceptable C compiler found in \$PATH
|
---|
| 4501 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
| 4502 |
|
---|
| 4503 | # Provide some information about the compiler.
|
---|
| 4504 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
---|
| 4505 | set X $ac_compile
|
---|
| 4506 | ac_compiler=$2
|
---|
| 4507 | for ac_option in --version -v -V -qversion; do
|
---|
| 4508 | { { ac_try="$ac_compiler $ac_option >&5"
|
---|
| 4509 | case "(($ac_try" in
|
---|
| 4510 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4511 | *) ac_try_echo=$ac_try;;
|
---|
| 4512 | esac
|
---|
| 4513 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 4514 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 4515 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
---|
| 4516 | ac_status=$?
|
---|
| 4517 | if test -s conftest.err; then
|
---|
| 4518 | sed '10a\
|
---|
| 4519 | ... rest of stderr output deleted ...
|
---|
| 4520 | 10q' conftest.err >conftest.er1
|
---|
| 4521 | cat conftest.er1 >&5
|
---|
| 4522 | fi
|
---|
| 4523 | rm -f conftest.er1 conftest.err
|
---|
| 4524 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 4525 | test $ac_status = 0; }
|
---|
| 4526 | done
|
---|
| 4527 |
|
---|
| 4528 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
---|
| 4529 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
---|
| 4530 | if ${ac_cv_c_compiler_gnu+:} false; then :
|
---|
| 4531 | $as_echo_n "(cached) " >&6
|
---|
| 4532 | else
|
---|
| 4533 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 4534 | /* end confdefs.h. */
|
---|
| 4535 |
|
---|
| 4536 | int
|
---|
| 4537 | main ()
|
---|
| 4538 | {
|
---|
| 4539 | #ifndef __GNUC__
|
---|
| 4540 | choke me
|
---|
| 4541 | #endif
|
---|
| 4542 |
|
---|
| 4543 | ;
|
---|
| 4544 | return 0;
|
---|
| 4545 | }
|
---|
| 4546 | _ACEOF
|
---|
| 4547 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 4548 | ac_compiler_gnu=yes
|
---|
| 4549 | else
|
---|
| 4550 | ac_compiler_gnu=no
|
---|
| 4551 | fi
|
---|
| 4552 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 4553 | ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
---|
| 4554 |
|
---|
| 4555 | fi
|
---|
| 4556 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
---|
| 4557 | $as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
---|
| 4558 | if test $ac_compiler_gnu = yes; then
|
---|
| 4559 | GCC=yes
|
---|
| 4560 | else
|
---|
| 4561 | GCC=
|
---|
| 4562 | fi
|
---|
| 4563 | ac_test_CFLAGS=${CFLAGS+set}
|
---|
| 4564 | ac_save_CFLAGS=$CFLAGS
|
---|
| 4565 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
---|
| 4566 | $as_echo_n "checking whether $CC accepts -g... " >&6; }
|
---|
| 4567 | if ${ac_cv_prog_cc_g+:} false; then :
|
---|
| 4568 | $as_echo_n "(cached) " >&6
|
---|
| 4569 | else
|
---|
| 4570 | ac_save_c_werror_flag=$ac_c_werror_flag
|
---|
| 4571 | ac_c_werror_flag=yes
|
---|
| 4572 | ac_cv_prog_cc_g=no
|
---|
| 4573 | CFLAGS="-g"
|
---|
| 4574 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 4575 | /* end confdefs.h. */
|
---|
| 4576 |
|
---|
| 4577 | int
|
---|
| 4578 | main ()
|
---|
| 4579 | {
|
---|
| 4580 |
|
---|
| 4581 | ;
|
---|
| 4582 | return 0;
|
---|
| 4583 | }
|
---|
| 4584 | _ACEOF
|
---|
| 4585 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 4586 | ac_cv_prog_cc_g=yes
|
---|
| 4587 | else
|
---|
| 4588 | CFLAGS=""
|
---|
| 4589 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 4590 | /* end confdefs.h. */
|
---|
| 4591 |
|
---|
| 4592 | int
|
---|
| 4593 | main ()
|
---|
| 4594 | {
|
---|
| 4595 |
|
---|
| 4596 | ;
|
---|
| 4597 | return 0;
|
---|
| 4598 | }
|
---|
| 4599 | _ACEOF
|
---|
| 4600 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 4601 |
|
---|
| 4602 | else
|
---|
| 4603 | ac_c_werror_flag=$ac_save_c_werror_flag
|
---|
| 4604 | CFLAGS="-g"
|
---|
| 4605 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 4606 | /* end confdefs.h. */
|
---|
| 4607 |
|
---|
| 4608 | int
|
---|
| 4609 | main ()
|
---|
| 4610 | {
|
---|
| 4611 |
|
---|
| 4612 | ;
|
---|
| 4613 | return 0;
|
---|
| 4614 | }
|
---|
| 4615 | _ACEOF
|
---|
| 4616 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 4617 | ac_cv_prog_cc_g=yes
|
---|
| 4618 | fi
|
---|
| 4619 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 4620 | fi
|
---|
| 4621 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 4622 | fi
|
---|
| 4623 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 4624 | ac_c_werror_flag=$ac_save_c_werror_flag
|
---|
| 4625 | fi
|
---|
| 4626 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
---|
| 4627 | $as_echo "$ac_cv_prog_cc_g" >&6; }
|
---|
| 4628 | if test "$ac_test_CFLAGS" = set; then
|
---|
| 4629 | CFLAGS=$ac_save_CFLAGS
|
---|
| 4630 | elif test $ac_cv_prog_cc_g = yes; then
|
---|
| 4631 | if test "$GCC" = yes; then
|
---|
| 4632 | CFLAGS="-g -O2"
|
---|
| 4633 | else
|
---|
| 4634 | CFLAGS="-g"
|
---|
| 4635 | fi
|
---|
| 4636 | else
|
---|
| 4637 | if test "$GCC" = yes; then
|
---|
| 4638 | CFLAGS="-O2"
|
---|
| 4639 | else
|
---|
| 4640 | CFLAGS=
|
---|
| 4641 | fi
|
---|
| 4642 | fi
|
---|
| 4643 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
---|
| 4644 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
---|
| 4645 | if ${ac_cv_prog_cc_c89+:} false; then :
|
---|
| 4646 | $as_echo_n "(cached) " >&6
|
---|
| 4647 | else
|
---|
| 4648 | ac_cv_prog_cc_c89=no
|
---|
| 4649 | ac_save_CC=$CC
|
---|
| 4650 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 4651 | /* end confdefs.h. */
|
---|
| 4652 | #include <stdarg.h>
|
---|
| 4653 | #include <stdio.h>
|
---|
[44f44617] | 4654 | struct stat;
|
---|
[3b77289] | 4655 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
---|
| 4656 | struct buf { int x; };
|
---|
| 4657 | FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
---|
| 4658 | static char *e (p, i)
|
---|
| 4659 | char **p;
|
---|
| 4660 | int i;
|
---|
| 4661 | {
|
---|
| 4662 | return p[i];
|
---|
| 4663 | }
|
---|
| 4664 | static char *f (char * (*g) (char **, int), char **p, ...)
|
---|
| 4665 | {
|
---|
| 4666 | char *s;
|
---|
| 4667 | va_list v;
|
---|
| 4668 | va_start (v,p);
|
---|
| 4669 | s = g (p, va_arg (v,int));
|
---|
| 4670 | va_end (v);
|
---|
| 4671 | return s;
|
---|
| 4672 | }
|
---|
| 4673 |
|
---|
| 4674 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
---|
| 4675 | function prototypes and stuff, but not '\xHH' hex character constants.
|
---|
| 4676 | These don't provoke an error unfortunately, instead are silently treated
|
---|
| 4677 | as 'x'. The following induces an error, until -std is added to get
|
---|
| 4678 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
---|
| 4679 | array size at least. It's necessary to write '\x00'==0 to get something
|
---|
| 4680 | that's true only with -std. */
|
---|
| 4681 | int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
---|
| 4682 |
|
---|
| 4683 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
---|
| 4684 | inside strings and character constants. */
|
---|
| 4685 | #define FOO(x) 'x'
|
---|
| 4686 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
---|
| 4687 |
|
---|
| 4688 | int test (int i, double x);
|
---|
| 4689 | struct s1 {int (*f) (int a);};
|
---|
| 4690 | struct s2 {int (*f) (double a);};
|
---|
| 4691 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
---|
| 4692 | int argc;
|
---|
| 4693 | char **argv;
|
---|
| 4694 | int
|
---|
| 4695 | main ()
|
---|
| 4696 | {
|
---|
| 4697 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
---|
| 4698 | ;
|
---|
| 4699 | return 0;
|
---|
| 4700 | }
|
---|
| 4701 | _ACEOF
|
---|
| 4702 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
---|
| 4703 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
---|
| 4704 | do
|
---|
| 4705 | CC="$ac_save_CC $ac_arg"
|
---|
| 4706 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 4707 | ac_cv_prog_cc_c89=$ac_arg
|
---|
| 4708 | fi
|
---|
| 4709 | rm -f core conftest.err conftest.$ac_objext
|
---|
| 4710 | test "x$ac_cv_prog_cc_c89" != "xno" && break
|
---|
| 4711 | done
|
---|
| 4712 | rm -f conftest.$ac_ext
|
---|
| 4713 | CC=$ac_save_CC
|
---|
| 4714 |
|
---|
| 4715 | fi
|
---|
| 4716 | # AC_CACHE_VAL
|
---|
| 4717 | case "x$ac_cv_prog_cc_c89" in
|
---|
| 4718 | x)
|
---|
| 4719 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
---|
| 4720 | $as_echo "none needed" >&6; } ;;
|
---|
| 4721 | xno)
|
---|
| 4722 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
---|
| 4723 | $as_echo "unsupported" >&6; } ;;
|
---|
| 4724 | *)
|
---|
| 4725 | CC="$CC $ac_cv_prog_cc_c89"
|
---|
| 4726 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
---|
| 4727 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
---|
| 4728 | esac
|
---|
| 4729 | if test "x$ac_cv_prog_cc_c89" != xno; then :
|
---|
| 4730 |
|
---|
| 4731 | fi
|
---|
| 4732 |
|
---|
| 4733 | ac_ext=c
|
---|
| 4734 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 4735 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 4736 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 4737 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 4738 |
|
---|
[44f44617] | 4739 | ac_ext=c
|
---|
| 4740 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 4741 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 4742 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 4743 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 4744 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
|
---|
| 4745 | $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
|
---|
| 4746 | if ${am_cv_prog_cc_c_o+:} false; then :
|
---|
| 4747 | $as_echo_n "(cached) " >&6
|
---|
| 4748 | else
|
---|
| 4749 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 4750 | /* end confdefs.h. */
|
---|
| 4751 |
|
---|
| 4752 | int
|
---|
| 4753 | main ()
|
---|
| 4754 | {
|
---|
| 4755 |
|
---|
| 4756 | ;
|
---|
| 4757 | return 0;
|
---|
| 4758 | }
|
---|
| 4759 | _ACEOF
|
---|
| 4760 | # Make sure it works both with $CC and with simple cc.
|
---|
| 4761 | # Following AC_PROG_CC_C_O, we do the test twice because some
|
---|
| 4762 | # compilers refuse to overwrite an existing .o file with -o,
|
---|
| 4763 | # though they will create one.
|
---|
| 4764 | am_cv_prog_cc_c_o=yes
|
---|
| 4765 | for am_i in 1 2; do
|
---|
| 4766 | if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
|
---|
| 4767 | ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
|
---|
| 4768 | ac_status=$?
|
---|
| 4769 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4770 | (exit $ac_status); } \
|
---|
| 4771 | && test -f conftest2.$ac_objext; then
|
---|
| 4772 | : OK
|
---|
| 4773 | else
|
---|
| 4774 | am_cv_prog_cc_c_o=no
|
---|
| 4775 | break
|
---|
| 4776 | fi
|
---|
| 4777 | done
|
---|
| 4778 | rm -f core conftest*
|
---|
| 4779 | unset am_i
|
---|
| 4780 | fi
|
---|
| 4781 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
|
---|
| 4782 | $as_echo "$am_cv_prog_cc_c_o" >&6; }
|
---|
| 4783 | if test "$am_cv_prog_cc_c_o" != yes; then
|
---|
| 4784 | # Losing compiler, so override with the script.
|
---|
| 4785 | # FIXME: It is wrong to rewrite CC.
|
---|
| 4786 | # But if we don't then we get into trouble of one sort or another.
|
---|
| 4787 | # A longer-term fix would be to have automake use am__CC in this case,
|
---|
| 4788 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
|
---|
| 4789 | CC="$am_aux_dir/compile $CC"
|
---|
| 4790 | fi
|
---|
| 4791 | ac_ext=c
|
---|
| 4792 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 4793 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 4794 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 4795 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 4796 |
|
---|
| 4797 |
|
---|
[3b77289] | 4798 | depcc="$CC" am_compiler_list=
|
---|
| 4799 |
|
---|
| 4800 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
---|
| 4801 | $as_echo_n "checking dependency style of $depcc... " >&6; }
|
---|
| 4802 | if ${am_cv_CC_dependencies_compiler_type+:} false; then :
|
---|
| 4803 | $as_echo_n "(cached) " >&6
|
---|
| 4804 | else
|
---|
| 4805 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
---|
| 4806 | # We make a subdir and do the tests there. Otherwise we can end up
|
---|
| 4807 | # making bogus files that we don't know about and never remove. For
|
---|
| 4808 | # instance it was reported that on HP-UX the gcc test will end up
|
---|
[44f44617] | 4809 | # making a dummy file named 'D' -- because '-MD' means "put the output
|
---|
| 4810 | # in D".
|
---|
[3b77289] | 4811 | rm -rf conftest.dir
|
---|
| 4812 | mkdir conftest.dir
|
---|
| 4813 | # Copy depcomp to subdir because otherwise we won't find it if we're
|
---|
| 4814 | # using a relative directory.
|
---|
| 4815 | cp "$am_depcomp" conftest.dir
|
---|
| 4816 | cd conftest.dir
|
---|
| 4817 | # We will build objects and dependencies in a subdirectory because
|
---|
| 4818 | # it helps to detect inapplicable dependency modes. For instance
|
---|
| 4819 | # both Tru64's cc and ICC support -MD to output dependencies as a
|
---|
| 4820 | # side effect of compilation, but ICC will put the dependencies in
|
---|
| 4821 | # the current directory while Tru64 will put them in the object
|
---|
| 4822 | # directory.
|
---|
| 4823 | mkdir sub
|
---|
| 4824 |
|
---|
| 4825 | am_cv_CC_dependencies_compiler_type=none
|
---|
| 4826 | if test "$am_compiler_list" = ""; then
|
---|
| 4827 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
---|
| 4828 | fi
|
---|
| 4829 | am__universal=false
|
---|
| 4830 | case " $depcc " in #(
|
---|
| 4831 | *\ -arch\ *\ -arch\ *) am__universal=true ;;
|
---|
| 4832 | esac
|
---|
| 4833 |
|
---|
| 4834 | for depmode in $am_compiler_list; do
|
---|
| 4835 | # Setup a source with many dependencies, because some compilers
|
---|
| 4836 | # like to wrap large dependency lists on column 80 (with \), and
|
---|
| 4837 | # we should not choose a depcomp mode which is confused by this.
|
---|
| 4838 | #
|
---|
| 4839 | # We need to recreate these files for each test, as the compiler may
|
---|
| 4840 | # overwrite some of them when testing with obscure command lines.
|
---|
| 4841 | # This happens at least with the AIX C compiler.
|
---|
| 4842 | : > sub/conftest.c
|
---|
| 4843 | for i in 1 2 3 4 5 6; do
|
---|
| 4844 | echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
---|
[44f44617] | 4845 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
|
---|
| 4846 | # Solaris 10 /bin/sh.
|
---|
| 4847 | echo '/* dummy */' > sub/conftst$i.h
|
---|
[3b77289] | 4848 | done
|
---|
| 4849 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
---|
| 4850 |
|
---|
[44f44617] | 4851 | # We check with '-c' and '-o' for the sake of the "dashmstdout"
|
---|
[3b77289] | 4852 | # mode. It turns out that the SunPro C++ compiler does not properly
|
---|
[44f44617] | 4853 | # handle '-M -o', and we need to detect this. Also, some Intel
|
---|
| 4854 | # versions had trouble with output in subdirs.
|
---|
[3b77289] | 4855 | am__obj=sub/conftest.${OBJEXT-o}
|
---|
| 4856 | am__minus_obj="-o $am__obj"
|
---|
| 4857 | case $depmode in
|
---|
| 4858 | gcc)
|
---|
| 4859 | # This depmode causes a compiler race in universal mode.
|
---|
| 4860 | test "$am__universal" = false || continue
|
---|
| 4861 | ;;
|
---|
| 4862 | nosideeffect)
|
---|
[44f44617] | 4863 | # After this tag, mechanisms are not by side-effect, so they'll
|
---|
| 4864 | # only be used when explicitly requested.
|
---|
[3b77289] | 4865 | if test "x$enable_dependency_tracking" = xyes; then
|
---|
| 4866 | continue
|
---|
| 4867 | else
|
---|
| 4868 | break
|
---|
| 4869 | fi
|
---|
| 4870 | ;;
|
---|
| 4871 | msvc7 | msvc7msys | msvisualcpp | msvcmsys)
|
---|
[44f44617] | 4872 | # This compiler won't grok '-c -o', but also, the minuso test has
|
---|
[3b77289] | 4873 | # not run yet. These depmodes are late enough in the game, and
|
---|
| 4874 | # so weak that their functioning should not be impacted.
|
---|
| 4875 | am__obj=conftest.${OBJEXT-o}
|
---|
| 4876 | am__minus_obj=
|
---|
| 4877 | ;;
|
---|
| 4878 | none) break ;;
|
---|
| 4879 | esac
|
---|
| 4880 | if depmode=$depmode \
|
---|
| 4881 | source=sub/conftest.c object=$am__obj \
|
---|
| 4882 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
---|
| 4883 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
|
---|
| 4884 | >/dev/null 2>conftest.err &&
|
---|
| 4885 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
---|
| 4886 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
---|
| 4887 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
|
---|
| 4888 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
---|
| 4889 | # icc doesn't choke on unknown options, it will just issue warnings
|
---|
| 4890 | # or remarks (even with -Werror). So we grep stderr for any message
|
---|
| 4891 | # that says an option was ignored or not supported.
|
---|
| 4892 | # When given -MP, icc 7.0 and 7.1 complain thusly:
|
---|
| 4893 | # icc: Command line warning: ignoring option '-M'; no argument required
|
---|
| 4894 | # The diagnosis changed in icc 8.0:
|
---|
| 4895 | # icc: Command line remark: option '-MP' not supported
|
---|
| 4896 | if (grep 'ignoring option' conftest.err ||
|
---|
| 4897 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
---|
| 4898 | am_cv_CC_dependencies_compiler_type=$depmode
|
---|
| 4899 | break
|
---|
| 4900 | fi
|
---|
| 4901 | fi
|
---|
| 4902 | done
|
---|
| 4903 |
|
---|
| 4904 | cd ..
|
---|
| 4905 | rm -rf conftest.dir
|
---|
| 4906 | else
|
---|
| 4907 | am_cv_CC_dependencies_compiler_type=none
|
---|
| 4908 | fi
|
---|
| 4909 |
|
---|
| 4910 | fi
|
---|
| 4911 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
|
---|
| 4912 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
|
---|
| 4913 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
---|
| 4914 |
|
---|
| 4915 | if
|
---|
| 4916 | test "x$enable_dependency_tracking" != xno \
|
---|
| 4917 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
|
---|
| 4918 | am__fastdepCC_TRUE=
|
---|
| 4919 | am__fastdepCC_FALSE='#'
|
---|
| 4920 | else
|
---|
| 4921 | am__fastdepCC_TRUE='#'
|
---|
| 4922 | am__fastdepCC_FALSE=
|
---|
| 4923 | fi
|
---|
| 4924 |
|
---|
| 4925 |
|
---|
[8e5724e] | 4926 | # By default we simply use the C compiler to build assembly code.
|
---|
| 4927 |
|
---|
| 4928 | test "${CCAS+set}" = set || CCAS=$CC
|
---|
| 4929 | test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
|
---|
| 4930 |
|
---|
| 4931 |
|
---|
| 4932 |
|
---|
| 4933 | depcc="$CCAS" am_compiler_list=
|
---|
| 4934 |
|
---|
| 4935 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
---|
| 4936 | $as_echo_n "checking dependency style of $depcc... " >&6; }
|
---|
| 4937 | if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
|
---|
| 4938 | $as_echo_n "(cached) " >&6
|
---|
| 4939 | else
|
---|
| 4940 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
---|
| 4941 | # We make a subdir and do the tests there. Otherwise we can end up
|
---|
| 4942 | # making bogus files that we don't know about and never remove. For
|
---|
| 4943 | # instance it was reported that on HP-UX the gcc test will end up
|
---|
[44f44617] | 4944 | # making a dummy file named 'D' -- because '-MD' means "put the output
|
---|
| 4945 | # in D".
|
---|
[8e5724e] | 4946 | rm -rf conftest.dir
|
---|
| 4947 | mkdir conftest.dir
|
---|
| 4948 | # Copy depcomp to subdir because otherwise we won't find it if we're
|
---|
| 4949 | # using a relative directory.
|
---|
| 4950 | cp "$am_depcomp" conftest.dir
|
---|
| 4951 | cd conftest.dir
|
---|
| 4952 | # We will build objects and dependencies in a subdirectory because
|
---|
| 4953 | # it helps to detect inapplicable dependency modes. For instance
|
---|
| 4954 | # both Tru64's cc and ICC support -MD to output dependencies as a
|
---|
| 4955 | # side effect of compilation, but ICC will put the dependencies in
|
---|
| 4956 | # the current directory while Tru64 will put them in the object
|
---|
| 4957 | # directory.
|
---|
| 4958 | mkdir sub
|
---|
| 4959 |
|
---|
| 4960 | am_cv_CCAS_dependencies_compiler_type=none
|
---|
| 4961 | if test "$am_compiler_list" = ""; then
|
---|
| 4962 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
---|
| 4963 | fi
|
---|
| 4964 | am__universal=false
|
---|
| 4965 |
|
---|
| 4966 |
|
---|
| 4967 | for depmode in $am_compiler_list; do
|
---|
| 4968 | # Setup a source with many dependencies, because some compilers
|
---|
| 4969 | # like to wrap large dependency lists on column 80 (with \), and
|
---|
| 4970 | # we should not choose a depcomp mode which is confused by this.
|
---|
| 4971 | #
|
---|
| 4972 | # We need to recreate these files for each test, as the compiler may
|
---|
| 4973 | # overwrite some of them when testing with obscure command lines.
|
---|
| 4974 | # This happens at least with the AIX C compiler.
|
---|
| 4975 | : > sub/conftest.c
|
---|
| 4976 | for i in 1 2 3 4 5 6; do
|
---|
| 4977 | echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
---|
[44f44617] | 4978 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
|
---|
| 4979 | # Solaris 10 /bin/sh.
|
---|
| 4980 | echo '/* dummy */' > sub/conftst$i.h
|
---|
[8e5724e] | 4981 | done
|
---|
| 4982 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
---|
| 4983 |
|
---|
[44f44617] | 4984 | # We check with '-c' and '-o' for the sake of the "dashmstdout"
|
---|
[8e5724e] | 4985 | # mode. It turns out that the SunPro C++ compiler does not properly
|
---|
[44f44617] | 4986 | # handle '-M -o', and we need to detect this. Also, some Intel
|
---|
| 4987 | # versions had trouble with output in subdirs.
|
---|
[8e5724e] | 4988 | am__obj=sub/conftest.${OBJEXT-o}
|
---|
| 4989 | am__minus_obj="-o $am__obj"
|
---|
| 4990 | case $depmode in
|
---|
| 4991 | gcc)
|
---|
| 4992 | # This depmode causes a compiler race in universal mode.
|
---|
| 4993 | test "$am__universal" = false || continue
|
---|
| 4994 | ;;
|
---|
| 4995 | nosideeffect)
|
---|
[44f44617] | 4996 | # After this tag, mechanisms are not by side-effect, so they'll
|
---|
| 4997 | # only be used when explicitly requested.
|
---|
[8e5724e] | 4998 | if test "x$enable_dependency_tracking" = xyes; then
|
---|
| 4999 | continue
|
---|
| 5000 | else
|
---|
| 5001 | break
|
---|
| 5002 | fi
|
---|
| 5003 | ;;
|
---|
| 5004 | msvc7 | msvc7msys | msvisualcpp | msvcmsys)
|
---|
[44f44617] | 5005 | # This compiler won't grok '-c -o', but also, the minuso test has
|
---|
[8e5724e] | 5006 | # not run yet. These depmodes are late enough in the game, and
|
---|
| 5007 | # so weak that their functioning should not be impacted.
|
---|
| 5008 | am__obj=conftest.${OBJEXT-o}
|
---|
| 5009 | am__minus_obj=
|
---|
| 5010 | ;;
|
---|
| 5011 | none) break ;;
|
---|
| 5012 | esac
|
---|
| 5013 | if depmode=$depmode \
|
---|
| 5014 | source=sub/conftest.c object=$am__obj \
|
---|
| 5015 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
---|
| 5016 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
|
---|
| 5017 | >/dev/null 2>conftest.err &&
|
---|
| 5018 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
---|
| 5019 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
---|
| 5020 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
|
---|
| 5021 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
---|
| 5022 | # icc doesn't choke on unknown options, it will just issue warnings
|
---|
| 5023 | # or remarks (even with -Werror). So we grep stderr for any message
|
---|
| 5024 | # that says an option was ignored or not supported.
|
---|
| 5025 | # When given -MP, icc 7.0 and 7.1 complain thusly:
|
---|
| 5026 | # icc: Command line warning: ignoring option '-M'; no argument required
|
---|
| 5027 | # The diagnosis changed in icc 8.0:
|
---|
| 5028 | # icc: Command line remark: option '-MP' not supported
|
---|
| 5029 | if (grep 'ignoring option' conftest.err ||
|
---|
| 5030 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
---|
| 5031 | am_cv_CCAS_dependencies_compiler_type=$depmode
|
---|
| 5032 | break
|
---|
| 5033 | fi
|
---|
| 5034 | fi
|
---|
| 5035 | done
|
---|
| 5036 |
|
---|
| 5037 | cd ..
|
---|
| 5038 | rm -rf conftest.dir
|
---|
| 5039 | else
|
---|
| 5040 | am_cv_CCAS_dependencies_compiler_type=none
|
---|
| 5041 | fi
|
---|
| 5042 |
|
---|
| 5043 | fi
|
---|
| 5044 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
|
---|
| 5045 | $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
|
---|
| 5046 | CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
|
---|
| 5047 |
|
---|
| 5048 | if
|
---|
| 5049 | test "x$enable_dependency_tracking" != xno \
|
---|
| 5050 | && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
|
---|
| 5051 | am__fastdepCCAS_TRUE=
|
---|
| 5052 | am__fastdepCCAS_FALSE='#'
|
---|
| 5053 | else
|
---|
| 5054 | am__fastdepCCAS_TRUE='#'
|
---|
| 5055 | am__fastdepCCAS_FALSE=
|
---|
| 5056 | fi
|
---|
| 5057 |
|
---|
| 5058 |
|
---|
[00cc023] | 5059 | # deprecated
|
---|
[c3a4385] | 5060 | # These are often not installed and people miss seeing the "no", so stop the configure.
|
---|
[56c3935] | 5061 | for ac_prog in 'bison -y' byacc
|
---|
| 5062 | do
|
---|
| 5063 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 5064 | set dummy $ac_prog; ac_word=$2
|
---|
| 5065 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 5066 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 5067 | if ${ac_cv_prog_YACC+:} false; then :
|
---|
| 5068 | $as_echo_n "(cached) " >&6
|
---|
| 5069 | else
|
---|
| 5070 | if test -n "$YACC"; then
|
---|
| 5071 | ac_cv_prog_YACC="$YACC" # Let the user override the test.
|
---|
| 5072 | else
|
---|
| 5073 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 5074 | for as_dir in $PATH
|
---|
| 5075 | do
|
---|
| 5076 | IFS=$as_save_IFS
|
---|
| 5077 | test -z "$as_dir" && as_dir=.
|
---|
| 5078 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[44f44617] | 5079 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[56c3935] | 5080 | ac_cv_prog_YACC="$ac_prog"
|
---|
| 5081 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 5082 | break 2
|
---|
| 5083 | fi
|
---|
| 5084 | done
|
---|
| 5085 | done
|
---|
| 5086 | IFS=$as_save_IFS
|
---|
| 5087 |
|
---|
| 5088 | fi
|
---|
| 5089 | fi
|
---|
| 5090 | YACC=$ac_cv_prog_YACC
|
---|
| 5091 | if test -n "$YACC"; then
|
---|
| 5092 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
|
---|
| 5093 | $as_echo "$YACC" >&6; }
|
---|
| 5094 | else
|
---|
| 5095 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 5096 | $as_echo "no" >&6; }
|
---|
| 5097 | fi
|
---|
| 5098 |
|
---|
| 5099 |
|
---|
| 5100 | test -n "$YACC" && break
|
---|
| 5101 | done
|
---|
| 5102 | test -n "$YACC" || YACC="yacc"
|
---|
| 5103 |
|
---|
[c3a4385] | 5104 | if test "${YACC}" = "yacc" ; then echo "Error: bison required." ; exit 1 ; fi
|
---|
[56c3935] | 5105 |
|
---|
| 5106 | for ac_prog in flex lex
|
---|
| 5107 | do
|
---|
| 5108 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 5109 | set dummy $ac_prog; ac_word=$2
|
---|
| 5110 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 5111 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 5112 | if ${ac_cv_prog_LEX+:} false; then :
|
---|
| 5113 | $as_echo_n "(cached) " >&6
|
---|
| 5114 | else
|
---|
| 5115 | if test -n "$LEX"; then
|
---|
| 5116 | ac_cv_prog_LEX="$LEX" # Let the user override the test.
|
---|
| 5117 | else
|
---|
| 5118 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 5119 | for as_dir in $PATH
|
---|
| 5120 | do
|
---|
| 5121 | IFS=$as_save_IFS
|
---|
| 5122 | test -z "$as_dir" && as_dir=.
|
---|
| 5123 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[44f44617] | 5124 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[56c3935] | 5125 | ac_cv_prog_LEX="$ac_prog"
|
---|
| 5126 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 5127 | break 2
|
---|
| 5128 | fi
|
---|
| 5129 | done
|
---|
| 5130 | done
|
---|
| 5131 | IFS=$as_save_IFS
|
---|
| 5132 |
|
---|
| 5133 | fi
|
---|
| 5134 | fi
|
---|
| 5135 | LEX=$ac_cv_prog_LEX
|
---|
| 5136 | if test -n "$LEX"; then
|
---|
| 5137 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
|
---|
| 5138 | $as_echo "$LEX" >&6; }
|
---|
| 5139 | else
|
---|
| 5140 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 5141 | $as_echo "no" >&6; }
|
---|
| 5142 | fi
|
---|
| 5143 |
|
---|
| 5144 |
|
---|
| 5145 | test -n "$LEX" && break
|
---|
| 5146 | done
|
---|
| 5147 | test -n "$LEX" || LEX=":"
|
---|
| 5148 |
|
---|
| 5149 | if test "x$LEX" != "x:"; then
|
---|
| 5150 | cat >conftest.l <<_ACEOF
|
---|
| 5151 | %%
|
---|
| 5152 | a { ECHO; }
|
---|
| 5153 | b { REJECT; }
|
---|
| 5154 | c { yymore (); }
|
---|
| 5155 | d { yyless (1); }
|
---|
[44f44617] | 5156 | e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
|
---|
| 5157 | yyless ((input () != 0)); }
|
---|
[56c3935] | 5158 | f { unput (yytext[0]); }
|
---|
| 5159 | . { BEGIN INITIAL; }
|
---|
| 5160 | %%
|
---|
| 5161 | #ifdef YYTEXT_POINTER
|
---|
| 5162 | extern char *yytext;
|
---|
| 5163 | #endif
|
---|
| 5164 | int
|
---|
| 5165 | main (void)
|
---|
| 5166 | {
|
---|
| 5167 | return ! yylex () + ! yywrap ();
|
---|
| 5168 | }
|
---|
| 5169 | _ACEOF
|
---|
| 5170 | { { ac_try="$LEX conftest.l"
|
---|
| 5171 | case "(($ac_try" in
|
---|
| 5172 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5173 | *) ac_try_echo=$ac_try;;
|
---|
| 5174 | esac
|
---|
| 5175 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 5176 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 5177 | (eval "$LEX conftest.l") 2>&5
|
---|
| 5178 | ac_status=$?
|
---|
| 5179 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 5180 | test $ac_status = 0; }
|
---|
| 5181 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
|
---|
| 5182 | $as_echo_n "checking lex output file root... " >&6; }
|
---|
| 5183 | if ${ac_cv_prog_lex_root+:} false; then :
|
---|
| 5184 | $as_echo_n "(cached) " >&6
|
---|
| 5185 | else
|
---|
| 5186 |
|
---|
| 5187 | if test -f lex.yy.c; then
|
---|
| 5188 | ac_cv_prog_lex_root=lex.yy
|
---|
| 5189 | elif test -f lexyy.c; then
|
---|
| 5190 | ac_cv_prog_lex_root=lexyy
|
---|
| 5191 | else
|
---|
| 5192 | as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
|
---|
| 5193 | fi
|
---|
| 5194 | fi
|
---|
| 5195 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
|
---|
| 5196 | $as_echo "$ac_cv_prog_lex_root" >&6; }
|
---|
| 5197 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
|
---|
| 5198 |
|
---|
| 5199 | if test -z "${LEXLIB+set}"; then
|
---|
| 5200 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
|
---|
| 5201 | $as_echo_n "checking lex library... " >&6; }
|
---|
| 5202 | if ${ac_cv_lib_lex+:} false; then :
|
---|
| 5203 | $as_echo_n "(cached) " >&6
|
---|
| 5204 | else
|
---|
| 5205 |
|
---|
| 5206 | ac_save_LIBS=$LIBS
|
---|
| 5207 | ac_cv_lib_lex='none needed'
|
---|
| 5208 | for ac_lib in '' -lfl -ll; do
|
---|
| 5209 | LIBS="$ac_lib $ac_save_LIBS"
|
---|
| 5210 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 5211 | /* end confdefs.h. */
|
---|
| 5212 | `cat $LEX_OUTPUT_ROOT.c`
|
---|
| 5213 | _ACEOF
|
---|
| 5214 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
| 5215 | ac_cv_lib_lex=$ac_lib
|
---|
| 5216 | fi
|
---|
| 5217 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5218 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 5219 | test "$ac_cv_lib_lex" != 'none needed' && break
|
---|
| 5220 | done
|
---|
| 5221 | LIBS=$ac_save_LIBS
|
---|
| 5222 |
|
---|
| 5223 | fi
|
---|
| 5224 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
|
---|
| 5225 | $as_echo "$ac_cv_lib_lex" >&6; }
|
---|
| 5226 | test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
|
---|
| 5227 | fi
|
---|
| 5228 |
|
---|
| 5229 |
|
---|
| 5230 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
|
---|
| 5231 | $as_echo_n "checking whether yytext is a pointer... " >&6; }
|
---|
| 5232 | if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
|
---|
| 5233 | $as_echo_n "(cached) " >&6
|
---|
| 5234 | else
|
---|
| 5235 | # POSIX says lex can declare yytext either as a pointer or an array; the
|
---|
| 5236 | # default is implementation-dependent. Figure out which it is, since
|
---|
| 5237 | # not all implementations provide the %pointer and %array declarations.
|
---|
| 5238 | ac_cv_prog_lex_yytext_pointer=no
|
---|
| 5239 | ac_save_LIBS=$LIBS
|
---|
| 5240 | LIBS="$LEXLIB $ac_save_LIBS"
|
---|
| 5241 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 5242 | /* end confdefs.h. */
|
---|
| 5243 |
|
---|
| 5244 | #define YYTEXT_POINTER 1
|
---|
| 5245 | `cat $LEX_OUTPUT_ROOT.c`
|
---|
| 5246 | _ACEOF
|
---|
| 5247 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
| 5248 | ac_cv_prog_lex_yytext_pointer=yes
|
---|
| 5249 | fi
|
---|
| 5250 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5251 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 5252 | LIBS=$ac_save_LIBS
|
---|
| 5253 |
|
---|
| 5254 | fi
|
---|
| 5255 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
|
---|
| 5256 | $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
|
---|
| 5257 | if test $ac_cv_prog_lex_yytext_pointer = yes; then
|
---|
| 5258 |
|
---|
| 5259 | $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
|
---|
| 5260 |
|
---|
| 5261 | fi
|
---|
| 5262 | rm -f conftest.l $LEX_OUTPUT_ROOT.c
|
---|
| 5263 |
|
---|
| 5264 | fi
|
---|
[c3a4385] | 5265 | if test "${LEX}" = "lex" ; then echo "Error: flex required." ; exit 1 ; fi
|
---|
[3b77289] | 5266 |
|
---|
| 5267 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
---|
| 5268 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
---|
| 5269 | set x ${MAKE-make}
|
---|
| 5270 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
---|
| 5271 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
|
---|
| 5272 | $as_echo_n "(cached) " >&6
|
---|
| 5273 | else
|
---|
| 5274 | cat >conftest.make <<\_ACEOF
|
---|
| 5275 | SHELL = /bin/sh
|
---|
| 5276 | all:
|
---|
| 5277 | @echo '@@@%%%=$(MAKE)=@@@%%%'
|
---|
| 5278 | _ACEOF
|
---|
| 5279 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
|
---|
| 5280 | case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
---|
| 5281 | *@@@%%%=?*=@@@%%%*)
|
---|
| 5282 | eval ac_cv_prog_make_${ac_make}_set=yes;;
|
---|
| 5283 | *)
|
---|
| 5284 | eval ac_cv_prog_make_${ac_make}_set=no;;
|
---|
| 5285 | esac
|
---|
| 5286 | rm -f conftest.make
|
---|
| 5287 | fi
|
---|
| 5288 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
---|
| 5289 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 5290 | $as_echo "yes" >&6; }
|
---|
| 5291 | SET_MAKE=
|
---|
| 5292 | else
|
---|
| 5293 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 5294 | $as_echo "no" >&6; }
|
---|
| 5295 | SET_MAKE="MAKE=${MAKE-make}"
|
---|
| 5296 | fi
|
---|
| 5297 |
|
---|
[00cc023] | 5298 | if test -n "$ac_tool_prefix"; then
|
---|
| 5299 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
---|
| 5300 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
---|
| 5301 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 5302 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 5303 | if ${ac_cv_prog_RANLIB+:} false; then :
|
---|
| 5304 | $as_echo_n "(cached) " >&6
|
---|
| 5305 | else
|
---|
| 5306 | if test -n "$RANLIB"; then
|
---|
| 5307 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
---|
| 5308 | else
|
---|
| 5309 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 5310 | for as_dir in $PATH
|
---|
| 5311 | do
|
---|
| 5312 | IFS=$as_save_IFS
|
---|
| 5313 | test -z "$as_dir" && as_dir=.
|
---|
| 5314 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[44f44617] | 5315 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[00cc023] | 5316 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
---|
| 5317 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 5318 | break 2
|
---|
| 5319 | fi
|
---|
| 5320 | done
|
---|
| 5321 | done
|
---|
| 5322 | IFS=$as_save_IFS
|
---|
| 5323 |
|
---|
| 5324 | fi
|
---|
| 5325 | fi
|
---|
| 5326 | RANLIB=$ac_cv_prog_RANLIB
|
---|
| 5327 | if test -n "$RANLIB"; then
|
---|
| 5328 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
|
---|
| 5329 | $as_echo "$RANLIB" >&6; }
|
---|
| 5330 | else
|
---|
| 5331 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 5332 | $as_echo "no" >&6; }
|
---|
| 5333 | fi
|
---|
| 5334 |
|
---|
| 5335 |
|
---|
| 5336 | fi
|
---|
| 5337 | if test -z "$ac_cv_prog_RANLIB"; then
|
---|
| 5338 | ac_ct_RANLIB=$RANLIB
|
---|
| 5339 | # Extract the first word of "ranlib", so it can be a program name with args.
|
---|
| 5340 | set dummy ranlib; ac_word=$2
|
---|
| 5341 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 5342 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 5343 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
|
---|
| 5344 | $as_echo_n "(cached) " >&6
|
---|
| 5345 | else
|
---|
| 5346 | if test -n "$ac_ct_RANLIB"; then
|
---|
| 5347 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
---|
| 5348 | else
|
---|
| 5349 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 5350 | for as_dir in $PATH
|
---|
| 5351 | do
|
---|
| 5352 | IFS=$as_save_IFS
|
---|
| 5353 | test -z "$as_dir" && as_dir=.
|
---|
| 5354 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[44f44617] | 5355 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[00cc023] | 5356 | ac_cv_prog_ac_ct_RANLIB="ranlib"
|
---|
| 5357 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 5358 | break 2
|
---|
| 5359 | fi
|
---|
| 5360 | done
|
---|
| 5361 | done
|
---|
| 5362 | IFS=$as_save_IFS
|
---|
| 5363 |
|
---|
| 5364 | fi
|
---|
| 5365 | fi
|
---|
| 5366 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
---|
| 5367 | if test -n "$ac_ct_RANLIB"; then
|
---|
| 5368 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
|
---|
| 5369 | $as_echo "$ac_ct_RANLIB" >&6; }
|
---|
| 5370 | else
|
---|
| 5371 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 5372 | $as_echo "no" >&6; }
|
---|
| 5373 | fi
|
---|
| 5374 |
|
---|
| 5375 | if test "x$ac_ct_RANLIB" = x; then
|
---|
| 5376 | RANLIB=":"
|
---|
| 5377 | else
|
---|
| 5378 | case $cross_compiling:$ac_tool_warned in
|
---|
| 5379 | yes:)
|
---|
| 5380 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
| 5381 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 5382 | ac_tool_warned=yes ;;
|
---|
| 5383 | esac
|
---|
| 5384 | RANLIB=$ac_ct_RANLIB
|
---|
| 5385 | fi
|
---|
| 5386 | else
|
---|
| 5387 | RANLIB="$ac_cv_prog_RANLIB"
|
---|
| 5388 | fi
|
---|
| 5389 |
|
---|
[3b77289] | 5390 |
|
---|
[5d6ce1f] | 5391 | # Checks for libraries.
|
---|
[3b77289] | 5392 |
|
---|
[5d6ce1f] | 5393 | # Checks for header files.
|
---|
[3b77289] | 5394 | ac_ext=c
|
---|
| 5395 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 5396 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 5397 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 5398 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 5399 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
---|
| 5400 | $as_echo_n "checking how to run the C preprocessor... " >&6; }
|
---|
| 5401 | # On Suns, sometimes $CPP names a directory.
|
---|
| 5402 | if test -n "$CPP" && test -d "$CPP"; then
|
---|
| 5403 | CPP=
|
---|
| 5404 | fi
|
---|
| 5405 | if test -z "$CPP"; then
|
---|
| 5406 | if ${ac_cv_prog_CPP+:} false; then :
|
---|
| 5407 | $as_echo_n "(cached) " >&6
|
---|
| 5408 | else
|
---|
| 5409 | # Double quotes because CPP needs to be expanded
|
---|
| 5410 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
---|
| 5411 | do
|
---|
| 5412 | ac_preproc_ok=false
|
---|
| 5413 | for ac_c_preproc_warn_flag in '' yes
|
---|
| 5414 | do
|
---|
| 5415 | # Use a header file that comes with gcc, so configuring glibc
|
---|
| 5416 | # with a fresh cross-compiler works.
|
---|
| 5417 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 5418 | # <limits.h> exists even on freestanding compilers.
|
---|
| 5419 | # On the NeXT, cc -E runs the code through the compiler's parser,
|
---|
| 5420 | # not just through cpp. "Syntax error" is here to catch this case.
|
---|
| 5421 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 5422 | /* end confdefs.h. */
|
---|
| 5423 | #ifdef __STDC__
|
---|
| 5424 | # include <limits.h>
|
---|
| 5425 | #else
|
---|
| 5426 | # include <assert.h>
|
---|
| 5427 | #endif
|
---|
| 5428 | Syntax error
|
---|
| 5429 | _ACEOF
|
---|
| 5430 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
| 5431 |
|
---|
| 5432 | else
|
---|
| 5433 | # Broken: fails on valid input.
|
---|
| 5434 | continue
|
---|
| 5435 | fi
|
---|
| 5436 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
| 5437 |
|
---|
| 5438 | # OK, works on sane cases. Now check whether nonexistent headers
|
---|
| 5439 | # can be detected and how.
|
---|
| 5440 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 5441 | /* end confdefs.h. */
|
---|
| 5442 | #include <ac_nonexistent.h>
|
---|
| 5443 | _ACEOF
|
---|
| 5444 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
| 5445 | # Broken: success on invalid input.
|
---|
| 5446 | continue
|
---|
| 5447 | else
|
---|
| 5448 | # Passes both tests.
|
---|
| 5449 | ac_preproc_ok=:
|
---|
| 5450 | break
|
---|
| 5451 | fi
|
---|
| 5452 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
| 5453 |
|
---|
| 5454 | done
|
---|
| 5455 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
---|
| 5456 | rm -f conftest.i conftest.err conftest.$ac_ext
|
---|
| 5457 | if $ac_preproc_ok; then :
|
---|
| 5458 | break
|
---|
| 5459 | fi
|
---|
| 5460 |
|
---|
| 5461 | done
|
---|
| 5462 | ac_cv_prog_CPP=$CPP
|
---|
| 5463 |
|
---|
| 5464 | fi
|
---|
| 5465 | CPP=$ac_cv_prog_CPP
|
---|
| 5466 | else
|
---|
| 5467 | ac_cv_prog_CPP=$CPP
|
---|
| 5468 | fi
|
---|
| 5469 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
---|
| 5470 | $as_echo "$CPP" >&6; }
|
---|
| 5471 | ac_preproc_ok=false
|
---|
| 5472 | for ac_c_preproc_warn_flag in '' yes
|
---|
| 5473 | do
|
---|
| 5474 | # Use a header file that comes with gcc, so configuring glibc
|
---|
| 5475 | # with a fresh cross-compiler works.
|
---|
| 5476 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 5477 | # <limits.h> exists even on freestanding compilers.
|
---|
| 5478 | # On the NeXT, cc -E runs the code through the compiler's parser,
|
---|
| 5479 | # not just through cpp. "Syntax error" is here to catch this case.
|
---|
| 5480 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 5481 | /* end confdefs.h. */
|
---|
| 5482 | #ifdef __STDC__
|
---|
| 5483 | # include <limits.h>
|
---|
| 5484 | #else
|
---|
| 5485 | # include <assert.h>
|
---|
| 5486 | #endif
|
---|
| 5487 | Syntax error
|
---|
| 5488 | _ACEOF
|
---|
| 5489 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
| 5490 |
|
---|
| 5491 | else
|
---|
| 5492 | # Broken: fails on valid input.
|
---|
| 5493 | continue
|
---|
| 5494 | fi
|
---|
| 5495 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
| 5496 |
|
---|
| 5497 | # OK, works on sane cases. Now check whether nonexistent headers
|
---|
| 5498 | # can be detected and how.
|
---|
| 5499 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 5500 | /* end confdefs.h. */
|
---|
| 5501 | #include <ac_nonexistent.h>
|
---|
| 5502 | _ACEOF
|
---|
| 5503 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
| 5504 | # Broken: success on invalid input.
|
---|
| 5505 | continue
|
---|
| 5506 | else
|
---|
| 5507 | # Passes both tests.
|
---|
| 5508 | ac_preproc_ok=:
|
---|
| 5509 | break
|
---|
| 5510 | fi
|
---|
| 5511 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
| 5512 |
|
---|
| 5513 | done
|
---|
| 5514 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
---|
| 5515 | rm -f conftest.i conftest.err conftest.$ac_ext
|
---|
| 5516 | if $ac_preproc_ok; then :
|
---|
| 5517 |
|
---|
| 5518 | else
|
---|
| 5519 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 5520 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 5521 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
|
---|
| 5522 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
| 5523 | fi
|
---|
| 5524 |
|
---|
| 5525 | ac_ext=c
|
---|
| 5526 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 5527 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 5528 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 5529 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 5530 |
|
---|
| 5531 |
|
---|
| 5532 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
---|
| 5533 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
---|
| 5534 | if ${ac_cv_path_GREP+:} false; then :
|
---|
| 5535 | $as_echo_n "(cached) " >&6
|
---|
| 5536 | else
|
---|
| 5537 | if test -z "$GREP"; then
|
---|
| 5538 | ac_path_GREP_found=false
|
---|
| 5539 | # Loop through the user's path and test for each of PROGNAME-LIST
|
---|
| 5540 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 5541 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
---|
| 5542 | do
|
---|
| 5543 | IFS=$as_save_IFS
|
---|
| 5544 | test -z "$as_dir" && as_dir=.
|
---|
| 5545 | for ac_prog in grep ggrep; do
|
---|
| 5546 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 5547 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
---|
[44f44617] | 5548 | as_fn_executable_p "$ac_path_GREP" || continue
|
---|
[3b77289] | 5549 | # Check for GNU ac_path_GREP and select it if it is found.
|
---|
| 5550 | # Check for GNU $ac_path_GREP
|
---|
| 5551 | case `"$ac_path_GREP" --version 2>&1` in
|
---|
| 5552 | *GNU*)
|
---|
| 5553 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
---|
| 5554 | *)
|
---|
| 5555 | ac_count=0
|
---|
| 5556 | $as_echo_n 0123456789 >"conftest.in"
|
---|
| 5557 | while :
|
---|
| 5558 | do
|
---|
| 5559 | cat "conftest.in" "conftest.in" >"conftest.tmp"
|
---|
| 5560 | mv "conftest.tmp" "conftest.in"
|
---|
| 5561 | cp "conftest.in" "conftest.nl"
|
---|
| 5562 | $as_echo 'GREP' >> "conftest.nl"
|
---|
| 5563 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
---|
| 5564 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
---|
| 5565 | as_fn_arith $ac_count + 1 && ac_count=$as_val
|
---|
| 5566 | if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
---|
| 5567 | # Best one so far, save it but keep looking for a better one
|
---|
| 5568 | ac_cv_path_GREP="$ac_path_GREP"
|
---|
| 5569 | ac_path_GREP_max=$ac_count
|
---|
| 5570 | fi
|
---|
| 5571 | # 10*(2^10) chars as input seems more than enough
|
---|
| 5572 | test $ac_count -gt 10 && break
|
---|
| 5573 | done
|
---|
| 5574 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
---|
| 5575 | esac
|
---|
| 5576 |
|
---|
| 5577 | $ac_path_GREP_found && break 3
|
---|
| 5578 | done
|
---|
| 5579 | done
|
---|
| 5580 | done
|
---|
| 5581 | IFS=$as_save_IFS
|
---|
| 5582 | if test -z "$ac_cv_path_GREP"; then
|
---|
| 5583 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
---|
| 5584 | fi
|
---|
| 5585 | else
|
---|
| 5586 | ac_cv_path_GREP=$GREP
|
---|
| 5587 | fi
|
---|
| 5588 |
|
---|
| 5589 | fi
|
---|
| 5590 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
---|
| 5591 | $as_echo "$ac_cv_path_GREP" >&6; }
|
---|
| 5592 | GREP="$ac_cv_path_GREP"
|
---|
| 5593 |
|
---|
| 5594 |
|
---|
| 5595 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
---|
| 5596 | $as_echo_n "checking for egrep... " >&6; }
|
---|
| 5597 | if ${ac_cv_path_EGREP+:} false; then :
|
---|
| 5598 | $as_echo_n "(cached) " >&6
|
---|
| 5599 | else
|
---|
| 5600 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
---|
| 5601 | then ac_cv_path_EGREP="$GREP -E"
|
---|
| 5602 | else
|
---|
| 5603 | if test -z "$EGREP"; then
|
---|
| 5604 | ac_path_EGREP_found=false
|
---|
| 5605 | # Loop through the user's path and test for each of PROGNAME-LIST
|
---|
| 5606 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 5607 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
---|
| 5608 | do
|
---|
| 5609 | IFS=$as_save_IFS
|
---|
| 5610 | test -z "$as_dir" && as_dir=.
|
---|
| 5611 | for ac_prog in egrep; do
|
---|
| 5612 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 5613 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
---|
[44f44617] | 5614 | as_fn_executable_p "$ac_path_EGREP" || continue
|
---|
[3b77289] | 5615 | # Check for GNU ac_path_EGREP and select it if it is found.
|
---|
| 5616 | # Check for GNU $ac_path_EGREP
|
---|
| 5617 | case `"$ac_path_EGREP" --version 2>&1` in
|
---|
| 5618 | *GNU*)
|
---|
| 5619 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
---|
| 5620 | *)
|
---|
| 5621 | ac_count=0
|
---|
| 5622 | $as_echo_n 0123456789 >"conftest.in"
|
---|
| 5623 | while :
|
---|
| 5624 | do
|
---|
| 5625 | cat "conftest.in" "conftest.in" >"conftest.tmp"
|
---|
| 5626 | mv "conftest.tmp" "conftest.in"
|
---|
| 5627 | cp "conftest.in" "conftest.nl"
|
---|
| 5628 | $as_echo 'EGREP' >> "conftest.nl"
|
---|
| 5629 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
---|
| 5630 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
---|
| 5631 | as_fn_arith $ac_count + 1 && ac_count=$as_val
|
---|
| 5632 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
---|
| 5633 | # Best one so far, save it but keep looking for a better one
|
---|
| 5634 | ac_cv_path_EGREP="$ac_path_EGREP"
|
---|
| 5635 | ac_path_EGREP_max=$ac_count
|
---|
| 5636 | fi
|
---|
| 5637 | # 10*(2^10) chars as input seems more than enough
|
---|
| 5638 | test $ac_count -gt 10 && break
|
---|
| 5639 | done
|
---|
| 5640 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
---|
| 5641 | esac
|
---|
| 5642 |
|
---|
| 5643 | $ac_path_EGREP_found && break 3
|
---|
| 5644 | done
|
---|
| 5645 | done
|
---|
| 5646 | done
|
---|
| 5647 | IFS=$as_save_IFS
|
---|
| 5648 | if test -z "$ac_cv_path_EGREP"; then
|
---|
| 5649 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
---|
| 5650 | fi
|
---|
| 5651 | else
|
---|
| 5652 | ac_cv_path_EGREP=$EGREP
|
---|
| 5653 | fi
|
---|
| 5654 |
|
---|
| 5655 | fi
|
---|
| 5656 | fi
|
---|
| 5657 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
---|
| 5658 | $as_echo "$ac_cv_path_EGREP" >&6; }
|
---|
| 5659 | EGREP="$ac_cv_path_EGREP"
|
---|
| 5660 |
|
---|
| 5661 |
|
---|
| 5662 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
---|
| 5663 | $as_echo_n "checking for ANSI C header files... " >&6; }
|
---|
| 5664 | if ${ac_cv_header_stdc+:} false; then :
|
---|
| 5665 | $as_echo_n "(cached) " >&6
|
---|
| 5666 | else
|
---|
| 5667 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 5668 | /* end confdefs.h. */
|
---|
| 5669 | #include <stdlib.h>
|
---|
| 5670 | #include <stdarg.h>
|
---|
| 5671 | #include <string.h>
|
---|
| 5672 | #include <float.h>
|
---|
| 5673 |
|
---|
| 5674 | int
|
---|
| 5675 | main ()
|
---|
| 5676 | {
|
---|
| 5677 |
|
---|
| 5678 | ;
|
---|
| 5679 | return 0;
|
---|
| 5680 | }
|
---|
| 5681 | _ACEOF
|
---|
| 5682 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 5683 | ac_cv_header_stdc=yes
|
---|
| 5684 | else
|
---|
| 5685 | ac_cv_header_stdc=no
|
---|
| 5686 | fi
|
---|
| 5687 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 5688 |
|
---|
| 5689 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5690 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
---|
| 5691 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 5692 | /* end confdefs.h. */
|
---|
| 5693 | #include <string.h>
|
---|
| 5694 |
|
---|
| 5695 | _ACEOF
|
---|
| 5696 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 5697 | $EGREP "memchr" >/dev/null 2>&1; then :
|
---|
| 5698 |
|
---|
| 5699 | else
|
---|
| 5700 | ac_cv_header_stdc=no
|
---|
| 5701 | fi
|
---|
| 5702 | rm -f conftest*
|
---|
| 5703 |
|
---|
| 5704 | fi
|
---|
| 5705 |
|
---|
| 5706 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5707 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
---|
| 5708 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 5709 | /* end confdefs.h. */
|
---|
| 5710 | #include <stdlib.h>
|
---|
| 5711 |
|
---|
| 5712 | _ACEOF
|
---|
| 5713 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 5714 | $EGREP "free" >/dev/null 2>&1; then :
|
---|
| 5715 |
|
---|
| 5716 | else
|
---|
| 5717 | ac_cv_header_stdc=no
|
---|
| 5718 | fi
|
---|
| 5719 | rm -f conftest*
|
---|
| 5720 |
|
---|
| 5721 | fi
|
---|
| 5722 |
|
---|
| 5723 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5724 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
---|
| 5725 | if test "$cross_compiling" = yes; then :
|
---|
| 5726 | :
|
---|
| 5727 | else
|
---|
| 5728 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 5729 | /* end confdefs.h. */
|
---|
| 5730 | #include <ctype.h>
|
---|
| 5731 | #include <stdlib.h>
|
---|
| 5732 | #if ((' ' & 0x0FF) == 0x020)
|
---|
| 5733 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
---|
| 5734 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
---|
| 5735 | #else
|
---|
| 5736 | # define ISLOWER(c) \
|
---|
| 5737 | (('a' <= (c) && (c) <= 'i') \
|
---|
| 5738 | || ('j' <= (c) && (c) <= 'r') \
|
---|
| 5739 | || ('s' <= (c) && (c) <= 'z'))
|
---|
| 5740 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
---|
| 5741 | #endif
|
---|
| 5742 |
|
---|
| 5743 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
---|
| 5744 | int
|
---|
| 5745 | main ()
|
---|
| 5746 | {
|
---|
| 5747 | int i;
|
---|
| 5748 | for (i = 0; i < 256; i++)
|
---|
| 5749 | if (XOR (islower (i), ISLOWER (i))
|
---|
| 5750 | || toupper (i) != TOUPPER (i))
|
---|
| 5751 | return 2;
|
---|
| 5752 | return 0;
|
---|
| 5753 | }
|
---|
| 5754 | _ACEOF
|
---|
| 5755 | if ac_fn_c_try_run "$LINENO"; then :
|
---|
| 5756 |
|
---|
| 5757 | else
|
---|
| 5758 | ac_cv_header_stdc=no
|
---|
| 5759 | fi
|
---|
| 5760 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
---|
| 5761 | conftest.$ac_objext conftest.beam conftest.$ac_ext
|
---|
| 5762 | fi
|
---|
| 5763 |
|
---|
| 5764 | fi
|
---|
| 5765 | fi
|
---|
| 5766 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
---|
| 5767 | $as_echo "$ac_cv_header_stdc" >&6; }
|
---|
| 5768 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5769 |
|
---|
| 5770 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
---|
| 5771 |
|
---|
| 5772 | fi
|
---|
| 5773 |
|
---|
| 5774 | # On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
---|
| 5775 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
---|
| 5776 | inttypes.h stdint.h unistd.h
|
---|
| 5777 | do :
|
---|
| 5778 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
---|
| 5779 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
---|
| 5780 | "
|
---|
| 5781 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
---|
| 5782 | cat >>confdefs.h <<_ACEOF
|
---|
| 5783 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
---|
| 5784 | _ACEOF
|
---|
| 5785 |
|
---|
| 5786 | fi
|
---|
| 5787 |
|
---|
[5d6ce1f] | 5788 | done
|
---|
| 5789 |
|
---|
| 5790 |
|
---|
| 5791 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
|
---|
| 5792 | if test "x$ac_cv_type_size_t" = xyes; then :
|
---|
| 5793 |
|
---|
| 5794 | else
|
---|
| 5795 |
|
---|
| 5796 | cat >>confdefs.h <<_ACEOF
|
---|
| 5797 | #define size_t unsigned int
|
---|
| 5798 | _ACEOF
|
---|
| 5799 |
|
---|
| 5800 | fi
|
---|
| 5801 |
|
---|
| 5802 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
|
---|
| 5803 | # for constant arguments. Useless!
|
---|
| 5804 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
|
---|
| 5805 | $as_echo_n "checking for working alloca.h... " >&6; }
|
---|
| 5806 | if ${ac_cv_working_alloca_h+:} false; then :
|
---|
| 5807 | $as_echo_n "(cached) " >&6
|
---|
| 5808 | else
|
---|
| 5809 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 5810 | /* end confdefs.h. */
|
---|
| 5811 | #include <alloca.h>
|
---|
| 5812 | int
|
---|
| 5813 | main ()
|
---|
| 5814 | {
|
---|
| 5815 | char *p = (char *) alloca (2 * sizeof (int));
|
---|
| 5816 | if (p) return 0;
|
---|
| 5817 | ;
|
---|
| 5818 | return 0;
|
---|
| 5819 | }
|
---|
| 5820 | _ACEOF
|
---|
| 5821 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
| 5822 | ac_cv_working_alloca_h=yes
|
---|
| 5823 | else
|
---|
| 5824 | ac_cv_working_alloca_h=no
|
---|
| 5825 | fi
|
---|
| 5826 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5827 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 5828 | fi
|
---|
| 5829 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
|
---|
| 5830 | $as_echo "$ac_cv_working_alloca_h" >&6; }
|
---|
| 5831 | if test $ac_cv_working_alloca_h = yes; then
|
---|
| 5832 |
|
---|
| 5833 | $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
|
---|
| 5834 |
|
---|
| 5835 | fi
|
---|
| 5836 |
|
---|
| 5837 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
|
---|
| 5838 | $as_echo_n "checking for alloca... " >&6; }
|
---|
| 5839 | if ${ac_cv_func_alloca_works+:} false; then :
|
---|
| 5840 | $as_echo_n "(cached) " >&6
|
---|
| 5841 | else
|
---|
| 5842 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 5843 | /* end confdefs.h. */
|
---|
| 5844 | #ifdef __GNUC__
|
---|
| 5845 | # define alloca __builtin_alloca
|
---|
| 5846 | #else
|
---|
| 5847 | # ifdef _MSC_VER
|
---|
| 5848 | # include <malloc.h>
|
---|
| 5849 | # define alloca _alloca
|
---|
| 5850 | # else
|
---|
| 5851 | # ifdef HAVE_ALLOCA_H
|
---|
| 5852 | # include <alloca.h>
|
---|
| 5853 | # else
|
---|
| 5854 | # ifdef _AIX
|
---|
| 5855 | #pragma alloca
|
---|
| 5856 | # else
|
---|
| 5857 | # ifndef alloca /* predefined by HP cc +Olibcalls */
|
---|
| 5858 | void *alloca (size_t);
|
---|
| 5859 | # endif
|
---|
| 5860 | # endif
|
---|
| 5861 | # endif
|
---|
| 5862 | # endif
|
---|
| 5863 | #endif
|
---|
| 5864 |
|
---|
| 5865 | int
|
---|
| 5866 | main ()
|
---|
| 5867 | {
|
---|
| 5868 | char *p = (char *) alloca (1);
|
---|
| 5869 | if (p) return 0;
|
---|
| 5870 | ;
|
---|
| 5871 | return 0;
|
---|
| 5872 | }
|
---|
| 5873 | _ACEOF
|
---|
| 5874 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
| 5875 | ac_cv_func_alloca_works=yes
|
---|
| 5876 | else
|
---|
| 5877 | ac_cv_func_alloca_works=no
|
---|
| 5878 | fi
|
---|
| 5879 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5880 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 5881 | fi
|
---|
| 5882 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
|
---|
| 5883 | $as_echo "$ac_cv_func_alloca_works" >&6; }
|
---|
| 5884 |
|
---|
| 5885 | if test $ac_cv_func_alloca_works = yes; then
|
---|
| 5886 |
|
---|
| 5887 | $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
|
---|
| 5888 |
|
---|
| 5889 | else
|
---|
| 5890 | # The SVR3 libPW and SVR4 libucb both contain incompatible functions
|
---|
| 5891 | # that cause trouble. Some versions do not even contain alloca or
|
---|
| 5892 | # contain a buggy version. If you still want to use their alloca,
|
---|
| 5893 | # use ar to extract alloca.o from them instead of compiling alloca.c.
|
---|
| 5894 |
|
---|
| 5895 | ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
|
---|
| 5896 |
|
---|
| 5897 | $as_echo "#define C_ALLOCA 1" >>confdefs.h
|
---|
| 5898 |
|
---|
| 5899 |
|
---|
| 5900 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
|
---|
| 5901 | $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
|
---|
| 5902 | if ${ac_cv_os_cray+:} false; then :
|
---|
| 5903 | $as_echo_n "(cached) " >&6
|
---|
| 5904 | else
|
---|
| 5905 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 5906 | /* end confdefs.h. */
|
---|
| 5907 | #if defined CRAY && ! defined CRAY2
|
---|
| 5908 | webecray
|
---|
| 5909 | #else
|
---|
| 5910 | wenotbecray
|
---|
| 5911 | #endif
|
---|
| 5912 |
|
---|
| 5913 | _ACEOF
|
---|
| 5914 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 5915 | $EGREP "webecray" >/dev/null 2>&1; then :
|
---|
| 5916 | ac_cv_os_cray=yes
|
---|
| 5917 | else
|
---|
| 5918 | ac_cv_os_cray=no
|
---|
| 5919 | fi
|
---|
| 5920 | rm -f conftest*
|
---|
| 5921 |
|
---|
| 5922 | fi
|
---|
| 5923 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
|
---|
| 5924 | $as_echo "$ac_cv_os_cray" >&6; }
|
---|
| 5925 | if test $ac_cv_os_cray = yes; then
|
---|
| 5926 | for ac_func in _getb67 GETB67 getb67; do
|
---|
| 5927 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
| 5928 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
---|
| 5929 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
|
---|
| 5930 |
|
---|
| 5931 | cat >>confdefs.h <<_ACEOF
|
---|
| 5932 | #define CRAY_STACKSEG_END $ac_func
|
---|
| 5933 | _ACEOF
|
---|
| 5934 |
|
---|
| 5935 | break
|
---|
| 5936 | fi
|
---|
| 5937 |
|
---|
| 5938 | done
|
---|
| 5939 | fi
|
---|
| 5940 |
|
---|
| 5941 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
|
---|
| 5942 | $as_echo_n "checking stack direction for C alloca... " >&6; }
|
---|
| 5943 | if ${ac_cv_c_stack_direction+:} false; then :
|
---|
| 5944 | $as_echo_n "(cached) " >&6
|
---|
| 5945 | else
|
---|
| 5946 | if test "$cross_compiling" = yes; then :
|
---|
| 5947 | ac_cv_c_stack_direction=0
|
---|
| 5948 | else
|
---|
| 5949 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 5950 | /* end confdefs.h. */
|
---|
| 5951 | $ac_includes_default
|
---|
| 5952 | int
|
---|
[44f44617] | 5953 | find_stack_direction (int *addr, int depth)
|
---|
[5d6ce1f] | 5954 | {
|
---|
[44f44617] | 5955 | int dir, dummy = 0;
|
---|
| 5956 | if (! addr)
|
---|
| 5957 | addr = &dummy;
|
---|
| 5958 | *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
|
---|
| 5959 | dir = depth ? find_stack_direction (addr, depth - 1) : 0;
|
---|
| 5960 | return dir + dummy;
|
---|
[5d6ce1f] | 5961 | }
|
---|
| 5962 |
|
---|
| 5963 | int
|
---|
[44f44617] | 5964 | main (int argc, char **argv)
|
---|
[5d6ce1f] | 5965 | {
|
---|
[44f44617] | 5966 | return find_stack_direction (0, argc + !argv + 20) < 0;
|
---|
[5d6ce1f] | 5967 | }
|
---|
| 5968 | _ACEOF
|
---|
| 5969 | if ac_fn_c_try_run "$LINENO"; then :
|
---|
| 5970 | ac_cv_c_stack_direction=1
|
---|
| 5971 | else
|
---|
| 5972 | ac_cv_c_stack_direction=-1
|
---|
| 5973 | fi
|
---|
| 5974 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
---|
| 5975 | conftest.$ac_objext conftest.beam conftest.$ac_ext
|
---|
| 5976 | fi
|
---|
| 5977 |
|
---|
| 5978 | fi
|
---|
| 5979 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
|
---|
| 5980 | $as_echo "$ac_cv_c_stack_direction" >&6; }
|
---|
| 5981 | cat >>confdefs.h <<_ACEOF
|
---|
| 5982 | #define STACK_DIRECTION $ac_cv_c_stack_direction
|
---|
| 5983 | _ACEOF
|
---|
| 5984 |
|
---|
[3b77289] | 5985 |
|
---|
[5d6ce1f] | 5986 | fi
|
---|
[3b77289] | 5987 |
|
---|
[5d6ce1f] | 5988 | for ac_header in fenv.h float.h inttypes.h libintl.h limits.h malloc.h stddef.h stdlib.h string.h unistd.h
|
---|
[3b77289] | 5989 | do :
|
---|
| 5990 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
---|
| 5991 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
---|
| 5992 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
---|
| 5993 | cat >>confdefs.h <<_ACEOF
|
---|
| 5994 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
---|
| 5995 | _ACEOF
|
---|
| 5996 |
|
---|
| 5997 | fi
|
---|
| 5998 |
|
---|
| 5999 | done
|
---|
| 6000 |
|
---|
| 6001 |
|
---|
[5d6ce1f] | 6002 | # Checks for typedefs, structures, and compiler characteristics.
|
---|
| 6003 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
|
---|
| 6004 | $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
|
---|
| 6005 | if ${ac_cv_header_stdbool_h+:} false; then :
|
---|
[3b77289] | 6006 | $as_echo_n "(cached) " >&6
|
---|
| 6007 | else
|
---|
| 6008 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 6009 | /* end confdefs.h. */
|
---|
| 6010 |
|
---|
[44f44617] | 6011 | #include <stdbool.h>
|
---|
| 6012 | #ifndef bool
|
---|
| 6013 | "error: bool is not defined"
|
---|
| 6014 | #endif
|
---|
| 6015 | #ifndef false
|
---|
| 6016 | "error: false is not defined"
|
---|
| 6017 | #endif
|
---|
| 6018 | #if false
|
---|
| 6019 | "error: false is not 0"
|
---|
| 6020 | #endif
|
---|
| 6021 | #ifndef true
|
---|
| 6022 | "error: true is not defined"
|
---|
| 6023 | #endif
|
---|
| 6024 | #if true != 1
|
---|
| 6025 | "error: true is not 1"
|
---|
| 6026 | #endif
|
---|
| 6027 | #ifndef __bool_true_false_are_defined
|
---|
| 6028 | "error: __bool_true_false_are_defined is not defined"
|
---|
| 6029 | #endif
|
---|
| 6030 |
|
---|
| 6031 | struct s { _Bool s: 1; _Bool t; } s;
|
---|
| 6032 |
|
---|
| 6033 | char a[true == 1 ? 1 : -1];
|
---|
| 6034 | char b[false == 0 ? 1 : -1];
|
---|
| 6035 | char c[__bool_true_false_are_defined == 1 ? 1 : -1];
|
---|
| 6036 | char d[(bool) 0.5 == true ? 1 : -1];
|
---|
| 6037 | /* See body of main program for 'e'. */
|
---|
| 6038 | char f[(_Bool) 0.0 == false ? 1 : -1];
|
---|
| 6039 | char g[true];
|
---|
| 6040 | char h[sizeof (_Bool)];
|
---|
| 6041 | char i[sizeof s.t];
|
---|
| 6042 | enum { j = false, k = true, l = false * true, m = true * 256 };
|
---|
| 6043 | /* The following fails for
|
---|
| 6044 | HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
|
---|
| 6045 | _Bool n[m];
|
---|
| 6046 | char o[sizeof n == m * sizeof n[0] ? 1 : -1];
|
---|
| 6047 | char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
|
---|
| 6048 | /* Catch a bug in an HP-UX C compiler. See
|
---|
| 6049 | http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
|
---|
| 6050 | http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
|
---|
| 6051 | */
|
---|
| 6052 | _Bool q = true;
|
---|
| 6053 | _Bool *pq = &q;
|
---|
[5d6ce1f] | 6054 |
|
---|
[3b77289] | 6055 | int
|
---|
| 6056 | main ()
|
---|
| 6057 | {
|
---|
[5d6ce1f] | 6058 |
|
---|
[44f44617] | 6059 | bool e = &s;
|
---|
| 6060 | *pq |= q;
|
---|
| 6061 | *pq |= ! q;
|
---|
| 6062 | /* Refer to every declared value, to avoid compiler optimizations. */
|
---|
| 6063 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
|
---|
| 6064 | + !m + !n + !o + !p + !q + !pq);
|
---|
[3b77289] | 6065 |
|
---|
| 6066 | ;
|
---|
| 6067 | return 0;
|
---|
| 6068 | }
|
---|
| 6069 | _ACEOF
|
---|
| 6070 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[5d6ce1f] | 6071 | ac_cv_header_stdbool_h=yes
|
---|
[3b77289] | 6072 | else
|
---|
[5d6ce1f] | 6073 | ac_cv_header_stdbool_h=no
|
---|
[3b77289] | 6074 | fi
|
---|
| 6075 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 6076 | fi
|
---|
[5d6ce1f] | 6077 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
|
---|
| 6078 | $as_echo "$ac_cv_header_stdbool_h" >&6; }
|
---|
[44f44617] | 6079 | ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
|
---|
[5d6ce1f] | 6080 | if test "x$ac_cv_type__Bool" = xyes; then :
|
---|
| 6081 |
|
---|
| 6082 | cat >>confdefs.h <<_ACEOF
|
---|
| 6083 | #define HAVE__BOOL 1
|
---|
| 6084 | _ACEOF
|
---|
| 6085 |
|
---|
| 6086 |
|
---|
| 6087 | fi
|
---|
| 6088 |
|
---|
[44f44617] | 6089 |
|
---|
[5d6ce1f] | 6090 | if test $ac_cv_header_stdbool_h = yes; then
|
---|
[3b77289] | 6091 |
|
---|
[5d6ce1f] | 6092 | $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
|
---|
[3b77289] | 6093 |
|
---|
| 6094 | fi
|
---|
| 6095 |
|
---|
| 6096 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
|
---|
| 6097 | $as_echo_n "checking for inline... " >&6; }
|
---|
| 6098 | if ${ac_cv_c_inline+:} false; then :
|
---|
| 6099 | $as_echo_n "(cached) " >&6
|
---|
| 6100 | else
|
---|
| 6101 | ac_cv_c_inline=no
|
---|
| 6102 | for ac_kw in inline __inline__ __inline; do
|
---|
| 6103 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 6104 | /* end confdefs.h. */
|
---|
| 6105 | #ifndef __cplusplus
|
---|
| 6106 | typedef int foo_t;
|
---|
| 6107 | static $ac_kw foo_t static_foo () {return 0; }
|
---|
| 6108 | $ac_kw foo_t foo () {return 0; }
|
---|
| 6109 | #endif
|
---|
| 6110 |
|
---|
| 6111 | _ACEOF
|
---|
| 6112 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 6113 | ac_cv_c_inline=$ac_kw
|
---|
| 6114 | fi
|
---|
| 6115 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 6116 | test "$ac_cv_c_inline" != no && break
|
---|
| 6117 | done
|
---|
| 6118 |
|
---|
| 6119 | fi
|
---|
| 6120 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
|
---|
| 6121 | $as_echo "$ac_cv_c_inline" >&6; }
|
---|
| 6122 |
|
---|
| 6123 | case $ac_cv_c_inline in
|
---|
| 6124 | inline | yes) ;;
|
---|
| 6125 | *)
|
---|
| 6126 | case $ac_cv_c_inline in
|
---|
| 6127 | no) ac_val=;;
|
---|
| 6128 | *) ac_val=$ac_cv_c_inline;;
|
---|
| 6129 | esac
|
---|
| 6130 | cat >>confdefs.h <<_ACEOF
|
---|
| 6131 | #ifndef __cplusplus
|
---|
| 6132 | #define inline $ac_val
|
---|
| 6133 | #endif
|
---|
| 6134 | _ACEOF
|
---|
| 6135 | ;;
|
---|
| 6136 | esac
|
---|
| 6137 |
|
---|
[5d6ce1f] | 6138 | ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t"
|
---|
| 6139 | case $ac_cv_c_int16_t in #(
|
---|
| 6140 | no|yes) ;; #(
|
---|
| 6141 | *)
|
---|
| 6142 |
|
---|
| 6143 | cat >>confdefs.h <<_ACEOF
|
---|
| 6144 | #define int16_t $ac_cv_c_int16_t
|
---|
| 6145 | _ACEOF
|
---|
| 6146 | ;;
|
---|
| 6147 | esac
|
---|
| 6148 |
|
---|
| 6149 | ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
|
---|
| 6150 | case $ac_cv_c_int32_t in #(
|
---|
| 6151 | no|yes) ;; #(
|
---|
| 6152 | *)
|
---|
| 6153 |
|
---|
| 6154 | cat >>confdefs.h <<_ACEOF
|
---|
| 6155 | #define int32_t $ac_cv_c_int32_t
|
---|
| 6156 | _ACEOF
|
---|
| 6157 | ;;
|
---|
| 6158 | esac
|
---|
| 6159 |
|
---|
| 6160 | ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t"
|
---|
| 6161 | case $ac_cv_c_int8_t in #(
|
---|
| 6162 | no|yes) ;; #(
|
---|
| 6163 | *)
|
---|
| 6164 |
|
---|
| 6165 | cat >>confdefs.h <<_ACEOF
|
---|
| 6166 | #define int8_t $ac_cv_c_int8_t
|
---|
| 6167 | _ACEOF
|
---|
| 6168 | ;;
|
---|
| 6169 | esac
|
---|
| 6170 |
|
---|
| 6171 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
|
---|
| 6172 | $as_echo_n "checking for C/C++ restrict keyword... " >&6; }
|
---|
| 6173 | if ${ac_cv_c_restrict+:} false; then :
|
---|
[3b77289] | 6174 | $as_echo_n "(cached) " >&6
|
---|
| 6175 | else
|
---|
[5d6ce1f] | 6176 | ac_cv_c_restrict=no
|
---|
| 6177 | # The order here caters to the fact that C++ does not require restrict.
|
---|
| 6178 | for ac_kw in __restrict __restrict__ _Restrict restrict; do
|
---|
| 6179 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[3b77289] | 6180 | /* end confdefs.h. */
|
---|
[5d6ce1f] | 6181 | typedef int * int_ptr;
|
---|
| 6182 | int foo (int_ptr $ac_kw ip) {
|
---|
| 6183 | return ip[0];
|
---|
| 6184 | }
|
---|
[3b77289] | 6185 | int
|
---|
| 6186 | main ()
|
---|
| 6187 | {
|
---|
[5d6ce1f] | 6188 | int s[1];
|
---|
| 6189 | int * $ac_kw t = s;
|
---|
| 6190 | t[0] = 0;
|
---|
| 6191 | return foo(t)
|
---|
[3b77289] | 6192 | ;
|
---|
| 6193 | return 0;
|
---|
| 6194 | }
|
---|
| 6195 | _ACEOF
|
---|
| 6196 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[5d6ce1f] | 6197 | ac_cv_c_restrict=$ac_kw
|
---|
[3b77289] | 6198 | fi
|
---|
| 6199 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[5d6ce1f] | 6200 | test "$ac_cv_c_restrict" != no && break
|
---|
| 6201 | done
|
---|
[3b77289] | 6202 |
|
---|
| 6203 | fi
|
---|
[5d6ce1f] | 6204 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
|
---|
| 6205 | $as_echo "$ac_cv_c_restrict" >&6; }
|
---|
| 6206 |
|
---|
| 6207 | case $ac_cv_c_restrict in
|
---|
| 6208 | restrict) ;;
|
---|
| 6209 | no) $as_echo "#define restrict /**/" >>confdefs.h
|
---|
| 6210 | ;;
|
---|
| 6211 | *) cat >>confdefs.h <<_ACEOF
|
---|
| 6212 | #define restrict $ac_cv_c_restrict
|
---|
| 6213 | _ACEOF
|
---|
| 6214 | ;;
|
---|
| 6215 | esac
|
---|
[3b77289] | 6216 |
|
---|
[5d6ce1f] | 6217 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
|
---|
| 6218 | if test "x$ac_cv_type_size_t" = xyes; then :
|
---|
[3b77289] | 6219 |
|
---|
[5d6ce1f] | 6220 | else
|
---|
[3b77289] | 6221 |
|
---|
[5d6ce1f] | 6222 | cat >>confdefs.h <<_ACEOF
|
---|
| 6223 | #define size_t unsigned int
|
---|
| 6224 | _ACEOF
|
---|
[3b77289] | 6225 |
|
---|
| 6226 | fi
|
---|
| 6227 |
|
---|
[5d6ce1f] | 6228 | ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
|
---|
| 6229 | case $ac_cv_c_uint16_t in #(
|
---|
| 6230 | no|yes) ;; #(
|
---|
| 6231 | *)
|
---|
[3b77289] | 6232 |
|
---|
| 6233 |
|
---|
[5d6ce1f] | 6234 | cat >>confdefs.h <<_ACEOF
|
---|
| 6235 | #define uint16_t $ac_cv_c_uint16_t
|
---|
| 6236 | _ACEOF
|
---|
| 6237 | ;;
|
---|
| 6238 | esac
|
---|
[3b77289] | 6239 |
|
---|
[5d6ce1f] | 6240 | ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
|
---|
| 6241 | case $ac_cv_c_uint32_t in #(
|
---|
| 6242 | no|yes) ;; #(
|
---|
| 6243 | *)
|
---|
[3b77289] | 6244 |
|
---|
[5d6ce1f] | 6245 | $as_echo "#define _UINT32_T 1" >>confdefs.h
|
---|
| 6246 |
|
---|
| 6247 |
|
---|
| 6248 | cat >>confdefs.h <<_ACEOF
|
---|
| 6249 | #define uint32_t $ac_cv_c_uint32_t
|
---|
[3b77289] | 6250 | _ACEOF
|
---|
[5d6ce1f] | 6251 | ;;
|
---|
| 6252 | esac
|
---|
[3b77289] | 6253 |
|
---|
[5d6ce1f] | 6254 | ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
|
---|
| 6255 | case $ac_cv_c_uint8_t in #(
|
---|
| 6256 | no|yes) ;; #(
|
---|
[3b77289] | 6257 | *)
|
---|
| 6258 |
|
---|
[5d6ce1f] | 6259 | $as_echo "#define _UINT8_T 1" >>confdefs.h
|
---|
[3b77289] | 6260 |
|
---|
| 6261 |
|
---|
| 6262 | cat >>confdefs.h <<_ACEOF
|
---|
[5d6ce1f] | 6263 | #define uint8_t $ac_cv_c_uint8_t
|
---|
[3b77289] | 6264 | _ACEOF
|
---|
[5d6ce1f] | 6265 | ;;
|
---|
| 6266 | esac
|
---|
[3b77289] | 6267 |
|
---|
| 6268 |
|
---|
[5d6ce1f] | 6269 | # Checks for library functions.
|
---|
| 6270 | for ac_func in memset putenv strchr strtol
|
---|
| 6271 | do :
|
---|
| 6272 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
| 6273 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
---|
| 6274 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
|
---|
| 6275 | cat >>confdefs.h <<_ACEOF
|
---|
| 6276 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
---|
[3b77289] | 6277 | _ACEOF
|
---|
| 6278 |
|
---|
[5d6ce1f] | 6279 | fi
|
---|
| 6280 | done
|
---|
[3b77289] | 6281 |
|
---|
| 6282 |
|
---|
[4149d9d] | 6283 | ac_config_files="$ac_config_files Makefile src/driver/Makefile src/Makefile src/benchmark/Makefile src/examples/Makefile src/tests/Makefile src/tests/preempt_longrun/Makefile src/prelude/Makefile src/libcfa/Makefile tools/Makefile tools/prettyprinter/Makefile"
|
---|
[3b77289] | 6284 |
|
---|
[5d6ce1f] | 6285 |
|
---|
[3b77289] | 6286 | cat >confcache <<\_ACEOF
|
---|
| 6287 | # This file is a shell script that caches the results of configure
|
---|
| 6288 | # tests run on this system so they can be shared between configure
|
---|
| 6289 | # scripts and configure runs, see configure's option --config-cache.
|
---|
| 6290 | # It is not useful on other systems. If it contains results you don't
|
---|
| 6291 | # want to keep, you may remove or edit it.
|
---|
| 6292 | #
|
---|
| 6293 | # config.status only pays attention to the cache file if you give it
|
---|
| 6294 | # the --recheck option to rerun configure.
|
---|
| 6295 | #
|
---|
| 6296 | # `ac_cv_env_foo' variables (set or unset) will be overridden when
|
---|
| 6297 | # loading this file, other *unset* `ac_cv_foo' will be assigned the
|
---|
| 6298 | # following values.
|
---|
| 6299 |
|
---|
| 6300 | _ACEOF
|
---|
| 6301 |
|
---|
| 6302 | # The following way of writing the cache mishandles newlines in values,
|
---|
| 6303 | # but we know of no workaround that is simple, portable, and efficient.
|
---|
| 6304 | # So, we kill variables containing newlines.
|
---|
| 6305 | # Ultrix sh set writes to stderr and can't be redirected directly,
|
---|
| 6306 | # and sets the high bit in the cache file unless we assign to the vars.
|
---|
| 6307 | (
|
---|
| 6308 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
|
---|
| 6309 | eval ac_val=\$$ac_var
|
---|
| 6310 | case $ac_val in #(
|
---|
| 6311 | *${as_nl}*)
|
---|
| 6312 | case $ac_var in #(
|
---|
| 6313 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
---|
| 6314 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
---|
| 6315 | esac
|
---|
| 6316 | case $ac_var in #(
|
---|
| 6317 | _ | IFS | as_nl) ;; #(
|
---|
| 6318 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
---|
| 6319 | *) { eval $ac_var=; unset $ac_var;} ;;
|
---|
| 6320 | esac ;;
|
---|
| 6321 | esac
|
---|
| 6322 | done
|
---|
| 6323 |
|
---|
| 6324 | (set) 2>&1 |
|
---|
| 6325 | case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
---|
| 6326 | *${as_nl}ac_space=\ *)
|
---|
| 6327 | # `set' does not quote correctly, so add quotes: double-quote
|
---|
| 6328 | # substitution turns \\\\ into \\, and sed turns \\ into \.
|
---|
| 6329 | sed -n \
|
---|
| 6330 | "s/'/'\\\\''/g;
|
---|
| 6331 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
---|
| 6332 | ;; #(
|
---|
| 6333 | *)
|
---|
| 6334 | # `set' quotes correctly as required by POSIX, so do not add quotes.
|
---|
| 6335 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
---|
| 6336 | ;;
|
---|
| 6337 | esac |
|
---|
| 6338 | sort
|
---|
| 6339 | ) |
|
---|
| 6340 | sed '
|
---|
| 6341 | /^ac_cv_env_/b end
|
---|
| 6342 | t clear
|
---|
| 6343 | :clear
|
---|
| 6344 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
---|
| 6345 | t end
|
---|
| 6346 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
---|
| 6347 | :end' >>confcache
|
---|
| 6348 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
---|
| 6349 | if test -w "$cache_file"; then
|
---|
| 6350 | if test "x$cache_file" != "x/dev/null"; then
|
---|
| 6351 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
---|
| 6352 | $as_echo "$as_me: updating cache $cache_file" >&6;}
|
---|
| 6353 | if test ! -f "$cache_file" || test -h "$cache_file"; then
|
---|
| 6354 | cat confcache >"$cache_file"
|
---|
| 6355 | else
|
---|
| 6356 | case $cache_file in #(
|
---|
| 6357 | */* | ?:*)
|
---|
| 6358 | mv -f confcache "$cache_file"$$ &&
|
---|
| 6359 | mv -f "$cache_file"$$ "$cache_file" ;; #(
|
---|
| 6360 | *)
|
---|
| 6361 | mv -f confcache "$cache_file" ;;
|
---|
| 6362 | esac
|
---|
| 6363 | fi
|
---|
| 6364 | fi
|
---|
| 6365 | else
|
---|
| 6366 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
---|
| 6367 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
---|
| 6368 | fi
|
---|
| 6369 | fi
|
---|
| 6370 | rm -f confcache
|
---|
| 6371 |
|
---|
| 6372 | test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
---|
| 6373 | # Let make expand exec_prefix.
|
---|
| 6374 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
---|
| 6375 |
|
---|
| 6376 | DEFS=-DHAVE_CONFIG_H
|
---|
| 6377 |
|
---|
| 6378 | ac_libobjs=
|
---|
| 6379 | ac_ltlibobjs=
|
---|
| 6380 | U=
|
---|
| 6381 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
---|
| 6382 | # 1. Remove the extension, and $U if already installed.
|
---|
| 6383 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
---|
| 6384 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
---|
| 6385 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
---|
| 6386 | # will be set to the directory where LIBOBJS objects are built.
|
---|
| 6387 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
---|
| 6388 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
|
---|
| 6389 | done
|
---|
| 6390 | LIBOBJS=$ac_libobjs
|
---|
| 6391 |
|
---|
| 6392 | LTLIBOBJS=$ac_ltlibobjs
|
---|
| 6393 |
|
---|
| 6394 |
|
---|
[44f44617] | 6395 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
|
---|
| 6396 | $as_echo_n "checking that generated files are newer than configure... " >&6; }
|
---|
| 6397 | if test -n "$am_sleep_pid"; then
|
---|
| 6398 | # Hide warnings about reused PIDs.
|
---|
| 6399 | wait $am_sleep_pid 2>/dev/null
|
---|
| 6400 | fi
|
---|
| 6401 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
|
---|
| 6402 | $as_echo "done" >&6; }
|
---|
[3b77289] | 6403 | if test -n "$EXEEXT"; then
|
---|
| 6404 | am__EXEEXT_TRUE=
|
---|
| 6405 | am__EXEEXT_FALSE='#'
|
---|
| 6406 | else
|
---|
| 6407 | am__EXEEXT_TRUE='#'
|
---|
| 6408 | am__EXEEXT_FALSE=
|
---|
| 6409 | fi
|
---|
| 6410 |
|
---|
[6aa5ec0f] | 6411 | if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
|
---|
| 6412 | as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
|
---|
| 6413 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
---|
| 6414 | fi
|
---|
[9def87a] | 6415 | if test -z "${BUILD_RELEASE_TRUE}" && test -z "${BUILD_RELEASE_FALSE}"; then
|
---|
| 6416 | as_fn_error $? "conditional \"BUILD_RELEASE\" was never defined.
|
---|
| 6417 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
---|
| 6418 | fi
|
---|
| 6419 | if test -z "${BUILD_DEBUG_TRUE}" && test -z "${BUILD_DEBUG_FALSE}"; then
|
---|
| 6420 | as_fn_error $? "conditional \"BUILD_DEBUG\" was never defined.
|
---|
| 6421 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
---|
| 6422 | fi
|
---|
[24f4671] | 6423 | if test -z "${BUILD_NO_LIB_TRUE}" && test -z "${BUILD_NO_LIB_FALSE}"; then
|
---|
| 6424 | as_fn_error $? "conditional \"BUILD_NO_LIB\" was never defined.
|
---|
| 6425 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
---|
| 6426 | fi
|
---|
[facc44f] | 6427 | if test -z "${BUILD_CONCURRENCY_TRUE}" && test -z "${BUILD_CONCURRENCY_FALSE}"; then
|
---|
| 6428 | as_fn_error $? "conditional \"BUILD_CONCURRENCY\" was never defined.
|
---|
| 6429 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
---|
| 6430 | fi
|
---|
[3b77289] | 6431 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
---|
| 6432 | as_fn_error $? "conditional \"AMDEP\" was never defined.
|
---|
| 6433 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
---|
| 6434 | fi
|
---|
| 6435 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
|
---|
| 6436 | as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
|
---|
| 6437 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
---|
| 6438 | fi
|
---|
| 6439 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
---|
| 6440 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
|
---|
| 6441 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
---|
| 6442 | fi
|
---|
[8e5724e] | 6443 | if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
|
---|
| 6444 | as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
|
---|
| 6445 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
---|
| 6446 | fi
|
---|
[3b77289] | 6447 |
|
---|
| 6448 | : "${CONFIG_STATUS=./config.status}"
|
---|
| 6449 | ac_write_fail=0
|
---|
| 6450 | ac_clean_files_save=$ac_clean_files
|
---|
| 6451 | ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
---|
| 6452 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
---|
| 6453 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
---|
| 6454 | as_write_fail=0
|
---|
| 6455 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
---|
| 6456 | #! $SHELL
|
---|
| 6457 | # Generated by $as_me.
|
---|
| 6458 | # Run this file to recreate the current configuration.
|
---|
| 6459 | # Compiler output produced by configure, useful for debugging
|
---|
| 6460 | # configure, is in config.log if it exists.
|
---|
| 6461 |
|
---|
| 6462 | debug=false
|
---|
| 6463 | ac_cs_recheck=false
|
---|
| 6464 | ac_cs_silent=false
|
---|
| 6465 |
|
---|
| 6466 | SHELL=\${CONFIG_SHELL-$SHELL}
|
---|
| 6467 | export SHELL
|
---|
| 6468 | _ASEOF
|
---|
| 6469 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
---|
| 6470 | ## -------------------- ##
|
---|
| 6471 | ## M4sh Initialization. ##
|
---|
| 6472 | ## -------------------- ##
|
---|
| 6473 |
|
---|
| 6474 | # Be more Bourne compatible
|
---|
| 6475 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
| 6476 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
---|
| 6477 | emulate sh
|
---|
| 6478 | NULLCMD=:
|
---|
| 6479 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
---|
| 6480 | # is contrary to our usage. Disable this feature.
|
---|
| 6481 | alias -g '${1+"$@"}'='"$@"'
|
---|
| 6482 | setopt NO_GLOB_SUBST
|
---|
| 6483 | else
|
---|
| 6484 | case `(set -o) 2>/dev/null` in #(
|
---|
| 6485 | *posix*) :
|
---|
| 6486 | set -o posix ;; #(
|
---|
| 6487 | *) :
|
---|
| 6488 | ;;
|
---|
| 6489 | esac
|
---|
| 6490 | fi
|
---|
| 6491 |
|
---|
| 6492 |
|
---|
| 6493 | as_nl='
|
---|
| 6494 | '
|
---|
| 6495 | export as_nl
|
---|
| 6496 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
---|
| 6497 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
---|
| 6498 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
| 6499 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
| 6500 | # Prefer a ksh shell builtin over an external printf program on Solaris,
|
---|
| 6501 | # but without wasting forks for bash or zsh.
|
---|
| 6502 | if test -z "$BASH_VERSION$ZSH_VERSION" \
|
---|
| 6503 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
| 6504 | as_echo='print -r --'
|
---|
| 6505 | as_echo_n='print -rn --'
|
---|
| 6506 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
| 6507 | as_echo='printf %s\n'
|
---|
| 6508 | as_echo_n='printf %s'
|
---|
| 6509 | else
|
---|
| 6510 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
---|
| 6511 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
---|
| 6512 | as_echo_n='/usr/ucb/echo -n'
|
---|
| 6513 | else
|
---|
| 6514 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
---|
| 6515 | as_echo_n_body='eval
|
---|
| 6516 | arg=$1;
|
---|
| 6517 | case $arg in #(
|
---|
| 6518 | *"$as_nl"*)
|
---|
| 6519 | expr "X$arg" : "X\\(.*\\)$as_nl";
|
---|
| 6520 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
---|
| 6521 | esac;
|
---|
| 6522 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
---|
| 6523 | '
|
---|
| 6524 | export as_echo_n_body
|
---|
| 6525 | as_echo_n='sh -c $as_echo_n_body as_echo'
|
---|
| 6526 | fi
|
---|
| 6527 | export as_echo_body
|
---|
| 6528 | as_echo='sh -c $as_echo_body as_echo'
|
---|
| 6529 | fi
|
---|
| 6530 |
|
---|
| 6531 | # The user is always right.
|
---|
| 6532 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
| 6533 | PATH_SEPARATOR=:
|
---|
| 6534 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
---|
| 6535 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
---|
| 6536 | PATH_SEPARATOR=';'
|
---|
| 6537 | }
|
---|
| 6538 | fi
|
---|
| 6539 |
|
---|
| 6540 |
|
---|
| 6541 | # IFS
|
---|
| 6542 | # We need space, tab and new line, in precisely that order. Quoting is
|
---|
| 6543 | # there to prevent editors from complaining about space-tab.
|
---|
| 6544 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
---|
| 6545 | # splitting by setting IFS to empty value.)
|
---|
| 6546 | IFS=" "" $as_nl"
|
---|
| 6547 |
|
---|
| 6548 | # Find who we are. Look in the path if we contain no directory separator.
|
---|
| 6549 | as_myself=
|
---|
| 6550 | case $0 in #((
|
---|
| 6551 | *[\\/]* ) as_myself=$0 ;;
|
---|
| 6552 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 6553 | for as_dir in $PATH
|
---|
| 6554 | do
|
---|
| 6555 | IFS=$as_save_IFS
|
---|
| 6556 | test -z "$as_dir" && as_dir=.
|
---|
| 6557 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
| 6558 | done
|
---|
| 6559 | IFS=$as_save_IFS
|
---|
| 6560 |
|
---|
| 6561 | ;;
|
---|
| 6562 | esac
|
---|
| 6563 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
| 6564 | # in which case we are not to be found in the path.
|
---|
| 6565 | if test "x$as_myself" = x; then
|
---|
| 6566 | as_myself=$0
|
---|
| 6567 | fi
|
---|
| 6568 | if test ! -f "$as_myself"; then
|
---|
| 6569 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
---|
| 6570 | exit 1
|
---|
| 6571 | fi
|
---|
| 6572 |
|
---|
| 6573 | # Unset variables that we do not need and which cause bugs (e.g. in
|
---|
| 6574 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
---|
| 6575 | # suppresses any "Segmentation fault" message there. '((' could
|
---|
| 6576 | # trigger a bug in pdksh 5.2.14.
|
---|
| 6577 | for as_var in BASH_ENV ENV MAIL MAILPATH
|
---|
| 6578 | do eval test x\${$as_var+set} = xset \
|
---|
| 6579 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
---|
| 6580 | done
|
---|
| 6581 | PS1='$ '
|
---|
| 6582 | PS2='> '
|
---|
| 6583 | PS4='+ '
|
---|
| 6584 |
|
---|
| 6585 | # NLS nuisances.
|
---|
| 6586 | LC_ALL=C
|
---|
| 6587 | export LC_ALL
|
---|
| 6588 | LANGUAGE=C
|
---|
| 6589 | export LANGUAGE
|
---|
| 6590 |
|
---|
| 6591 | # CDPATH.
|
---|
| 6592 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
---|
| 6593 |
|
---|
| 6594 |
|
---|
| 6595 | # as_fn_error STATUS ERROR [LINENO LOG_FD]
|
---|
| 6596 | # ----------------------------------------
|
---|
| 6597 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
---|
| 6598 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
---|
| 6599 | # script with STATUS, using 1 if that was 0.
|
---|
| 6600 | as_fn_error ()
|
---|
| 6601 | {
|
---|
| 6602 | as_status=$1; test $as_status -eq 0 && as_status=1
|
---|
| 6603 | if test "$4"; then
|
---|
| 6604 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 6605 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
---|
| 6606 | fi
|
---|
| 6607 | $as_echo "$as_me: error: $2" >&2
|
---|
| 6608 | as_fn_exit $as_status
|
---|
| 6609 | } # as_fn_error
|
---|
| 6610 |
|
---|
| 6611 |
|
---|
| 6612 | # as_fn_set_status STATUS
|
---|
| 6613 | # -----------------------
|
---|
| 6614 | # Set $? to STATUS, without forking.
|
---|
| 6615 | as_fn_set_status ()
|
---|
| 6616 | {
|
---|
| 6617 | return $1
|
---|
| 6618 | } # as_fn_set_status
|
---|
| 6619 |
|
---|
| 6620 | # as_fn_exit STATUS
|
---|
| 6621 | # -----------------
|
---|
| 6622 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
---|
| 6623 | as_fn_exit ()
|
---|
| 6624 | {
|
---|
| 6625 | set +e
|
---|
| 6626 | as_fn_set_status $1
|
---|
| 6627 | exit $1
|
---|
| 6628 | } # as_fn_exit
|
---|
| 6629 |
|
---|
| 6630 | # as_fn_unset VAR
|
---|
| 6631 | # ---------------
|
---|
| 6632 | # Portably unset VAR.
|
---|
| 6633 | as_fn_unset ()
|
---|
| 6634 | {
|
---|
| 6635 | { eval $1=; unset $1;}
|
---|
| 6636 | }
|
---|
| 6637 | as_unset=as_fn_unset
|
---|
| 6638 | # as_fn_append VAR VALUE
|
---|
| 6639 | # ----------------------
|
---|
| 6640 | # Append the text in VALUE to the end of the definition contained in VAR. Take
|
---|
| 6641 | # advantage of any shell optimizations that allow amortized linear growth over
|
---|
| 6642 | # repeated appends, instead of the typical quadratic growth present in naive
|
---|
| 6643 | # implementations.
|
---|
| 6644 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
---|
| 6645 | eval 'as_fn_append ()
|
---|
| 6646 | {
|
---|
| 6647 | eval $1+=\$2
|
---|
| 6648 | }'
|
---|
| 6649 | else
|
---|
| 6650 | as_fn_append ()
|
---|
| 6651 | {
|
---|
| 6652 | eval $1=\$$1\$2
|
---|
| 6653 | }
|
---|
| 6654 | fi # as_fn_append
|
---|
| 6655 |
|
---|
| 6656 | # as_fn_arith ARG...
|
---|
| 6657 | # ------------------
|
---|
| 6658 | # Perform arithmetic evaluation on the ARGs, and store the result in the
|
---|
| 6659 | # global $as_val. Take advantage of shells that can avoid forks. The arguments
|
---|
| 6660 | # must be portable across $(()) and expr.
|
---|
| 6661 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
---|
| 6662 | eval 'as_fn_arith ()
|
---|
| 6663 | {
|
---|
| 6664 | as_val=$(( $* ))
|
---|
| 6665 | }'
|
---|
| 6666 | else
|
---|
| 6667 | as_fn_arith ()
|
---|
| 6668 | {
|
---|
| 6669 | as_val=`expr "$@" || test $? -eq 1`
|
---|
| 6670 | }
|
---|
| 6671 | fi # as_fn_arith
|
---|
| 6672 |
|
---|
| 6673 |
|
---|
| 6674 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
| 6675 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
| 6676 | as_expr=expr
|
---|
| 6677 | else
|
---|
| 6678 | as_expr=false
|
---|
| 6679 | fi
|
---|
| 6680 |
|
---|
| 6681 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
---|
| 6682 | as_basename=basename
|
---|
| 6683 | else
|
---|
| 6684 | as_basename=false
|
---|
| 6685 | fi
|
---|
| 6686 |
|
---|
| 6687 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
---|
| 6688 | as_dirname=dirname
|
---|
| 6689 | else
|
---|
| 6690 | as_dirname=false
|
---|
| 6691 | fi
|
---|
| 6692 |
|
---|
| 6693 | as_me=`$as_basename -- "$0" ||
|
---|
| 6694 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
| 6695 | X"$0" : 'X\(//\)$' \| \
|
---|
| 6696 | X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 6697 | $as_echo X/"$0" |
|
---|
| 6698 | sed '/^.*\/\([^/][^/]*\)\/*$/{
|
---|
| 6699 | s//\1/
|
---|
| 6700 | q
|
---|
| 6701 | }
|
---|
| 6702 | /^X\/\(\/\/\)$/{
|
---|
| 6703 | s//\1/
|
---|
| 6704 | q
|
---|
| 6705 | }
|
---|
| 6706 | /^X\/\(\/\).*/{
|
---|
| 6707 | s//\1/
|
---|
| 6708 | q
|
---|
| 6709 | }
|
---|
| 6710 | s/.*/./; q'`
|
---|
| 6711 |
|
---|
| 6712 | # Avoid depending upon Character Ranges.
|
---|
| 6713 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
| 6714 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
| 6715 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
| 6716 | as_cr_digits='0123456789'
|
---|
| 6717 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
| 6718 |
|
---|
| 6719 | ECHO_C= ECHO_N= ECHO_T=
|
---|
| 6720 | case `echo -n x` in #(((((
|
---|
| 6721 | -n*)
|
---|
| 6722 | case `echo 'xy\c'` in
|
---|
| 6723 | *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
---|
| 6724 | xy) ECHO_C='\c';;
|
---|
| 6725 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
---|
| 6726 | ECHO_T=' ';;
|
---|
| 6727 | esac;;
|
---|
| 6728 | *)
|
---|
| 6729 | ECHO_N='-n';;
|
---|
| 6730 | esac
|
---|
| 6731 |
|
---|
| 6732 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
| 6733 | if test -d conf$$.dir; then
|
---|
| 6734 | rm -f conf$$.dir/conf$$.file
|
---|
| 6735 | else
|
---|
| 6736 | rm -f conf$$.dir
|
---|
| 6737 | mkdir conf$$.dir 2>/dev/null
|
---|
| 6738 | fi
|
---|
| 6739 | if (echo >conf$$.file) 2>/dev/null; then
|
---|
| 6740 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
| 6741 | as_ln_s='ln -s'
|
---|
| 6742 | # ... but there are two gotchas:
|
---|
| 6743 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
---|
| 6744 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
---|
[44f44617] | 6745 | # In both cases, we have to default to `cp -pR'.
|
---|
[3b77289] | 6746 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
---|
[44f44617] | 6747 | as_ln_s='cp -pR'
|
---|
[3b77289] | 6748 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
| 6749 | as_ln_s=ln
|
---|
| 6750 | else
|
---|
[44f44617] | 6751 | as_ln_s='cp -pR'
|
---|
[3b77289] | 6752 | fi
|
---|
| 6753 | else
|
---|
[44f44617] | 6754 | as_ln_s='cp -pR'
|
---|
[3b77289] | 6755 | fi
|
---|
| 6756 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
---|
| 6757 | rmdir conf$$.dir 2>/dev/null
|
---|
| 6758 |
|
---|
| 6759 |
|
---|
| 6760 | # as_fn_mkdir_p
|
---|
| 6761 | # -------------
|
---|
| 6762 | # Create "$as_dir" as a directory, including parents if necessary.
|
---|
| 6763 | as_fn_mkdir_p ()
|
---|
| 6764 | {
|
---|
| 6765 |
|
---|
| 6766 | case $as_dir in #(
|
---|
| 6767 | -*) as_dir=./$as_dir;;
|
---|
| 6768 | esac
|
---|
| 6769 | test -d "$as_dir" || eval $as_mkdir_p || {
|
---|
| 6770 | as_dirs=
|
---|
| 6771 | while :; do
|
---|
| 6772 | case $as_dir in #(
|
---|
| 6773 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
---|
| 6774 | *) as_qdir=$as_dir;;
|
---|
| 6775 | esac
|
---|
| 6776 | as_dirs="'$as_qdir' $as_dirs"
|
---|
| 6777 | as_dir=`$as_dirname -- "$as_dir" ||
|
---|
| 6778 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 6779 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 6780 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
| 6781 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 6782 | $as_echo X"$as_dir" |
|
---|
| 6783 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 6784 | s//\1/
|
---|
| 6785 | q
|
---|
| 6786 | }
|
---|
| 6787 | /^X\(\/\/\)[^/].*/{
|
---|
| 6788 | s//\1/
|
---|
| 6789 | q
|
---|
| 6790 | }
|
---|
| 6791 | /^X\(\/\/\)$/{
|
---|
| 6792 | s//\1/
|
---|
| 6793 | q
|
---|
| 6794 | }
|
---|
| 6795 | /^X\(\/\).*/{
|
---|
| 6796 | s//\1/
|
---|
| 6797 | q
|
---|
| 6798 | }
|
---|
| 6799 | s/.*/./; q'`
|
---|
| 6800 | test -d "$as_dir" && break
|
---|
| 6801 | done
|
---|
| 6802 | test -z "$as_dirs" || eval "mkdir $as_dirs"
|
---|
| 6803 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
---|
| 6804 |
|
---|
| 6805 |
|
---|
| 6806 | } # as_fn_mkdir_p
|
---|
| 6807 | if mkdir -p . 2>/dev/null; then
|
---|
| 6808 | as_mkdir_p='mkdir -p "$as_dir"'
|
---|
| 6809 | else
|
---|
| 6810 | test -d ./-p && rmdir ./-p
|
---|
| 6811 | as_mkdir_p=false
|
---|
| 6812 | fi
|
---|
| 6813 |
|
---|
[44f44617] | 6814 |
|
---|
| 6815 | # as_fn_executable_p FILE
|
---|
| 6816 | # -----------------------
|
---|
| 6817 | # Test if FILE is an executable regular file.
|
---|
| 6818 | as_fn_executable_p ()
|
---|
| 6819 | {
|
---|
| 6820 | test -f "$1" && test -x "$1"
|
---|
| 6821 | } # as_fn_executable_p
|
---|
| 6822 | as_test_x='test -x'
|
---|
| 6823 | as_executable_p=as_fn_executable_p
|
---|
[3b77289] | 6824 |
|
---|
| 6825 | # Sed expression to map a string onto a valid CPP name.
|
---|
| 6826 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 6827 |
|
---|
| 6828 | # Sed expression to map a string onto a valid variable name.
|
---|
| 6829 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 6830 |
|
---|
| 6831 |
|
---|
| 6832 | exec 6>&1
|
---|
| 6833 | ## ----------------------------------- ##
|
---|
| 6834 | ## Main body of $CONFIG_STATUS script. ##
|
---|
| 6835 | ## ----------------------------------- ##
|
---|
| 6836 | _ASEOF
|
---|
| 6837 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
---|
| 6838 |
|
---|
| 6839 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 6840 | # Save the log message, to keep $0 and so on meaningful, and to
|
---|
| 6841 | # report actual input values of CONFIG_FILES etc. instead of their
|
---|
| 6842 | # values after options handling.
|
---|
| 6843 | ac_log="
|
---|
[4b1afb6] | 6844 | This file was extended by cfa-cc $as_me 1.0.0.0, which was
|
---|
[44f44617] | 6845 | generated by GNU Autoconf 2.69. Invocation command line was
|
---|
[3b77289] | 6846 |
|
---|
| 6847 | CONFIG_FILES = $CONFIG_FILES
|
---|
| 6848 | CONFIG_HEADERS = $CONFIG_HEADERS
|
---|
| 6849 | CONFIG_LINKS = $CONFIG_LINKS
|
---|
| 6850 | CONFIG_COMMANDS = $CONFIG_COMMANDS
|
---|
| 6851 | $ $0 $@
|
---|
| 6852 |
|
---|
| 6853 | on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 6854 | "
|
---|
| 6855 |
|
---|
| 6856 | _ACEOF
|
---|
| 6857 |
|
---|
| 6858 | case $ac_config_files in *"
|
---|
| 6859 | "*) set x $ac_config_files; shift; ac_config_files=$*;;
|
---|
| 6860 | esac
|
---|
| 6861 |
|
---|
| 6862 | case $ac_config_headers in *"
|
---|
| 6863 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
|
---|
| 6864 | esac
|
---|
| 6865 |
|
---|
| 6866 |
|
---|
| 6867 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 6868 | # Files that config.status was made for.
|
---|
| 6869 | config_files="$ac_config_files"
|
---|
| 6870 | config_headers="$ac_config_headers"
|
---|
| 6871 | config_commands="$ac_config_commands"
|
---|
| 6872 |
|
---|
| 6873 | _ACEOF
|
---|
| 6874 |
|
---|
| 6875 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 6876 | ac_cs_usage="\
|
---|
| 6877 | \`$as_me' instantiates files and other configuration actions
|
---|
| 6878 | from templates according to the current configuration. Unless the files
|
---|
| 6879 | and actions are specified as TAGs, all are instantiated by default.
|
---|
| 6880 |
|
---|
| 6881 | Usage: $0 [OPTION]... [TAG]...
|
---|
| 6882 |
|
---|
| 6883 | -h, --help print this help, then exit
|
---|
| 6884 | -V, --version print version number and configuration settings, then exit
|
---|
| 6885 | --config print configuration, then exit
|
---|
| 6886 | -q, --quiet, --silent
|
---|
| 6887 | do not print progress messages
|
---|
| 6888 | -d, --debug don't remove temporary files
|
---|
| 6889 | --recheck update $as_me by reconfiguring in the same conditions
|
---|
| 6890 | --file=FILE[:TEMPLATE]
|
---|
| 6891 | instantiate the configuration file FILE
|
---|
| 6892 | --header=FILE[:TEMPLATE]
|
---|
| 6893 | instantiate the configuration header FILE
|
---|
| 6894 |
|
---|
| 6895 | Configuration files:
|
---|
| 6896 | $config_files
|
---|
| 6897 |
|
---|
| 6898 | Configuration headers:
|
---|
| 6899 | $config_headers
|
---|
| 6900 |
|
---|
| 6901 | Configuration commands:
|
---|
| 6902 | $config_commands
|
---|
| 6903 |
|
---|
| 6904 | Report bugs to <cforall@plg.uwaterloo.ca>."
|
---|
| 6905 |
|
---|
| 6906 | _ACEOF
|
---|
| 6907 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 6908 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
---|
| 6909 | ac_cs_version="\\
|
---|
[4b1afb6] | 6910 | cfa-cc config.status 1.0.0.0
|
---|
[44f44617] | 6911 | configured by $0, generated by GNU Autoconf 2.69,
|
---|
[3b77289] | 6912 | with options \\"\$ac_cs_config\\"
|
---|
| 6913 |
|
---|
[44f44617] | 6914 | Copyright (C) 2012 Free Software Foundation, Inc.
|
---|
[3b77289] | 6915 | This config.status script is free software; the Free Software Foundation
|
---|
| 6916 | gives unlimited permission to copy, distribute and modify it."
|
---|
| 6917 |
|
---|
| 6918 | ac_pwd='$ac_pwd'
|
---|
| 6919 | srcdir='$srcdir'
|
---|
| 6920 | INSTALL='$INSTALL'
|
---|
| 6921 | MKDIR_P='$MKDIR_P'
|
---|
| 6922 | AWK='$AWK'
|
---|
| 6923 | test -n "\$AWK" || AWK=awk
|
---|
| 6924 | _ACEOF
|
---|
| 6925 |
|
---|
| 6926 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 6927 | # The default lists apply if the user does not specify any file.
|
---|
| 6928 | ac_need_defaults=:
|
---|
| 6929 | while test $# != 0
|
---|
| 6930 | do
|
---|
| 6931 | case $1 in
|
---|
| 6932 | --*=?*)
|
---|
| 6933 | ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
---|
| 6934 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
---|
| 6935 | ac_shift=:
|
---|
| 6936 | ;;
|
---|
| 6937 | --*=)
|
---|
| 6938 | ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
---|
| 6939 | ac_optarg=
|
---|
| 6940 | ac_shift=:
|
---|
| 6941 | ;;
|
---|
| 6942 | *)
|
---|
| 6943 | ac_option=$1
|
---|
| 6944 | ac_optarg=$2
|
---|
| 6945 | ac_shift=shift
|
---|
| 6946 | ;;
|
---|
| 6947 | esac
|
---|
| 6948 |
|
---|
| 6949 | case $ac_option in
|
---|
| 6950 | # Handling of the options.
|
---|
| 6951 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
---|
| 6952 | ac_cs_recheck=: ;;
|
---|
| 6953 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
---|
| 6954 | $as_echo "$ac_cs_version"; exit ;;
|
---|
| 6955 | --config | --confi | --conf | --con | --co | --c )
|
---|
| 6956 | $as_echo "$ac_cs_config"; exit ;;
|
---|
| 6957 | --debug | --debu | --deb | --de | --d | -d )
|
---|
| 6958 | debug=: ;;
|
---|
| 6959 | --file | --fil | --fi | --f )
|
---|
| 6960 | $ac_shift
|
---|
| 6961 | case $ac_optarg in
|
---|
| 6962 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 6963 | '') as_fn_error $? "missing file argument" ;;
|
---|
| 6964 | esac
|
---|
| 6965 | as_fn_append CONFIG_FILES " '$ac_optarg'"
|
---|
| 6966 | ac_need_defaults=false;;
|
---|
| 6967 | --header | --heade | --head | --hea )
|
---|
| 6968 | $ac_shift
|
---|
| 6969 | case $ac_optarg in
|
---|
| 6970 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 6971 | esac
|
---|
| 6972 | as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
---|
| 6973 | ac_need_defaults=false;;
|
---|
| 6974 | --he | --h)
|
---|
| 6975 | # Conflict between --help and --header
|
---|
| 6976 | as_fn_error $? "ambiguous option: \`$1'
|
---|
| 6977 | Try \`$0 --help' for more information.";;
|
---|
| 6978 | --help | --hel | -h )
|
---|
| 6979 | $as_echo "$ac_cs_usage"; exit ;;
|
---|
| 6980 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 6981 | | -silent | --silent | --silen | --sile | --sil | --si | --s)
|
---|
| 6982 | ac_cs_silent=: ;;
|
---|
| 6983 |
|
---|
| 6984 | # This is an error.
|
---|
| 6985 | -*) as_fn_error $? "unrecognized option: \`$1'
|
---|
| 6986 | Try \`$0 --help' for more information." ;;
|
---|
| 6987 |
|
---|
| 6988 | *) as_fn_append ac_config_targets " $1"
|
---|
| 6989 | ac_need_defaults=false ;;
|
---|
| 6990 |
|
---|
| 6991 | esac
|
---|
| 6992 | shift
|
---|
| 6993 | done
|
---|
| 6994 |
|
---|
| 6995 | ac_configure_extra_args=
|
---|
| 6996 |
|
---|
| 6997 | if $ac_cs_silent; then
|
---|
| 6998 | exec 6>/dev/null
|
---|
| 6999 | ac_configure_extra_args="$ac_configure_extra_args --silent"
|
---|
| 7000 | fi
|
---|
| 7001 |
|
---|
| 7002 | _ACEOF
|
---|
| 7003 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7004 | if \$ac_cs_recheck; then
|
---|
[44f44617] | 7005 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
---|
[3b77289] | 7006 | shift
|
---|
| 7007 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
---|
| 7008 | CONFIG_SHELL='$SHELL'
|
---|
| 7009 | export CONFIG_SHELL
|
---|
| 7010 | exec "\$@"
|
---|
| 7011 | fi
|
---|
| 7012 |
|
---|
| 7013 | _ACEOF
|
---|
| 7014 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7015 | exec 5>>config.log
|
---|
| 7016 | {
|
---|
| 7017 | echo
|
---|
| 7018 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
---|
| 7019 | ## Running $as_me. ##
|
---|
| 7020 | _ASBOX
|
---|
| 7021 | $as_echo "$ac_log"
|
---|
| 7022 | } >&5
|
---|
| 7023 |
|
---|
| 7024 | _ACEOF
|
---|
| 7025 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7026 | #
|
---|
| 7027 | # INIT-COMMANDS
|
---|
| 7028 | #
|
---|
| 7029 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
---|
| 7030 |
|
---|
| 7031 | _ACEOF
|
---|
| 7032 |
|
---|
| 7033 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7034 |
|
---|
| 7035 | # Handling of arguments.
|
---|
| 7036 | for ac_config_target in $ac_config_targets
|
---|
| 7037 | do
|
---|
| 7038 | case $ac_config_target in
|
---|
| 7039 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
---|
| 7040 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
---|
| 7041 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
---|
[6e7e2b36] | 7042 | "src/driver/Makefile") CONFIG_FILES="$CONFIG_FILES src/driver/Makefile" ;;
|
---|
[00cc023] | 7043 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
|
---|
[ac93b228] | 7044 | "src/benchmark/Makefile") CONFIG_FILES="$CONFIG_FILES src/benchmark/Makefile" ;;
|
---|
[76f2e97f] | 7045 | "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
|
---|
[ef7d253] | 7046 | "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
|
---|
[cc3e4d0] | 7047 | "src/tests/preempt_longrun/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/preempt_longrun/Makefile" ;;
|
---|
[375a068] | 7048 | "src/prelude/Makefile") CONFIG_FILES="$CONFIG_FILES src/prelude/Makefile" ;;
|
---|
[6e7e2b36] | 7049 | "src/libcfa/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcfa/Makefile" ;;
|
---|
[4149d9d] | 7050 | "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
|
---|
[2b7afbd] | 7051 | "tools/prettyprinter/Makefile") CONFIG_FILES="$CONFIG_FILES tools/prettyprinter/Makefile" ;;
|
---|
[3b77289] | 7052 |
|
---|
| 7053 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
---|
| 7054 | esac
|
---|
| 7055 | done
|
---|
| 7056 |
|
---|
| 7057 |
|
---|
| 7058 | # If the user did not use the arguments to specify the items to instantiate,
|
---|
| 7059 | # then the envvar interface is used. Set only those that are not.
|
---|
| 7060 | # We use the long form for the default assignment because of an extremely
|
---|
| 7061 | # bizarre bug on SunOS 4.1.3.
|
---|
| 7062 | if $ac_need_defaults; then
|
---|
| 7063 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
---|
| 7064 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
---|
| 7065 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
---|
| 7066 | fi
|
---|
| 7067 |
|
---|
| 7068 | # Have a temporary directory for convenience. Make it in the build tree
|
---|
| 7069 | # simply because there is no reason against having it here, and in addition,
|
---|
| 7070 | # creating and moving files from /tmp can sometimes cause problems.
|
---|
| 7071 | # Hook for its removal unless debugging.
|
---|
| 7072 | # Note that there is a small window in which the directory will not be cleaned:
|
---|
| 7073 | # after its creation but before its name has been assigned to `$tmp'.
|
---|
| 7074 | $debug ||
|
---|
| 7075 | {
|
---|
| 7076 | tmp= ac_tmp=
|
---|
| 7077 | trap 'exit_status=$?
|
---|
| 7078 | : "${ac_tmp:=$tmp}"
|
---|
| 7079 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
|
---|
| 7080 | ' 0
|
---|
| 7081 | trap 'as_fn_exit 1' 1 2 13 15
|
---|
| 7082 | }
|
---|
| 7083 | # Create a (secure) tmp directory for tmp files.
|
---|
| 7084 |
|
---|
| 7085 | {
|
---|
| 7086 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
---|
| 7087 | test -d "$tmp"
|
---|
| 7088 | } ||
|
---|
| 7089 | {
|
---|
| 7090 | tmp=./conf$$-$RANDOM
|
---|
| 7091 | (umask 077 && mkdir "$tmp")
|
---|
| 7092 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
|
---|
| 7093 | ac_tmp=$tmp
|
---|
| 7094 |
|
---|
| 7095 | # Set up the scripts for CONFIG_FILES section.
|
---|
| 7096 | # No need to generate them if there are no CONFIG_FILES.
|
---|
| 7097 | # This happens for instance with `./config.status config.h'.
|
---|
| 7098 | if test -n "$CONFIG_FILES"; then
|
---|
| 7099 |
|
---|
| 7100 |
|
---|
| 7101 | ac_cr=`echo X | tr X '\015'`
|
---|
| 7102 | # On cygwin, bash can eat \r inside `` if the user requested igncr.
|
---|
| 7103 | # But we know of no other shell where ac_cr would be empty at this
|
---|
| 7104 | # point, so we can use a bashism as a fallback.
|
---|
| 7105 | if test "x$ac_cr" = x; then
|
---|
| 7106 | eval ac_cr=\$\'\\r\'
|
---|
| 7107 | fi
|
---|
| 7108 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
---|
| 7109 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
---|
| 7110 | ac_cs_awk_cr='\\r'
|
---|
| 7111 | else
|
---|
| 7112 | ac_cs_awk_cr=$ac_cr
|
---|
| 7113 | fi
|
---|
| 7114 |
|
---|
| 7115 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
|
---|
| 7116 | _ACEOF
|
---|
| 7117 |
|
---|
| 7118 |
|
---|
| 7119 | {
|
---|
| 7120 | echo "cat >conf$$subs.awk <<_ACEOF" &&
|
---|
| 7121 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
---|
| 7122 | echo "_ACEOF"
|
---|
| 7123 | } >conf$$subs.sh ||
|
---|
| 7124 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
---|
| 7125 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
|
---|
| 7126 | ac_delim='%!_!# '
|
---|
| 7127 | for ac_last_try in false false false false false :; do
|
---|
| 7128 | . ./conf$$subs.sh ||
|
---|
| 7129 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
---|
| 7130 |
|
---|
| 7131 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
---|
| 7132 | if test $ac_delim_n = $ac_delim_num; then
|
---|
| 7133 | break
|
---|
| 7134 | elif $ac_last_try; then
|
---|
| 7135 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
---|
| 7136 | else
|
---|
| 7137 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
---|
| 7138 | fi
|
---|
| 7139 | done
|
---|
| 7140 | rm -f conf$$subs.sh
|
---|
| 7141 |
|
---|
| 7142 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7143 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
|
---|
| 7144 | _ACEOF
|
---|
| 7145 | sed -n '
|
---|
| 7146 | h
|
---|
| 7147 | s/^/S["/; s/!.*/"]=/
|
---|
| 7148 | p
|
---|
| 7149 | g
|
---|
| 7150 | s/^[^!]*!//
|
---|
| 7151 | :repl
|
---|
| 7152 | t repl
|
---|
| 7153 | s/'"$ac_delim"'$//
|
---|
| 7154 | t delim
|
---|
| 7155 | :nl
|
---|
| 7156 | h
|
---|
| 7157 | s/\(.\{148\}\)..*/\1/
|
---|
| 7158 | t more1
|
---|
| 7159 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
---|
| 7160 | p
|
---|
| 7161 | n
|
---|
| 7162 | b repl
|
---|
| 7163 | :more1
|
---|
| 7164 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
---|
| 7165 | p
|
---|
| 7166 | g
|
---|
| 7167 | s/.\{148\}//
|
---|
| 7168 | t nl
|
---|
| 7169 | :delim
|
---|
| 7170 | h
|
---|
| 7171 | s/\(.\{148\}\)..*/\1/
|
---|
| 7172 | t more2
|
---|
| 7173 | s/["\\]/\\&/g; s/^/"/; s/$/"/
|
---|
| 7174 | p
|
---|
| 7175 | b
|
---|
| 7176 | :more2
|
---|
| 7177 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
---|
| 7178 | p
|
---|
| 7179 | g
|
---|
| 7180 | s/.\{148\}//
|
---|
| 7181 | t delim
|
---|
| 7182 | ' <conf$$subs.awk | sed '
|
---|
| 7183 | /^[^""]/{
|
---|
| 7184 | N
|
---|
| 7185 | s/\n//
|
---|
| 7186 | }
|
---|
| 7187 | ' >>$CONFIG_STATUS || ac_write_fail=1
|
---|
| 7188 | rm -f conf$$subs.awk
|
---|
| 7189 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7190 | _ACAWK
|
---|
| 7191 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
|
---|
| 7192 | for (key in S) S_is_set[key] = 1
|
---|
| 7193 | FS = ""
|
---|
| 7194 |
|
---|
| 7195 | }
|
---|
| 7196 | {
|
---|
| 7197 | line = $ 0
|
---|
| 7198 | nfields = split(line, field, "@")
|
---|
| 7199 | substed = 0
|
---|
| 7200 | len = length(field[1])
|
---|
| 7201 | for (i = 2; i < nfields; i++) {
|
---|
| 7202 | key = field[i]
|
---|
| 7203 | keylen = length(key)
|
---|
| 7204 | if (S_is_set[key]) {
|
---|
| 7205 | value = S[key]
|
---|
| 7206 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
---|
| 7207 | len += length(value) + length(field[++i])
|
---|
| 7208 | substed = 1
|
---|
| 7209 | } else
|
---|
| 7210 | len += 1 + keylen
|
---|
| 7211 | }
|
---|
| 7212 |
|
---|
| 7213 | print line
|
---|
| 7214 | }
|
---|
| 7215 |
|
---|
| 7216 | _ACAWK
|
---|
| 7217 | _ACEOF
|
---|
| 7218 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7219 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
---|
| 7220 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
---|
| 7221 | else
|
---|
| 7222 | cat
|
---|
| 7223 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
|
---|
| 7224 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
|
---|
| 7225 | _ACEOF
|
---|
| 7226 |
|
---|
| 7227 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
|
---|
| 7228 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
|
---|
| 7229 | # trailing colons and then remove the whole line if VPATH becomes empty
|
---|
| 7230 | # (actually we leave an empty line to preserve line numbers).
|
---|
| 7231 | if test "x$srcdir" = x.; then
|
---|
| 7232 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
|
---|
| 7233 | h
|
---|
| 7234 | s///
|
---|
| 7235 | s/^/:/
|
---|
| 7236 | s/[ ]*$/:/
|
---|
| 7237 | s/:\$(srcdir):/:/g
|
---|
| 7238 | s/:\${srcdir}:/:/g
|
---|
| 7239 | s/:@srcdir@:/:/g
|
---|
| 7240 | s/^:*//
|
---|
| 7241 | s/:*$//
|
---|
| 7242 | x
|
---|
| 7243 | s/\(=[ ]*\).*/\1/
|
---|
| 7244 | G
|
---|
| 7245 | s/\n//
|
---|
| 7246 | s/^[^=]*=[ ]*$//
|
---|
| 7247 | }'
|
---|
| 7248 | fi
|
---|
| 7249 |
|
---|
| 7250 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7251 | fi # test -n "$CONFIG_FILES"
|
---|
| 7252 |
|
---|
| 7253 | # Set up the scripts for CONFIG_HEADERS section.
|
---|
| 7254 | # No need to generate them if there are no CONFIG_HEADERS.
|
---|
| 7255 | # This happens for instance with `./config.status Makefile'.
|
---|
| 7256 | if test -n "$CONFIG_HEADERS"; then
|
---|
| 7257 | cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
|
---|
| 7258 | BEGIN {
|
---|
| 7259 | _ACEOF
|
---|
| 7260 |
|
---|
| 7261 | # Transform confdefs.h into an awk script `defines.awk', embedded as
|
---|
| 7262 | # here-document in config.status, that substitutes the proper values into
|
---|
| 7263 | # config.h.in to produce config.h.
|
---|
| 7264 |
|
---|
| 7265 | # Create a delimiter string that does not exist in confdefs.h, to ease
|
---|
| 7266 | # handling of long lines.
|
---|
| 7267 | ac_delim='%!_!# '
|
---|
| 7268 | for ac_last_try in false false :; do
|
---|
| 7269 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
|
---|
| 7270 | if test -z "$ac_tt"; then
|
---|
| 7271 | break
|
---|
| 7272 | elif $ac_last_try; then
|
---|
| 7273 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
|
---|
| 7274 | else
|
---|
| 7275 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
---|
| 7276 | fi
|
---|
| 7277 | done
|
---|
| 7278 |
|
---|
| 7279 | # For the awk script, D is an array of macro values keyed by name,
|
---|
| 7280 | # likewise P contains macro parameters if any. Preserve backslash
|
---|
| 7281 | # newline sequences.
|
---|
| 7282 |
|
---|
| 7283 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
|
---|
| 7284 | sed -n '
|
---|
| 7285 | s/.\{148\}/&'"$ac_delim"'/g
|
---|
| 7286 | t rset
|
---|
| 7287 | :rset
|
---|
| 7288 | s/^[ ]*#[ ]*define[ ][ ]*/ /
|
---|
| 7289 | t def
|
---|
| 7290 | d
|
---|
| 7291 | :def
|
---|
| 7292 | s/\\$//
|
---|
| 7293 | t bsnl
|
---|
| 7294 | s/["\\]/\\&/g
|
---|
| 7295 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
---|
| 7296 | D["\1"]=" \3"/p
|
---|
| 7297 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
|
---|
| 7298 | d
|
---|
| 7299 | :bsnl
|
---|
| 7300 | s/["\\]/\\&/g
|
---|
| 7301 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
---|
| 7302 | D["\1"]=" \3\\\\\\n"\\/p
|
---|
| 7303 | t cont
|
---|
| 7304 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
|
---|
| 7305 | t cont
|
---|
| 7306 | d
|
---|
| 7307 | :cont
|
---|
| 7308 | n
|
---|
| 7309 | s/.\{148\}/&'"$ac_delim"'/g
|
---|
| 7310 | t clear
|
---|
| 7311 | :clear
|
---|
| 7312 | s/\\$//
|
---|
| 7313 | t bsnlc
|
---|
| 7314 | s/["\\]/\\&/g; s/^/"/; s/$/"/p
|
---|
| 7315 | d
|
---|
| 7316 | :bsnlc
|
---|
| 7317 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
|
---|
| 7318 | b cont
|
---|
| 7319 | ' <confdefs.h | sed '
|
---|
| 7320 | s/'"$ac_delim"'/"\\\
|
---|
| 7321 | "/g' >>$CONFIG_STATUS || ac_write_fail=1
|
---|
| 7322 |
|
---|
| 7323 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7324 | for (key in D) D_is_set[key] = 1
|
---|
| 7325 | FS = ""
|
---|
| 7326 | }
|
---|
| 7327 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
|
---|
| 7328 | line = \$ 0
|
---|
| 7329 | split(line, arg, " ")
|
---|
| 7330 | if (arg[1] == "#") {
|
---|
| 7331 | defundef = arg[2]
|
---|
| 7332 | mac1 = arg[3]
|
---|
| 7333 | } else {
|
---|
| 7334 | defundef = substr(arg[1], 2)
|
---|
| 7335 | mac1 = arg[2]
|
---|
| 7336 | }
|
---|
| 7337 | split(mac1, mac2, "(") #)
|
---|
| 7338 | macro = mac2[1]
|
---|
| 7339 | prefix = substr(line, 1, index(line, defundef) - 1)
|
---|
| 7340 | if (D_is_set[macro]) {
|
---|
| 7341 | # Preserve the white space surrounding the "#".
|
---|
| 7342 | print prefix "define", macro P[macro] D[macro]
|
---|
| 7343 | next
|
---|
| 7344 | } else {
|
---|
| 7345 | # Replace #undef with comments. This is necessary, for example,
|
---|
| 7346 | # in the case of _POSIX_SOURCE, which is predefined and required
|
---|
| 7347 | # on some systems where configure will not decide to define it.
|
---|
| 7348 | if (defundef == "undef") {
|
---|
| 7349 | print "/*", prefix defundef, macro, "*/"
|
---|
| 7350 | next
|
---|
| 7351 | }
|
---|
| 7352 | }
|
---|
| 7353 | }
|
---|
| 7354 | { print }
|
---|
| 7355 | _ACAWK
|
---|
| 7356 | _ACEOF
|
---|
| 7357 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7358 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
|
---|
| 7359 | fi # test -n "$CONFIG_HEADERS"
|
---|
| 7360 |
|
---|
| 7361 |
|
---|
| 7362 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
|
---|
| 7363 | shift
|
---|
| 7364 | for ac_tag
|
---|
| 7365 | do
|
---|
| 7366 | case $ac_tag in
|
---|
| 7367 | :[FHLC]) ac_mode=$ac_tag; continue;;
|
---|
| 7368 | esac
|
---|
| 7369 | case $ac_mode$ac_tag in
|
---|
| 7370 | :[FHL]*:*);;
|
---|
| 7371 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
---|
| 7372 | :[FH]-) ac_tag=-:-;;
|
---|
| 7373 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
---|
| 7374 | esac
|
---|
| 7375 | ac_save_IFS=$IFS
|
---|
| 7376 | IFS=:
|
---|
| 7377 | set x $ac_tag
|
---|
| 7378 | IFS=$ac_save_IFS
|
---|
| 7379 | shift
|
---|
| 7380 | ac_file=$1
|
---|
| 7381 | shift
|
---|
| 7382 |
|
---|
| 7383 | case $ac_mode in
|
---|
| 7384 | :L) ac_source=$1;;
|
---|
| 7385 | :[FH])
|
---|
| 7386 | ac_file_inputs=
|
---|
| 7387 | for ac_f
|
---|
| 7388 | do
|
---|
| 7389 | case $ac_f in
|
---|
| 7390 | -) ac_f="$ac_tmp/stdin";;
|
---|
| 7391 | *) # Look for the file first in the build tree, then in the source tree
|
---|
| 7392 | # (if the path is not absolute). The absolute path cannot be DOS-style,
|
---|
| 7393 | # because $ac_f cannot contain `:'.
|
---|
| 7394 | test -f "$ac_f" ||
|
---|
| 7395 | case $ac_f in
|
---|
| 7396 | [\\/$]*) false;;
|
---|
| 7397 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
---|
| 7398 | esac ||
|
---|
| 7399 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
---|
| 7400 | esac
|
---|
| 7401 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
---|
| 7402 | as_fn_append ac_file_inputs " '$ac_f'"
|
---|
| 7403 | done
|
---|
| 7404 |
|
---|
| 7405 | # Let's still pretend it is `configure' which instantiates (i.e., don't
|
---|
| 7406 | # use $as_me), people would be surprised to read:
|
---|
| 7407 | # /* config.h. Generated by config.status. */
|
---|
| 7408 | configure_input='Generated from '`
|
---|
| 7409 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
---|
| 7410 | `' by configure.'
|
---|
| 7411 | if test x"$ac_file" != x-; then
|
---|
| 7412 | configure_input="$ac_file. $configure_input"
|
---|
| 7413 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
---|
| 7414 | $as_echo "$as_me: creating $ac_file" >&6;}
|
---|
| 7415 | fi
|
---|
| 7416 | # Neutralize special characters interpreted by sed in replacement strings.
|
---|
| 7417 | case $configure_input in #(
|
---|
| 7418 | *\&* | *\|* | *\\* )
|
---|
| 7419 | ac_sed_conf_input=`$as_echo "$configure_input" |
|
---|
| 7420 | sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
---|
| 7421 | *) ac_sed_conf_input=$configure_input;;
|
---|
| 7422 | esac
|
---|
| 7423 |
|
---|
| 7424 | case $ac_tag in
|
---|
| 7425 | *:-:* | *:-) cat >"$ac_tmp/stdin" \
|
---|
| 7426 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
|
---|
| 7427 | esac
|
---|
| 7428 | ;;
|
---|
| 7429 | esac
|
---|
| 7430 |
|
---|
| 7431 | ac_dir=`$as_dirname -- "$ac_file" ||
|
---|
| 7432 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 7433 | X"$ac_file" : 'X\(//\)[^/]' \| \
|
---|
| 7434 | X"$ac_file" : 'X\(//\)$' \| \
|
---|
| 7435 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 7436 | $as_echo X"$ac_file" |
|
---|
| 7437 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 7438 | s//\1/
|
---|
| 7439 | q
|
---|
| 7440 | }
|
---|
| 7441 | /^X\(\/\/\)[^/].*/{
|
---|
| 7442 | s//\1/
|
---|
| 7443 | q
|
---|
| 7444 | }
|
---|
| 7445 | /^X\(\/\/\)$/{
|
---|
| 7446 | s//\1/
|
---|
| 7447 | q
|
---|
| 7448 | }
|
---|
| 7449 | /^X\(\/\).*/{
|
---|
| 7450 | s//\1/
|
---|
| 7451 | q
|
---|
| 7452 | }
|
---|
| 7453 | s/.*/./; q'`
|
---|
| 7454 | as_dir="$ac_dir"; as_fn_mkdir_p
|
---|
| 7455 | ac_builddir=.
|
---|
| 7456 |
|
---|
| 7457 | case "$ac_dir" in
|
---|
| 7458 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 7459 | *)
|
---|
| 7460 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
---|
| 7461 | # A ".." for each directory in $ac_dir_suffix.
|
---|
| 7462 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
---|
| 7463 | case $ac_top_builddir_sub in
|
---|
| 7464 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 7465 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 7466 | esac ;;
|
---|
| 7467 | esac
|
---|
| 7468 | ac_abs_top_builddir=$ac_pwd
|
---|
| 7469 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 7470 | # for backward compatibility:
|
---|
| 7471 | ac_top_builddir=$ac_top_build_prefix
|
---|
| 7472 |
|
---|
| 7473 | case $srcdir in
|
---|
| 7474 | .) # We are building in place.
|
---|
| 7475 | ac_srcdir=.
|
---|
| 7476 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 7477 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 7478 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
| 7479 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
| 7480 | ac_top_srcdir=$srcdir
|
---|
| 7481 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 7482 | *) # Relative name.
|
---|
| 7483 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 7484 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 7485 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
| 7486 | esac
|
---|
| 7487 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
| 7488 |
|
---|
| 7489 |
|
---|
| 7490 | case $ac_mode in
|
---|
| 7491 | :F)
|
---|
| 7492 | #
|
---|
| 7493 | # CONFIG_FILE
|
---|
| 7494 | #
|
---|
| 7495 |
|
---|
| 7496 | case $INSTALL in
|
---|
| 7497 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
---|
| 7498 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
---|
| 7499 | esac
|
---|
| 7500 | ac_MKDIR_P=$MKDIR_P
|
---|
| 7501 | case $MKDIR_P in
|
---|
| 7502 | [\\/$]* | ?:[\\/]* ) ;;
|
---|
| 7503 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
|
---|
| 7504 | esac
|
---|
| 7505 | _ACEOF
|
---|
| 7506 |
|
---|
| 7507 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7508 | # If the template does not know about datarootdir, expand it.
|
---|
| 7509 | # FIXME: This hack should be removed a few years after 2.60.
|
---|
| 7510 | ac_datarootdir_hack=; ac_datarootdir_seen=
|
---|
| 7511 | ac_sed_dataroot='
|
---|
| 7512 | /datarootdir/ {
|
---|
| 7513 | p
|
---|
| 7514 | q
|
---|
| 7515 | }
|
---|
| 7516 | /@datadir@/p
|
---|
| 7517 | /@docdir@/p
|
---|
| 7518 | /@infodir@/p
|
---|
| 7519 | /@localedir@/p
|
---|
| 7520 | /@mandir@/p'
|
---|
| 7521 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
---|
| 7522 | *datarootdir*) ac_datarootdir_seen=yes;;
|
---|
| 7523 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
---|
| 7524 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
---|
| 7525 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
---|
| 7526 | _ACEOF
|
---|
| 7527 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7528 | ac_datarootdir_hack='
|
---|
| 7529 | s&@datadir@&$datadir&g
|
---|
| 7530 | s&@docdir@&$docdir&g
|
---|
| 7531 | s&@infodir@&$infodir&g
|
---|
| 7532 | s&@localedir@&$localedir&g
|
---|
| 7533 | s&@mandir@&$mandir&g
|
---|
| 7534 | s&\\\${datarootdir}&$datarootdir&g' ;;
|
---|
| 7535 | esac
|
---|
| 7536 | _ACEOF
|
---|
| 7537 |
|
---|
| 7538 | # Neutralize VPATH when `$srcdir' = `.'.
|
---|
| 7539 | # Shell code in configure.ac might set extrasub.
|
---|
| 7540 | # FIXME: do we really want to maintain this feature?
|
---|
| 7541 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7542 | ac_sed_extra="$ac_vpsub
|
---|
| 7543 | $extrasub
|
---|
| 7544 | _ACEOF
|
---|
| 7545 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7546 | :t
|
---|
| 7547 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
---|
| 7548 | s|@configure_input@|$ac_sed_conf_input|;t t
|
---|
| 7549 | s&@top_builddir@&$ac_top_builddir_sub&;t t
|
---|
| 7550 | s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
---|
| 7551 | s&@srcdir@&$ac_srcdir&;t t
|
---|
| 7552 | s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
---|
| 7553 | s&@top_srcdir@&$ac_top_srcdir&;t t
|
---|
| 7554 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
---|
| 7555 | s&@builddir@&$ac_builddir&;t t
|
---|
| 7556 | s&@abs_builddir@&$ac_abs_builddir&;t t
|
---|
| 7557 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
---|
| 7558 | s&@INSTALL@&$ac_INSTALL&;t t
|
---|
| 7559 | s&@MKDIR_P@&$ac_MKDIR_P&;t t
|
---|
| 7560 | $ac_datarootdir_hack
|
---|
| 7561 | "
|
---|
| 7562 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
|
---|
| 7563 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
| 7564 |
|
---|
| 7565 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
---|
| 7566 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
|
---|
| 7567 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
|
---|
| 7568 | "$ac_tmp/out"`; test -z "$ac_out"; } &&
|
---|
| 7569 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
---|
| 7570 | which seems to be undefined. Please make sure it is defined" >&5
|
---|
| 7571 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
---|
| 7572 | which seems to be undefined. Please make sure it is defined" >&2;}
|
---|
| 7573 |
|
---|
| 7574 | rm -f "$ac_tmp/stdin"
|
---|
| 7575 | case $ac_file in
|
---|
| 7576 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
|
---|
| 7577 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
|
---|
| 7578 | esac \
|
---|
| 7579 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
| 7580 | ;;
|
---|
| 7581 | :H)
|
---|
| 7582 | #
|
---|
| 7583 | # CONFIG_HEADER
|
---|
| 7584 | #
|
---|
| 7585 | if test x"$ac_file" != x-; then
|
---|
| 7586 | {
|
---|
| 7587 | $as_echo "/* $configure_input */" \
|
---|
| 7588 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
|
---|
| 7589 | } >"$ac_tmp/config.h" \
|
---|
| 7590 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
| 7591 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
|
---|
| 7592 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
---|
| 7593 | $as_echo "$as_me: $ac_file is unchanged" >&6;}
|
---|
| 7594 | else
|
---|
| 7595 | rm -f "$ac_file"
|
---|
| 7596 | mv "$ac_tmp/config.h" "$ac_file" \
|
---|
| 7597 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
| 7598 | fi
|
---|
| 7599 | else
|
---|
| 7600 | $as_echo "/* $configure_input */" \
|
---|
| 7601 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
|
---|
| 7602 | || as_fn_error $? "could not create -" "$LINENO" 5
|
---|
| 7603 | fi
|
---|
| 7604 | # Compute "$ac_file"'s index in $config_headers.
|
---|
| 7605 | _am_arg="$ac_file"
|
---|
| 7606 | _am_stamp_count=1
|
---|
| 7607 | for _am_header in $config_headers :; do
|
---|
| 7608 | case $_am_header in
|
---|
| 7609 | $_am_arg | $_am_arg:* )
|
---|
| 7610 | break ;;
|
---|
| 7611 | * )
|
---|
| 7612 | _am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
---|
| 7613 | esac
|
---|
| 7614 | done
|
---|
| 7615 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
|
---|
| 7616 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 7617 | X"$_am_arg" : 'X\(//\)[^/]' \| \
|
---|
| 7618 | X"$_am_arg" : 'X\(//\)$' \| \
|
---|
| 7619 | X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 7620 | $as_echo X"$_am_arg" |
|
---|
| 7621 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 7622 | s//\1/
|
---|
| 7623 | q
|
---|
| 7624 | }
|
---|
| 7625 | /^X\(\/\/\)[^/].*/{
|
---|
| 7626 | s//\1/
|
---|
| 7627 | q
|
---|
| 7628 | }
|
---|
| 7629 | /^X\(\/\/\)$/{
|
---|
| 7630 | s//\1/
|
---|
| 7631 | q
|
---|
| 7632 | }
|
---|
| 7633 | /^X\(\/\).*/{
|
---|
| 7634 | s//\1/
|
---|
| 7635 | q
|
---|
| 7636 | }
|
---|
| 7637 | s/.*/./; q'`/stamp-h$_am_stamp_count
|
---|
| 7638 | ;;
|
---|
| 7639 |
|
---|
| 7640 | :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
---|
| 7641 | $as_echo "$as_me: executing $ac_file commands" >&6;}
|
---|
| 7642 | ;;
|
---|
| 7643 | esac
|
---|
| 7644 |
|
---|
| 7645 |
|
---|
| 7646 | case $ac_file$ac_mode in
|
---|
| 7647 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
|
---|
[44f44617] | 7648 | # Older Autoconf quotes --file arguments for eval, but not when files
|
---|
[3b77289] | 7649 | # are listed without --file. Let's play safe and only enable the eval
|
---|
| 7650 | # if we detect the quoting.
|
---|
| 7651 | case $CONFIG_FILES in
|
---|
| 7652 | *\'*) eval set x "$CONFIG_FILES" ;;
|
---|
| 7653 | *) set x $CONFIG_FILES ;;
|
---|
| 7654 | esac
|
---|
| 7655 | shift
|
---|
| 7656 | for mf
|
---|
| 7657 | do
|
---|
| 7658 | # Strip MF so we end up with the name of the file.
|
---|
| 7659 | mf=`echo "$mf" | sed -e 's/:.*$//'`
|
---|
| 7660 | # Check whether this is an Automake generated Makefile or not.
|
---|
[44f44617] | 7661 | # We used to match only the files named 'Makefile.in', but
|
---|
[3b77289] | 7662 | # some people rename them; so instead we look at the file content.
|
---|
| 7663 | # Grep'ing the first line is not enough: some people post-process
|
---|
| 7664 | # each Makefile.in and add a new line on top of each file to say so.
|
---|
| 7665 | # Grep'ing the whole file is not good either: AIX grep has a line
|
---|
| 7666 | # limit of 2048, but all sed's we know have understand at least 4000.
|
---|
| 7667 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
|
---|
| 7668 | dirpart=`$as_dirname -- "$mf" ||
|
---|
| 7669 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 7670 | X"$mf" : 'X\(//\)[^/]' \| \
|
---|
| 7671 | X"$mf" : 'X\(//\)$' \| \
|
---|
| 7672 | X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 7673 | $as_echo X"$mf" |
|
---|
| 7674 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 7675 | s//\1/
|
---|
| 7676 | q
|
---|
| 7677 | }
|
---|
| 7678 | /^X\(\/\/\)[^/].*/{
|
---|
| 7679 | s//\1/
|
---|
| 7680 | q
|
---|
| 7681 | }
|
---|
| 7682 | /^X\(\/\/\)$/{
|
---|
| 7683 | s//\1/
|
---|
| 7684 | q
|
---|
| 7685 | }
|
---|
| 7686 | /^X\(\/\).*/{
|
---|
| 7687 | s//\1/
|
---|
| 7688 | q
|
---|
| 7689 | }
|
---|
| 7690 | s/.*/./; q'`
|
---|
| 7691 | else
|
---|
| 7692 | continue
|
---|
| 7693 | fi
|
---|
| 7694 | # Extract the definition of DEPDIR, am__include, and am__quote
|
---|
[44f44617] | 7695 | # from the Makefile without running 'make'.
|
---|
[3b77289] | 7696 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
---|
| 7697 | test -z "$DEPDIR" && continue
|
---|
| 7698 | am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
---|
[44f44617] | 7699 | test -z "$am__include" && continue
|
---|
[3b77289] | 7700 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
---|
| 7701 | # Find all dependency output files, they are included files with
|
---|
| 7702 | # $(DEPDIR) in their names. We invoke sed twice because it is the
|
---|
| 7703 | # simplest approach to changing $(DEPDIR) to its actual value in the
|
---|
| 7704 | # expansion.
|
---|
| 7705 | for file in `sed -n "
|
---|
| 7706 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
---|
[44f44617] | 7707 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
|
---|
[3b77289] | 7708 | # Make sure the directory exists.
|
---|
| 7709 | test -f "$dirpart/$file" && continue
|
---|
| 7710 | fdir=`$as_dirname -- "$file" ||
|
---|
| 7711 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 7712 | X"$file" : 'X\(//\)[^/]' \| \
|
---|
| 7713 | X"$file" : 'X\(//\)$' \| \
|
---|
| 7714 | X"$file" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 7715 | $as_echo X"$file" |
|
---|
| 7716 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 7717 | s//\1/
|
---|
| 7718 | q
|
---|
| 7719 | }
|
---|
| 7720 | /^X\(\/\/\)[^/].*/{
|
---|
| 7721 | s//\1/
|
---|
| 7722 | q
|
---|
| 7723 | }
|
---|
| 7724 | /^X\(\/\/\)$/{
|
---|
| 7725 | s//\1/
|
---|
| 7726 | q
|
---|
| 7727 | }
|
---|
| 7728 | /^X\(\/\).*/{
|
---|
| 7729 | s//\1/
|
---|
| 7730 | q
|
---|
| 7731 | }
|
---|
| 7732 | s/.*/./; q'`
|
---|
| 7733 | as_dir=$dirpart/$fdir; as_fn_mkdir_p
|
---|
| 7734 | # echo "creating $dirpart/$file"
|
---|
| 7735 | echo '# dummy' > "$dirpart/$file"
|
---|
| 7736 | done
|
---|
| 7737 | done
|
---|
| 7738 | }
|
---|
| 7739 | ;;
|
---|
| 7740 |
|
---|
| 7741 | esac
|
---|
| 7742 | done # for ac_tag
|
---|
| 7743 |
|
---|
| 7744 |
|
---|
| 7745 | as_fn_exit 0
|
---|
| 7746 | _ACEOF
|
---|
| 7747 | ac_clean_files=$ac_clean_files_save
|
---|
| 7748 |
|
---|
| 7749 | test $ac_write_fail = 0 ||
|
---|
| 7750 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
---|
| 7751 |
|
---|
| 7752 |
|
---|
| 7753 | # configure is writing to config.log, and then calls config.status.
|
---|
| 7754 | # config.status does its own redirection, appending to config.log.
|
---|
| 7755 | # Unfortunately, on DOS this fails, as config.log is still kept open
|
---|
| 7756 | # by configure, so config.status won't be able to write to it; its
|
---|
| 7757 | # output is simply discarded. So we exec the FD to /dev/null,
|
---|
| 7758 | # effectively closing config.log, so it can be properly (re)opened and
|
---|
| 7759 | # appended to by config.status. When coming back to configure, we
|
---|
| 7760 | # need to make the FD available again.
|
---|
| 7761 | if test "$no_create" != yes; then
|
---|
| 7762 | ac_cs_success=:
|
---|
| 7763 | ac_config_status_args=
|
---|
| 7764 | test "$silent" = yes &&
|
---|
| 7765 | ac_config_status_args="$ac_config_status_args --quiet"
|
---|
| 7766 | exec 5>/dev/null
|
---|
| 7767 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
---|
| 7768 | exec 5>>config.log
|
---|
| 7769 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
---|
| 7770 | # would make configure fail if this is the last instruction.
|
---|
| 7771 | $ac_cs_success || as_fn_exit 1
|
---|
| 7772 | fi
|
---|
| 7773 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
---|
| 7774 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
---|
| 7775 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
---|
| 7776 | fi
|
---|
| 7777 |
|
---|
[7e91d4f] | 7778 |
|
---|
[9def87a] | 7779 | if test -z "$BUILD_RELEASE_TRUE"; then :
|
---|
| 7780 | if test -z "$BUILD_DEBUG_TRUE"; then :
|
---|
| 7781 | { $as_echo "$as_me:${as_lineno-$LINENO}: Building libcfa for target: release & debug" >&5
|
---|
| 7782 | $as_echo "$as_me: Building libcfa for target: release & debug" >&6;}
|
---|
| 7783 | else
|
---|
| 7784 | { $as_echo "$as_me:${as_lineno-$LINENO}: Building libcfa for target: release" >&5
|
---|
| 7785 | $as_echo "$as_me: Building libcfa for target: release" >&6;}
|
---|
| 7786 | fi
|
---|
| 7787 | else
|
---|
[24f4671] | 7788 | if test -z "$BUILD_DEBUG_TRUE"; then :
|
---|
[9def87a] | 7789 | { $as_echo "$as_me:${as_lineno-$LINENO}: Building libcfa for target: debug" >&5
|
---|
| 7790 | $as_echo "$as_me: Building libcfa for target: debug" >&6;}
|
---|
[24f4671] | 7791 | else
|
---|
| 7792 | { $as_echo "$as_me:${as_lineno-$LINENO}: Running cfa without libcfa" >&5
|
---|
| 7793 | $as_echo "$as_me: Running cfa without libcfa" >&6;}
|
---|
| 7794 | fi
|
---|
[9def87a] | 7795 | fi
|
---|
| 7796 |
|
---|
[5d6ce1f] | 7797 | # Final text
|
---|
| 7798 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: Cforall configuraton completed. Type \"make -j 8 install\"." >&5
|
---|
| 7799 | $as_echo "Cforall configuraton completed. Type \"make -j 8 install\"." >&6; }
|
---|