[3b77289] | 1 | #! /bin/sh |
---|
| 2 | # Guess values for system-dependent variables and create Makefiles. |
---|
[ee51534] | 3 | # Generated by GNU Autoconf 2.68 for cfa-cc 1.0.0. |
---|
[3b77289] | 4 | # |
---|
| 5 | # Report bugs to <cforall@plg.uwaterloo.ca>. |
---|
| 6 | # |
---|
| 7 | # |
---|
[ee51534] | 8 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
---|
| 9 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
---|
| 10 | # Foundation, Inc. |
---|
[3b77289] | 11 | # |
---|
| 12 | # |
---|
| 13 | # This configure script is free software; the Free Software Foundation |
---|
| 14 | # gives unlimited permission to copy, distribute and modify it. |
---|
| 15 | ## -------------------- ## |
---|
| 16 | ## M4sh Initialization. ## |
---|
| 17 | ## -------------------- ## |
---|
| 18 | |
---|
| 19 | # Be more Bourne compatible |
---|
| 20 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
| 21 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
---|
| 22 | emulate sh |
---|
| 23 | NULLCMD=: |
---|
| 24 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
| 25 | # is contrary to our usage. Disable this feature. |
---|
| 26 | alias -g '${1+"$@"}'='"$@"' |
---|
| 27 | setopt NO_GLOB_SUBST |
---|
| 28 | else |
---|
| 29 | case `(set -o) 2>/dev/null` in #( |
---|
| 30 | *posix*) : |
---|
| 31 | set -o posix ;; #( |
---|
| 32 | *) : |
---|
| 33 | ;; |
---|
| 34 | esac |
---|
| 35 | fi |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | as_nl=' |
---|
| 39 | ' |
---|
| 40 | export as_nl |
---|
| 41 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
---|
| 42 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
---|
| 43 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
| 44 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
| 45 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
---|
| 46 | # but without wasting forks for bash or zsh. |
---|
| 47 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
---|
| 48 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
| 49 | as_echo='print -r --' |
---|
| 50 | as_echo_n='print -rn --' |
---|
| 51 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
| 52 | as_echo='printf %s\n' |
---|
| 53 | as_echo_n='printf %s' |
---|
| 54 | else |
---|
| 55 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
---|
| 56 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
---|
| 57 | as_echo_n='/usr/ucb/echo -n' |
---|
| 58 | else |
---|
| 59 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
---|
| 60 | as_echo_n_body='eval |
---|
| 61 | arg=$1; |
---|
| 62 | case $arg in #( |
---|
| 63 | *"$as_nl"*) |
---|
| 64 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
---|
| 65 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
---|
| 66 | esac; |
---|
| 67 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
---|
| 68 | ' |
---|
| 69 | export as_echo_n_body |
---|
| 70 | as_echo_n='sh -c $as_echo_n_body as_echo' |
---|
| 71 | fi |
---|
| 72 | export as_echo_body |
---|
| 73 | as_echo='sh -c $as_echo_body as_echo' |
---|
| 74 | fi |
---|
| 75 | |
---|
| 76 | # The user is always right. |
---|
| 77 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
| 78 | PATH_SEPARATOR=: |
---|
| 79 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
---|
| 80 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
---|
| 81 | PATH_SEPARATOR=';' |
---|
| 82 | } |
---|
| 83 | fi |
---|
| 84 | |
---|
| 85 | |
---|
| 86 | # IFS |
---|
| 87 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
| 88 | # there to prevent editors from complaining about space-tab. |
---|
| 89 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
| 90 | # splitting by setting IFS to empty value.) |
---|
| 91 | IFS=" "" $as_nl" |
---|
| 92 | |
---|
| 93 | # Find who we are. Look in the path if we contain no directory separator. |
---|
| 94 | as_myself= |
---|
| 95 | case $0 in #(( |
---|
| 96 | *[\\/]* ) as_myself=$0 ;; |
---|
| 97 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 98 | for as_dir in $PATH |
---|
| 99 | do |
---|
| 100 | IFS=$as_save_IFS |
---|
| 101 | test -z "$as_dir" && as_dir=. |
---|
| 102 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
| 103 | done |
---|
| 104 | IFS=$as_save_IFS |
---|
| 105 | |
---|
| 106 | ;; |
---|
| 107 | esac |
---|
| 108 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
| 109 | # in which case we are not to be found in the path. |
---|
| 110 | if test "x$as_myself" = x; then |
---|
| 111 | as_myself=$0 |
---|
| 112 | fi |
---|
| 113 | if test ! -f "$as_myself"; then |
---|
| 114 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
| 115 | exit 1 |
---|
| 116 | fi |
---|
| 117 | |
---|
| 118 | # Unset variables that we do not need and which cause bugs (e.g. in |
---|
| 119 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
---|
| 120 | # suppresses any "Segmentation fault" message there. '((' could |
---|
| 121 | # trigger a bug in pdksh 5.2.14. |
---|
| 122 | for as_var in BASH_ENV ENV MAIL MAILPATH |
---|
| 123 | do eval test x\${$as_var+set} = xset \ |
---|
| 124 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
---|
| 125 | done |
---|
| 126 | PS1='$ ' |
---|
| 127 | PS2='> ' |
---|
| 128 | PS4='+ ' |
---|
| 129 | |
---|
| 130 | # NLS nuisances. |
---|
| 131 | LC_ALL=C |
---|
| 132 | export LC_ALL |
---|
| 133 | LANGUAGE=C |
---|
| 134 | export LANGUAGE |
---|
| 135 | |
---|
| 136 | # CDPATH. |
---|
| 137 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
---|
| 138 | |
---|
| 139 | if test "x$CONFIG_SHELL" = x; then |
---|
| 140 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
---|
| 141 | emulate sh |
---|
| 142 | NULLCMD=: |
---|
| 143 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
---|
| 144 | # is contrary to our usage. Disable this feature. |
---|
| 145 | alias -g '\${1+\"\$@\"}'='\"\$@\"' |
---|
| 146 | setopt NO_GLOB_SUBST |
---|
| 147 | else |
---|
| 148 | case \`(set -o) 2>/dev/null\` in #( |
---|
| 149 | *posix*) : |
---|
| 150 | set -o posix ;; #( |
---|
| 151 | *) : |
---|
| 152 | ;; |
---|
| 153 | esac |
---|
| 154 | fi |
---|
| 155 | " |
---|
| 156 | as_required="as_fn_return () { (exit \$1); } |
---|
| 157 | as_fn_success () { as_fn_return 0; } |
---|
| 158 | as_fn_failure () { as_fn_return 1; } |
---|
| 159 | as_fn_ret_success () { return 0; } |
---|
| 160 | as_fn_ret_failure () { return 1; } |
---|
| 161 | |
---|
| 162 | exitcode=0 |
---|
| 163 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
---|
| 164 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
---|
| 165 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
---|
| 166 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
---|
| 167 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
---|
| 168 | |
---|
| 169 | else |
---|
| 170 | exitcode=1; echo positional parameters were not saved. |
---|
| 171 | fi |
---|
[ee51534] | 172 | test x\$exitcode = x0 || exit 1" |
---|
[3b77289] | 173 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
---|
| 174 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
---|
| 175 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
---|
| 176 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
---|
| 177 | test \$(( 1 + 1 )) = 2 || exit 1" |
---|
| 178 | if (eval "$as_required") 2>/dev/null; then : |
---|
| 179 | as_have_required=yes |
---|
| 180 | else |
---|
| 181 | as_have_required=no |
---|
| 182 | fi |
---|
| 183 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
---|
| 184 | |
---|
| 185 | else |
---|
| 186 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 187 | as_found=false |
---|
| 188 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
| 189 | do |
---|
| 190 | IFS=$as_save_IFS |
---|
| 191 | test -z "$as_dir" && as_dir=. |
---|
| 192 | as_found=: |
---|
| 193 | case $as_dir in #( |
---|
| 194 | /*) |
---|
| 195 | for as_base in sh bash ksh sh5; do |
---|
| 196 | # Try only shells that exist, to save several forks. |
---|
| 197 | as_shell=$as_dir/$as_base |
---|
| 198 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
---|
| 199 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
---|
| 200 | CONFIG_SHELL=$as_shell as_have_required=yes |
---|
| 201 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
---|
| 202 | break 2 |
---|
| 203 | fi |
---|
| 204 | fi |
---|
| 205 | done;; |
---|
| 206 | esac |
---|
| 207 | as_found=false |
---|
| 208 | done |
---|
| 209 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
---|
| 210 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
---|
| 211 | CONFIG_SHELL=$SHELL as_have_required=yes |
---|
| 212 | fi; } |
---|
| 213 | IFS=$as_save_IFS |
---|
| 214 | |
---|
| 215 | |
---|
| 216 | if test "x$CONFIG_SHELL" != x; then : |
---|
[ee51534] | 217 | # We cannot yet assume a decent shell, so we have to provide a |
---|
| 218 | # neutralization value for shells without unset; and this also |
---|
| 219 | # works around shells that cannot unset nonexistent variables. |
---|
| 220 | # Preserve -v and -x to the replacement shell. |
---|
| 221 | BASH_ENV=/dev/null |
---|
| 222 | ENV=/dev/null |
---|
| 223 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
---|
| 224 | export CONFIG_SHELL |
---|
| 225 | case $- in # (((( |
---|
| 226 | *v*x* | *x*v* ) as_opts=-vx ;; |
---|
| 227 | *v* ) as_opts=-v ;; |
---|
| 228 | *x* ) as_opts=-x ;; |
---|
| 229 | * ) as_opts= ;; |
---|
| 230 | esac |
---|
| 231 | exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} |
---|
[3b77289] | 232 | fi |
---|
| 233 | |
---|
| 234 | if test x$as_have_required = xno; then : |
---|
| 235 | $as_echo "$0: This script requires a shell more modern than all" |
---|
| 236 | $as_echo "$0: the shells that I found on your system." |
---|
| 237 | if test x${ZSH_VERSION+set} = xset ; then |
---|
| 238 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
---|
| 239 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
---|
| 240 | else |
---|
| 241 | $as_echo "$0: Please tell bug-autoconf@gnu.org and |
---|
| 242 | $0: cforall@plg.uwaterloo.ca about your system, including |
---|
| 243 | $0: any error possibly output before this message. Then |
---|
| 244 | $0: install a modern shell, or manually run the script |
---|
| 245 | $0: under such a shell if you do have one." |
---|
| 246 | fi |
---|
| 247 | exit 1 |
---|
| 248 | fi |
---|
| 249 | fi |
---|
| 250 | fi |
---|
| 251 | SHELL=${CONFIG_SHELL-/bin/sh} |
---|
| 252 | export SHELL |
---|
| 253 | # Unset more variables known to interfere with behavior of common tools. |
---|
| 254 | CLICOLOR_FORCE= GREP_OPTIONS= |
---|
| 255 | unset CLICOLOR_FORCE GREP_OPTIONS |
---|
| 256 | |
---|
| 257 | ## --------------------- ## |
---|
| 258 | ## M4sh Shell Functions. ## |
---|
| 259 | ## --------------------- ## |
---|
| 260 | # as_fn_unset VAR |
---|
| 261 | # --------------- |
---|
| 262 | # Portably unset VAR. |
---|
| 263 | as_fn_unset () |
---|
| 264 | { |
---|
| 265 | { eval $1=; unset $1;} |
---|
| 266 | } |
---|
| 267 | as_unset=as_fn_unset |
---|
| 268 | |
---|
| 269 | # as_fn_set_status STATUS |
---|
| 270 | # ----------------------- |
---|
| 271 | # Set $? to STATUS, without forking. |
---|
| 272 | as_fn_set_status () |
---|
| 273 | { |
---|
| 274 | return $1 |
---|
| 275 | } # as_fn_set_status |
---|
| 276 | |
---|
| 277 | # as_fn_exit STATUS |
---|
| 278 | # ----------------- |
---|
| 279 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
---|
| 280 | as_fn_exit () |
---|
| 281 | { |
---|
| 282 | set +e |
---|
| 283 | as_fn_set_status $1 |
---|
| 284 | exit $1 |
---|
| 285 | } # as_fn_exit |
---|
| 286 | |
---|
| 287 | # as_fn_mkdir_p |
---|
| 288 | # ------------- |
---|
| 289 | # Create "$as_dir" as a directory, including parents if necessary. |
---|
| 290 | as_fn_mkdir_p () |
---|
| 291 | { |
---|
| 292 | |
---|
| 293 | case $as_dir in #( |
---|
| 294 | -*) as_dir=./$as_dir;; |
---|
| 295 | esac |
---|
| 296 | test -d "$as_dir" || eval $as_mkdir_p || { |
---|
| 297 | as_dirs= |
---|
| 298 | while :; do |
---|
| 299 | case $as_dir in #( |
---|
| 300 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
---|
| 301 | *) as_qdir=$as_dir;; |
---|
| 302 | esac |
---|
| 303 | as_dirs="'$as_qdir' $as_dirs" |
---|
| 304 | as_dir=`$as_dirname -- "$as_dir" || |
---|
| 305 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 306 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
| 307 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
| 308 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 309 | $as_echo X"$as_dir" | |
---|
| 310 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 311 | s//\1/ |
---|
| 312 | q |
---|
| 313 | } |
---|
| 314 | /^X\(\/\/\)[^/].*/{ |
---|
| 315 | s//\1/ |
---|
| 316 | q |
---|
| 317 | } |
---|
| 318 | /^X\(\/\/\)$/{ |
---|
| 319 | s//\1/ |
---|
| 320 | q |
---|
| 321 | } |
---|
| 322 | /^X\(\/\).*/{ |
---|
| 323 | s//\1/ |
---|
| 324 | q |
---|
| 325 | } |
---|
| 326 | s/.*/./; q'` |
---|
| 327 | test -d "$as_dir" && break |
---|
| 328 | done |
---|
| 329 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
| 330 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
---|
| 331 | |
---|
| 332 | |
---|
| 333 | } # as_fn_mkdir_p |
---|
| 334 | # as_fn_append VAR VALUE |
---|
| 335 | # ---------------------- |
---|
| 336 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
---|
| 337 | # advantage of any shell optimizations that allow amortized linear growth over |
---|
| 338 | # repeated appends, instead of the typical quadratic growth present in naive |
---|
| 339 | # implementations. |
---|
| 340 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
---|
| 341 | eval 'as_fn_append () |
---|
| 342 | { |
---|
| 343 | eval $1+=\$2 |
---|
| 344 | }' |
---|
| 345 | else |
---|
| 346 | as_fn_append () |
---|
| 347 | { |
---|
| 348 | eval $1=\$$1\$2 |
---|
| 349 | } |
---|
| 350 | fi # as_fn_append |
---|
| 351 | |
---|
| 352 | # as_fn_arith ARG... |
---|
| 353 | # ------------------ |
---|
| 354 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
---|
| 355 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
---|
| 356 | # must be portable across $(()) and expr. |
---|
| 357 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
---|
| 358 | eval 'as_fn_arith () |
---|
| 359 | { |
---|
| 360 | as_val=$(( $* )) |
---|
| 361 | }' |
---|
| 362 | else |
---|
| 363 | as_fn_arith () |
---|
| 364 | { |
---|
| 365 | as_val=`expr "$@" || test $? -eq 1` |
---|
| 366 | } |
---|
| 367 | fi # as_fn_arith |
---|
| 368 | |
---|
| 369 | |
---|
| 370 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
---|
| 371 | # ---------------------------------------- |
---|
| 372 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
---|
| 373 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
---|
| 374 | # script with STATUS, using 1 if that was 0. |
---|
| 375 | as_fn_error () |
---|
| 376 | { |
---|
| 377 | as_status=$1; test $as_status -eq 0 && as_status=1 |
---|
| 378 | if test "$4"; then |
---|
| 379 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 380 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
---|
| 381 | fi |
---|
| 382 | $as_echo "$as_me: error: $2" >&2 |
---|
| 383 | as_fn_exit $as_status |
---|
| 384 | } # as_fn_error |
---|
| 385 | |
---|
| 386 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
| 387 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
| 388 | as_expr=expr |
---|
| 389 | else |
---|
| 390 | as_expr=false |
---|
| 391 | fi |
---|
| 392 | |
---|
| 393 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
| 394 | as_basename=basename |
---|
| 395 | else |
---|
| 396 | as_basename=false |
---|
| 397 | fi |
---|
| 398 | |
---|
| 399 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
| 400 | as_dirname=dirname |
---|
| 401 | else |
---|
| 402 | as_dirname=false |
---|
| 403 | fi |
---|
| 404 | |
---|
| 405 | as_me=`$as_basename -- "$0" || |
---|
| 406 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
| 407 | X"$0" : 'X\(//\)$' \| \ |
---|
| 408 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 409 | $as_echo X/"$0" | |
---|
| 410 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
| 411 | s//\1/ |
---|
| 412 | q |
---|
| 413 | } |
---|
| 414 | /^X\/\(\/\/\)$/{ |
---|
| 415 | s//\1/ |
---|
| 416 | q |
---|
| 417 | } |
---|
| 418 | /^X\/\(\/\).*/{ |
---|
| 419 | s//\1/ |
---|
| 420 | q |
---|
| 421 | } |
---|
| 422 | s/.*/./; q'` |
---|
| 423 | |
---|
| 424 | # Avoid depending upon Character Ranges. |
---|
| 425 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
| 426 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
| 427 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
| 428 | as_cr_digits='0123456789' |
---|
| 429 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
| 430 | |
---|
| 431 | |
---|
| 432 | as_lineno_1=$LINENO as_lineno_1a=$LINENO |
---|
| 433 | as_lineno_2=$LINENO as_lineno_2a=$LINENO |
---|
| 434 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
---|
| 435 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
---|
| 436 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
---|
| 437 | sed -n ' |
---|
| 438 | p |
---|
| 439 | /[$]LINENO/= |
---|
| 440 | ' <$as_myself | |
---|
| 441 | sed ' |
---|
| 442 | s/[$]LINENO.*/&-/ |
---|
| 443 | t lineno |
---|
| 444 | b |
---|
| 445 | :lineno |
---|
| 446 | N |
---|
| 447 | :loop |
---|
| 448 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
---|
| 449 | t loop |
---|
| 450 | s/-\n.*// |
---|
| 451 | ' >$as_me.lineno && |
---|
| 452 | chmod +x "$as_me.lineno" || |
---|
| 453 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
---|
| 454 | |
---|
| 455 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
| 456 | # (the dirname of $[0] is not the place where we might find the |
---|
| 457 | # original and so on. Autoconf is especially sensitive to this). |
---|
| 458 | . "./$as_me.lineno" |
---|
| 459 | # Exit status is that of the last command. |
---|
| 460 | exit |
---|
| 461 | } |
---|
| 462 | |
---|
| 463 | ECHO_C= ECHO_N= ECHO_T= |
---|
| 464 | case `echo -n x` in #((((( |
---|
| 465 | -n*) |
---|
| 466 | case `echo 'xy\c'` in |
---|
| 467 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
| 468 | xy) ECHO_C='\c';; |
---|
| 469 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
---|
| 470 | ECHO_T=' ';; |
---|
| 471 | esac;; |
---|
| 472 | *) |
---|
| 473 | ECHO_N='-n';; |
---|
| 474 | esac |
---|
| 475 | |
---|
| 476 | rm -f conf$$ conf$$.exe conf$$.file |
---|
| 477 | if test -d conf$$.dir; then |
---|
| 478 | rm -f conf$$.dir/conf$$.file |
---|
| 479 | else |
---|
| 480 | rm -f conf$$.dir |
---|
| 481 | mkdir conf$$.dir 2>/dev/null |
---|
| 482 | fi |
---|
| 483 | if (echo >conf$$.file) 2>/dev/null; then |
---|
| 484 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
| 485 | as_ln_s='ln -s' |
---|
| 486 | # ... but there are two gotchas: |
---|
| 487 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
| 488 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
[ee51534] | 489 | # In both cases, we have to default to `cp -p'. |
---|
[3b77289] | 490 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
[ee51534] | 491 | as_ln_s='cp -p' |
---|
[3b77289] | 492 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
| 493 | as_ln_s=ln |
---|
| 494 | else |
---|
[ee51534] | 495 | as_ln_s='cp -p' |
---|
[3b77289] | 496 | fi |
---|
| 497 | else |
---|
[ee51534] | 498 | as_ln_s='cp -p' |
---|
[3b77289] | 499 | fi |
---|
| 500 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
| 501 | rmdir conf$$.dir 2>/dev/null |
---|
| 502 | |
---|
| 503 | if mkdir -p . 2>/dev/null; then |
---|
| 504 | as_mkdir_p='mkdir -p "$as_dir"' |
---|
| 505 | else |
---|
| 506 | test -d ./-p && rmdir ./-p |
---|
| 507 | as_mkdir_p=false |
---|
| 508 | fi |
---|
| 509 | |
---|
[ee51534] | 510 | if test -x / >/dev/null 2>&1; then |
---|
| 511 | as_test_x='test -x' |
---|
| 512 | else |
---|
| 513 | if ls -dL / >/dev/null 2>&1; then |
---|
| 514 | as_ls_L_option=L |
---|
| 515 | else |
---|
| 516 | as_ls_L_option= |
---|
| 517 | fi |
---|
| 518 | as_test_x=' |
---|
| 519 | eval sh -c '\'' |
---|
| 520 | if test -d "$1"; then |
---|
| 521 | test -d "$1/."; |
---|
| 522 | else |
---|
| 523 | case $1 in #( |
---|
| 524 | -*)set "./$1";; |
---|
| 525 | esac; |
---|
| 526 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
---|
| 527 | ???[sx]*):;;*)false;;esac;fi |
---|
| 528 | '\'' sh |
---|
| 529 | ' |
---|
| 530 | fi |
---|
| 531 | as_executable_p=$as_test_x |
---|
[3b77289] | 532 | |
---|
| 533 | # Sed expression to map a string onto a valid CPP name. |
---|
| 534 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 535 | |
---|
| 536 | # Sed expression to map a string onto a valid variable name. |
---|
| 537 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 538 | |
---|
| 539 | |
---|
| 540 | test -n "$DJDIR" || exec 7<&0 </dev/null |
---|
| 541 | exec 6>&1 |
---|
| 542 | |
---|
| 543 | # Name of the host. |
---|
| 544 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
---|
| 545 | # so uname gets run too. |
---|
| 546 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 547 | |
---|
| 548 | # |
---|
| 549 | # Initializations. |
---|
| 550 | # |
---|
| 551 | ac_default_prefix=/usr/local |
---|
| 552 | ac_clean_files= |
---|
| 553 | ac_config_libobj_dir=. |
---|
| 554 | LIBOBJS= |
---|
| 555 | cross_compiling=no |
---|
| 556 | subdirs= |
---|
| 557 | MFLAGS= |
---|
| 558 | MAKEFLAGS= |
---|
| 559 | |
---|
| 560 | # Identity of this package. |
---|
| 561 | PACKAGE_NAME='cfa-cc' |
---|
| 562 | PACKAGE_TARNAME='cfa-cc' |
---|
[5d6ce1f] | 563 | PACKAGE_VERSION='1.0.0' |
---|
| 564 | PACKAGE_STRING='cfa-cc 1.0.0' |
---|
[3b77289] | 565 | PACKAGE_BUGREPORT='cforall@plg.uwaterloo.ca' |
---|
| 566 | PACKAGE_URL='' |
---|
| 567 | |
---|
| 568 | # Factoring default headers for most tests. |
---|
| 569 | ac_includes_default="\ |
---|
| 570 | #include <stdio.h> |
---|
| 571 | #ifdef HAVE_SYS_TYPES_H |
---|
| 572 | # include <sys/types.h> |
---|
| 573 | #endif |
---|
| 574 | #ifdef HAVE_SYS_STAT_H |
---|
| 575 | # include <sys/stat.h> |
---|
| 576 | #endif |
---|
| 577 | #ifdef STDC_HEADERS |
---|
| 578 | # include <stdlib.h> |
---|
| 579 | # include <stddef.h> |
---|
| 580 | #else |
---|
| 581 | # ifdef HAVE_STDLIB_H |
---|
| 582 | # include <stdlib.h> |
---|
| 583 | # endif |
---|
| 584 | #endif |
---|
| 585 | #ifdef HAVE_STRING_H |
---|
| 586 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
---|
| 587 | # include <memory.h> |
---|
| 588 | # endif |
---|
| 589 | # include <string.h> |
---|
| 590 | #endif |
---|
| 591 | #ifdef HAVE_STRINGS_H |
---|
| 592 | # include <strings.h> |
---|
| 593 | #endif |
---|
| 594 | #ifdef HAVE_INTTYPES_H |
---|
| 595 | # include <inttypes.h> |
---|
| 596 | #endif |
---|
| 597 | #ifdef HAVE_STDINT_H |
---|
| 598 | # include <stdint.h> |
---|
| 599 | #endif |
---|
| 600 | #ifdef HAVE_UNISTD_H |
---|
| 601 | # include <unistd.h> |
---|
| 602 | #endif" |
---|
| 603 | |
---|
| 604 | ac_subst_vars='am__EXEEXT_FALSE |
---|
| 605 | am__EXEEXT_TRUE |
---|
| 606 | LTLIBOBJS |
---|
| 607 | LIBOBJS |
---|
[5d6ce1f] | 608 | ALLOCA |
---|
[3b77289] | 609 | EGREP |
---|
| 610 | GREP |
---|
| 611 | CPP |
---|
[00cc023] | 612 | RANLIB |
---|
[56c3935] | 613 | LEXLIB |
---|
| 614 | LEX_OUTPUT_ROOT |
---|
| 615 | LEX |
---|
| 616 | YFLAGS |
---|
| 617 | YACC |
---|
[3b77289] | 618 | am__fastdepCC_FALSE |
---|
| 619 | am__fastdepCC_TRUE |
---|
| 620 | CCDEPMODE |
---|
| 621 | ac_ct_CC |
---|
| 622 | CFLAGS |
---|
| 623 | CC |
---|
| 624 | am__fastdepCXX_FALSE |
---|
| 625 | am__fastdepCXX_TRUE |
---|
| 626 | CXXDEPMODE |
---|
| 627 | am__nodep |
---|
| 628 | AMDEPBACKSLASH |
---|
| 629 | AMDEP_FALSE |
---|
| 630 | AMDEP_TRUE |
---|
| 631 | am__quote |
---|
| 632 | am__include |
---|
| 633 | DEPDIR |
---|
| 634 | OBJEXT |
---|
| 635 | EXEEXT |
---|
| 636 | ac_ct_CXX |
---|
| 637 | CPPFLAGS |
---|
| 638 | LDFLAGS |
---|
| 639 | CXXFLAGS |
---|
| 640 | CXX |
---|
[5d6ce1f] | 641 | CFA_LIBDIR |
---|
| 642 | CFA_BINDIR |
---|
| 643 | CFA_INCDIR |
---|
| 644 | CFA_PREFIX |
---|
[e24f13a] | 645 | CFA_BACKEND_CC |
---|
[5d6ce1f] | 646 | BACKEND_CC |
---|
[6aa5ec0f] | 647 | MAINT |
---|
| 648 | MAINTAINER_MODE_FALSE |
---|
| 649 | MAINTAINER_MODE_TRUE |
---|
[3b77289] | 650 | am__untar |
---|
| 651 | am__tar |
---|
| 652 | AMTAR |
---|
| 653 | am__leading_dot |
---|
| 654 | SET_MAKE |
---|
| 655 | AWK |
---|
| 656 | mkdir_p |
---|
| 657 | MKDIR_P |
---|
| 658 | INSTALL_STRIP_PROGRAM |
---|
| 659 | STRIP |
---|
| 660 | install_sh |
---|
| 661 | MAKEINFO |
---|
| 662 | AUTOHEADER |
---|
| 663 | AUTOMAKE |
---|
| 664 | AUTOCONF |
---|
| 665 | ACLOCAL |
---|
| 666 | VERSION |
---|
| 667 | PACKAGE |
---|
| 668 | CYGPATH_W |
---|
| 669 | am__isrc |
---|
| 670 | INSTALL_DATA |
---|
| 671 | INSTALL_SCRIPT |
---|
| 672 | INSTALL_PROGRAM |
---|
[ef7d253] | 673 | AM_BACKSLASH |
---|
| 674 | AM_DEFAULT_VERBOSITY |
---|
| 675 | AM_DEFAULT_V |
---|
| 676 | AM_V |
---|
[3b77289] | 677 | target_alias |
---|
| 678 | host_alias |
---|
| 679 | build_alias |
---|
| 680 | LIBS |
---|
| 681 | ECHO_T |
---|
| 682 | ECHO_N |
---|
| 683 | ECHO_C |
---|
| 684 | DEFS |
---|
| 685 | mandir |
---|
| 686 | localedir |
---|
| 687 | libdir |
---|
| 688 | psdir |
---|
| 689 | pdfdir |
---|
| 690 | dvidir |
---|
| 691 | htmldir |
---|
| 692 | infodir |
---|
| 693 | docdir |
---|
| 694 | oldincludedir |
---|
| 695 | includedir |
---|
| 696 | localstatedir |
---|
| 697 | sharedstatedir |
---|
| 698 | sysconfdir |
---|
| 699 | datadir |
---|
| 700 | datarootdir |
---|
| 701 | libexecdir |
---|
| 702 | sbindir |
---|
| 703 | bindir |
---|
| 704 | program_transform_name |
---|
| 705 | prefix |
---|
| 706 | exec_prefix |
---|
| 707 | PACKAGE_URL |
---|
| 708 | PACKAGE_BUGREPORT |
---|
| 709 | PACKAGE_STRING |
---|
| 710 | PACKAGE_VERSION |
---|
| 711 | PACKAGE_TARNAME |
---|
| 712 | PACKAGE_NAME |
---|
| 713 | PATH_SEPARATOR |
---|
| 714 | SHELL' |
---|
| 715 | ac_subst_files='' |
---|
| 716 | ac_user_opts=' |
---|
| 717 | enable_option_checking |
---|
[ef7d253] | 718 | enable_silent_rules |
---|
[6aa5ec0f] | 719 | enable_maintainer_mode |
---|
[3b77289] | 720 | with_backend_compiler |
---|
[5d6ce1f] | 721 | enable_dependency_tracking |
---|
[3b77289] | 722 | ' |
---|
| 723 | ac_precious_vars='build_alias |
---|
| 724 | host_alias |
---|
| 725 | target_alias |
---|
| 726 | CXX |
---|
| 727 | CXXFLAGS |
---|
| 728 | LDFLAGS |
---|
| 729 | LIBS |
---|
| 730 | CPPFLAGS |
---|
| 731 | CCC |
---|
| 732 | CC |
---|
| 733 | CFLAGS |
---|
[56c3935] | 734 | YACC |
---|
| 735 | YFLAGS |
---|
[3b77289] | 736 | CPP' |
---|
| 737 | |
---|
| 738 | |
---|
| 739 | # Initialize some variables set by options. |
---|
| 740 | ac_init_help= |
---|
| 741 | ac_init_version=false |
---|
| 742 | ac_unrecognized_opts= |
---|
| 743 | ac_unrecognized_sep= |
---|
| 744 | # The variables have the same names as the options, with |
---|
| 745 | # dashes changed to underlines. |
---|
| 746 | cache_file=/dev/null |
---|
| 747 | exec_prefix=NONE |
---|
| 748 | no_create= |
---|
| 749 | no_recursion= |
---|
| 750 | prefix=NONE |
---|
| 751 | program_prefix=NONE |
---|
| 752 | program_suffix=NONE |
---|
| 753 | program_transform_name=s,x,x, |
---|
| 754 | silent= |
---|
| 755 | site= |
---|
| 756 | srcdir= |
---|
| 757 | verbose= |
---|
| 758 | x_includes=NONE |
---|
| 759 | x_libraries=NONE |
---|
| 760 | |
---|
| 761 | # Installation directory options. |
---|
| 762 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
---|
| 763 | # and all the variables that are supposed to be based on exec_prefix |
---|
| 764 | # by default will actually change. |
---|
| 765 | # Use braces instead of parens because sh, perl, etc. also accept them. |
---|
| 766 | # (The list follows the same order as the GNU Coding Standards.) |
---|
| 767 | bindir='${exec_prefix}/bin' |
---|
| 768 | sbindir='${exec_prefix}/sbin' |
---|
| 769 | libexecdir='${exec_prefix}/libexec' |
---|
| 770 | datarootdir='${prefix}/share' |
---|
| 771 | datadir='${datarootdir}' |
---|
| 772 | sysconfdir='${prefix}/etc' |
---|
| 773 | sharedstatedir='${prefix}/com' |
---|
| 774 | localstatedir='${prefix}/var' |
---|
| 775 | includedir='${prefix}/include' |
---|
| 776 | oldincludedir='/usr/include' |
---|
| 777 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
---|
| 778 | infodir='${datarootdir}/info' |
---|
| 779 | htmldir='${docdir}' |
---|
| 780 | dvidir='${docdir}' |
---|
| 781 | pdfdir='${docdir}' |
---|
| 782 | psdir='${docdir}' |
---|
| 783 | libdir='${exec_prefix}/lib' |
---|
| 784 | localedir='${datarootdir}/locale' |
---|
| 785 | mandir='${datarootdir}/man' |
---|
| 786 | |
---|
| 787 | ac_prev= |
---|
| 788 | ac_dashdash= |
---|
| 789 | for ac_option |
---|
| 790 | do |
---|
| 791 | # If the previous option needs an argument, assign it. |
---|
| 792 | if test -n "$ac_prev"; then |
---|
| 793 | eval $ac_prev=\$ac_option |
---|
| 794 | ac_prev= |
---|
| 795 | continue |
---|
| 796 | fi |
---|
| 797 | |
---|
| 798 | case $ac_option in |
---|
| 799 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
---|
| 800 | *=) ac_optarg= ;; |
---|
| 801 | *) ac_optarg=yes ;; |
---|
| 802 | esac |
---|
| 803 | |
---|
| 804 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
| 805 | |
---|
| 806 | case $ac_dashdash$ac_option in |
---|
| 807 | --) |
---|
| 808 | ac_dashdash=yes ;; |
---|
| 809 | |
---|
| 810 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
| 811 | ac_prev=bindir ;; |
---|
| 812 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
| 813 | bindir=$ac_optarg ;; |
---|
| 814 | |
---|
| 815 | -build | --build | --buil | --bui | --bu) |
---|
| 816 | ac_prev=build_alias ;; |
---|
| 817 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
| 818 | build_alias=$ac_optarg ;; |
---|
| 819 | |
---|
| 820 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
| 821 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
| 822 | ac_prev=cache_file ;; |
---|
| 823 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
| 824 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
| 825 | cache_file=$ac_optarg ;; |
---|
| 826 | |
---|
| 827 | --config-cache | -C) |
---|
| 828 | cache_file=config.cache ;; |
---|
| 829 | |
---|
| 830 | -datadir | --datadir | --datadi | --datad) |
---|
| 831 | ac_prev=datadir ;; |
---|
| 832 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
---|
| 833 | datadir=$ac_optarg ;; |
---|
| 834 | |
---|
| 835 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
---|
| 836 | | --dataroo | --dataro | --datar) |
---|
| 837 | ac_prev=datarootdir ;; |
---|
| 838 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
---|
| 839 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
---|
| 840 | datarootdir=$ac_optarg ;; |
---|
| 841 | |
---|
| 842 | -disable-* | --disable-*) |
---|
| 843 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
---|
| 844 | # Reject names that are not valid shell variable names. |
---|
| 845 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
| 846 | as_fn_error $? "invalid feature name: $ac_useropt" |
---|
| 847 | ac_useropt_orig=$ac_useropt |
---|
| 848 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
| 849 | case $ac_user_opts in |
---|
| 850 | *" |
---|
| 851 | "enable_$ac_useropt" |
---|
| 852 | "*) ;; |
---|
| 853 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
---|
| 854 | ac_unrecognized_sep=', ';; |
---|
| 855 | esac |
---|
| 856 | eval enable_$ac_useropt=no ;; |
---|
| 857 | |
---|
| 858 | -docdir | --docdir | --docdi | --doc | --do) |
---|
| 859 | ac_prev=docdir ;; |
---|
| 860 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
---|
| 861 | docdir=$ac_optarg ;; |
---|
| 862 | |
---|
| 863 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
---|
| 864 | ac_prev=dvidir ;; |
---|
| 865 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
---|
| 866 | dvidir=$ac_optarg ;; |
---|
| 867 | |
---|
| 868 | -enable-* | --enable-*) |
---|
| 869 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
---|
| 870 | # Reject names that are not valid shell variable names. |
---|
| 871 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
| 872 | as_fn_error $? "invalid feature name: $ac_useropt" |
---|
| 873 | ac_useropt_orig=$ac_useropt |
---|
| 874 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
| 875 | case $ac_user_opts in |
---|
| 876 | *" |
---|
| 877 | "enable_$ac_useropt" |
---|
| 878 | "*) ;; |
---|
| 879 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
---|
| 880 | ac_unrecognized_sep=', ';; |
---|
| 881 | esac |
---|
| 882 | eval enable_$ac_useropt=\$ac_optarg ;; |
---|
| 883 | |
---|
| 884 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
| 885 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
| 886 | | --exec | --exe | --ex) |
---|
| 887 | ac_prev=exec_prefix ;; |
---|
| 888 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
| 889 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
| 890 | | --exec=* | --exe=* | --ex=*) |
---|
| 891 | exec_prefix=$ac_optarg ;; |
---|
| 892 | |
---|
| 893 | -gas | --gas | --ga | --g) |
---|
| 894 | # Obsolete; use --with-gas. |
---|
| 895 | with_gas=yes ;; |
---|
| 896 | |
---|
| 897 | -help | --help | --hel | --he | -h) |
---|
| 898 | ac_init_help=long ;; |
---|
| 899 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
---|
| 900 | ac_init_help=recursive ;; |
---|
| 901 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
---|
| 902 | ac_init_help=short ;; |
---|
| 903 | |
---|
| 904 | -host | --host | --hos | --ho) |
---|
| 905 | ac_prev=host_alias ;; |
---|
| 906 | -host=* | --host=* | --hos=* | --ho=*) |
---|
| 907 | host_alias=$ac_optarg ;; |
---|
| 908 | |
---|
| 909 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
---|
| 910 | ac_prev=htmldir ;; |
---|
| 911 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
---|
| 912 | | --ht=*) |
---|
| 913 | htmldir=$ac_optarg ;; |
---|
| 914 | |
---|
| 915 | -includedir | --includedir | --includedi | --included | --include \ |
---|
| 916 | | --includ | --inclu | --incl | --inc) |
---|
| 917 | ac_prev=includedir ;; |
---|
| 918 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
| 919 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
| 920 | includedir=$ac_optarg ;; |
---|
| 921 | |
---|
| 922 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
| 923 | ac_prev=infodir ;; |
---|
| 924 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
| 925 | infodir=$ac_optarg ;; |
---|
| 926 | |
---|
| 927 | -libdir | --libdir | --libdi | --libd) |
---|
| 928 | ac_prev=libdir ;; |
---|
| 929 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
| 930 | libdir=$ac_optarg ;; |
---|
| 931 | |
---|
| 932 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
| 933 | | --libexe | --libex | --libe) |
---|
| 934 | ac_prev=libexecdir ;; |
---|
| 935 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
| 936 | | --libexe=* | --libex=* | --libe=*) |
---|
| 937 | libexecdir=$ac_optarg ;; |
---|
| 938 | |
---|
| 939 | -localedir | --localedir | --localedi | --localed | --locale) |
---|
| 940 | ac_prev=localedir ;; |
---|
| 941 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
---|
| 942 | localedir=$ac_optarg ;; |
---|
| 943 | |
---|
| 944 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
| 945 | | --localstate | --localstat | --localsta | --localst | --locals) |
---|
| 946 | ac_prev=localstatedir ;; |
---|
| 947 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
| 948 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
---|
| 949 | localstatedir=$ac_optarg ;; |
---|
| 950 | |
---|
| 951 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
| 952 | ac_prev=mandir ;; |
---|
| 953 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
| 954 | mandir=$ac_optarg ;; |
---|
| 955 | |
---|
| 956 | -nfp | --nfp | --nf) |
---|
| 957 | # Obsolete; use --without-fp. |
---|
| 958 | with_fp=no ;; |
---|
| 959 | |
---|
| 960 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
| 961 | | --no-cr | --no-c | -n) |
---|
| 962 | no_create=yes ;; |
---|
| 963 | |
---|
| 964 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
| 965 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
| 966 | no_recursion=yes ;; |
---|
| 967 | |
---|
| 968 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
| 969 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
| 970 | | --oldin | --oldi | --old | --ol | --o) |
---|
| 971 | ac_prev=oldincludedir ;; |
---|
| 972 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
| 973 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
| 974 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
| 975 | oldincludedir=$ac_optarg ;; |
---|
| 976 | |
---|
| 977 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
| 978 | ac_prev=prefix ;; |
---|
| 979 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
| 980 | prefix=$ac_optarg ;; |
---|
| 981 | |
---|
| 982 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
| 983 | | --program-pre | --program-pr | --program-p) |
---|
| 984 | ac_prev=program_prefix ;; |
---|
| 985 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
| 986 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
| 987 | program_prefix=$ac_optarg ;; |
---|
| 988 | |
---|
| 989 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
| 990 | | --program-suf | --program-su | --program-s) |
---|
| 991 | ac_prev=program_suffix ;; |
---|
| 992 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
| 993 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
| 994 | program_suffix=$ac_optarg ;; |
---|
| 995 | |
---|
| 996 | -program-transform-name | --program-transform-name \ |
---|
| 997 | | --program-transform-nam | --program-transform-na \ |
---|
| 998 | | --program-transform-n | --program-transform- \ |
---|
| 999 | | --program-transform | --program-transfor \ |
---|
| 1000 | | --program-transfo | --program-transf \ |
---|
| 1001 | | --program-trans | --program-tran \ |
---|
| 1002 | | --progr-tra | --program-tr | --program-t) |
---|
| 1003 | ac_prev=program_transform_name ;; |
---|
| 1004 | -program-transform-name=* | --program-transform-name=* \ |
---|
| 1005 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
| 1006 | | --program-transform-n=* | --program-transform-=* \ |
---|
| 1007 | | --program-transform=* | --program-transfor=* \ |
---|
| 1008 | | --program-transfo=* | --program-transf=* \ |
---|
| 1009 | | --program-trans=* | --program-tran=* \ |
---|
| 1010 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
| 1011 | program_transform_name=$ac_optarg ;; |
---|
| 1012 | |
---|
| 1013 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
---|
| 1014 | ac_prev=pdfdir ;; |
---|
| 1015 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
---|
| 1016 | pdfdir=$ac_optarg ;; |
---|
| 1017 | |
---|
| 1018 | -psdir | --psdir | --psdi | --psd | --ps) |
---|
| 1019 | ac_prev=psdir ;; |
---|
| 1020 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
---|
| 1021 | psdir=$ac_optarg ;; |
---|
| 1022 | |
---|
| 1023 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 1024 | | -silent | --silent | --silen | --sile | --sil) |
---|
| 1025 | silent=yes ;; |
---|
| 1026 | |
---|
| 1027 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
| 1028 | ac_prev=sbindir ;; |
---|
| 1029 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
| 1030 | | --sbi=* | --sb=*) |
---|
| 1031 | sbindir=$ac_optarg ;; |
---|
| 1032 | |
---|
| 1033 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
| 1034 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
| 1035 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
| 1036 | | --sha | --sh) |
---|
| 1037 | ac_prev=sharedstatedir ;; |
---|
| 1038 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
| 1039 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
| 1040 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
| 1041 | | --sha=* | --sh=*) |
---|
| 1042 | sharedstatedir=$ac_optarg ;; |
---|
| 1043 | |
---|
| 1044 | -site | --site | --sit) |
---|
| 1045 | ac_prev=site ;; |
---|
| 1046 | -site=* | --site=* | --sit=*) |
---|
| 1047 | site=$ac_optarg ;; |
---|
| 1048 | |
---|
| 1049 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
| 1050 | ac_prev=srcdir ;; |
---|
| 1051 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
| 1052 | srcdir=$ac_optarg ;; |
---|
| 1053 | |
---|
| 1054 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
| 1055 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
| 1056 | ac_prev=sysconfdir ;; |
---|
| 1057 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
| 1058 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
| 1059 | sysconfdir=$ac_optarg ;; |
---|
| 1060 | |
---|
| 1061 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
| 1062 | ac_prev=target_alias ;; |
---|
| 1063 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
| 1064 | target_alias=$ac_optarg ;; |
---|
| 1065 | |
---|
| 1066 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
| 1067 | verbose=yes ;; |
---|
| 1068 | |
---|
| 1069 | -version | --version | --versio | --versi | --vers | -V) |
---|
| 1070 | ac_init_version=: ;; |
---|
| 1071 | |
---|
| 1072 | -with-* | --with-*) |
---|
| 1073 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
---|
| 1074 | # Reject names that are not valid shell variable names. |
---|
| 1075 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
| 1076 | as_fn_error $? "invalid package name: $ac_useropt" |
---|
| 1077 | ac_useropt_orig=$ac_useropt |
---|
| 1078 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
| 1079 | case $ac_user_opts in |
---|
| 1080 | *" |
---|
| 1081 | "with_$ac_useropt" |
---|
| 1082 | "*) ;; |
---|
| 1083 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
---|
| 1084 | ac_unrecognized_sep=', ';; |
---|
| 1085 | esac |
---|
| 1086 | eval with_$ac_useropt=\$ac_optarg ;; |
---|
| 1087 | |
---|
| 1088 | -without-* | --without-*) |
---|
| 1089 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
---|
| 1090 | # Reject names that are not valid shell variable names. |
---|
| 1091 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
| 1092 | as_fn_error $? "invalid package name: $ac_useropt" |
---|
| 1093 | ac_useropt_orig=$ac_useropt |
---|
| 1094 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
| 1095 | case $ac_user_opts in |
---|
| 1096 | *" |
---|
| 1097 | "with_$ac_useropt" |
---|
| 1098 | "*) ;; |
---|
| 1099 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
---|
| 1100 | ac_unrecognized_sep=', ';; |
---|
| 1101 | esac |
---|
| 1102 | eval with_$ac_useropt=no ;; |
---|
| 1103 | |
---|
| 1104 | --x) |
---|
| 1105 | # Obsolete; use --with-x. |
---|
| 1106 | with_x=yes ;; |
---|
| 1107 | |
---|
| 1108 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
| 1109 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
| 1110 | ac_prev=x_includes ;; |
---|
| 1111 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
| 1112 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
| 1113 | x_includes=$ac_optarg ;; |
---|
| 1114 | |
---|
| 1115 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
| 1116 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
| 1117 | ac_prev=x_libraries ;; |
---|
| 1118 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
| 1119 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
| 1120 | x_libraries=$ac_optarg ;; |
---|
| 1121 | |
---|
| 1122 | -*) as_fn_error $? "unrecognized option: \`$ac_option' |
---|
| 1123 | Try \`$0 --help' for more information" |
---|
| 1124 | ;; |
---|
| 1125 | |
---|
| 1126 | *=*) |
---|
| 1127 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
---|
| 1128 | # Reject names that are not valid shell variable names. |
---|
| 1129 | case $ac_envvar in #( |
---|
| 1130 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
---|
| 1131 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
---|
| 1132 | esac |
---|
| 1133 | eval $ac_envvar=\$ac_optarg |
---|
| 1134 | export $ac_envvar ;; |
---|
| 1135 | |
---|
| 1136 | *) |
---|
| 1137 | # FIXME: should be removed in autoconf 3.0. |
---|
| 1138 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
---|
| 1139 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
| 1140 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
---|
| 1141 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
---|
| 1142 | ;; |
---|
| 1143 | |
---|
| 1144 | esac |
---|
| 1145 | done |
---|
| 1146 | |
---|
| 1147 | if test -n "$ac_prev"; then |
---|
| 1148 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
---|
| 1149 | as_fn_error $? "missing argument to $ac_option" |
---|
| 1150 | fi |
---|
| 1151 | |
---|
| 1152 | if test -n "$ac_unrecognized_opts"; then |
---|
| 1153 | case $enable_option_checking in |
---|
| 1154 | no) ;; |
---|
| 1155 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
---|
| 1156 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
---|
| 1157 | esac |
---|
| 1158 | fi |
---|
| 1159 | |
---|
| 1160 | # Check all directory arguments for consistency. |
---|
| 1161 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
---|
| 1162 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
---|
| 1163 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
---|
| 1164 | libdir localedir mandir |
---|
| 1165 | do |
---|
| 1166 | eval ac_val=\$$ac_var |
---|
| 1167 | # Remove trailing slashes. |
---|
| 1168 | case $ac_val in |
---|
| 1169 | */ ) |
---|
| 1170 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
---|
| 1171 | eval $ac_var=\$ac_val;; |
---|
| 1172 | esac |
---|
| 1173 | # Be sure to have absolute directory names. |
---|
| 1174 | case $ac_val in |
---|
| 1175 | [\\/$]* | ?:[\\/]* ) continue;; |
---|
| 1176 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
---|
| 1177 | esac |
---|
| 1178 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
---|
| 1179 | done |
---|
| 1180 | |
---|
| 1181 | # There might be people who depend on the old broken behavior: `$host' |
---|
| 1182 | # used to hold the argument of --host etc. |
---|
| 1183 | # FIXME: To remove some day. |
---|
| 1184 | build=$build_alias |
---|
| 1185 | host=$host_alias |
---|
| 1186 | target=$target_alias |
---|
| 1187 | |
---|
| 1188 | # FIXME: To remove some day. |
---|
| 1189 | if test "x$host_alias" != x; then |
---|
| 1190 | if test "x$build_alias" = x; then |
---|
| 1191 | cross_compiling=maybe |
---|
[ee51534] | 1192 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
---|
| 1193 | If a cross compiler is detected then cross compile mode will be used" >&2 |
---|
[3b77289] | 1194 | elif test "x$build_alias" != "x$host_alias"; then |
---|
| 1195 | cross_compiling=yes |
---|
| 1196 | fi |
---|
| 1197 | fi |
---|
| 1198 | |
---|
| 1199 | ac_tool_prefix= |
---|
| 1200 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
---|
| 1201 | |
---|
| 1202 | test "$silent" = yes && exec 6>/dev/null |
---|
| 1203 | |
---|
| 1204 | |
---|
| 1205 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
---|
| 1206 | ac_ls_di=`ls -di .` && |
---|
| 1207 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
---|
| 1208 | as_fn_error $? "working directory cannot be determined" |
---|
| 1209 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
---|
| 1210 | as_fn_error $? "pwd does not report name of working directory" |
---|
| 1211 | |
---|
| 1212 | |
---|
| 1213 | # Find the source files, if location was not specified. |
---|
| 1214 | if test -z "$srcdir"; then |
---|
| 1215 | ac_srcdir_defaulted=yes |
---|
| 1216 | # Try the directory containing this script, then the parent directory. |
---|
| 1217 | ac_confdir=`$as_dirname -- "$as_myself" || |
---|
| 1218 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 1219 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
---|
| 1220 | X"$as_myself" : 'X\(//\)$' \| \ |
---|
| 1221 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 1222 | $as_echo X"$as_myself" | |
---|
| 1223 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 1224 | s//\1/ |
---|
| 1225 | q |
---|
| 1226 | } |
---|
| 1227 | /^X\(\/\/\)[^/].*/{ |
---|
| 1228 | s//\1/ |
---|
| 1229 | q |
---|
| 1230 | } |
---|
| 1231 | /^X\(\/\/\)$/{ |
---|
| 1232 | s//\1/ |
---|
| 1233 | q |
---|
| 1234 | } |
---|
| 1235 | /^X\(\/\).*/{ |
---|
| 1236 | s//\1/ |
---|
| 1237 | q |
---|
| 1238 | } |
---|
| 1239 | s/.*/./; q'` |
---|
| 1240 | srcdir=$ac_confdir |
---|
| 1241 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
| 1242 | srcdir=.. |
---|
| 1243 | fi |
---|
| 1244 | else |
---|
| 1245 | ac_srcdir_defaulted=no |
---|
| 1246 | fi |
---|
| 1247 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
| 1248 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
---|
| 1249 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
---|
| 1250 | fi |
---|
| 1251 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
---|
| 1252 | ac_abs_confdir=`( |
---|
| 1253 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
---|
| 1254 | pwd)` |
---|
| 1255 | # When building in place, set srcdir=. |
---|
| 1256 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
---|
| 1257 | srcdir=. |
---|
| 1258 | fi |
---|
| 1259 | # Remove unnecessary trailing slashes from srcdir. |
---|
| 1260 | # Double slashes in file names in object file debugging info |
---|
| 1261 | # mess up M-x gdb in Emacs. |
---|
| 1262 | case $srcdir in |
---|
| 1263 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
---|
| 1264 | esac |
---|
| 1265 | for ac_var in $ac_precious_vars; do |
---|
| 1266 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
---|
| 1267 | eval ac_env_${ac_var}_value=\$${ac_var} |
---|
| 1268 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
---|
| 1269 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
---|
| 1270 | done |
---|
| 1271 | |
---|
| 1272 | # |
---|
| 1273 | # Report the --help message. |
---|
| 1274 | # |
---|
| 1275 | if test "$ac_init_help" = "long"; then |
---|
| 1276 | # Omit some internal or obsolete options to make the list less imposing. |
---|
| 1277 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
| 1278 | cat <<_ACEOF |
---|
[5d6ce1f] | 1279 | \`configure' configures cfa-cc 1.0.0 to adapt to many kinds of systems. |
---|
[3b77289] | 1280 | |
---|
| 1281 | Usage: $0 [OPTION]... [VAR=VALUE]... |
---|
| 1282 | |
---|
| 1283 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
---|
| 1284 | VAR=VALUE. See below for descriptions of some of the useful variables. |
---|
| 1285 | |
---|
| 1286 | Defaults for the options are specified in brackets. |
---|
| 1287 | |
---|
| 1288 | Configuration: |
---|
| 1289 | -h, --help display this help and exit |
---|
| 1290 | --help=short display options specific to this package |
---|
| 1291 | --help=recursive display the short help of all the included packages |
---|
| 1292 | -V, --version display version information and exit |
---|
| 1293 | -q, --quiet, --silent do not print \`checking ...' messages |
---|
| 1294 | --cache-file=FILE cache test results in FILE [disabled] |
---|
| 1295 | -C, --config-cache alias for \`--cache-file=config.cache' |
---|
| 1296 | -n, --no-create do not create output files |
---|
| 1297 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
---|
| 1298 | |
---|
| 1299 | Installation directories: |
---|
| 1300 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
| 1301 | [$ac_default_prefix] |
---|
| 1302 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
| 1303 | [PREFIX] |
---|
| 1304 | |
---|
| 1305 | By default, \`make install' will install all the files in |
---|
| 1306 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
---|
| 1307 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
---|
| 1308 | for instance \`--prefix=\$HOME'. |
---|
| 1309 | |
---|
| 1310 | For better control, use the options below. |
---|
| 1311 | |
---|
| 1312 | Fine tuning of the installation directories: |
---|
| 1313 | --bindir=DIR user executables [EPREFIX/bin] |
---|
| 1314 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
---|
| 1315 | --libexecdir=DIR program executables [EPREFIX/libexec] |
---|
| 1316 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
---|
| 1317 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
---|
| 1318 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
---|
| 1319 | --libdir=DIR object code libraries [EPREFIX/lib] |
---|
| 1320 | --includedir=DIR C header files [PREFIX/include] |
---|
| 1321 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
---|
| 1322 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
---|
| 1323 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
---|
| 1324 | --infodir=DIR info documentation [DATAROOTDIR/info] |
---|
| 1325 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
---|
| 1326 | --mandir=DIR man documentation [DATAROOTDIR/man] |
---|
| 1327 | --docdir=DIR documentation root [DATAROOTDIR/doc/cfa-cc] |
---|
| 1328 | --htmldir=DIR html documentation [DOCDIR] |
---|
| 1329 | --dvidir=DIR dvi documentation [DOCDIR] |
---|
| 1330 | --pdfdir=DIR pdf documentation [DOCDIR] |
---|
| 1331 | --psdir=DIR ps documentation [DOCDIR] |
---|
| 1332 | _ACEOF |
---|
| 1333 | |
---|
| 1334 | cat <<\_ACEOF |
---|
| 1335 | |
---|
| 1336 | Program names: |
---|
| 1337 | --program-prefix=PREFIX prepend PREFIX to installed program names |
---|
| 1338 | --program-suffix=SUFFIX append SUFFIX to installed program names |
---|
| 1339 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
---|
| 1340 | _ACEOF |
---|
| 1341 | fi |
---|
| 1342 | |
---|
| 1343 | if test -n "$ac_init_help"; then |
---|
| 1344 | case $ac_init_help in |
---|
[5d6ce1f] | 1345 | short | recursive ) echo "Configuration of cfa-cc 1.0.0:";; |
---|
[3b77289] | 1346 | esac |
---|
| 1347 | cat <<\_ACEOF |
---|
| 1348 | |
---|
| 1349 | Optional Features: |
---|
| 1350 | --disable-option-checking ignore unrecognized --enable/--with options |
---|
| 1351 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
---|
| 1352 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
---|
[ee51534] | 1353 | --enable-silent-rules less verbose build output (undo: `make V=1') |
---|
| 1354 | --disable-silent-rules verbose build output (undo: `make V=0') |
---|
| 1355 | --disable-maintainer-mode disable make rules and dependencies not useful |
---|
| 1356 | (and sometimes confusing) to the casual installer |
---|
| 1357 | --disable-dependency-tracking speeds up one-time build |
---|
| 1358 | --enable-dependency-tracking do not reject slow dependency extractors |
---|
[3b77289] | 1359 | |
---|
| 1360 | Optional Packages: |
---|
| 1361 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
---|
| 1362 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
---|
| 1363 | --with-backend-compiler=PROGRAM PROGRAM that performs the final code compilation (must be gcc-compatible) |
---|
| 1364 | |
---|
| 1365 | Some influential environment variables: |
---|
| 1366 | CXX C++ compiler command |
---|
| 1367 | CXXFLAGS C++ compiler flags |
---|
| 1368 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
---|
| 1369 | nonstandard directory <lib dir> |
---|
| 1370 | LIBS libraries to pass to the linker, e.g. -l<library> |
---|
| 1371 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
---|
| 1372 | you have headers in a nonstandard directory <include dir> |
---|
| 1373 | CC C compiler command |
---|
| 1374 | CFLAGS C compiler flags |
---|
[56c3935] | 1375 | YACC The `Yet Another Compiler Compiler' implementation to use. |
---|
| 1376 | Defaults to the first program found out of: `bison -y', `byacc', |
---|
| 1377 | `yacc'. |
---|
| 1378 | YFLAGS The list of arguments that will be passed by default to $YACC. |
---|
| 1379 | This script will default YFLAGS to the empty string to avoid a |
---|
| 1380 | default value of `-d' given by some make applications. |
---|
[3b77289] | 1381 | CPP C preprocessor |
---|
| 1382 | |
---|
| 1383 | Use these variables to override the choices made by `configure' or to help |
---|
| 1384 | it to find libraries and programs with nonstandard names/locations. |
---|
| 1385 | |
---|
| 1386 | Report bugs to <cforall@plg.uwaterloo.ca>. |
---|
| 1387 | _ACEOF |
---|
| 1388 | ac_status=$? |
---|
| 1389 | fi |
---|
| 1390 | |
---|
| 1391 | if test "$ac_init_help" = "recursive"; then |
---|
| 1392 | # If there are subdirs, report their specific --help. |
---|
| 1393 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
---|
| 1394 | test -d "$ac_dir" || |
---|
| 1395 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
---|
| 1396 | continue |
---|
| 1397 | ac_builddir=. |
---|
| 1398 | |
---|
| 1399 | case "$ac_dir" in |
---|
| 1400 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 1401 | *) |
---|
| 1402 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
| 1403 | # A ".." for each directory in $ac_dir_suffix. |
---|
| 1404 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
| 1405 | case $ac_top_builddir_sub in |
---|
| 1406 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 1407 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
| 1408 | esac ;; |
---|
| 1409 | esac |
---|
| 1410 | ac_abs_top_builddir=$ac_pwd |
---|
| 1411 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
| 1412 | # for backward compatibility: |
---|
| 1413 | ac_top_builddir=$ac_top_build_prefix |
---|
| 1414 | |
---|
| 1415 | case $srcdir in |
---|
| 1416 | .) # We are building in place. |
---|
| 1417 | ac_srcdir=. |
---|
| 1418 | ac_top_srcdir=$ac_top_builddir_sub |
---|
| 1419 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
| 1420 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
| 1421 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
| 1422 | ac_top_srcdir=$srcdir |
---|
| 1423 | ac_abs_top_srcdir=$srcdir ;; |
---|
| 1424 | *) # Relative name. |
---|
| 1425 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
| 1426 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
| 1427 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
| 1428 | esac |
---|
| 1429 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
| 1430 | |
---|
| 1431 | cd "$ac_dir" || { ac_status=$?; continue; } |
---|
| 1432 | # Check for guested configure. |
---|
| 1433 | if test -f "$ac_srcdir/configure.gnu"; then |
---|
| 1434 | echo && |
---|
| 1435 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
---|
| 1436 | elif test -f "$ac_srcdir/configure"; then |
---|
| 1437 | echo && |
---|
| 1438 | $SHELL "$ac_srcdir/configure" --help=recursive |
---|
| 1439 | else |
---|
| 1440 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
---|
| 1441 | fi || ac_status=$? |
---|
| 1442 | cd "$ac_pwd" || { ac_status=$?; break; } |
---|
| 1443 | done |
---|
| 1444 | fi |
---|
| 1445 | |
---|
| 1446 | test -n "$ac_init_help" && exit $ac_status |
---|
| 1447 | if $ac_init_version; then |
---|
| 1448 | cat <<\_ACEOF |
---|
[5d6ce1f] | 1449 | cfa-cc configure 1.0.0 |
---|
[ee51534] | 1450 | generated by GNU Autoconf 2.68 |
---|
[3b77289] | 1451 | |
---|
[ee51534] | 1452 | Copyright (C) 2010 Free Software Foundation, Inc. |
---|
[3b77289] | 1453 | This configure script is free software; the Free Software Foundation |
---|
| 1454 | gives unlimited permission to copy, distribute and modify it. |
---|
| 1455 | _ACEOF |
---|
| 1456 | exit |
---|
| 1457 | fi |
---|
| 1458 | |
---|
| 1459 | ## ------------------------ ## |
---|
| 1460 | ## Autoconf initialization. ## |
---|
| 1461 | ## ------------------------ ## |
---|
| 1462 | |
---|
| 1463 | # ac_fn_cxx_try_compile LINENO |
---|
| 1464 | # ---------------------------- |
---|
| 1465 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
---|
| 1466 | ac_fn_cxx_try_compile () |
---|
| 1467 | { |
---|
| 1468 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1469 | rm -f conftest.$ac_objext |
---|
| 1470 | if { { ac_try="$ac_compile" |
---|
| 1471 | case "(($ac_try" in |
---|
| 1472 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1473 | *) ac_try_echo=$ac_try;; |
---|
| 1474 | esac |
---|
| 1475 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 1476 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 1477 | (eval "$ac_compile") 2>conftest.err |
---|
| 1478 | ac_status=$? |
---|
| 1479 | if test -s conftest.err; then |
---|
| 1480 | grep -v '^ *+' conftest.err >conftest.er1 |
---|
| 1481 | cat conftest.er1 >&5 |
---|
| 1482 | mv -f conftest.er1 conftest.err |
---|
| 1483 | fi |
---|
| 1484 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 1485 | test $ac_status = 0; } && { |
---|
| 1486 | test -z "$ac_cxx_werror_flag" || |
---|
| 1487 | test ! -s conftest.err |
---|
| 1488 | } && test -s conftest.$ac_objext; then : |
---|
| 1489 | ac_retval=0 |
---|
| 1490 | else |
---|
| 1491 | $as_echo "$as_me: failed program was:" >&5 |
---|
| 1492 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1493 | |
---|
| 1494 | ac_retval=1 |
---|
| 1495 | fi |
---|
| 1496 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
| 1497 | as_fn_set_status $ac_retval |
---|
| 1498 | |
---|
| 1499 | } # ac_fn_cxx_try_compile |
---|
| 1500 | |
---|
| 1501 | # ac_fn_c_try_compile LINENO |
---|
| 1502 | # -------------------------- |
---|
| 1503 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
---|
| 1504 | ac_fn_c_try_compile () |
---|
| 1505 | { |
---|
| 1506 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1507 | rm -f conftest.$ac_objext |
---|
| 1508 | if { { ac_try="$ac_compile" |
---|
| 1509 | case "(($ac_try" in |
---|
| 1510 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1511 | *) ac_try_echo=$ac_try;; |
---|
| 1512 | esac |
---|
| 1513 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 1514 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 1515 | (eval "$ac_compile") 2>conftest.err |
---|
| 1516 | ac_status=$? |
---|
| 1517 | if test -s conftest.err; then |
---|
| 1518 | grep -v '^ *+' conftest.err >conftest.er1 |
---|
| 1519 | cat conftest.er1 >&5 |
---|
| 1520 | mv -f conftest.er1 conftest.err |
---|
| 1521 | fi |
---|
| 1522 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 1523 | test $ac_status = 0; } && { |
---|
| 1524 | test -z "$ac_c_werror_flag" || |
---|
| 1525 | test ! -s conftest.err |
---|
| 1526 | } && test -s conftest.$ac_objext; then : |
---|
| 1527 | ac_retval=0 |
---|
| 1528 | else |
---|
| 1529 | $as_echo "$as_me: failed program was:" >&5 |
---|
| 1530 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1531 | |
---|
| 1532 | ac_retval=1 |
---|
| 1533 | fi |
---|
| 1534 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
| 1535 | as_fn_set_status $ac_retval |
---|
| 1536 | |
---|
| 1537 | } # ac_fn_c_try_compile |
---|
| 1538 | |
---|
[56c3935] | 1539 | # ac_fn_c_try_link LINENO |
---|
| 1540 | # ----------------------- |
---|
| 1541 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
---|
| 1542 | ac_fn_c_try_link () |
---|
| 1543 | { |
---|
| 1544 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1545 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
| 1546 | if { { ac_try="$ac_link" |
---|
| 1547 | case "(($ac_try" in |
---|
| 1548 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1549 | *) ac_try_echo=$ac_try;; |
---|
| 1550 | esac |
---|
| 1551 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 1552 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 1553 | (eval "$ac_link") 2>conftest.err |
---|
| 1554 | ac_status=$? |
---|
| 1555 | if test -s conftest.err; then |
---|
| 1556 | grep -v '^ *+' conftest.err >conftest.er1 |
---|
| 1557 | cat conftest.er1 >&5 |
---|
| 1558 | mv -f conftest.er1 conftest.err |
---|
| 1559 | fi |
---|
| 1560 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 1561 | test $ac_status = 0; } && { |
---|
| 1562 | test -z "$ac_c_werror_flag" || |
---|
| 1563 | test ! -s conftest.err |
---|
| 1564 | } && test -s conftest$ac_exeext && { |
---|
| 1565 | test "$cross_compiling" = yes || |
---|
[ee51534] | 1566 | $as_test_x conftest$ac_exeext |
---|
[56c3935] | 1567 | }; then : |
---|
| 1568 | ac_retval=0 |
---|
| 1569 | else |
---|
| 1570 | $as_echo "$as_me: failed program was:" >&5 |
---|
| 1571 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1572 | |
---|
| 1573 | ac_retval=1 |
---|
| 1574 | fi |
---|
| 1575 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
---|
| 1576 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
---|
| 1577 | # interfere with the next link command; also delete a directory that is |
---|
| 1578 | # left behind by Apple's compiler. We do this before executing the actions. |
---|
| 1579 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
---|
| 1580 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
| 1581 | as_fn_set_status $ac_retval |
---|
| 1582 | |
---|
| 1583 | } # ac_fn_c_try_link |
---|
| 1584 | |
---|
[5d6ce1f] | 1585 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
---|
| 1586 | # ------------------------------------------- |
---|
| 1587 | # Tests whether TYPE exists after having included INCLUDES, setting cache |
---|
| 1588 | # variable VAR accordingly. |
---|
| 1589 | ac_fn_c_check_type () |
---|
[3b77289] | 1590 | { |
---|
| 1591 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
[5d6ce1f] | 1592 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
---|
| 1593 | $as_echo_n "checking for $2... " >&6; } |
---|
| 1594 | if eval \${$3+:} false; then : |
---|
| 1595 | $as_echo_n "(cached) " >&6 |
---|
| 1596 | else |
---|
| 1597 | eval "$3=no" |
---|
| 1598 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 1599 | /* end confdefs.h. */ |
---|
| 1600 | $4 |
---|
| 1601 | int |
---|
| 1602 | main () |
---|
| 1603 | { |
---|
| 1604 | if (sizeof ($2)) |
---|
| 1605 | return 0; |
---|
| 1606 | ; |
---|
| 1607 | return 0; |
---|
| 1608 | } |
---|
| 1609 | _ACEOF |
---|
| 1610 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 1611 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 1612 | /* end confdefs.h. */ |
---|
| 1613 | $4 |
---|
| 1614 | int |
---|
| 1615 | main () |
---|
| 1616 | { |
---|
| 1617 | if (sizeof (($2))) |
---|
| 1618 | return 0; |
---|
| 1619 | ; |
---|
| 1620 | return 0; |
---|
| 1621 | } |
---|
| 1622 | _ACEOF |
---|
| 1623 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 1624 | |
---|
| 1625 | else |
---|
| 1626 | eval "$3=yes" |
---|
| 1627 | fi |
---|
| 1628 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 1629 | fi |
---|
| 1630 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 1631 | fi |
---|
| 1632 | eval ac_res=\$$3 |
---|
| 1633 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
| 1634 | $as_echo "$ac_res" >&6; } |
---|
| 1635 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
| 1636 | |
---|
| 1637 | } # ac_fn_c_check_type |
---|
| 1638 | |
---|
| 1639 | # ac_fn_c_try_cpp LINENO |
---|
| 1640 | # ---------------------- |
---|
| 1641 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
---|
| 1642 | ac_fn_c_try_cpp () |
---|
| 1643 | { |
---|
| 1644 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1645 | if { { ac_try="$ac_cpp conftest.$ac_ext" |
---|
[3b77289] | 1646 | case "(($ac_try" in |
---|
| 1647 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1648 | *) ac_try_echo=$ac_try;; |
---|
| 1649 | esac |
---|
| 1650 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 1651 | $as_echo "$ac_try_echo"; } >&5 |
---|
[5d6ce1f] | 1652 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
---|
[3b77289] | 1653 | ac_status=$? |
---|
| 1654 | if test -s conftest.err; then |
---|
| 1655 | grep -v '^ *+' conftest.err >conftest.er1 |
---|
| 1656 | cat conftest.er1 >&5 |
---|
| 1657 | mv -f conftest.er1 conftest.err |
---|
| 1658 | fi |
---|
| 1659 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
[5d6ce1f] | 1660 | test $ac_status = 0; } > conftest.i && { |
---|
| 1661 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
---|
[3b77289] | 1662 | test ! -s conftest.err |
---|
| 1663 | }; then : |
---|
| 1664 | ac_retval=0 |
---|
| 1665 | else |
---|
| 1666 | $as_echo "$as_me: failed program was:" >&5 |
---|
| 1667 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1668 | |
---|
[5d6ce1f] | 1669 | ac_retval=1 |
---|
[3b77289] | 1670 | fi |
---|
| 1671 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
| 1672 | as_fn_set_status $ac_retval |
---|
| 1673 | |
---|
[5d6ce1f] | 1674 | } # ac_fn_c_try_cpp |
---|
[3b77289] | 1675 | |
---|
[5d6ce1f] | 1676 | # ac_fn_c_try_run LINENO |
---|
[3b77289] | 1677 | # ---------------------- |
---|
[5d6ce1f] | 1678 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
---|
| 1679 | # that executables *can* be run. |
---|
| 1680 | ac_fn_c_try_run () |
---|
[3b77289] | 1681 | { |
---|
| 1682 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
[5d6ce1f] | 1683 | if { { ac_try="$ac_link" |
---|
[3b77289] | 1684 | case "(($ac_try" in |
---|
| 1685 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1686 | *) ac_try_echo=$ac_try;; |
---|
| 1687 | esac |
---|
| 1688 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 1689 | $as_echo "$ac_try_echo"; } >&5 |
---|
[5d6ce1f] | 1690 | (eval "$ac_link") 2>&5 |
---|
| 1691 | ac_status=$? |
---|
| 1692 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 1693 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
---|
| 1694 | { { case "(($ac_try" in |
---|
| 1695 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1696 | *) ac_try_echo=$ac_try;; |
---|
| 1697 | esac |
---|
| 1698 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 1699 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 1700 | (eval "$ac_try") 2>&5 |
---|
| 1701 | ac_status=$? |
---|
| 1702 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 1703 | test $ac_status = 0; }; }; then : |
---|
| 1704 | ac_retval=0 |
---|
| 1705 | else |
---|
| 1706 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
---|
| 1707 | $as_echo "$as_me: failed program was:" >&5 |
---|
| 1708 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1709 | |
---|
| 1710 | ac_retval=$ac_status |
---|
| 1711 | fi |
---|
| 1712 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
---|
| 1713 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
| 1714 | as_fn_set_status $ac_retval |
---|
| 1715 | |
---|
| 1716 | } # ac_fn_c_try_run |
---|
| 1717 | |
---|
| 1718 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
---|
| 1719 | # ------------------------------------------------------- |
---|
| 1720 | # Tests whether HEADER exists and can be compiled using the include files in |
---|
| 1721 | # INCLUDES, setting the cache variable VAR accordingly. |
---|
| 1722 | ac_fn_c_check_header_compile () |
---|
| 1723 | { |
---|
| 1724 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1725 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
---|
| 1726 | $as_echo_n "checking for $2... " >&6; } |
---|
| 1727 | if eval \${$3+:} false; then : |
---|
| 1728 | $as_echo_n "(cached) " >&6 |
---|
| 1729 | else |
---|
| 1730 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 1731 | /* end confdefs.h. */ |
---|
| 1732 | $4 |
---|
| 1733 | #include <$2> |
---|
| 1734 | _ACEOF |
---|
| 1735 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 1736 | eval "$3=yes" |
---|
| 1737 | else |
---|
| 1738 | eval "$3=no" |
---|
| 1739 | fi |
---|
| 1740 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 1741 | fi |
---|
| 1742 | eval ac_res=\$$3 |
---|
| 1743 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
| 1744 | $as_echo "$ac_res" >&6; } |
---|
| 1745 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
| 1746 | |
---|
| 1747 | } # ac_fn_c_check_header_compile |
---|
| 1748 | |
---|
| 1749 | # ac_fn_c_check_func LINENO FUNC VAR |
---|
| 1750 | # ---------------------------------- |
---|
| 1751 | # Tests whether FUNC exists, setting the cache variable VAR accordingly |
---|
| 1752 | ac_fn_c_check_func () |
---|
| 1753 | { |
---|
| 1754 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1755 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
---|
| 1756 | $as_echo_n "checking for $2... " >&6; } |
---|
| 1757 | if eval \${$3+:} false; then : |
---|
| 1758 | $as_echo_n "(cached) " >&6 |
---|
| 1759 | else |
---|
| 1760 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 1761 | /* end confdefs.h. */ |
---|
| 1762 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
---|
| 1763 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
---|
| 1764 | #define $2 innocuous_$2 |
---|
| 1765 | |
---|
| 1766 | /* System header to define __stub macros and hopefully few prototypes, |
---|
| 1767 | which can conflict with char $2 (); below. |
---|
| 1768 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
| 1769 | <limits.h> exists even on freestanding compilers. */ |
---|
| 1770 | |
---|
| 1771 | #ifdef __STDC__ |
---|
| 1772 | # include <limits.h> |
---|
| 1773 | #else |
---|
| 1774 | # include <assert.h> |
---|
| 1775 | #endif |
---|
| 1776 | |
---|
| 1777 | #undef $2 |
---|
| 1778 | |
---|
| 1779 | /* Override any GCC internal prototype to avoid an error. |
---|
| 1780 | Use char because int might match the return type of a GCC |
---|
| 1781 | builtin and then its argument prototype would still apply. */ |
---|
| 1782 | #ifdef __cplusplus |
---|
| 1783 | extern "C" |
---|
| 1784 | #endif |
---|
| 1785 | char $2 (); |
---|
| 1786 | /* The GNU C library defines this for functions which it implements |
---|
| 1787 | to always fail with ENOSYS. Some functions are actually named |
---|
| 1788 | something starting with __ and the normal name is an alias. */ |
---|
| 1789 | #if defined __stub_$2 || defined __stub___$2 |
---|
| 1790 | choke me |
---|
| 1791 | #endif |
---|
| 1792 | |
---|
| 1793 | int |
---|
| 1794 | main () |
---|
| 1795 | { |
---|
| 1796 | return $2 (); |
---|
| 1797 | ; |
---|
| 1798 | return 0; |
---|
| 1799 | } |
---|
| 1800 | _ACEOF |
---|
| 1801 | if ac_fn_c_try_link "$LINENO"; then : |
---|
| 1802 | eval "$3=yes" |
---|
| 1803 | else |
---|
| 1804 | eval "$3=no" |
---|
| 1805 | fi |
---|
| 1806 | rm -f core conftest.err conftest.$ac_objext \ |
---|
| 1807 | conftest$ac_exeext conftest.$ac_ext |
---|
| 1808 | fi |
---|
| 1809 | eval ac_res=\$$3 |
---|
| 1810 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
| 1811 | $as_echo "$ac_res" >&6; } |
---|
| 1812 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
| 1813 | |
---|
| 1814 | } # ac_fn_c_check_func |
---|
[3b77289] | 1815 | |
---|
| 1816 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
---|
| 1817 | # ------------------------------------------------------- |
---|
| 1818 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using |
---|
| 1819 | # the include files in INCLUDES and setting the cache variable VAR |
---|
| 1820 | # accordingly. |
---|
| 1821 | ac_fn_c_check_header_mongrel () |
---|
| 1822 | { |
---|
| 1823 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1824 | if eval \${$3+:} false; then : |
---|
| 1825 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
---|
| 1826 | $as_echo_n "checking for $2... " >&6; } |
---|
| 1827 | if eval \${$3+:} false; then : |
---|
| 1828 | $as_echo_n "(cached) " >&6 |
---|
| 1829 | fi |
---|
| 1830 | eval ac_res=\$$3 |
---|
| 1831 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
| 1832 | $as_echo "$ac_res" >&6; } |
---|
| 1833 | else |
---|
| 1834 | # Is the header compilable? |
---|
| 1835 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
---|
| 1836 | $as_echo_n "checking $2 usability... " >&6; } |
---|
| 1837 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 1838 | /* end confdefs.h. */ |
---|
| 1839 | $4 |
---|
| 1840 | #include <$2> |
---|
| 1841 | _ACEOF |
---|
| 1842 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 1843 | ac_header_compiler=yes |
---|
| 1844 | else |
---|
| 1845 | ac_header_compiler=no |
---|
| 1846 | fi |
---|
| 1847 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 1848 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
---|
| 1849 | $as_echo "$ac_header_compiler" >&6; } |
---|
| 1850 | |
---|
| 1851 | # Is the header present? |
---|
| 1852 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
---|
| 1853 | $as_echo_n "checking $2 presence... " >&6; } |
---|
| 1854 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 1855 | /* end confdefs.h. */ |
---|
| 1856 | #include <$2> |
---|
| 1857 | _ACEOF |
---|
| 1858 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
| 1859 | ac_header_preproc=yes |
---|
| 1860 | else |
---|
| 1861 | ac_header_preproc=no |
---|
| 1862 | fi |
---|
| 1863 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
| 1864 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
---|
| 1865 | $as_echo "$ac_header_preproc" >&6; } |
---|
| 1866 | |
---|
| 1867 | # So? What about this header? |
---|
| 1868 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
---|
| 1869 | yes:no: ) |
---|
| 1870 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
---|
| 1871 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
---|
| 1872 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
---|
| 1873 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
---|
| 1874 | ;; |
---|
| 1875 | no:yes:* ) |
---|
| 1876 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
---|
| 1877 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
---|
| 1878 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
---|
| 1879 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
---|
| 1880 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
---|
| 1881 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
---|
| 1882 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
---|
| 1883 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
---|
| 1884 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
---|
| 1885 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
---|
| 1886 | ( $as_echo "## --------------------------------------- ## |
---|
| 1887 | ## Report this to cforall@plg.uwaterloo.ca ## |
---|
| 1888 | ## --------------------------------------- ##" |
---|
| 1889 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
---|
| 1890 | ;; |
---|
| 1891 | esac |
---|
| 1892 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
---|
| 1893 | $as_echo_n "checking for $2... " >&6; } |
---|
| 1894 | if eval \${$3+:} false; then : |
---|
| 1895 | $as_echo_n "(cached) " >&6 |
---|
| 1896 | else |
---|
| 1897 | eval "$3=\$ac_header_compiler" |
---|
| 1898 | fi |
---|
| 1899 | eval ac_res=\$$3 |
---|
| 1900 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
| 1901 | $as_echo "$ac_res" >&6; } |
---|
| 1902 | fi |
---|
| 1903 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
| 1904 | |
---|
| 1905 | } # ac_fn_c_check_header_mongrel |
---|
| 1906 | |
---|
[5d6ce1f] | 1907 | # ac_fn_c_find_intX_t LINENO BITS VAR |
---|
| 1908 | # ----------------------------------- |
---|
| 1909 | # Finds a signed integer type with width BITS, setting cache variable VAR |
---|
| 1910 | # accordingly. |
---|
| 1911 | ac_fn_c_find_intX_t () |
---|
[3b77289] | 1912 | { |
---|
| 1913 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
[5d6ce1f] | 1914 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 |
---|
| 1915 | $as_echo_n "checking for int$2_t... " >&6; } |
---|
| 1916 | if eval \${$3+:} false; then : |
---|
| 1917 | $as_echo_n "(cached) " >&6 |
---|
[3b77289] | 1918 | else |
---|
[5d6ce1f] | 1919 | eval "$3=no" |
---|
| 1920 | # Order is important - never check a type that is potentially smaller |
---|
| 1921 | # than half of the expected target width. |
---|
| 1922 | for ac_type in int$2_t 'int' 'long int' \ |
---|
| 1923 | 'long long int' 'short int' 'signed char'; do |
---|
| 1924 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 1925 | /* end confdefs.h. */ |
---|
| 1926 | $ac_includes_default |
---|
| 1927 | enum { N = $2 / 2 - 1 }; |
---|
| 1928 | int |
---|
| 1929 | main () |
---|
| 1930 | { |
---|
| 1931 | static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; |
---|
[ee51534] | 1932 | test_array [0] = 0 |
---|
[3b77289] | 1933 | |
---|
[5d6ce1f] | 1934 | ; |
---|
| 1935 | return 0; |
---|
| 1936 | } |
---|
| 1937 | _ACEOF |
---|
| 1938 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 1939 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 1940 | /* end confdefs.h. */ |
---|
| 1941 | $ac_includes_default |
---|
| 1942 | enum { N = $2 / 2 - 1 }; |
---|
| 1943 | int |
---|
| 1944 | main () |
---|
| 1945 | { |
---|
| 1946 | static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) |
---|
| 1947 | < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; |
---|
[ee51534] | 1948 | test_array [0] = 0 |
---|
[5d6ce1f] | 1949 | |
---|
| 1950 | ; |
---|
| 1951 | return 0; |
---|
| 1952 | } |
---|
| 1953 | _ACEOF |
---|
| 1954 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 1955 | |
---|
| 1956 | else |
---|
| 1957 | case $ac_type in #( |
---|
| 1958 | int$2_t) : |
---|
| 1959 | eval "$3=yes" ;; #( |
---|
| 1960 | *) : |
---|
| 1961 | eval "$3=\$ac_type" ;; |
---|
| 1962 | esac |
---|
[3b77289] | 1963 | fi |
---|
[5d6ce1f] | 1964 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 1965 | fi |
---|
| 1966 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 1967 | if eval test \"x\$"$3"\" = x"no"; then : |
---|
| 1968 | |
---|
| 1969 | else |
---|
| 1970 | break |
---|
| 1971 | fi |
---|
| 1972 | done |
---|
| 1973 | fi |
---|
| 1974 | eval ac_res=\$$3 |
---|
| 1975 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
| 1976 | $as_echo "$ac_res" >&6; } |
---|
[3b77289] | 1977 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
| 1978 | |
---|
[5d6ce1f] | 1979 | } # ac_fn_c_find_intX_t |
---|
[3b77289] | 1980 | |
---|
[5d6ce1f] | 1981 | # ac_fn_c_find_uintX_t LINENO BITS VAR |
---|
| 1982 | # ------------------------------------ |
---|
| 1983 | # Finds an unsigned integer type with width BITS, setting cache variable VAR |
---|
| 1984 | # accordingly. |
---|
| 1985 | ac_fn_c_find_uintX_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 uint$2_t" >&5 |
---|
| 1989 | $as_echo_n "checking for uint$2_t... " >&6; } |
---|
[3b77289] | 1990 | if eval \${$3+:} false; then : |
---|
| 1991 | $as_echo_n "(cached) " >&6 |
---|
| 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 uint$2_t 'unsigned int' 'unsigned long int' \ |
---|
| 1997 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do |
---|
| 1998 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
[3b77289] | 1999 | /* end confdefs.h. */ |
---|
[5d6ce1f] | 2000 | $ac_includes_default |
---|
| 2001 | int |
---|
| 2002 | main () |
---|
| 2003 | { |
---|
| 2004 | static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; |
---|
[ee51534] | 2005 | test_array [0] = 0 |
---|
[5d6ce1f] | 2006 | |
---|
| 2007 | ; |
---|
| 2008 | return 0; |
---|
| 2009 | } |
---|
[3b77289] | 2010 | _ACEOF |
---|
| 2011 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
[5d6ce1f] | 2012 | case $ac_type in #( |
---|
| 2013 | uint$2_t) : |
---|
| 2014 | eval "$3=yes" ;; #( |
---|
| 2015 | *) : |
---|
| 2016 | eval "$3=\$ac_type" ;; |
---|
| 2017 | esac |
---|
[3b77289] | 2018 | fi |
---|
| 2019 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
[5d6ce1f] | 2020 | if eval test \"x\$"$3"\" = x"no"; then : |
---|
| 2021 | |
---|
| 2022 | else |
---|
| 2023 | break |
---|
| 2024 | fi |
---|
| 2025 | done |
---|
[3b77289] | 2026 | fi |
---|
| 2027 | eval ac_res=\$$3 |
---|
| 2028 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
| 2029 | $as_echo "$ac_res" >&6; } |
---|
| 2030 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
| 2031 | |
---|
[5d6ce1f] | 2032 | } # ac_fn_c_find_uintX_t |
---|
[3b77289] | 2033 | cat >config.log <<_ACEOF |
---|
| 2034 | This file contains any messages produced by compilers while |
---|
| 2035 | running configure, to aid debugging if configure makes a mistake. |
---|
| 2036 | |
---|
[5d6ce1f] | 2037 | It was created by cfa-cc $as_me 1.0.0, which was |
---|
[ee51534] | 2038 | generated by GNU Autoconf 2.68. Invocation command line was |
---|
[3b77289] | 2039 | |
---|
| 2040 | $ $0 $@ |
---|
| 2041 | |
---|
| 2042 | _ACEOF |
---|
| 2043 | exec 5>>config.log |
---|
| 2044 | { |
---|
| 2045 | cat <<_ASUNAME |
---|
| 2046 | ## --------- ## |
---|
| 2047 | ## Platform. ## |
---|
| 2048 | ## --------- ## |
---|
| 2049 | |
---|
| 2050 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 2051 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
---|
| 2052 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
---|
| 2053 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
---|
| 2054 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
---|
| 2055 | |
---|
| 2056 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
---|
| 2057 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
---|
| 2058 | |
---|
| 2059 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
---|
| 2060 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
---|
| 2061 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
---|
| 2062 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
---|
| 2063 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
---|
| 2064 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
---|
| 2065 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
---|
| 2066 | |
---|
| 2067 | _ASUNAME |
---|
| 2068 | |
---|
| 2069 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2070 | for as_dir in $PATH |
---|
| 2071 | do |
---|
| 2072 | IFS=$as_save_IFS |
---|
| 2073 | test -z "$as_dir" && as_dir=. |
---|
| 2074 | $as_echo "PATH: $as_dir" |
---|
| 2075 | done |
---|
| 2076 | IFS=$as_save_IFS |
---|
| 2077 | |
---|
| 2078 | } >&5 |
---|
| 2079 | |
---|
| 2080 | cat >&5 <<_ACEOF |
---|
| 2081 | |
---|
| 2082 | |
---|
| 2083 | ## ----------- ## |
---|
| 2084 | ## Core tests. ## |
---|
| 2085 | ## ----------- ## |
---|
| 2086 | |
---|
| 2087 | _ACEOF |
---|
| 2088 | |
---|
| 2089 | |
---|
| 2090 | # Keep a trace of the command line. |
---|
| 2091 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
| 2092 | # Strip out --silent because we don't want to record it for future runs. |
---|
| 2093 | # Also quote any args containing shell meta-characters. |
---|
| 2094 | # Make two passes to allow for proper duplicate-argument suppression. |
---|
| 2095 | ac_configure_args= |
---|
| 2096 | ac_configure_args0= |
---|
| 2097 | ac_configure_args1= |
---|
| 2098 | ac_must_keep_next=false |
---|
| 2099 | for ac_pass in 1 2 |
---|
| 2100 | do |
---|
| 2101 | for ac_arg |
---|
| 2102 | do |
---|
| 2103 | case $ac_arg in |
---|
| 2104 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
---|
| 2105 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 2106 | | -silent | --silent | --silen | --sile | --sil) |
---|
| 2107 | continue ;; |
---|
| 2108 | *\'*) |
---|
| 2109 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 2110 | esac |
---|
| 2111 | case $ac_pass in |
---|
| 2112 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
---|
| 2113 | 2) |
---|
| 2114 | as_fn_append ac_configure_args1 " '$ac_arg'" |
---|
| 2115 | if test $ac_must_keep_next = true; then |
---|
| 2116 | ac_must_keep_next=false # Got value, back to normal. |
---|
| 2117 | else |
---|
| 2118 | case $ac_arg in |
---|
| 2119 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
---|
| 2120 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
---|
| 2121 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
---|
| 2122 | | -with-* | --with-* | -without-* | --without-* | --x) |
---|
| 2123 | case "$ac_configure_args0 " in |
---|
| 2124 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
---|
| 2125 | esac |
---|
| 2126 | ;; |
---|
| 2127 | -* ) ac_must_keep_next=true ;; |
---|
| 2128 | esac |
---|
| 2129 | fi |
---|
| 2130 | as_fn_append ac_configure_args " '$ac_arg'" |
---|
| 2131 | ;; |
---|
| 2132 | esac |
---|
| 2133 | done |
---|
| 2134 | done |
---|
| 2135 | { ac_configure_args0=; unset ac_configure_args0;} |
---|
| 2136 | { ac_configure_args1=; unset ac_configure_args1;} |
---|
| 2137 | |
---|
| 2138 | # When interrupted or exit'd, cleanup temporary files, and complete |
---|
| 2139 | # config.log. We remove comments because anyway the quotes in there |
---|
| 2140 | # would cause problems or look ugly. |
---|
| 2141 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
---|
| 2142 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
---|
| 2143 | trap 'exit_status=$? |
---|
| 2144 | # Save into config.log some information that might help in debugging. |
---|
| 2145 | { |
---|
| 2146 | echo |
---|
| 2147 | |
---|
| 2148 | $as_echo "## ---------------- ## |
---|
| 2149 | ## Cache variables. ## |
---|
| 2150 | ## ---------------- ##" |
---|
| 2151 | echo |
---|
| 2152 | # The following way of writing the cache mishandles newlines in values, |
---|
| 2153 | ( |
---|
| 2154 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
---|
| 2155 | eval ac_val=\$$ac_var |
---|
| 2156 | case $ac_val in #( |
---|
| 2157 | *${as_nl}*) |
---|
| 2158 | case $ac_var in #( |
---|
| 2159 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
---|
| 2160 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
---|
| 2161 | esac |
---|
| 2162 | case $ac_var in #( |
---|
| 2163 | _ | IFS | as_nl) ;; #( |
---|
| 2164 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
---|
| 2165 | *) { eval $ac_var=; unset $ac_var;} ;; |
---|
| 2166 | esac ;; |
---|
| 2167 | esac |
---|
| 2168 | done |
---|
| 2169 | (set) 2>&1 | |
---|
| 2170 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
---|
| 2171 | *${as_nl}ac_space=\ *) |
---|
| 2172 | sed -n \ |
---|
| 2173 | "s/'\''/'\''\\\\'\'''\''/g; |
---|
| 2174 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
---|
| 2175 | ;; #( |
---|
| 2176 | *) |
---|
| 2177 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
| 2178 | ;; |
---|
| 2179 | esac | |
---|
| 2180 | sort |
---|
| 2181 | ) |
---|
| 2182 | echo |
---|
| 2183 | |
---|
| 2184 | $as_echo "## ----------------- ## |
---|
| 2185 | ## Output variables. ## |
---|
| 2186 | ## ----------------- ##" |
---|
| 2187 | echo |
---|
| 2188 | for ac_var in $ac_subst_vars |
---|
| 2189 | do |
---|
| 2190 | eval ac_val=\$$ac_var |
---|
| 2191 | case $ac_val in |
---|
| 2192 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
| 2193 | esac |
---|
| 2194 | $as_echo "$ac_var='\''$ac_val'\''" |
---|
| 2195 | done | sort |
---|
| 2196 | echo |
---|
| 2197 | |
---|
| 2198 | if test -n "$ac_subst_files"; then |
---|
| 2199 | $as_echo "## ------------------- ## |
---|
| 2200 | ## File substitutions. ## |
---|
| 2201 | ## ------------------- ##" |
---|
| 2202 | echo |
---|
| 2203 | for ac_var in $ac_subst_files |
---|
| 2204 | do |
---|
| 2205 | eval ac_val=\$$ac_var |
---|
| 2206 | case $ac_val in |
---|
| 2207 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
| 2208 | esac |
---|
| 2209 | $as_echo "$ac_var='\''$ac_val'\''" |
---|
| 2210 | done | sort |
---|
| 2211 | echo |
---|
| 2212 | fi |
---|
| 2213 | |
---|
| 2214 | if test -s confdefs.h; then |
---|
| 2215 | $as_echo "## ----------- ## |
---|
| 2216 | ## confdefs.h. ## |
---|
| 2217 | ## ----------- ##" |
---|
| 2218 | echo |
---|
| 2219 | cat confdefs.h |
---|
| 2220 | echo |
---|
| 2221 | fi |
---|
| 2222 | test "$ac_signal" != 0 && |
---|
| 2223 | $as_echo "$as_me: caught signal $ac_signal" |
---|
| 2224 | $as_echo "$as_me: exit $exit_status" |
---|
| 2225 | } >&5 |
---|
| 2226 | rm -f core *.core core.conftest.* && |
---|
| 2227 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
---|
| 2228 | exit $exit_status |
---|
| 2229 | ' 0 |
---|
| 2230 | for ac_signal in 1 2 13 15; do |
---|
| 2231 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
---|
| 2232 | done |
---|
| 2233 | ac_signal=0 |
---|
| 2234 | |
---|
| 2235 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
| 2236 | rm -f -r conftest* confdefs.h |
---|
| 2237 | |
---|
| 2238 | $as_echo "/* confdefs.h */" > confdefs.h |
---|
| 2239 | |
---|
| 2240 | # Predefined preprocessor variables. |
---|
| 2241 | |
---|
| 2242 | cat >>confdefs.h <<_ACEOF |
---|
| 2243 | #define PACKAGE_NAME "$PACKAGE_NAME" |
---|
| 2244 | _ACEOF |
---|
| 2245 | |
---|
| 2246 | cat >>confdefs.h <<_ACEOF |
---|
| 2247 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
---|
| 2248 | _ACEOF |
---|
| 2249 | |
---|
| 2250 | cat >>confdefs.h <<_ACEOF |
---|
| 2251 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
---|
| 2252 | _ACEOF |
---|
| 2253 | |
---|
| 2254 | cat >>confdefs.h <<_ACEOF |
---|
| 2255 | #define PACKAGE_STRING "$PACKAGE_STRING" |
---|
| 2256 | _ACEOF |
---|
| 2257 | |
---|
| 2258 | cat >>confdefs.h <<_ACEOF |
---|
| 2259 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
---|
| 2260 | _ACEOF |
---|
| 2261 | |
---|
| 2262 | cat >>confdefs.h <<_ACEOF |
---|
| 2263 | #define PACKAGE_URL "$PACKAGE_URL" |
---|
| 2264 | _ACEOF |
---|
| 2265 | |
---|
| 2266 | |
---|
| 2267 | # Let the site file select an alternate cache file if it wants to. |
---|
| 2268 | # Prefer an explicitly selected file to automatically selected ones. |
---|
| 2269 | ac_site_file1=NONE |
---|
| 2270 | ac_site_file2=NONE |
---|
| 2271 | if test -n "$CONFIG_SITE"; then |
---|
| 2272 | # We do not want a PATH search for config.site. |
---|
| 2273 | case $CONFIG_SITE in #(( |
---|
| 2274 | -*) ac_site_file1=./$CONFIG_SITE;; |
---|
| 2275 | */*) ac_site_file1=$CONFIG_SITE;; |
---|
| 2276 | *) ac_site_file1=./$CONFIG_SITE;; |
---|
| 2277 | esac |
---|
| 2278 | elif test "x$prefix" != xNONE; then |
---|
| 2279 | ac_site_file1=$prefix/share/config.site |
---|
| 2280 | ac_site_file2=$prefix/etc/config.site |
---|
| 2281 | else |
---|
| 2282 | ac_site_file1=$ac_default_prefix/share/config.site |
---|
| 2283 | ac_site_file2=$ac_default_prefix/etc/config.site |
---|
| 2284 | fi |
---|
| 2285 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
---|
| 2286 | do |
---|
| 2287 | test "x$ac_site_file" = xNONE && continue |
---|
| 2288 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
---|
| 2289 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
---|
| 2290 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
---|
| 2291 | sed 's/^/| /' "$ac_site_file" >&5 |
---|
| 2292 | . "$ac_site_file" \ |
---|
| 2293 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 2294 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 2295 | as_fn_error $? "failed to load site script $ac_site_file |
---|
| 2296 | See \`config.log' for more details" "$LINENO" 5; } |
---|
| 2297 | fi |
---|
| 2298 | done |
---|
| 2299 | |
---|
| 2300 | if test -r "$cache_file"; then |
---|
| 2301 | # Some versions of bash will fail to source /dev/null (special files |
---|
| 2302 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
---|
| 2303 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
---|
| 2304 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
---|
| 2305 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
---|
| 2306 | case $cache_file in |
---|
| 2307 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
---|
| 2308 | *) . "./$cache_file";; |
---|
| 2309 | esac |
---|
| 2310 | fi |
---|
| 2311 | else |
---|
| 2312 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
---|
| 2313 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
---|
| 2314 | >$cache_file |
---|
| 2315 | fi |
---|
| 2316 | |
---|
| 2317 | # Check that the precious variables saved in the cache have kept the same |
---|
| 2318 | # value. |
---|
| 2319 | ac_cache_corrupted=false |
---|
| 2320 | for ac_var in $ac_precious_vars; do |
---|
| 2321 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
---|
| 2322 | eval ac_new_set=\$ac_env_${ac_var}_set |
---|
| 2323 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
---|
| 2324 | eval ac_new_val=\$ac_env_${ac_var}_value |
---|
| 2325 | case $ac_old_set,$ac_new_set in |
---|
| 2326 | set,) |
---|
| 2327 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
---|
| 2328 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
---|
| 2329 | ac_cache_corrupted=: ;; |
---|
| 2330 | ,set) |
---|
| 2331 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
---|
| 2332 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
---|
| 2333 | ac_cache_corrupted=: ;; |
---|
| 2334 | ,);; |
---|
| 2335 | *) |
---|
| 2336 | if test "x$ac_old_val" != "x$ac_new_val"; then |
---|
| 2337 | # differences in whitespace do not lead to failure. |
---|
| 2338 | ac_old_val_w=`echo x $ac_old_val` |
---|
| 2339 | ac_new_val_w=`echo x $ac_new_val` |
---|
| 2340 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
---|
| 2341 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
---|
| 2342 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
---|
| 2343 | ac_cache_corrupted=: |
---|
| 2344 | else |
---|
| 2345 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
---|
| 2346 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
---|
| 2347 | eval $ac_var=\$ac_old_val |
---|
| 2348 | fi |
---|
| 2349 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
---|
| 2350 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
---|
| 2351 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
---|
| 2352 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
---|
| 2353 | fi;; |
---|
| 2354 | esac |
---|
| 2355 | # Pass precious variables to config.status. |
---|
| 2356 | if test "$ac_new_set" = set; then |
---|
| 2357 | case $ac_new_val in |
---|
| 2358 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 2359 | *) ac_arg=$ac_var=$ac_new_val ;; |
---|
| 2360 | esac |
---|
| 2361 | case " $ac_configure_args " in |
---|
| 2362 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
---|
| 2363 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
---|
| 2364 | esac |
---|
| 2365 | fi |
---|
| 2366 | done |
---|
| 2367 | if $ac_cache_corrupted; then |
---|
| 2368 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 2369 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 2370 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
---|
| 2371 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
---|
| 2372 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
---|
| 2373 | fi |
---|
| 2374 | ## -------------------- ## |
---|
| 2375 | ## Main body of script. ## |
---|
| 2376 | ## -------------------- ## |
---|
| 2377 | |
---|
| 2378 | ac_ext=c |
---|
| 2379 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 2380 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 2381 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 2382 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 2383 | |
---|
| 2384 | |
---|
| 2385 | ac_aux_dir= |
---|
[00cc023] | 2386 | for ac_dir in automake "$srcdir"/automake; do |
---|
[3b77289] | 2387 | if test -f "$ac_dir/install-sh"; then |
---|
| 2388 | ac_aux_dir=$ac_dir |
---|
| 2389 | ac_install_sh="$ac_aux_dir/install-sh -c" |
---|
| 2390 | break |
---|
| 2391 | elif test -f "$ac_dir/install.sh"; then |
---|
| 2392 | ac_aux_dir=$ac_dir |
---|
| 2393 | ac_install_sh="$ac_aux_dir/install.sh -c" |
---|
| 2394 | break |
---|
| 2395 | elif test -f "$ac_dir/shtool"; then |
---|
| 2396 | ac_aux_dir=$ac_dir |
---|
| 2397 | ac_install_sh="$ac_aux_dir/shtool install -c" |
---|
| 2398 | break |
---|
| 2399 | fi |
---|
| 2400 | done |
---|
| 2401 | if test -z "$ac_aux_dir"; then |
---|
[00cc023] | 2402 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in automake \"$srcdir\"/automake" "$LINENO" 5 |
---|
[3b77289] | 2403 | fi |
---|
| 2404 | |
---|
| 2405 | # These three variables are undocumented and unsupported, |
---|
| 2406 | # and are intended to be withdrawn in a future Autoconf release. |
---|
| 2407 | # They can cause serious problems if a builder's source tree is in a directory |
---|
| 2408 | # whose full name contains unusual characters. |
---|
| 2409 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
---|
| 2410 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
---|
| 2411 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
---|
| 2412 | |
---|
| 2413 | |
---|
[d3b7937] | 2414 | #AC_CONFIG_SRCDIR([src/main.cc]) |
---|
[00cc023] | 2415 | ac_config_headers="$ac_config_headers config.h" |
---|
| 2416 | |
---|
[ef7d253] | 2417 | # Check whether --enable-silent-rules was given. |
---|
| 2418 | if test "${enable_silent_rules+set}" = set; then : |
---|
| 2419 | enableval=$enable_silent_rules; |
---|
| 2420 | fi |
---|
| 2421 | |
---|
[ee51534] | 2422 | case $enable_silent_rules in |
---|
| 2423 | yes) AM_DEFAULT_VERBOSITY=0;; |
---|
| 2424 | no) AM_DEFAULT_VERBOSITY=1;; |
---|
| 2425 | *) AM_DEFAULT_VERBOSITY=1;; |
---|
[ef7d253] | 2426 | esac |
---|
| 2427 | am_make=${MAKE-make} |
---|
| 2428 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
---|
| 2429 | $as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
---|
| 2430 | if ${am_cv_make_support_nested_variables+:} false; then : |
---|
| 2431 | $as_echo_n "(cached) " >&6 |
---|
| 2432 | else |
---|
| 2433 | if $as_echo 'TRUE=$(BAR$(V)) |
---|
| 2434 | BAR0=false |
---|
| 2435 | BAR1=true |
---|
| 2436 | V=1 |
---|
| 2437 | am__doit: |
---|
| 2438 | @$(TRUE) |
---|
| 2439 | .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
---|
| 2440 | am_cv_make_support_nested_variables=yes |
---|
| 2441 | else |
---|
| 2442 | am_cv_make_support_nested_variables=no |
---|
| 2443 | fi |
---|
| 2444 | fi |
---|
| 2445 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
---|
| 2446 | $as_echo "$am_cv_make_support_nested_variables" >&6; } |
---|
| 2447 | if test $am_cv_make_support_nested_variables = yes; then |
---|
| 2448 | AM_V='$(V)' |
---|
| 2449 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
---|
| 2450 | else |
---|
| 2451 | AM_V=$AM_DEFAULT_VERBOSITY |
---|
| 2452 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
---|
| 2453 | fi |
---|
| 2454 | AM_BACKSLASH='\' |
---|
| 2455 | |
---|
[00cc023] | 2456 | |
---|
[90c3b1c] | 2457 | if test "x${CXXFLAGS}" = "x"; then |
---|
| 2458 | export CXXFLAGS="-std=c++11 -g -O2 ${CXXFLAGS}" |
---|
| 2459 | else |
---|
| 2460 | export CXXFLAGS="-std=c++11 ${CXXFLAGS}" |
---|
| 2461 | fi |
---|
| 2462 | |
---|
[ee51534] | 2463 | am__api_version='1.11' |
---|
[00cc023] | 2464 | |
---|
[3b77289] | 2465 | # Find a good install program. We prefer a C program (faster), |
---|
| 2466 | # so one script is as good as another. But avoid the broken or |
---|
| 2467 | # incompatible versions: |
---|
| 2468 | # SysV /etc/install, /usr/sbin/install |
---|
| 2469 | # SunOS /usr/etc/install |
---|
| 2470 | # IRIX /sbin/install |
---|
| 2471 | # AIX /bin/install |
---|
| 2472 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
---|
| 2473 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
---|
| 2474 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
---|
| 2475 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
---|
| 2476 | # OS/2's system install, which has a completely different semantic |
---|
| 2477 | # ./install, which can be erroneously created by make from ./install.sh. |
---|
| 2478 | # Reject install programs that cannot install multiple files. |
---|
| 2479 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
---|
| 2480 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
---|
| 2481 | if test -z "$INSTALL"; then |
---|
| 2482 | if ${ac_cv_path_install+:} false; then : |
---|
| 2483 | $as_echo_n "(cached) " >&6 |
---|
| 2484 | else |
---|
| 2485 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2486 | for as_dir in $PATH |
---|
| 2487 | do |
---|
| 2488 | IFS=$as_save_IFS |
---|
| 2489 | test -z "$as_dir" && as_dir=. |
---|
| 2490 | # Account for people who put trailing slashes in PATH elements. |
---|
| 2491 | case $as_dir/ in #(( |
---|
| 2492 | ./ | .// | /[cC]/* | \ |
---|
| 2493 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
---|
| 2494 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
---|
| 2495 | /usr/ucb/* ) ;; |
---|
| 2496 | *) |
---|
| 2497 | # OSF1 and SCO ODT 3.0 have their own names for install. |
---|
| 2498 | # Don't use installbsd from OSF since it installs stuff as root |
---|
| 2499 | # by default. |
---|
| 2500 | for ac_prog in ginstall scoinst install; do |
---|
| 2501 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[ee51534] | 2502 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
---|
[3b77289] | 2503 | if test $ac_prog = install && |
---|
| 2504 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
| 2505 | # AIX install. It has an incompatible calling convention. |
---|
| 2506 | : |
---|
| 2507 | elif test $ac_prog = install && |
---|
| 2508 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
| 2509 | # program-specific install script used by HP pwplus--don't use. |
---|
| 2510 | : |
---|
| 2511 | else |
---|
| 2512 | rm -rf conftest.one conftest.two conftest.dir |
---|
| 2513 | echo one > conftest.one |
---|
| 2514 | echo two > conftest.two |
---|
| 2515 | mkdir conftest.dir |
---|
| 2516 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
---|
| 2517 | test -s conftest.one && test -s conftest.two && |
---|
| 2518 | test -s conftest.dir/conftest.one && |
---|
| 2519 | test -s conftest.dir/conftest.two |
---|
| 2520 | then |
---|
| 2521 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
---|
| 2522 | break 3 |
---|
| 2523 | fi |
---|
| 2524 | fi |
---|
| 2525 | fi |
---|
| 2526 | done |
---|
| 2527 | done |
---|
| 2528 | ;; |
---|
| 2529 | esac |
---|
| 2530 | |
---|
| 2531 | done |
---|
| 2532 | IFS=$as_save_IFS |
---|
| 2533 | |
---|
| 2534 | rm -rf conftest.one conftest.two conftest.dir |
---|
| 2535 | |
---|
| 2536 | fi |
---|
| 2537 | if test "${ac_cv_path_install+set}" = set; then |
---|
| 2538 | INSTALL=$ac_cv_path_install |
---|
| 2539 | else |
---|
| 2540 | # As a last resort, use the slow shell script. Don't cache a |
---|
| 2541 | # value for INSTALL within a source directory, because that will |
---|
| 2542 | # break other packages using the cache if that directory is |
---|
| 2543 | # removed, or if the value is a relative name. |
---|
| 2544 | INSTALL=$ac_install_sh |
---|
| 2545 | fi |
---|
| 2546 | fi |
---|
| 2547 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
---|
| 2548 | $as_echo "$INSTALL" >&6; } |
---|
| 2549 | |
---|
| 2550 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
---|
| 2551 | # It thinks the first close brace ends the variable substitution. |
---|
| 2552 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
---|
| 2553 | |
---|
| 2554 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
---|
| 2555 | |
---|
| 2556 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
---|
| 2557 | |
---|
| 2558 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
---|
| 2559 | $as_echo_n "checking whether build environment is sane... " >&6; } |
---|
[ee51534] | 2560 | # Just in case |
---|
| 2561 | sleep 1 |
---|
| 2562 | echo timestamp > conftest.file |
---|
[3b77289] | 2563 | # Reject unsafe characters in $srcdir or the absolute working directory |
---|
| 2564 | # name. Accept space and tab only in the latter. |
---|
| 2565 | am_lf=' |
---|
| 2566 | ' |
---|
| 2567 | case `pwd` in |
---|
| 2568 | *[\\\"\#\$\&\'\`$am_lf]*) |
---|
| 2569 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
---|
| 2570 | esac |
---|
| 2571 | case $srcdir in |
---|
| 2572 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
---|
[ee51534] | 2573 | as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
---|
[3b77289] | 2574 | esac |
---|
| 2575 | |
---|
[ee51534] | 2576 | # Do `set' in a subshell so we don't clobber the current shell's |
---|
[3b77289] | 2577 | # arguments. Must try -L first in case configure is actually a |
---|
| 2578 | # symlink; some systems play weird games with the mod time of symlinks |
---|
| 2579 | # (eg FreeBSD returns the mod time of the symlink's containing |
---|
| 2580 | # directory). |
---|
| 2581 | if ( |
---|
[ee51534] | 2582 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
---|
| 2583 | if test "$*" = "X"; then |
---|
| 2584 | # -L didn't work. |
---|
| 2585 | set X `ls -t "$srcdir/configure" conftest.file` |
---|
| 2586 | fi |
---|
| 2587 | rm -f conftest.file |
---|
| 2588 | if test "$*" != "X $srcdir/configure conftest.file" \ |
---|
| 2589 | && test "$*" != "X conftest.file $srcdir/configure"; then |
---|
| 2590 | |
---|
| 2591 | # If neither matched, then we have a broken ls. This can happen |
---|
| 2592 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
---|
| 2593 | # broken ls alias from the environment. This has actually |
---|
| 2594 | # happened. Such a system could not be considered "sane". |
---|
| 2595 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
---|
| 2596 | alias in your environment" "$LINENO" 5 |
---|
| 2597 | fi |
---|
| 2598 | |
---|
[3b77289] | 2599 | test "$2" = conftest.file |
---|
| 2600 | ) |
---|
| 2601 | then |
---|
| 2602 | # Ok. |
---|
| 2603 | : |
---|
| 2604 | else |
---|
| 2605 | as_fn_error $? "newly created file is older than distributed files! |
---|
| 2606 | Check your system clock" "$LINENO" 5 |
---|
| 2607 | fi |
---|
| 2608 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
| 2609 | $as_echo "yes" >&6; } |
---|
| 2610 | test "$program_prefix" != NONE && |
---|
| 2611 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
---|
| 2612 | # Use a double $ so make ignores it. |
---|
| 2613 | test "$program_suffix" != NONE && |
---|
| 2614 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
---|
| 2615 | # Double any \ or $. |
---|
| 2616 | # By default was `s,x,x', remove it if useless. |
---|
| 2617 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
---|
| 2618 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
---|
| 2619 | |
---|
| 2620 | # expand $ac_aux_dir to an absolute path |
---|
| 2621 | am_aux_dir=`cd $ac_aux_dir && pwd` |
---|
| 2622 | |
---|
| 2623 | if test x"${MISSING+set}" != xset; then |
---|
| 2624 | case $am_aux_dir in |
---|
| 2625 | *\ * | *\ *) |
---|
| 2626 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
---|
| 2627 | *) |
---|
| 2628 | MISSING="\${SHELL} $am_aux_dir/missing" ;; |
---|
| 2629 | esac |
---|
| 2630 | fi |
---|
| 2631 | # Use eval to expand $SHELL |
---|
[ee51534] | 2632 | if eval "$MISSING --run true"; then |
---|
| 2633 | am_missing_run="$MISSING --run " |
---|
[3b77289] | 2634 | else |
---|
| 2635 | am_missing_run= |
---|
[ee51534] | 2636 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
---|
| 2637 | $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
---|
[3b77289] | 2638 | fi |
---|
| 2639 | |
---|
| 2640 | if test x"${install_sh}" != xset; then |
---|
| 2641 | case $am_aux_dir in |
---|
| 2642 | *\ * | *\ *) |
---|
| 2643 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
---|
| 2644 | *) |
---|
| 2645 | install_sh="\${SHELL} $am_aux_dir/install-sh" |
---|
| 2646 | esac |
---|
| 2647 | fi |
---|
| 2648 | |
---|
[ee51534] | 2649 | # Installed binaries are usually stripped using `strip' when the user |
---|
| 2650 | # run `make install-strip'. However `strip' might not be the right |
---|
[3b77289] | 2651 | # tool to use in cross-compilation environments, therefore Automake |
---|
[ee51534] | 2652 | # will honor the `STRIP' environment variable to overrule this program. |
---|
[3b77289] | 2653 | if test "$cross_compiling" != no; then |
---|
| 2654 | if test -n "$ac_tool_prefix"; then |
---|
| 2655 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
---|
| 2656 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
---|
| 2657 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2658 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 2659 | if ${ac_cv_prog_STRIP+:} false; then : |
---|
| 2660 | $as_echo_n "(cached) " >&6 |
---|
| 2661 | else |
---|
| 2662 | if test -n "$STRIP"; then |
---|
| 2663 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
---|
| 2664 | else |
---|
| 2665 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2666 | for as_dir in $PATH |
---|
| 2667 | do |
---|
| 2668 | IFS=$as_save_IFS |
---|
| 2669 | test -z "$as_dir" && as_dir=. |
---|
| 2670 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[ee51534] | 2671 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[3b77289] | 2672 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
---|
| 2673 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2674 | break 2 |
---|
| 2675 | fi |
---|
| 2676 | done |
---|
| 2677 | done |
---|
| 2678 | IFS=$as_save_IFS |
---|
| 2679 | |
---|
| 2680 | fi |
---|
| 2681 | fi |
---|
| 2682 | STRIP=$ac_cv_prog_STRIP |
---|
| 2683 | if test -n "$STRIP"; then |
---|
| 2684 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
---|
| 2685 | $as_echo "$STRIP" >&6; } |
---|
| 2686 | else |
---|
| 2687 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2688 | $as_echo "no" >&6; } |
---|
| 2689 | fi |
---|
| 2690 | |
---|
| 2691 | |
---|
| 2692 | fi |
---|
| 2693 | if test -z "$ac_cv_prog_STRIP"; then |
---|
| 2694 | ac_ct_STRIP=$STRIP |
---|
| 2695 | # Extract the first word of "strip", so it can be a program name with args. |
---|
| 2696 | set dummy strip; ac_word=$2 |
---|
| 2697 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2698 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 2699 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
---|
| 2700 | $as_echo_n "(cached) " >&6 |
---|
| 2701 | else |
---|
| 2702 | if test -n "$ac_ct_STRIP"; then |
---|
| 2703 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
---|
| 2704 | else |
---|
| 2705 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2706 | for as_dir in $PATH |
---|
| 2707 | do |
---|
| 2708 | IFS=$as_save_IFS |
---|
| 2709 | test -z "$as_dir" && as_dir=. |
---|
| 2710 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[ee51534] | 2711 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[3b77289] | 2712 | ac_cv_prog_ac_ct_STRIP="strip" |
---|
| 2713 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2714 | break 2 |
---|
| 2715 | fi |
---|
| 2716 | done |
---|
| 2717 | done |
---|
| 2718 | IFS=$as_save_IFS |
---|
| 2719 | |
---|
| 2720 | fi |
---|
| 2721 | fi |
---|
| 2722 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
---|
| 2723 | if test -n "$ac_ct_STRIP"; then |
---|
| 2724 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
---|
| 2725 | $as_echo "$ac_ct_STRIP" >&6; } |
---|
| 2726 | else |
---|
| 2727 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2728 | $as_echo "no" >&6; } |
---|
| 2729 | fi |
---|
| 2730 | |
---|
| 2731 | if test "x$ac_ct_STRIP" = x; then |
---|
| 2732 | STRIP=":" |
---|
| 2733 | else |
---|
| 2734 | case $cross_compiling:$ac_tool_warned in |
---|
| 2735 | yes:) |
---|
| 2736 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
| 2737 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
| 2738 | ac_tool_warned=yes ;; |
---|
| 2739 | esac |
---|
| 2740 | STRIP=$ac_ct_STRIP |
---|
| 2741 | fi |
---|
| 2742 | else |
---|
| 2743 | STRIP="$ac_cv_prog_STRIP" |
---|
| 2744 | fi |
---|
| 2745 | |
---|
| 2746 | fi |
---|
| 2747 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
---|
| 2748 | |
---|
| 2749 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
---|
| 2750 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
---|
| 2751 | if test -z "$MKDIR_P"; then |
---|
| 2752 | if ${ac_cv_path_mkdir+:} false; then : |
---|
| 2753 | $as_echo_n "(cached) " >&6 |
---|
| 2754 | else |
---|
| 2755 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2756 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
---|
| 2757 | do |
---|
| 2758 | IFS=$as_save_IFS |
---|
| 2759 | test -z "$as_dir" && as_dir=. |
---|
| 2760 | for ac_prog in mkdir gmkdir; do |
---|
| 2761 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[ee51534] | 2762 | { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
---|
[3b77289] | 2763 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
---|
| 2764 | 'mkdir (GNU coreutils) '* | \ |
---|
| 2765 | 'mkdir (coreutils) '* | \ |
---|
| 2766 | 'mkdir (fileutils) '4.1*) |
---|
| 2767 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
---|
| 2768 | break 3;; |
---|
| 2769 | esac |
---|
| 2770 | done |
---|
| 2771 | done |
---|
| 2772 | done |
---|
| 2773 | IFS=$as_save_IFS |
---|
| 2774 | |
---|
| 2775 | fi |
---|
| 2776 | |
---|
| 2777 | test -d ./--version && rmdir ./--version |
---|
| 2778 | if test "${ac_cv_path_mkdir+set}" = set; then |
---|
| 2779 | MKDIR_P="$ac_cv_path_mkdir -p" |
---|
| 2780 | else |
---|
| 2781 | # As a last resort, use the slow shell script. Don't cache a |
---|
| 2782 | # value for MKDIR_P within a source directory, because that will |
---|
| 2783 | # break other packages using the cache if that directory is |
---|
| 2784 | # removed, or if the value is a relative name. |
---|
| 2785 | MKDIR_P="$ac_install_sh -d" |
---|
| 2786 | fi |
---|
| 2787 | fi |
---|
| 2788 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
---|
| 2789 | $as_echo "$MKDIR_P" >&6; } |
---|
| 2790 | |
---|
[ee51534] | 2791 | mkdir_p="$MKDIR_P" |
---|
| 2792 | case $mkdir_p in |
---|
| 2793 | [\\/$]* | ?:[\\/]*) ;; |
---|
| 2794 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
---|
| 2795 | esac |
---|
| 2796 | |
---|
[3b77289] | 2797 | for ac_prog in gawk mawk nawk awk |
---|
| 2798 | do |
---|
| 2799 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
| 2800 | set dummy $ac_prog; ac_word=$2 |
---|
| 2801 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2802 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 2803 | if ${ac_cv_prog_AWK+:} false; then : |
---|
| 2804 | $as_echo_n "(cached) " >&6 |
---|
| 2805 | else |
---|
| 2806 | if test -n "$AWK"; then |
---|
| 2807 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
---|
| 2808 | else |
---|
| 2809 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2810 | for as_dir in $PATH |
---|
| 2811 | do |
---|
| 2812 | IFS=$as_save_IFS |
---|
| 2813 | test -z "$as_dir" && as_dir=. |
---|
| 2814 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[ee51534] | 2815 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[3b77289] | 2816 | ac_cv_prog_AWK="$ac_prog" |
---|
| 2817 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2818 | break 2 |
---|
| 2819 | fi |
---|
| 2820 | done |
---|
| 2821 | done |
---|
| 2822 | IFS=$as_save_IFS |
---|
| 2823 | |
---|
| 2824 | fi |
---|
| 2825 | fi |
---|
| 2826 | AWK=$ac_cv_prog_AWK |
---|
| 2827 | if test -n "$AWK"; then |
---|
| 2828 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
---|
| 2829 | $as_echo "$AWK" >&6; } |
---|
| 2830 | else |
---|
| 2831 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2832 | $as_echo "no" >&6; } |
---|
| 2833 | fi |
---|
| 2834 | |
---|
| 2835 | |
---|
| 2836 | test -n "$AWK" && break |
---|
| 2837 | done |
---|
| 2838 | |
---|
| 2839 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
---|
| 2840 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
---|
| 2841 | set x ${MAKE-make} |
---|
| 2842 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
---|
| 2843 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
---|
| 2844 | $as_echo_n "(cached) " >&6 |
---|
| 2845 | else |
---|
| 2846 | cat >conftest.make <<\_ACEOF |
---|
| 2847 | SHELL = /bin/sh |
---|
| 2848 | all: |
---|
| 2849 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
---|
| 2850 | _ACEOF |
---|
| 2851 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
---|
| 2852 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
---|
| 2853 | *@@@%%%=?*=@@@%%%*) |
---|
| 2854 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
---|
| 2855 | *) |
---|
| 2856 | eval ac_cv_prog_make_${ac_make}_set=no;; |
---|
| 2857 | esac |
---|
| 2858 | rm -f conftest.make |
---|
| 2859 | fi |
---|
| 2860 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
---|
| 2861 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
| 2862 | $as_echo "yes" >&6; } |
---|
| 2863 | SET_MAKE= |
---|
| 2864 | else |
---|
| 2865 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2866 | $as_echo "no" >&6; } |
---|
| 2867 | SET_MAKE="MAKE=${MAKE-make}" |
---|
| 2868 | fi |
---|
| 2869 | |
---|
| 2870 | rm -rf .tst 2>/dev/null |
---|
| 2871 | mkdir .tst 2>/dev/null |
---|
| 2872 | if test -d .tst; then |
---|
| 2873 | am__leading_dot=. |
---|
| 2874 | else |
---|
| 2875 | am__leading_dot=_ |
---|
| 2876 | fi |
---|
| 2877 | rmdir .tst 2>/dev/null |
---|
| 2878 | |
---|
| 2879 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
---|
| 2880 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
---|
| 2881 | # is not polluted with repeated "-I." |
---|
| 2882 | am__isrc=' -I$(srcdir)' |
---|
| 2883 | # test to see if srcdir already configured |
---|
| 2884 | if test -f $srcdir/config.status; then |
---|
| 2885 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
---|
| 2886 | fi |
---|
| 2887 | fi |
---|
| 2888 | |
---|
| 2889 | # test whether we have cygpath |
---|
| 2890 | if test -z "$CYGPATH_W"; then |
---|
| 2891 | if (cygpath --version) >/dev/null 2>/dev/null; then |
---|
| 2892 | CYGPATH_W='cygpath -w' |
---|
| 2893 | else |
---|
| 2894 | CYGPATH_W=echo |
---|
| 2895 | fi |
---|
| 2896 | fi |
---|
| 2897 | |
---|
| 2898 | |
---|
| 2899 | # Define the identity of the package. |
---|
[b87a5ed] | 2900 | PACKAGE='cfa-cc' |
---|
[5d6ce1f] | 2901 | VERSION='1.0.0' |
---|
[3b77289] | 2902 | |
---|
| 2903 | |
---|
| 2904 | cat >>confdefs.h <<_ACEOF |
---|
| 2905 | #define PACKAGE "$PACKAGE" |
---|
| 2906 | _ACEOF |
---|
| 2907 | |
---|
| 2908 | |
---|
| 2909 | cat >>confdefs.h <<_ACEOF |
---|
| 2910 | #define VERSION "$VERSION" |
---|
| 2911 | _ACEOF |
---|
| 2912 | |
---|
| 2913 | # Some tools Automake needs. |
---|
| 2914 | |
---|
| 2915 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
---|
| 2916 | |
---|
| 2917 | |
---|
| 2918 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
---|
| 2919 | |
---|
| 2920 | |
---|
| 2921 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
---|
| 2922 | |
---|
| 2923 | |
---|
| 2924 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
---|
| 2925 | |
---|
| 2926 | |
---|
| 2927 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
---|
| 2928 | |
---|
| 2929 | # We need awk for the "check" target. The system "awk" is bad on |
---|
| 2930 | # some platforms. |
---|
| 2931 | # Always define AMTAR for backward compatibility. Yes, it's still used |
---|
| 2932 | # in the wild :-( We should find a proper way to deprecate it ... |
---|
| 2933 | AMTAR='$${TAR-tar}' |
---|
| 2934 | |
---|
| 2935 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
---|
| 2936 | |
---|
| 2937 | |
---|
| 2938 | |
---|
| 2939 | |
---|
[7e91d4f] | 2940 | |
---|
[5d6ce1f] | 2941 | |
---|
[6aa5ec0f] | 2942 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
---|
| 2943 | $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
---|
| 2944 | # Check whether --enable-maintainer-mode was given. |
---|
| 2945 | if test "${enable_maintainer_mode+set}" = set; then : |
---|
| 2946 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
---|
| 2947 | else |
---|
[a61fea9a] | 2948 | USE_MAINTAINER_MODE=yes |
---|
[6aa5ec0f] | 2949 | fi |
---|
| 2950 | |
---|
| 2951 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
---|
| 2952 | $as_echo "$USE_MAINTAINER_MODE" >&6; } |
---|
| 2953 | if test $USE_MAINTAINER_MODE = yes; then |
---|
| 2954 | MAINTAINER_MODE_TRUE= |
---|
| 2955 | MAINTAINER_MODE_FALSE='#' |
---|
| 2956 | else |
---|
| 2957 | MAINTAINER_MODE_TRUE='#' |
---|
| 2958 | MAINTAINER_MODE_FALSE= |
---|
| 2959 | fi |
---|
| 2960 | |
---|
| 2961 | MAINT=$MAINTAINER_MODE_TRUE |
---|
| 2962 | |
---|
[472a8dd] | 2963 | # may require auto* software to be installed |
---|
[6aa5ec0f] | 2964 | |
---|
[5d6ce1f] | 2965 | # Installation paths |
---|
| 2966 | |
---|
| 2967 | |
---|
| 2968 | # Check whether --with-backend-compiler was given. |
---|
| 2969 | if test "${with_backend_compiler+set}" = set; then : |
---|
[e24f13a] | 2970 | withval=$with_backend_compiler; backendcompiler=$withval |
---|
[5d6ce1f] | 2971 | else |
---|
[e24f13a] | 2972 | backendcompiler="" |
---|
[5d6ce1f] | 2973 | fi |
---|
| 2974 | |
---|
[e24f13a] | 2975 | if test "x$backendcompiler" != x; then |
---|
| 2976 | BACKEND_CC=${backendcompiler} |
---|
| 2977 | else |
---|
[00cc023] | 2978 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
[5d6ce1f] | 2979 | set dummy gcc; ac_word=$2 |
---|
[3b77289] | 2980 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2981 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
[e24f13a] | 2982 | if ${ac_cv_path_BACKEND_CC+:} false; then : |
---|
[3b77289] | 2983 | $as_echo_n "(cached) " >&6 |
---|
| 2984 | else |
---|
[e24f13a] | 2985 | case $BACKEND_CC in |
---|
[5d6ce1f] | 2986 | [\\/]* | ?:[\\/]*) |
---|
[e24f13a] | 2987 | ac_cv_path_BACKEND_CC="$BACKEND_CC" # Let the user override the test with a path. |
---|
[5d6ce1f] | 2988 | ;; |
---|
| 2989 | *) |
---|
| 2990 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
[3b77289] | 2991 | for as_dir in $PATH |
---|
| 2992 | do |
---|
| 2993 | IFS=$as_save_IFS |
---|
| 2994 | test -z "$as_dir" && as_dir=. |
---|
| 2995 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[ee51534] | 2996 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[e24f13a] | 2997 | ac_cv_path_BACKEND_CC="$as_dir/$ac_word$ac_exec_ext" |
---|
[3b77289] | 2998 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2999 | break 2 |
---|
| 3000 | fi |
---|
| 3001 | done |
---|
| 3002 | done |
---|
| 3003 | IFS=$as_save_IFS |
---|
| 3004 | |
---|
[5d6ce1f] | 3005 | ;; |
---|
| 3006 | esac |
---|
[3b77289] | 3007 | fi |
---|
[e24f13a] | 3008 | BACKEND_CC=$ac_cv_path_BACKEND_CC |
---|
| 3009 | if test -n "$BACKEND_CC"; then |
---|
| 3010 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKEND_CC" >&5 |
---|
| 3011 | $as_echo "$BACKEND_CC" >&6; } |
---|
[5d6ce1f] | 3012 | else |
---|
| 3013 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 3014 | $as_echo "no" >&6; } |
---|
| 3015 | fi |
---|
| 3016 | |
---|
| 3017 | |
---|
[e24f13a] | 3018 | if test "x$BACKEND_CC" = "x"; then |
---|
[00cc023] | 3019 | as_fn_error $? "some version of gcc is needed. Get it at ftp://ftp.gnu.org" "$LINENO" 5 |
---|
| 3020 | exit 1 |
---|
| 3021 | fi |
---|
[e24f13a] | 3022 | fi |
---|
[5d6ce1f] | 3023 | |
---|
| 3024 | cat >>confdefs.h <<_ACEOF |
---|
[e24f13a] | 3025 | #define CFA_BACKEND_CC "${BACKEND_CC}" |
---|
[5d6ce1f] | 3026 | _ACEOF |
---|
| 3027 | |
---|
| 3028 | |
---|
| 3029 | |
---|
| 3030 | if test "x$prefix" = "xNONE"; then |
---|
[00cc023] | 3031 | cfa_prefix=${ac_default_prefix} |
---|
[5d6ce1f] | 3032 | else |
---|
[00cc023] | 3033 | cfa_prefix=${prefix} |
---|
[5d6ce1f] | 3034 | fi |
---|
| 3035 | |
---|
| 3036 | cat >>confdefs.h <<_ACEOF |
---|
| 3037 | #define CFA_PREFIX "${cfa_prefix}" |
---|
| 3038 | _ACEOF |
---|
| 3039 | |
---|
| 3040 | CFA_PREFIX=${cfa_prefix} |
---|
| 3041 | |
---|
| 3042 | |
---|
| 3043 | if test "$includedir" = '${prefix}/include'; then |
---|
| 3044 | cfa_incdir="${cfa_prefix}/include" |
---|
| 3045 | else |
---|
[faf8857] | 3046 | cfa_incdir=${includedir} |
---|
[5d6ce1f] | 3047 | fi |
---|
| 3048 | |
---|
| 3049 | cat >>confdefs.h <<_ACEOF |
---|
| 3050 | #define CFA_INCDIR "${cfa_incdir}" |
---|
| 3051 | _ACEOF |
---|
| 3052 | |
---|
| 3053 | CFA_INCDIR=${cfa_incdir} |
---|
| 3054 | |
---|
| 3055 | |
---|
| 3056 | if test "$bindir" = '${exec_prefix}/bin'; then |
---|
| 3057 | cfa_bindir="${cfa_prefix}/bin" |
---|
| 3058 | else |
---|
| 3059 | cfa_bindir=${bindir} |
---|
[3b77289] | 3060 | fi |
---|
[5d6ce1f] | 3061 | |
---|
| 3062 | cat >>confdefs.h <<_ACEOF |
---|
| 3063 | #define CFA_BINDIR "${cfa_bindir}" |
---|
| 3064 | _ACEOF |
---|
| 3065 | |
---|
| 3066 | CFA_BINDIR=${cfa_bindir} |
---|
| 3067 | |
---|
| 3068 | |
---|
| 3069 | if test "$libdir" = '${exec_prefix}/lib'; then |
---|
| 3070 | cfa_libdir=${cfa_prefix}/lib |
---|
[3b77289] | 3071 | else |
---|
[5d6ce1f] | 3072 | cfa_libdir=${libdir} |
---|
[3b77289] | 3073 | fi |
---|
| 3074 | |
---|
[5d6ce1f] | 3075 | cat >>confdefs.h <<_ACEOF |
---|
| 3076 | #define CFA_LIBDIR "${cfa_libdir}" |
---|
| 3077 | _ACEOF |
---|
| 3078 | |
---|
| 3079 | CFA_LIBDIR=${cfa_libdir} |
---|
[3b77289] | 3080 | |
---|
| 3081 | |
---|
[5d6ce1f] | 3082 | # Checks for programs. |
---|
[3b77289] | 3083 | ac_ext=cpp |
---|
| 3084 | ac_cpp='$CXXCPP $CPPFLAGS' |
---|
| 3085 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 3086 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 3087 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
---|
| 3088 | if test -z "$CXX"; then |
---|
| 3089 | if test -n "$CCC"; then |
---|
| 3090 | CXX=$CCC |
---|
| 3091 | else |
---|
| 3092 | if test -n "$ac_tool_prefix"; then |
---|
| 3093 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
---|
| 3094 | do |
---|
| 3095 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
| 3096 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
| 3097 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 3098 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 3099 | if ${ac_cv_prog_CXX+:} false; then : |
---|
| 3100 | $as_echo_n "(cached) " >&6 |
---|
| 3101 | else |
---|
| 3102 | if test -n "$CXX"; then |
---|
| 3103 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
---|
| 3104 | else |
---|
| 3105 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 3106 | for as_dir in $PATH |
---|
| 3107 | do |
---|
| 3108 | IFS=$as_save_IFS |
---|
| 3109 | test -z "$as_dir" && as_dir=. |
---|
| 3110 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[ee51534] | 3111 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[3b77289] | 3112 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
---|
| 3113 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 3114 | break 2 |
---|
| 3115 | fi |
---|
| 3116 | done |
---|
| 3117 | done |
---|
| 3118 | IFS=$as_save_IFS |
---|
| 3119 | |
---|
| 3120 | fi |
---|
| 3121 | fi |
---|
| 3122 | CXX=$ac_cv_prog_CXX |
---|
| 3123 | if test -n "$CXX"; then |
---|
| 3124 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 |
---|
| 3125 | $as_echo "$CXX" >&6; } |
---|
| 3126 | else |
---|
| 3127 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 3128 | $as_echo "no" >&6; } |
---|
| 3129 | fi |
---|
| 3130 | |
---|
| 3131 | |
---|
| 3132 | test -n "$CXX" && break |
---|
| 3133 | done |
---|
| 3134 | fi |
---|
| 3135 | if test -z "$CXX"; then |
---|
| 3136 | ac_ct_CXX=$CXX |
---|
| 3137 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
---|
| 3138 | do |
---|
| 3139 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
| 3140 | set dummy $ac_prog; ac_word=$2 |
---|
| 3141 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 3142 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 3143 | if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
---|
| 3144 | $as_echo_n "(cached) " >&6 |
---|
| 3145 | else |
---|
| 3146 | if test -n "$ac_ct_CXX"; then |
---|
| 3147 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
---|
| 3148 | else |
---|
| 3149 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 3150 | for as_dir in $PATH |
---|
| 3151 | do |
---|
| 3152 | IFS=$as_save_IFS |
---|
| 3153 | test -z "$as_dir" && as_dir=. |
---|
| 3154 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[ee51534] | 3155 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[3b77289] | 3156 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
---|
| 3157 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 3158 | break 2 |
---|
| 3159 | fi |
---|
| 3160 | done |
---|
| 3161 | done |
---|
| 3162 | IFS=$as_save_IFS |
---|
| 3163 | |
---|
| 3164 | fi |
---|
| 3165 | fi |
---|
| 3166 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
---|
| 3167 | if test -n "$ac_ct_CXX"; then |
---|
| 3168 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 |
---|
| 3169 | $as_echo "$ac_ct_CXX" >&6; } |
---|
| 3170 | else |
---|
| 3171 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 3172 | $as_echo "no" >&6; } |
---|
| 3173 | fi |
---|
| 3174 | |
---|
| 3175 | |
---|
| 3176 | test -n "$ac_ct_CXX" && break |
---|
| 3177 | done |
---|
| 3178 | |
---|
| 3179 | if test "x$ac_ct_CXX" = x; then |
---|
| 3180 | CXX="g++" |
---|
| 3181 | else |
---|
| 3182 | case $cross_compiling:$ac_tool_warned in |
---|
| 3183 | yes:) |
---|
| 3184 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
| 3185 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
| 3186 | ac_tool_warned=yes ;; |
---|
| 3187 | esac |
---|
| 3188 | CXX=$ac_ct_CXX |
---|
| 3189 | fi |
---|
| 3190 | fi |
---|
| 3191 | |
---|
| 3192 | fi |
---|
| 3193 | fi |
---|
| 3194 | # Provide some information about the compiler. |
---|
| 3195 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 |
---|
| 3196 | set X $ac_compile |
---|
| 3197 | ac_compiler=$2 |
---|
| 3198 | for ac_option in --version -v -V -qversion; do |
---|
| 3199 | { { ac_try="$ac_compiler $ac_option >&5" |
---|
| 3200 | case "(($ac_try" in |
---|
| 3201 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3202 | *) ac_try_echo=$ac_try;; |
---|
| 3203 | esac |
---|
| 3204 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 3205 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 3206 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
---|
| 3207 | ac_status=$? |
---|
| 3208 | if test -s conftest.err; then |
---|
| 3209 | sed '10a\ |
---|
| 3210 | ... rest of stderr output deleted ... |
---|
| 3211 | 10q' conftest.err >conftest.er1 |
---|
| 3212 | cat conftest.er1 >&5 |
---|
| 3213 | fi |
---|
| 3214 | rm -f conftest.er1 conftest.err |
---|
| 3215 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 3216 | test $ac_status = 0; } |
---|
| 3217 | done |
---|
| 3218 | |
---|
| 3219 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3220 | /* end confdefs.h. */ |
---|
| 3221 | |
---|
| 3222 | int |
---|
| 3223 | main () |
---|
| 3224 | { |
---|
| 3225 | |
---|
| 3226 | ; |
---|
| 3227 | return 0; |
---|
| 3228 | } |
---|
| 3229 | _ACEOF |
---|
| 3230 | ac_clean_files_save=$ac_clean_files |
---|
| 3231 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
---|
| 3232 | # Try to create an executable without -o first, disregard a.out. |
---|
| 3233 | # It will help us diagnose broken compilers, and finding out an intuition |
---|
| 3234 | # of exeext. |
---|
| 3235 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 |
---|
| 3236 | $as_echo_n "checking whether the C++ compiler works... " >&6; } |
---|
| 3237 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
---|
| 3238 | |
---|
| 3239 | # The possible output files: |
---|
| 3240 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
---|
| 3241 | |
---|
| 3242 | ac_rmfiles= |
---|
| 3243 | for ac_file in $ac_files |
---|
| 3244 | do |
---|
| 3245 | case $ac_file in |
---|
| 3246 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
---|
| 3247 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
---|
| 3248 | esac |
---|
| 3249 | done |
---|
| 3250 | rm -f $ac_rmfiles |
---|
| 3251 | |
---|
| 3252 | if { { ac_try="$ac_link_default" |
---|
| 3253 | case "(($ac_try" in |
---|
| 3254 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3255 | *) ac_try_echo=$ac_try;; |
---|
| 3256 | esac |
---|
| 3257 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 3258 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 3259 | (eval "$ac_link_default") 2>&5 |
---|
| 3260 | ac_status=$? |
---|
| 3261 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 3262 | test $ac_status = 0; }; then : |
---|
| 3263 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
---|
| 3264 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
---|
| 3265 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
---|
| 3266 | # so that the user can short-circuit this test for compilers unknown to |
---|
| 3267 | # Autoconf. |
---|
| 3268 | for ac_file in $ac_files '' |
---|
| 3269 | do |
---|
| 3270 | test -f "$ac_file" || continue |
---|
| 3271 | case $ac_file in |
---|
| 3272 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
---|
| 3273 | ;; |
---|
| 3274 | [ab].out ) |
---|
| 3275 | # We found the default executable, but exeext='' is most |
---|
| 3276 | # certainly right. |
---|
| 3277 | break;; |
---|
| 3278 | *.* ) |
---|
| 3279 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
---|
| 3280 | then :; else |
---|
| 3281 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
| 3282 | fi |
---|
| 3283 | # We set ac_cv_exeext here because the later test for it is not |
---|
| 3284 | # safe: cross compilers may not add the suffix if given an `-o' |
---|
| 3285 | # argument, so we may need to know it at that point already. |
---|
| 3286 | # Even if this section looks crufty: it has the advantage of |
---|
| 3287 | # actually working. |
---|
| 3288 | break;; |
---|
| 3289 | * ) |
---|
| 3290 | break;; |
---|
| 3291 | esac |
---|
| 3292 | done |
---|
| 3293 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
---|
| 3294 | |
---|
| 3295 | else |
---|
| 3296 | ac_file='' |
---|
| 3297 | fi |
---|
| 3298 | if test -z "$ac_file"; then : |
---|
| 3299 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 3300 | $as_echo "no" >&6; } |
---|
| 3301 | $as_echo "$as_me: failed program was:" >&5 |
---|
| 3302 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 3303 | |
---|
| 3304 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 3305 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 3306 | as_fn_error 77 "C++ compiler cannot create executables |
---|
| 3307 | See \`config.log' for more details" "$LINENO" 5; } |
---|
| 3308 | else |
---|
| 3309 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
| 3310 | $as_echo "yes" >&6; } |
---|
| 3311 | fi |
---|
| 3312 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 |
---|
| 3313 | $as_echo_n "checking for C++ compiler default output file name... " >&6; } |
---|
| 3314 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
---|
| 3315 | $as_echo "$ac_file" >&6; } |
---|
| 3316 | ac_exeext=$ac_cv_exeext |
---|
| 3317 | |
---|
| 3318 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
---|
| 3319 | ac_clean_files=$ac_clean_files_save |
---|
| 3320 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
---|
| 3321 | $as_echo_n "checking for suffix of executables... " >&6; } |
---|
| 3322 | if { { ac_try="$ac_link" |
---|
| 3323 | case "(($ac_try" in |
---|
| 3324 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3325 | *) ac_try_echo=$ac_try;; |
---|
| 3326 | esac |
---|
| 3327 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 3328 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 3329 | (eval "$ac_link") 2>&5 |
---|
| 3330 | ac_status=$? |
---|
| 3331 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 3332 | test $ac_status = 0; }; then : |
---|
| 3333 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
---|
| 3334 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
---|
| 3335 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
---|
| 3336 | # `rm'. |
---|
| 3337 | for ac_file in conftest.exe conftest conftest.*; do |
---|
| 3338 | test -f "$ac_file" || continue |
---|
| 3339 | case $ac_file in |
---|
| 3340 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
---|
| 3341 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
| 3342 | break;; |
---|
| 3343 | * ) break;; |
---|
| 3344 | esac |
---|
| 3345 | done |
---|
| 3346 | else |
---|
| 3347 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 3348 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 3349 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
---|
| 3350 | See \`config.log' for more details" "$LINENO" 5; } |
---|
| 3351 | fi |
---|
| 3352 | rm -f conftest conftest$ac_cv_exeext |
---|
| 3353 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
---|
| 3354 | $as_echo "$ac_cv_exeext" >&6; } |
---|
| 3355 | |
---|
| 3356 | rm -f conftest.$ac_ext |
---|
| 3357 | EXEEXT=$ac_cv_exeext |
---|
| 3358 | ac_exeext=$EXEEXT |
---|
| 3359 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3360 | /* end confdefs.h. */ |
---|
| 3361 | #include <stdio.h> |
---|
| 3362 | int |
---|
| 3363 | main () |
---|
| 3364 | { |
---|
| 3365 | FILE *f = fopen ("conftest.out", "w"); |
---|
| 3366 | return ferror (f) || fclose (f) != 0; |
---|
| 3367 | |
---|
| 3368 | ; |
---|
| 3369 | return 0; |
---|
| 3370 | } |
---|
| 3371 | _ACEOF |
---|
| 3372 | ac_clean_files="$ac_clean_files conftest.out" |
---|
| 3373 | # Check that the compiler produces executables we can run. If not, either |
---|
| 3374 | # the compiler is broken, or we cross compile. |
---|
| 3375 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
---|
| 3376 | $as_echo_n "checking whether we are cross compiling... " >&6; } |
---|
| 3377 | if test "$cross_compiling" != yes; then |
---|
| 3378 | { { ac_try="$ac_link" |
---|
| 3379 | case "(($ac_try" in |
---|
| 3380 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3381 | *) ac_try_echo=$ac_try;; |
---|
| 3382 | esac |
---|
| 3383 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 3384 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 3385 | (eval "$ac_link") 2>&5 |
---|
| 3386 | ac_status=$? |
---|
| 3387 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 3388 | test $ac_status = 0; } |
---|
| 3389 | if { ac_try='./conftest$ac_cv_exeext' |
---|
| 3390 | { { case "(($ac_try" in |
---|
| 3391 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3392 | *) ac_try_echo=$ac_try;; |
---|
| 3393 | esac |
---|
| 3394 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 3395 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 3396 | (eval "$ac_try") 2>&5 |
---|
| 3397 | ac_status=$? |
---|
| 3398 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 3399 | test $ac_status = 0; }; }; then |
---|
| 3400 | cross_compiling=no |
---|
| 3401 | else |
---|
| 3402 | if test "$cross_compiling" = maybe; then |
---|
| 3403 | cross_compiling=yes |
---|
| 3404 | else |
---|
| 3405 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 3406 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 3407 | as_fn_error $? "cannot run C++ compiled programs. |
---|
| 3408 | If you meant to cross compile, use \`--host'. |
---|
| 3409 | See \`config.log' for more details" "$LINENO" 5; } |
---|
| 3410 | fi |
---|
| 3411 | fi |
---|
| 3412 | fi |
---|
| 3413 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
---|
| 3414 | $as_echo "$cross_compiling" >&6; } |
---|
| 3415 | |
---|
| 3416 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
---|
| 3417 | ac_clean_files=$ac_clean_files_save |
---|
| 3418 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
---|
| 3419 | $as_echo_n "checking for suffix of object files... " >&6; } |
---|
| 3420 | if ${ac_cv_objext+:} false; then : |
---|
| 3421 | $as_echo_n "(cached) " >&6 |
---|
| 3422 | else |
---|
| 3423 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3424 | /* end confdefs.h. */ |
---|
| 3425 | |
---|
| 3426 | int |
---|
| 3427 | main () |
---|
| 3428 | { |
---|
| 3429 | |
---|
| 3430 | ; |
---|
| 3431 | return 0; |
---|
| 3432 | } |
---|
| 3433 | _ACEOF |
---|
| 3434 | rm -f conftest.o conftest.obj |
---|
| 3435 | if { { ac_try="$ac_compile" |
---|
| 3436 | case "(($ac_try" in |
---|
| 3437 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3438 | *) ac_try_echo=$ac_try;; |
---|
| 3439 | esac |
---|
| 3440 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 3441 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 3442 | (eval "$ac_compile") 2>&5 |
---|
| 3443 | ac_status=$? |
---|
| 3444 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 3445 | test $ac_status = 0; }; then : |
---|
| 3446 | for ac_file in conftest.o conftest.obj conftest.*; do |
---|
| 3447 | test -f "$ac_file" || continue; |
---|
| 3448 | case $ac_file in |
---|
| 3449 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
---|
| 3450 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
---|
| 3451 | break;; |
---|
| 3452 | esac |
---|
| 3453 | done |
---|
| 3454 | else |
---|
| 3455 | $as_echo "$as_me: failed program was:" >&5 |
---|
| 3456 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 3457 | |
---|
| 3458 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 3459 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 3460 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
---|
| 3461 | See \`config.log' for more details" "$LINENO" 5; } |
---|
| 3462 | fi |
---|
| 3463 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
---|
| 3464 | fi |
---|
| 3465 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
---|
| 3466 | $as_echo "$ac_cv_objext" >&6; } |
---|
| 3467 | OBJEXT=$ac_cv_objext |
---|
| 3468 | ac_objext=$OBJEXT |
---|
| 3469 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
---|
| 3470 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
---|
| 3471 | if ${ac_cv_cxx_compiler_gnu+:} false; then : |
---|
| 3472 | $as_echo_n "(cached) " >&6 |
---|
| 3473 | else |
---|
| 3474 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3475 | /* end confdefs.h. */ |
---|
| 3476 | |
---|
| 3477 | int |
---|
| 3478 | main () |
---|
| 3479 | { |
---|
| 3480 | #ifndef __GNUC__ |
---|
| 3481 | choke me |
---|
| 3482 | #endif |
---|
| 3483 | |
---|
| 3484 | ; |
---|
| 3485 | return 0; |
---|
| 3486 | } |
---|
| 3487 | _ACEOF |
---|
| 3488 | if ac_fn_cxx_try_compile "$LINENO"; then : |
---|
| 3489 | ac_compiler_gnu=yes |
---|
| 3490 | else |
---|
| 3491 | ac_compiler_gnu=no |
---|
| 3492 | fi |
---|
| 3493 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 3494 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
---|
| 3495 | |
---|
| 3496 | fi |
---|
| 3497 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 |
---|
| 3498 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } |
---|
| 3499 | if test $ac_compiler_gnu = yes; then |
---|
| 3500 | GXX=yes |
---|
| 3501 | else |
---|
| 3502 | GXX= |
---|
| 3503 | fi |
---|
| 3504 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
---|
| 3505 | ac_save_CXXFLAGS=$CXXFLAGS |
---|
| 3506 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
---|
| 3507 | $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
---|
| 3508 | if ${ac_cv_prog_cxx_g+:} false; then : |
---|
| 3509 | $as_echo_n "(cached) " >&6 |
---|
| 3510 | else |
---|
| 3511 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
---|
| 3512 | ac_cxx_werror_flag=yes |
---|
| 3513 | ac_cv_prog_cxx_g=no |
---|
| 3514 | CXXFLAGS="-g" |
---|
| 3515 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3516 | /* end confdefs.h. */ |
---|
| 3517 | |
---|
| 3518 | int |
---|
| 3519 | main () |
---|
| 3520 | { |
---|
| 3521 | |
---|
| 3522 | ; |
---|
| 3523 | return 0; |
---|
| 3524 | } |
---|
| 3525 | _ACEOF |
---|
| 3526 | if ac_fn_cxx_try_compile "$LINENO"; then : |
---|
| 3527 | ac_cv_prog_cxx_g=yes |
---|
| 3528 | else |
---|
| 3529 | CXXFLAGS="" |
---|
| 3530 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3531 | /* end confdefs.h. */ |
---|
| 3532 | |
---|
| 3533 | int |
---|
| 3534 | main () |
---|
| 3535 | { |
---|
| 3536 | |
---|
| 3537 | ; |
---|
| 3538 | return 0; |
---|
| 3539 | } |
---|
| 3540 | _ACEOF |
---|
| 3541 | if ac_fn_cxx_try_compile "$LINENO"; then : |
---|
| 3542 | |
---|
| 3543 | else |
---|
| 3544 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
---|
| 3545 | CXXFLAGS="-g" |
---|
| 3546 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3547 | /* end confdefs.h. */ |
---|
| 3548 | |
---|
| 3549 | int |
---|
| 3550 | main () |
---|
| 3551 | { |
---|
| 3552 | |
---|
| 3553 | ; |
---|
| 3554 | return 0; |
---|
| 3555 | } |
---|
| 3556 | _ACEOF |
---|
| 3557 | if ac_fn_cxx_try_compile "$LINENO"; then : |
---|
| 3558 | ac_cv_prog_cxx_g=yes |
---|
| 3559 | fi |
---|
| 3560 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 3561 | fi |
---|
| 3562 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 3563 | fi |
---|
| 3564 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 3565 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
---|
| 3566 | fi |
---|
| 3567 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 |
---|
| 3568 | $as_echo "$ac_cv_prog_cxx_g" >&6; } |
---|
| 3569 | if test "$ac_test_CXXFLAGS" = set; then |
---|
| 3570 | CXXFLAGS=$ac_save_CXXFLAGS |
---|
| 3571 | elif test $ac_cv_prog_cxx_g = yes; then |
---|
| 3572 | if test "$GXX" = yes; then |
---|
| 3573 | CXXFLAGS="-g -O2" |
---|
| 3574 | else |
---|
| 3575 | CXXFLAGS="-g" |
---|
| 3576 | fi |
---|
| 3577 | else |
---|
| 3578 | if test "$GXX" = yes; then |
---|
| 3579 | CXXFLAGS="-O2" |
---|
| 3580 | else |
---|
| 3581 | CXXFLAGS= |
---|
| 3582 | fi |
---|
| 3583 | fi |
---|
| 3584 | ac_ext=c |
---|
| 3585 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 3586 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 3587 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 3588 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 3589 | DEPDIR="${am__leading_dot}deps" |
---|
| 3590 | |
---|
| 3591 | ac_config_commands="$ac_config_commands depfiles" |
---|
| 3592 | |
---|
| 3593 | |
---|
| 3594 | am_make=${MAKE-make} |
---|
| 3595 | cat > confinc << 'END' |
---|
| 3596 | am__doit: |
---|
| 3597 | @echo this is the am__doit target |
---|
| 3598 | .PHONY: am__doit |
---|
| 3599 | END |
---|
| 3600 | # If we don't find an include directive, just comment out the code. |
---|
| 3601 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
---|
| 3602 | $as_echo_n "checking for style of include used by $am_make... " >&6; } |
---|
| 3603 | am__include="#" |
---|
| 3604 | am__quote= |
---|
| 3605 | _am_result=none |
---|
| 3606 | # First try GNU make style include. |
---|
| 3607 | echo "include confinc" > confmf |
---|
[ee51534] | 3608 | # Ignore all kinds of additional output from `make'. |
---|
[3b77289] | 3609 | case `$am_make -s -f confmf 2> /dev/null` in #( |
---|
| 3610 | *the\ am__doit\ target*) |
---|
| 3611 | am__include=include |
---|
| 3612 | am__quote= |
---|
| 3613 | _am_result=GNU |
---|
| 3614 | ;; |
---|
| 3615 | esac |
---|
| 3616 | # Now try BSD make style include. |
---|
| 3617 | if test "$am__include" = "#"; then |
---|
| 3618 | echo '.include "confinc"' > confmf |
---|
| 3619 | case `$am_make -s -f confmf 2> /dev/null` in #( |
---|
| 3620 | *the\ am__doit\ target*) |
---|
| 3621 | am__include=.include |
---|
| 3622 | am__quote="\"" |
---|
| 3623 | _am_result=BSD |
---|
| 3624 | ;; |
---|
| 3625 | esac |
---|
| 3626 | fi |
---|
| 3627 | |
---|
| 3628 | |
---|
| 3629 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
---|
| 3630 | $as_echo "$_am_result" >&6; } |
---|
| 3631 | rm -f confinc confmf |
---|
| 3632 | |
---|
| 3633 | # Check whether --enable-dependency-tracking was given. |
---|
| 3634 | if test "${enable_dependency_tracking+set}" = set; then : |
---|
| 3635 | enableval=$enable_dependency_tracking; |
---|
| 3636 | fi |
---|
| 3637 | |
---|
| 3638 | if test "x$enable_dependency_tracking" != xno; then |
---|
| 3639 | am_depcomp="$ac_aux_dir/depcomp" |
---|
| 3640 | AMDEPBACKSLASH='\' |
---|
| 3641 | am__nodep='_no' |
---|
| 3642 | fi |
---|
| 3643 | if test "x$enable_dependency_tracking" != xno; then |
---|
| 3644 | AMDEP_TRUE= |
---|
| 3645 | AMDEP_FALSE='#' |
---|
| 3646 | else |
---|
| 3647 | AMDEP_TRUE='#' |
---|
| 3648 | AMDEP_FALSE= |
---|
| 3649 | fi |
---|
| 3650 | |
---|
| 3651 | |
---|
| 3652 | |
---|
| 3653 | depcc="$CXX" am_compiler_list= |
---|
| 3654 | |
---|
| 3655 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
---|
| 3656 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
---|
| 3657 | if ${am_cv_CXX_dependencies_compiler_type+:} false; then : |
---|
| 3658 | $as_echo_n "(cached) " >&6 |
---|
| 3659 | else |
---|
| 3660 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
---|
| 3661 | # We make a subdir and do the tests there. Otherwise we can end up |
---|
| 3662 | # making bogus files that we don't know about and never remove. For |
---|
| 3663 | # instance it was reported that on HP-UX the gcc test will end up |
---|
[ee51534] | 3664 | # making a dummy file named `D' -- because `-MD' means `put the output |
---|
| 3665 | # in D'. |
---|
[3b77289] | 3666 | rm -rf conftest.dir |
---|
| 3667 | mkdir conftest.dir |
---|
| 3668 | # Copy depcomp to subdir because otherwise we won't find it if we're |
---|
| 3669 | # using a relative directory. |
---|
| 3670 | cp "$am_depcomp" conftest.dir |
---|
| 3671 | cd conftest.dir |
---|
| 3672 | # We will build objects and dependencies in a subdirectory because |
---|
| 3673 | # it helps to detect inapplicable dependency modes. For instance |
---|
| 3674 | # both Tru64's cc and ICC support -MD to output dependencies as a |
---|
| 3675 | # side effect of compilation, but ICC will put the dependencies in |
---|
| 3676 | # the current directory while Tru64 will put them in the object |
---|
| 3677 | # directory. |
---|
| 3678 | mkdir sub |
---|
| 3679 | |
---|
| 3680 | am_cv_CXX_dependencies_compiler_type=none |
---|
| 3681 | if test "$am_compiler_list" = ""; then |
---|
| 3682 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
---|
| 3683 | fi |
---|
| 3684 | am__universal=false |
---|
| 3685 | case " $depcc " in #( |
---|
| 3686 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
---|
| 3687 | esac |
---|
| 3688 | |
---|
| 3689 | for depmode in $am_compiler_list; do |
---|
| 3690 | # Setup a source with many dependencies, because some compilers |
---|
| 3691 | # like to wrap large dependency lists on column 80 (with \), and |
---|
| 3692 | # we should not choose a depcomp mode which is confused by this. |
---|
| 3693 | # |
---|
| 3694 | # We need to recreate these files for each test, as the compiler may |
---|
| 3695 | # overwrite some of them when testing with obscure command lines. |
---|
| 3696 | # This happens at least with the AIX C compiler. |
---|
| 3697 | : > sub/conftest.c |
---|
| 3698 | for i in 1 2 3 4 5 6; do |
---|
| 3699 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
---|
[ee51534] | 3700 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
---|
| 3701 | # Solaris 8's {/usr,}/bin/sh. |
---|
| 3702 | touch sub/conftst$i.h |
---|
[3b77289] | 3703 | done |
---|
| 3704 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
---|
| 3705 | |
---|
[ee51534] | 3706 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
---|
[3b77289] | 3707 | # mode. It turns out that the SunPro C++ compiler does not properly |
---|
[ee51534] | 3708 | # handle `-M -o', and we need to detect this. Also, some Intel |
---|
| 3709 | # versions had trouble with output in subdirs |
---|
[3b77289] | 3710 | am__obj=sub/conftest.${OBJEXT-o} |
---|
| 3711 | am__minus_obj="-o $am__obj" |
---|
| 3712 | case $depmode in |
---|
| 3713 | gcc) |
---|
| 3714 | # This depmode causes a compiler race in universal mode. |
---|
| 3715 | test "$am__universal" = false || continue |
---|
| 3716 | ;; |
---|
| 3717 | nosideeffect) |
---|
[ee51534] | 3718 | # after this tag, mechanisms are not by side-effect, so they'll |
---|
| 3719 | # only be used when explicitly requested |
---|
[3b77289] | 3720 | if test "x$enable_dependency_tracking" = xyes; then |
---|
| 3721 | continue |
---|
| 3722 | else |
---|
| 3723 | break |
---|
| 3724 | fi |
---|
| 3725 | ;; |
---|
| 3726 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
---|
[ee51534] | 3727 | # This compiler won't grok `-c -o', but also, the minuso test has |
---|
[3b77289] | 3728 | # not run yet. These depmodes are late enough in the game, and |
---|
| 3729 | # so weak that their functioning should not be impacted. |
---|
| 3730 | am__obj=conftest.${OBJEXT-o} |
---|
| 3731 | am__minus_obj= |
---|
| 3732 | ;; |
---|
| 3733 | none) break ;; |
---|
| 3734 | esac |
---|
| 3735 | if depmode=$depmode \ |
---|
| 3736 | source=sub/conftest.c object=$am__obj \ |
---|
| 3737 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
---|
| 3738 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
---|
| 3739 | >/dev/null 2>conftest.err && |
---|
| 3740 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
---|
| 3741 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
---|
| 3742 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
---|
| 3743 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
---|
| 3744 | # icc doesn't choke on unknown options, it will just issue warnings |
---|
| 3745 | # or remarks (even with -Werror). So we grep stderr for any message |
---|
| 3746 | # that says an option was ignored or not supported. |
---|
| 3747 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
---|
| 3748 | # icc: Command line warning: ignoring option '-M'; no argument required |
---|
| 3749 | # The diagnosis changed in icc 8.0: |
---|
| 3750 | # icc: Command line remark: option '-MP' not supported |
---|
| 3751 | if (grep 'ignoring option' conftest.err || |
---|
| 3752 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
---|
| 3753 | am_cv_CXX_dependencies_compiler_type=$depmode |
---|
| 3754 | break |
---|
| 3755 | fi |
---|
| 3756 | fi |
---|
| 3757 | done |
---|
| 3758 | |
---|
| 3759 | cd .. |
---|
| 3760 | rm -rf conftest.dir |
---|
| 3761 | else |
---|
| 3762 | am_cv_CXX_dependencies_compiler_type=none |
---|
| 3763 | fi |
---|
| 3764 | |
---|
| 3765 | fi |
---|
| 3766 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
---|
| 3767 | $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } |
---|
| 3768 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
---|
| 3769 | |
---|
| 3770 | if |
---|
| 3771 | test "x$enable_dependency_tracking" != xno \ |
---|
| 3772 | && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
---|
| 3773 | am__fastdepCXX_TRUE= |
---|
| 3774 | am__fastdepCXX_FALSE='#' |
---|
| 3775 | else |
---|
| 3776 | am__fastdepCXX_TRUE='#' |
---|
| 3777 | am__fastdepCXX_FALSE= |
---|
| 3778 | fi |
---|
| 3779 | |
---|
| 3780 | |
---|
| 3781 | ac_ext=c |
---|
| 3782 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 3783 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 3784 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 3785 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 3786 | if test -n "$ac_tool_prefix"; then |
---|
| 3787 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
---|
| 3788 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
---|
| 3789 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 3790 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 3791 | if ${ac_cv_prog_CC+:} false; then : |
---|
| 3792 | $as_echo_n "(cached) " >&6 |
---|
| 3793 | else |
---|
| 3794 | if test -n "$CC"; then |
---|
| 3795 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 3796 | else |
---|
| 3797 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 3798 | for as_dir in $PATH |
---|
| 3799 | do |
---|
| 3800 | IFS=$as_save_IFS |
---|
| 3801 | test -z "$as_dir" && as_dir=. |
---|
| 3802 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[ee51534] | 3803 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[3b77289] | 3804 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
---|
| 3805 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 3806 | break 2 |
---|
| 3807 | fi |
---|
| 3808 | done |
---|
| 3809 | done |
---|
| 3810 | IFS=$as_save_IFS |
---|
| 3811 | |
---|
| 3812 | fi |
---|
| 3813 | fi |
---|
| 3814 | CC=$ac_cv_prog_CC |
---|
| 3815 | if test -n "$CC"; then |
---|
| 3816 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
| 3817 | $as_echo "$CC" >&6; } |
---|
| 3818 | else |
---|
| 3819 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 3820 | $as_echo "no" >&6; } |
---|
| 3821 | fi |
---|
| 3822 | |
---|
| 3823 | |
---|
| 3824 | fi |
---|
| 3825 | if test -z "$ac_cv_prog_CC"; then |
---|
| 3826 | ac_ct_CC=$CC |
---|
| 3827 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
| 3828 | set dummy gcc; ac_word=$2 |
---|
| 3829 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 3830 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 3831 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
---|
| 3832 | $as_echo_n "(cached) " >&6 |
---|
| 3833 | else |
---|
| 3834 | if test -n "$ac_ct_CC"; then |
---|
| 3835 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
| 3836 | else |
---|
| 3837 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 3838 | for as_dir in $PATH |
---|
| 3839 | do |
---|
| 3840 | IFS=$as_save_IFS |
---|
| 3841 | test -z "$as_dir" && as_dir=. |
---|
| 3842 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[ee51534] | 3843 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[3b77289] | 3844 | ac_cv_prog_ac_ct_CC="gcc" |
---|
| 3845 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 3846 | break 2 |
---|
| 3847 | fi |
---|
| 3848 | done |
---|
| 3849 | done |
---|
| 3850 | IFS=$as_save_IFS |
---|
| 3851 | |
---|
| 3852 | fi |
---|
| 3853 | fi |
---|
| 3854 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
| 3855 | if test -n "$ac_ct_CC"; then |
---|
| 3856 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
---|
| 3857 | $as_echo "$ac_ct_CC" >&6; } |
---|
| 3858 | else |
---|
| 3859 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 3860 | $as_echo "no" >&6; } |
---|
| 3861 | fi |
---|
| 3862 | |
---|
| 3863 | if test "x$ac_ct_CC" = x; then |
---|
| 3864 | CC="" |
---|
| 3865 | else |
---|
| 3866 | case $cross_compiling:$ac_tool_warned in |
---|
| 3867 | yes:) |
---|
| 3868 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
| 3869 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
| 3870 | ac_tool_warned=yes ;; |
---|
| 3871 | esac |
---|
| 3872 | CC=$ac_ct_CC |
---|
| 3873 | fi |
---|
| 3874 | else |
---|
| 3875 | CC="$ac_cv_prog_CC" |
---|
| 3876 | fi |
---|
| 3877 | |
---|
| 3878 | if test -z "$CC"; then |
---|
| 3879 | if test -n "$ac_tool_prefix"; then |
---|
| 3880 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
---|
| 3881 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
---|
| 3882 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 3883 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 3884 | if ${ac_cv_prog_CC+:} false; then : |
---|
| 3885 | $as_echo_n "(cached) " >&6 |
---|
| 3886 | else |
---|
| 3887 | if test -n "$CC"; then |
---|
| 3888 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 3889 | else |
---|
| 3890 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 3891 | for as_dir in $PATH |
---|
| 3892 | do |
---|
| 3893 | IFS=$as_save_IFS |
---|
| 3894 | test -z "$as_dir" && as_dir=. |
---|
| 3895 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[ee51534] | 3896 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[3b77289] | 3897 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
---|
| 3898 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 3899 | break 2 |
---|
| 3900 | fi |
---|
| 3901 | done |
---|
| 3902 | done |
---|
| 3903 | IFS=$as_save_IFS |
---|
| 3904 | |
---|
| 3905 | fi |
---|
| 3906 | fi |
---|
| 3907 | CC=$ac_cv_prog_CC |
---|
| 3908 | if test -n "$CC"; then |
---|
| 3909 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
| 3910 | $as_echo "$CC" >&6; } |
---|
| 3911 | else |
---|
| 3912 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 3913 | $as_echo "no" >&6; } |
---|
| 3914 | fi |
---|
| 3915 | |
---|
| 3916 | |
---|
| 3917 | fi |
---|
| 3918 | fi |
---|
| 3919 | if test -z "$CC"; then |
---|
| 3920 | # Extract the first word of "cc", so it can be a program name with args. |
---|
| 3921 | set dummy cc; ac_word=$2 |
---|
| 3922 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 3923 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 3924 | if ${ac_cv_prog_CC+:} false; then : |
---|
| 3925 | $as_echo_n "(cached) " >&6 |
---|
| 3926 | else |
---|
| 3927 | if test -n "$CC"; then |
---|
| 3928 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 3929 | else |
---|
| 3930 | ac_prog_rejected=no |
---|
| 3931 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 3932 | for as_dir in $PATH |
---|
| 3933 | do |
---|
| 3934 | IFS=$as_save_IFS |
---|
| 3935 | test -z "$as_dir" && as_dir=. |
---|
| 3936 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[ee51534] | 3937 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[3b77289] | 3938 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
---|
| 3939 | ac_prog_rejected=yes |
---|
| 3940 | continue |
---|
| 3941 | fi |
---|
| 3942 | ac_cv_prog_CC="cc" |
---|
| 3943 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 3944 | break 2 |
---|
| 3945 | fi |
---|
| 3946 | done |
---|
| 3947 | done |
---|
| 3948 | IFS=$as_save_IFS |
---|
| 3949 | |
---|
| 3950 | if test $ac_prog_rejected = yes; then |
---|
| 3951 | # We found a bogon in the path, so make sure we never use it. |
---|
| 3952 | set dummy $ac_cv_prog_CC |
---|
| 3953 | shift |
---|
| 3954 | if test $# != 0; then |
---|
| 3955 | # We chose a different compiler from the bogus one. |
---|
| 3956 | # However, it has the same basename, so the bogon will be chosen |
---|
| 3957 | # first if we set CC to just the basename; use the full file name. |
---|
| 3958 | shift |
---|
| 3959 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
---|
| 3960 | fi |
---|
| 3961 | fi |
---|
| 3962 | fi |
---|
| 3963 | fi |
---|
| 3964 | CC=$ac_cv_prog_CC |
---|
| 3965 | if test -n "$CC"; then |
---|
| 3966 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
| 3967 | $as_echo "$CC" >&6; } |
---|
| 3968 | else |
---|
| 3969 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 3970 | $as_echo "no" >&6; } |
---|
| 3971 | fi |
---|
| 3972 | |
---|
| 3973 | |
---|
| 3974 | fi |
---|
| 3975 | if test -z "$CC"; then |
---|
| 3976 | if test -n "$ac_tool_prefix"; then |
---|
| 3977 | for ac_prog in cl.exe |
---|
| 3978 | do |
---|
| 3979 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
| 3980 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
| 3981 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 3982 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 3983 | if ${ac_cv_prog_CC+:} false; then : |
---|
| 3984 | $as_echo_n "(cached) " >&6 |
---|
| 3985 | else |
---|
| 3986 | if test -n "$CC"; then |
---|
| 3987 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 3988 | else |
---|
| 3989 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 3990 | for as_dir in $PATH |
---|
| 3991 | do |
---|
| 3992 | IFS=$as_save_IFS |
---|
| 3993 | test -z "$as_dir" && as_dir=. |
---|
| 3994 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[ee51534] | 3995 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[3b77289] | 3996 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
---|
| 3997 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 3998 | break 2 |
---|
| 3999 | fi |
---|
| 4000 | done |
---|
| 4001 | done |
---|
| 4002 | IFS=$as_save_IFS |
---|
| 4003 | |
---|
| 4004 | fi |
---|
| 4005 | fi |
---|
| 4006 | CC=$ac_cv_prog_CC |
---|
| 4007 | if test -n "$CC"; then |
---|
| 4008 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
| 4009 | $as_echo "$CC" >&6; } |
---|
| 4010 | else |
---|
| 4011 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 4012 | $as_echo "no" >&6; } |
---|
| 4013 | fi |
---|
| 4014 | |
---|
| 4015 | |
---|
| 4016 | test -n "$CC" && break |
---|
| 4017 | done |
---|
| 4018 | fi |
---|
| 4019 | if test -z "$CC"; then |
---|
| 4020 | ac_ct_CC=$CC |
---|
| 4021 | for ac_prog in cl.exe |
---|
| 4022 | do |
---|
| 4023 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
| 4024 | set dummy $ac_prog; ac_word=$2 |
---|
| 4025 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 4026 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 4027 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
---|
| 4028 | $as_echo_n "(cached) " >&6 |
---|
| 4029 | else |
---|
| 4030 | if test -n "$ac_ct_CC"; then |
---|
| 4031 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
| 4032 | else |
---|
| 4033 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 4034 | for as_dir in $PATH |
---|
| 4035 | do |
---|
| 4036 | IFS=$as_save_IFS |
---|
| 4037 | test -z "$as_dir" && as_dir=. |
---|
| 4038 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[ee51534] | 4039 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[3b77289] | 4040 | ac_cv_prog_ac_ct_CC="$ac_prog" |
---|
| 4041 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 4042 | break 2 |
---|
| 4043 | fi |
---|
| 4044 | done |
---|
| 4045 | done |
---|
| 4046 | IFS=$as_save_IFS |
---|
| 4047 | |
---|
| 4048 | fi |
---|
| 4049 | fi |
---|
| 4050 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
| 4051 | if test -n "$ac_ct_CC"; then |
---|
| 4052 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
---|
| 4053 | $as_echo "$ac_ct_CC" >&6; } |
---|
| 4054 | else |
---|
| 4055 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 4056 | $as_echo "no" >&6; } |
---|
| 4057 | fi |
---|
| 4058 | |
---|
| 4059 | |
---|
| 4060 | test -n "$ac_ct_CC" && break |
---|
| 4061 | done |
---|
| 4062 | |
---|
| 4063 | if test "x$ac_ct_CC" = x; then |
---|
| 4064 | CC="" |
---|
| 4065 | else |
---|
| 4066 | case $cross_compiling:$ac_tool_warned in |
---|
| 4067 | yes:) |
---|
| 4068 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
| 4069 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
| 4070 | ac_tool_warned=yes ;; |
---|
| 4071 | esac |
---|
| 4072 | CC=$ac_ct_CC |
---|
| 4073 | fi |
---|
| 4074 | fi |
---|
| 4075 | |
---|
| 4076 | fi |
---|
| 4077 | |
---|
| 4078 | |
---|
| 4079 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 4080 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 4081 | as_fn_error $? "no acceptable C compiler found in \$PATH |
---|
| 4082 | See \`config.log' for more details" "$LINENO" 5; } |
---|
| 4083 | |
---|
| 4084 | # Provide some information about the compiler. |
---|
| 4085 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
---|
| 4086 | set X $ac_compile |
---|
| 4087 | ac_compiler=$2 |
---|
| 4088 | for ac_option in --version -v -V -qversion; do |
---|
| 4089 | { { ac_try="$ac_compiler $ac_option >&5" |
---|
| 4090 | case "(($ac_try" in |
---|
| 4091 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4092 | *) ac_try_echo=$ac_try;; |
---|
| 4093 | esac |
---|
| 4094 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 4095 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 4096 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
---|
| 4097 | ac_status=$? |
---|
| 4098 | if test -s conftest.err; then |
---|
| 4099 | sed '10a\ |
---|
| 4100 | ... rest of stderr output deleted ... |
---|
| 4101 | 10q' conftest.err >conftest.er1 |
---|
| 4102 | cat conftest.er1 >&5 |
---|
| 4103 | fi |
---|
| 4104 | rm -f conftest.er1 conftest.err |
---|
| 4105 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 4106 | test $ac_status = 0; } |
---|
| 4107 | done |
---|
| 4108 | |
---|
| 4109 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
---|
| 4110 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
---|
| 4111 | if ${ac_cv_c_compiler_gnu+:} false; then : |
---|
| 4112 | $as_echo_n "(cached) " >&6 |
---|
| 4113 | else |
---|
| 4114 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 4115 | /* end confdefs.h. */ |
---|
| 4116 | |
---|
| 4117 | int |
---|
| 4118 | main () |
---|
| 4119 | { |
---|
| 4120 | #ifndef __GNUC__ |
---|
| 4121 | choke me |
---|
| 4122 | #endif |
---|
| 4123 | |
---|
| 4124 | ; |
---|
| 4125 | return 0; |
---|
| 4126 | } |
---|
| 4127 | _ACEOF |
---|
| 4128 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 4129 | ac_compiler_gnu=yes |
---|
| 4130 | else |
---|
| 4131 | ac_compiler_gnu=no |
---|
| 4132 | fi |
---|
| 4133 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 4134 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
---|
| 4135 | |
---|
| 4136 | fi |
---|
| 4137 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
---|
| 4138 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
---|
| 4139 | if test $ac_compiler_gnu = yes; then |
---|
| 4140 | GCC=yes |
---|
| 4141 | else |
---|
| 4142 | GCC= |
---|
| 4143 | fi |
---|
| 4144 | ac_test_CFLAGS=${CFLAGS+set} |
---|
| 4145 | ac_save_CFLAGS=$CFLAGS |
---|
| 4146 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
---|
| 4147 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
---|
| 4148 | if ${ac_cv_prog_cc_g+:} false; then : |
---|
| 4149 | $as_echo_n "(cached) " >&6 |
---|
| 4150 | else |
---|
| 4151 | ac_save_c_werror_flag=$ac_c_werror_flag |
---|
| 4152 | ac_c_werror_flag=yes |
---|
| 4153 | ac_cv_prog_cc_g=no |
---|
| 4154 | CFLAGS="-g" |
---|
| 4155 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 4156 | /* end confdefs.h. */ |
---|
| 4157 | |
---|
| 4158 | int |
---|
| 4159 | main () |
---|
| 4160 | { |
---|
| 4161 | |
---|
| 4162 | ; |
---|
| 4163 | return 0; |
---|
| 4164 | } |
---|
| 4165 | _ACEOF |
---|
| 4166 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 4167 | ac_cv_prog_cc_g=yes |
---|
| 4168 | else |
---|
| 4169 | CFLAGS="" |
---|
| 4170 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 4171 | /* end confdefs.h. */ |
---|
| 4172 | |
---|
| 4173 | int |
---|
| 4174 | main () |
---|
| 4175 | { |
---|
| 4176 | |
---|
| 4177 | ; |
---|
| 4178 | return 0; |
---|
| 4179 | } |
---|
| 4180 | _ACEOF |
---|
| 4181 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 4182 | |
---|
| 4183 | else |
---|
| 4184 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
| 4185 | CFLAGS="-g" |
---|
| 4186 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 4187 | /* end confdefs.h. */ |
---|
| 4188 | |
---|
| 4189 | int |
---|
| 4190 | main () |
---|
| 4191 | { |
---|
| 4192 | |
---|
| 4193 | ; |
---|
| 4194 | return 0; |
---|
| 4195 | } |
---|
| 4196 | _ACEOF |
---|
| 4197 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 4198 | ac_cv_prog_cc_g=yes |
---|
| 4199 | fi |
---|
| 4200 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 4201 | fi |
---|
| 4202 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 4203 | fi |
---|
| 4204 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 4205 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
| 4206 | fi |
---|
| 4207 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
---|
| 4208 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
---|
| 4209 | if test "$ac_test_CFLAGS" = set; then |
---|
| 4210 | CFLAGS=$ac_save_CFLAGS |
---|
| 4211 | elif test $ac_cv_prog_cc_g = yes; then |
---|
| 4212 | if test "$GCC" = yes; then |
---|
| 4213 | CFLAGS="-g -O2" |
---|
| 4214 | else |
---|
| 4215 | CFLAGS="-g" |
---|
| 4216 | fi |
---|
| 4217 | else |
---|
| 4218 | if test "$GCC" = yes; then |
---|
| 4219 | CFLAGS="-O2" |
---|
| 4220 | else |
---|
| 4221 | CFLAGS= |
---|
| 4222 | fi |
---|
| 4223 | fi |
---|
| 4224 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
---|
| 4225 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
---|
| 4226 | if ${ac_cv_prog_cc_c89+:} false; then : |
---|
| 4227 | $as_echo_n "(cached) " >&6 |
---|
| 4228 | else |
---|
| 4229 | ac_cv_prog_cc_c89=no |
---|
| 4230 | ac_save_CC=$CC |
---|
| 4231 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 4232 | /* end confdefs.h. */ |
---|
| 4233 | #include <stdarg.h> |
---|
| 4234 | #include <stdio.h> |
---|
[ee51534] | 4235 | #include <sys/types.h> |
---|
| 4236 | #include <sys/stat.h> |
---|
[3b77289] | 4237 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
---|
| 4238 | struct buf { int x; }; |
---|
| 4239 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
---|
| 4240 | static char *e (p, i) |
---|
| 4241 | char **p; |
---|
| 4242 | int i; |
---|
| 4243 | { |
---|
| 4244 | return p[i]; |
---|
| 4245 | } |
---|
| 4246 | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
| 4247 | { |
---|
| 4248 | char *s; |
---|
| 4249 | va_list v; |
---|
| 4250 | va_start (v,p); |
---|
| 4251 | s = g (p, va_arg (v,int)); |
---|
| 4252 | va_end (v); |
---|
| 4253 | return s; |
---|
| 4254 | } |
---|
| 4255 | |
---|
| 4256 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
---|
| 4257 | function prototypes and stuff, but not '\xHH' hex character constants. |
---|
| 4258 | These don't provoke an error unfortunately, instead are silently treated |
---|
| 4259 | as 'x'. The following induces an error, until -std is added to get |
---|
| 4260 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
---|
| 4261 | array size at least. It's necessary to write '\x00'==0 to get something |
---|
| 4262 | that's true only with -std. */ |
---|
| 4263 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
---|
| 4264 | |
---|
| 4265 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
---|
| 4266 | inside strings and character constants. */ |
---|
| 4267 | #define FOO(x) 'x' |
---|
| 4268 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
---|
| 4269 | |
---|
| 4270 | int test (int i, double x); |
---|
| 4271 | struct s1 {int (*f) (int a);}; |
---|
| 4272 | struct s2 {int (*f) (double a);}; |
---|
| 4273 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
---|
| 4274 | int argc; |
---|
| 4275 | char **argv; |
---|
| 4276 | int |
---|
| 4277 | main () |
---|
| 4278 | { |
---|
| 4279 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
---|
| 4280 | ; |
---|
| 4281 | return 0; |
---|
| 4282 | } |
---|
| 4283 | _ACEOF |
---|
| 4284 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
---|
| 4285 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
---|
| 4286 | do |
---|
| 4287 | CC="$ac_save_CC $ac_arg" |
---|
| 4288 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 4289 | ac_cv_prog_cc_c89=$ac_arg |
---|
| 4290 | fi |
---|
| 4291 | rm -f core conftest.err conftest.$ac_objext |
---|
| 4292 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
---|
| 4293 | done |
---|
| 4294 | rm -f conftest.$ac_ext |
---|
| 4295 | CC=$ac_save_CC |
---|
| 4296 | |
---|
| 4297 | fi |
---|
| 4298 | # AC_CACHE_VAL |
---|
| 4299 | case "x$ac_cv_prog_cc_c89" in |
---|
| 4300 | x) |
---|
| 4301 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
---|
| 4302 | $as_echo "none needed" >&6; } ;; |
---|
| 4303 | xno) |
---|
| 4304 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
---|
| 4305 | $as_echo "unsupported" >&6; } ;; |
---|
| 4306 | *) |
---|
| 4307 | CC="$CC $ac_cv_prog_cc_c89" |
---|
| 4308 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
---|
| 4309 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
---|
| 4310 | esac |
---|
| 4311 | if test "x$ac_cv_prog_cc_c89" != xno; then : |
---|
| 4312 | |
---|
| 4313 | fi |
---|
| 4314 | |
---|
| 4315 | ac_ext=c |
---|
| 4316 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 4317 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 4318 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 4319 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 4320 | |
---|
| 4321 | depcc="$CC" am_compiler_list= |
---|
| 4322 | |
---|
| 4323 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
---|
| 4324 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
---|
| 4325 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
---|
| 4326 | $as_echo_n "(cached) " >&6 |
---|
| 4327 | else |
---|
| 4328 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
---|
| 4329 | # We make a subdir and do the tests there. Otherwise we can end up |
---|
| 4330 | # making bogus files that we don't know about and never remove. For |
---|
| 4331 | # instance it was reported that on HP-UX the gcc test will end up |
---|
[ee51534] | 4332 | # making a dummy file named `D' -- because `-MD' means `put the output |
---|
| 4333 | # in D'. |
---|
[3b77289] | 4334 | rm -rf conftest.dir |
---|
| 4335 | mkdir conftest.dir |
---|
| 4336 | # Copy depcomp to subdir because otherwise we won't find it if we're |
---|
| 4337 | # using a relative directory. |
---|
| 4338 | cp "$am_depcomp" conftest.dir |
---|
| 4339 | cd conftest.dir |
---|
| 4340 | # We will build objects and dependencies in a subdirectory because |
---|
| 4341 | # it helps to detect inapplicable dependency modes. For instance |
---|
| 4342 | # both Tru64's cc and ICC support -MD to output dependencies as a |
---|
| 4343 | # side effect of compilation, but ICC will put the dependencies in |
---|
| 4344 | # the current directory while Tru64 will put them in the object |
---|
| 4345 | # directory. |
---|
| 4346 | mkdir sub |
---|
| 4347 | |
---|
| 4348 | am_cv_CC_dependencies_compiler_type=none |
---|
| 4349 | if test "$am_compiler_list" = ""; then |
---|
| 4350 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
---|
| 4351 | fi |
---|
| 4352 | am__universal=false |
---|
| 4353 | case " $depcc " in #( |
---|
| 4354 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
---|
| 4355 | esac |
---|
| 4356 | |
---|
| 4357 | for depmode in $am_compiler_list; do |
---|
| 4358 | # Setup a source with many dependencies, because some compilers |
---|
| 4359 | # like to wrap large dependency lists on column 80 (with \), and |
---|
| 4360 | # we should not choose a depcomp mode which is confused by this. |
---|
| 4361 | # |
---|
| 4362 | # We need to recreate these files for each test, as the compiler may |
---|
| 4363 | # overwrite some of them when testing with obscure command lines. |
---|
| 4364 | # This happens at least with the AIX C compiler. |
---|
| 4365 | : > sub/conftest.c |
---|
| 4366 | for i in 1 2 3 4 5 6; do |
---|
| 4367 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
---|
[ee51534] | 4368 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
---|
| 4369 | # Solaris 8's {/usr,}/bin/sh. |
---|
| 4370 | touch sub/conftst$i.h |
---|
[3b77289] | 4371 | done |
---|
| 4372 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
---|
| 4373 | |
---|
[ee51534] | 4374 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
---|
[3b77289] | 4375 | # mode. It turns out that the SunPro C++ compiler does not properly |
---|
[ee51534] | 4376 | # handle `-M -o', and we need to detect this. Also, some Intel |
---|
| 4377 | # versions had trouble with output in subdirs |
---|
[3b77289] | 4378 | am__obj=sub/conftest.${OBJEXT-o} |
---|
| 4379 | am__minus_obj="-o $am__obj" |
---|
| 4380 | case $depmode in |
---|
| 4381 | gcc) |
---|
| 4382 | # This depmode causes a compiler race in universal mode. |
---|
| 4383 | test "$am__universal" = false || continue |
---|
| 4384 | ;; |
---|
| 4385 | nosideeffect) |
---|
[ee51534] | 4386 | # after this tag, mechanisms are not by side-effect, so they'll |
---|
| 4387 | # only be used when explicitly requested |
---|
[3b77289] | 4388 | if test "x$enable_dependency_tracking" = xyes; then |
---|
| 4389 | continue |
---|
| 4390 | else |
---|
| 4391 | break |
---|
| 4392 | fi |
---|
| 4393 | ;; |
---|
| 4394 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
---|
[ee51534] | 4395 | # This compiler won't grok `-c -o', but also, the minuso test has |
---|
[3b77289] | 4396 | # not run yet. These depmodes are late enough in the game, and |
---|
| 4397 | # so weak that their functioning should not be impacted. |
---|
| 4398 | am__obj=conftest.${OBJEXT-o} |
---|
| 4399 | am__minus_obj= |
---|
| 4400 | ;; |
---|
| 4401 | none) break ;; |
---|
| 4402 | esac |
---|
| 4403 | if depmode=$depmode \ |
---|
| 4404 | source=sub/conftest.c object=$am__obj \ |
---|
| 4405 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
---|
| 4406 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
---|
| 4407 | >/dev/null 2>conftest.err && |
---|
| 4408 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
---|
| 4409 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
---|
| 4410 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
---|
| 4411 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
---|
| 4412 | # icc doesn't choke on unknown options, it will just issue warnings |
---|
| 4413 | # or remarks (even with -Werror). So we grep stderr for any message |
---|
| 4414 | # that says an option was ignored or not supported. |
---|
| 4415 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
---|
| 4416 | # icc: Command line warning: ignoring option '-M'; no argument required |
---|
| 4417 | # The diagnosis changed in icc 8.0: |
---|
| 4418 | # icc: Command line remark: option '-MP' not supported |
---|
| 4419 | if (grep 'ignoring option' conftest.err || |
---|
| 4420 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
---|
| 4421 | am_cv_CC_dependencies_compiler_type=$depmode |
---|
| 4422 | break |
---|
| 4423 | fi |
---|
| 4424 | fi |
---|
| 4425 | done |
---|
| 4426 | |
---|
| 4427 | cd .. |
---|
| 4428 | rm -rf conftest.dir |
---|
| 4429 | else |
---|
| 4430 | am_cv_CC_dependencies_compiler_type=none |
---|
| 4431 | fi |
---|
| 4432 | |
---|
| 4433 | fi |
---|
| 4434 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
---|
| 4435 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
---|
| 4436 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
---|
| 4437 | |
---|
| 4438 | if |
---|
| 4439 | test "x$enable_dependency_tracking" != xno \ |
---|
| 4440 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
---|
| 4441 | am__fastdepCC_TRUE= |
---|
| 4442 | am__fastdepCC_FALSE='#' |
---|
| 4443 | else |
---|
| 4444 | am__fastdepCC_TRUE='#' |
---|
| 4445 | am__fastdepCC_FALSE= |
---|
| 4446 | fi |
---|
| 4447 | |
---|
| 4448 | |
---|
[ee51534] | 4449 | if test "x$CC" != xcc; then |
---|
| 4450 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 |
---|
| 4451 | $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } |
---|
| 4452 | else |
---|
| 4453 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 |
---|
| 4454 | $as_echo_n "checking whether cc understands -c and -o together... " >&6; } |
---|
| 4455 | fi |
---|
| 4456 | set dummy $CC; ac_cc=`$as_echo "$2" | |
---|
| 4457 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` |
---|
| 4458 | if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : |
---|
| 4459 | $as_echo_n "(cached) " >&6 |
---|
| 4460 | else |
---|
| 4461 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 4462 | /* end confdefs.h. */ |
---|
| 4463 | |
---|
| 4464 | int |
---|
| 4465 | main () |
---|
| 4466 | { |
---|
| 4467 | |
---|
| 4468 | ; |
---|
| 4469 | return 0; |
---|
| 4470 | } |
---|
| 4471 | _ACEOF |
---|
| 4472 | # Make sure it works both with $CC and with simple cc. |
---|
| 4473 | # We do the test twice because some compilers refuse to overwrite an |
---|
| 4474 | # existing .o file with -o, though they will create one. |
---|
| 4475 | ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' |
---|
| 4476 | rm -f conftest2.* |
---|
| 4477 | if { { case "(($ac_try" in |
---|
| 4478 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4479 | *) ac_try_echo=$ac_try;; |
---|
| 4480 | esac |
---|
| 4481 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 4482 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 4483 | (eval "$ac_try") 2>&5 |
---|
| 4484 | ac_status=$? |
---|
| 4485 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 4486 | test $ac_status = 0; } && |
---|
| 4487 | test -f conftest2.$ac_objext && { { case "(($ac_try" in |
---|
| 4488 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4489 | *) ac_try_echo=$ac_try;; |
---|
| 4490 | esac |
---|
| 4491 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 4492 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 4493 | (eval "$ac_try") 2>&5 |
---|
| 4494 | ac_status=$? |
---|
| 4495 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 4496 | test $ac_status = 0; }; |
---|
| 4497 | then |
---|
| 4498 | eval ac_cv_prog_cc_${ac_cc}_c_o=yes |
---|
| 4499 | if test "x$CC" != xcc; then |
---|
| 4500 | # Test first that cc exists at all. |
---|
| 4501 | if { ac_try='cc -c conftest.$ac_ext >&5' |
---|
| 4502 | { { case "(($ac_try" in |
---|
| 4503 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4504 | *) ac_try_echo=$ac_try;; |
---|
| 4505 | esac |
---|
| 4506 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 4507 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 4508 | (eval "$ac_try") 2>&5 |
---|
| 4509 | ac_status=$? |
---|
| 4510 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 4511 | test $ac_status = 0; }; }; then |
---|
| 4512 | ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' |
---|
| 4513 | rm -f conftest2.* |
---|
| 4514 | if { { case "(($ac_try" in |
---|
| 4515 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4516 | *) ac_try_echo=$ac_try;; |
---|
| 4517 | esac |
---|
| 4518 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 4519 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 4520 | (eval "$ac_try") 2>&5 |
---|
| 4521 | ac_status=$? |
---|
| 4522 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 4523 | test $ac_status = 0; } && |
---|
| 4524 | test -f conftest2.$ac_objext && { { case "(($ac_try" in |
---|
| 4525 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4526 | *) ac_try_echo=$ac_try;; |
---|
| 4527 | esac |
---|
| 4528 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 4529 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 4530 | (eval "$ac_try") 2>&5 |
---|
| 4531 | ac_status=$? |
---|
| 4532 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 4533 | test $ac_status = 0; }; |
---|
| 4534 | then |
---|
| 4535 | # cc works too. |
---|
| 4536 | : |
---|
| 4537 | else |
---|
| 4538 | # cc exists but doesn't like -o. |
---|
| 4539 | eval ac_cv_prog_cc_${ac_cc}_c_o=no |
---|
| 4540 | fi |
---|
| 4541 | fi |
---|
| 4542 | fi |
---|
| 4543 | else |
---|
| 4544 | eval ac_cv_prog_cc_${ac_cc}_c_o=no |
---|
| 4545 | fi |
---|
| 4546 | rm -f core conftest* |
---|
| 4547 | |
---|
| 4548 | fi |
---|
| 4549 | if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then |
---|
| 4550 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
| 4551 | $as_echo "yes" >&6; } |
---|
| 4552 | else |
---|
| 4553 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 4554 | $as_echo "no" >&6; } |
---|
| 4555 | |
---|
| 4556 | $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h |
---|
| 4557 | |
---|
| 4558 | fi |
---|
| 4559 | |
---|
| 4560 | # FIXME: we rely on the cache variable name because |
---|
| 4561 | # there is no other way. |
---|
| 4562 | set dummy $CC |
---|
| 4563 | am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` |
---|
| 4564 | eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o |
---|
| 4565 | if test "$am_t" != yes; then |
---|
| 4566 | # Losing compiler, so override with the script. |
---|
| 4567 | # FIXME: It is wrong to rewrite CC. |
---|
| 4568 | # But if we don't then we get into trouble of one sort or another. |
---|
| 4569 | # A longer-term fix would be to have automake use am__CC in this case, |
---|
| 4570 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
---|
| 4571 | CC="$am_aux_dir/compile $CC" |
---|
| 4572 | fi |
---|
| 4573 | |
---|
[00cc023] | 4574 | # deprecated |
---|
[c3a4385] | 4575 | # These are often not installed and people miss seeing the "no", so stop the configure. |
---|
[56c3935] | 4576 | for ac_prog in 'bison -y' byacc |
---|
| 4577 | do |
---|
| 4578 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
| 4579 | set dummy $ac_prog; ac_word=$2 |
---|
| 4580 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 4581 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 4582 | if ${ac_cv_prog_YACC+:} false; then : |
---|
| 4583 | $as_echo_n "(cached) " >&6 |
---|
| 4584 | else |
---|
| 4585 | if test -n "$YACC"; then |
---|
| 4586 | ac_cv_prog_YACC="$YACC" # Let the user override the test. |
---|
| 4587 | else |
---|
| 4588 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 4589 | for as_dir in $PATH |
---|
| 4590 | do |
---|
| 4591 | IFS=$as_save_IFS |
---|
| 4592 | test -z "$as_dir" && as_dir=. |
---|
| 4593 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[ee51534] | 4594 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[56c3935] | 4595 | ac_cv_prog_YACC="$ac_prog" |
---|
| 4596 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 4597 | break 2 |
---|
| 4598 | fi |
---|
| 4599 | done |
---|
| 4600 | done |
---|
| 4601 | IFS=$as_save_IFS |
---|
| 4602 | |
---|
| 4603 | fi |
---|
| 4604 | fi |
---|
| 4605 | YACC=$ac_cv_prog_YACC |
---|
| 4606 | if test -n "$YACC"; then |
---|
| 4607 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 |
---|
| 4608 | $as_echo "$YACC" >&6; } |
---|
| 4609 | else |
---|
| 4610 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 4611 | $as_echo "no" >&6; } |
---|
| 4612 | fi |
---|
| 4613 | |
---|
| 4614 | |
---|
| 4615 | test -n "$YACC" && break |
---|
| 4616 | done |
---|
| 4617 | test -n "$YACC" || YACC="yacc" |
---|
| 4618 | |
---|
[c3a4385] | 4619 | if test "${YACC}" = "yacc" ; then echo "Error: bison required." ; exit 1 ; fi |
---|
[56c3935] | 4620 | |
---|
| 4621 | for ac_prog in flex lex |
---|
| 4622 | do |
---|
| 4623 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
| 4624 | set dummy $ac_prog; ac_word=$2 |
---|
| 4625 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 4626 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 4627 | if ${ac_cv_prog_LEX+:} false; then : |
---|
| 4628 | $as_echo_n "(cached) " >&6 |
---|
| 4629 | else |
---|
| 4630 | if test -n "$LEX"; then |
---|
| 4631 | ac_cv_prog_LEX="$LEX" # Let the user override the test. |
---|
| 4632 | else |
---|
| 4633 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 4634 | for as_dir in $PATH |
---|
| 4635 | do |
---|
| 4636 | IFS=$as_save_IFS |
---|
| 4637 | test -z "$as_dir" && as_dir=. |
---|
| 4638 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[ee51534] | 4639 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[56c3935] | 4640 | ac_cv_prog_LEX="$ac_prog" |
---|
| 4641 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 4642 | break 2 |
---|
| 4643 | fi |
---|
| 4644 | done |
---|
| 4645 | done |
---|
| 4646 | IFS=$as_save_IFS |
---|
| 4647 | |
---|
| 4648 | fi |
---|
| 4649 | fi |
---|
| 4650 | LEX=$ac_cv_prog_LEX |
---|
| 4651 | if test -n "$LEX"; then |
---|
| 4652 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 |
---|
| 4653 | $as_echo "$LEX" >&6; } |
---|
| 4654 | else |
---|
| 4655 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 4656 | $as_echo "no" >&6; } |
---|
| 4657 | fi |
---|
| 4658 | |
---|
| 4659 | |
---|
| 4660 | test -n "$LEX" && break |
---|
| 4661 | done |
---|
| 4662 | test -n "$LEX" || LEX=":" |
---|
| 4663 | |
---|
| 4664 | if test "x$LEX" != "x:"; then |
---|
| 4665 | cat >conftest.l <<_ACEOF |
---|
| 4666 | %% |
---|
| 4667 | a { ECHO; } |
---|
| 4668 | b { REJECT; } |
---|
| 4669 | c { yymore (); } |
---|
| 4670 | d { yyless (1); } |
---|
[ee51534] | 4671 | e { yyless (input () != 0); } |
---|
[56c3935] | 4672 | f { unput (yytext[0]); } |
---|
| 4673 | . { BEGIN INITIAL; } |
---|
| 4674 | %% |
---|
| 4675 | #ifdef YYTEXT_POINTER |
---|
| 4676 | extern char *yytext; |
---|
| 4677 | #endif |
---|
| 4678 | int |
---|
| 4679 | main (void) |
---|
| 4680 | { |
---|
| 4681 | return ! yylex () + ! yywrap (); |
---|
| 4682 | } |
---|
| 4683 | _ACEOF |
---|
| 4684 | { { ac_try="$LEX conftest.l" |
---|
| 4685 | case "(($ac_try" in |
---|
| 4686 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4687 | *) ac_try_echo=$ac_try;; |
---|
| 4688 | esac |
---|
| 4689 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 4690 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 4691 | (eval "$LEX conftest.l") 2>&5 |
---|
| 4692 | ac_status=$? |
---|
| 4693 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 4694 | test $ac_status = 0; } |
---|
| 4695 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 |
---|
| 4696 | $as_echo_n "checking lex output file root... " >&6; } |
---|
| 4697 | if ${ac_cv_prog_lex_root+:} false; then : |
---|
| 4698 | $as_echo_n "(cached) " >&6 |
---|
| 4699 | else |
---|
| 4700 | |
---|
| 4701 | if test -f lex.yy.c; then |
---|
| 4702 | ac_cv_prog_lex_root=lex.yy |
---|
| 4703 | elif test -f lexyy.c; then |
---|
| 4704 | ac_cv_prog_lex_root=lexyy |
---|
| 4705 | else |
---|
| 4706 | as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 |
---|
| 4707 | fi |
---|
| 4708 | fi |
---|
| 4709 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 |
---|
| 4710 | $as_echo "$ac_cv_prog_lex_root" >&6; } |
---|
| 4711 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root |
---|
| 4712 | |
---|
| 4713 | if test -z "${LEXLIB+set}"; then |
---|
| 4714 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 |
---|
| 4715 | $as_echo_n "checking lex library... " >&6; } |
---|
| 4716 | if ${ac_cv_lib_lex+:} false; then : |
---|
| 4717 | $as_echo_n "(cached) " >&6 |
---|
| 4718 | else |
---|
| 4719 | |
---|
| 4720 | ac_save_LIBS=$LIBS |
---|
| 4721 | ac_cv_lib_lex='none needed' |
---|
| 4722 | for ac_lib in '' -lfl -ll; do |
---|
| 4723 | LIBS="$ac_lib $ac_save_LIBS" |
---|
| 4724 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 4725 | /* end confdefs.h. */ |
---|
| 4726 | `cat $LEX_OUTPUT_ROOT.c` |
---|
| 4727 | _ACEOF |
---|
| 4728 | if ac_fn_c_try_link "$LINENO"; then : |
---|
| 4729 | ac_cv_lib_lex=$ac_lib |
---|
| 4730 | fi |
---|
| 4731 | rm -f core conftest.err conftest.$ac_objext \ |
---|
| 4732 | conftest$ac_exeext conftest.$ac_ext |
---|
| 4733 | test "$ac_cv_lib_lex" != 'none needed' && break |
---|
| 4734 | done |
---|
| 4735 | LIBS=$ac_save_LIBS |
---|
| 4736 | |
---|
| 4737 | fi |
---|
| 4738 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 |
---|
| 4739 | $as_echo "$ac_cv_lib_lex" >&6; } |
---|
| 4740 | test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex |
---|
| 4741 | fi |
---|
| 4742 | |
---|
| 4743 | |
---|
| 4744 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 |
---|
| 4745 | $as_echo_n "checking whether yytext is a pointer... " >&6; } |
---|
| 4746 | if ${ac_cv_prog_lex_yytext_pointer+:} false; then : |
---|
| 4747 | $as_echo_n "(cached) " >&6 |
---|
| 4748 | else |
---|
| 4749 | # POSIX says lex can declare yytext either as a pointer or an array; the |
---|
| 4750 | # default is implementation-dependent. Figure out which it is, since |
---|
| 4751 | # not all implementations provide the %pointer and %array declarations. |
---|
| 4752 | ac_cv_prog_lex_yytext_pointer=no |
---|
| 4753 | ac_save_LIBS=$LIBS |
---|
| 4754 | LIBS="$LEXLIB $ac_save_LIBS" |
---|
| 4755 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 4756 | /* end confdefs.h. */ |
---|
| 4757 | |
---|
| 4758 | #define YYTEXT_POINTER 1 |
---|
| 4759 | `cat $LEX_OUTPUT_ROOT.c` |
---|
| 4760 | _ACEOF |
---|
| 4761 | if ac_fn_c_try_link "$LINENO"; then : |
---|
| 4762 | ac_cv_prog_lex_yytext_pointer=yes |
---|
| 4763 | fi |
---|
| 4764 | rm -f core conftest.err conftest.$ac_objext \ |
---|
| 4765 | conftest$ac_exeext conftest.$ac_ext |
---|
| 4766 | LIBS=$ac_save_LIBS |
---|
| 4767 | |
---|
| 4768 | fi |
---|
| 4769 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 |
---|
| 4770 | $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } |
---|
| 4771 | if test $ac_cv_prog_lex_yytext_pointer = yes; then |
---|
| 4772 | |
---|
| 4773 | $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h |
---|
| 4774 | |
---|
| 4775 | fi |
---|
| 4776 | rm -f conftest.l $LEX_OUTPUT_ROOT.c |
---|
| 4777 | |
---|
| 4778 | fi |
---|
[c3a4385] | 4779 | if test "${LEX}" = "lex" ; then echo "Error: flex required." ; exit 1 ; fi |
---|
[3b77289] | 4780 | |
---|
| 4781 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
---|
| 4782 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
---|
| 4783 | set x ${MAKE-make} |
---|
| 4784 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
---|
| 4785 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
---|
| 4786 | $as_echo_n "(cached) " >&6 |
---|
| 4787 | else |
---|
| 4788 | cat >conftest.make <<\_ACEOF |
---|
| 4789 | SHELL = /bin/sh |
---|
| 4790 | all: |
---|
| 4791 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
---|
| 4792 | _ACEOF |
---|
| 4793 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
---|
| 4794 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
---|
| 4795 | *@@@%%%=?*=@@@%%%*) |
---|
| 4796 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
---|
| 4797 | *) |
---|
| 4798 | eval ac_cv_prog_make_${ac_make}_set=no;; |
---|
| 4799 | esac |
---|
| 4800 | rm -f conftest.make |
---|
| 4801 | fi |
---|
| 4802 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
---|
| 4803 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
| 4804 | $as_echo "yes" >&6; } |
---|
| 4805 | SET_MAKE= |
---|
| 4806 | else |
---|
| 4807 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 4808 | $as_echo "no" >&6; } |
---|
| 4809 | SET_MAKE="MAKE=${MAKE-make}" |
---|
| 4810 | fi |
---|
| 4811 | |
---|
[00cc023] | 4812 | if test -n "$ac_tool_prefix"; then |
---|
| 4813 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
---|
| 4814 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
---|
| 4815 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 4816 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 4817 | if ${ac_cv_prog_RANLIB+:} false; then : |
---|
| 4818 | $as_echo_n "(cached) " >&6 |
---|
| 4819 | else |
---|
| 4820 | if test -n "$RANLIB"; then |
---|
| 4821 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
---|
| 4822 | else |
---|
| 4823 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 4824 | for as_dir in $PATH |
---|
| 4825 | do |
---|
| 4826 | IFS=$as_save_IFS |
---|
| 4827 | test -z "$as_dir" && as_dir=. |
---|
| 4828 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[ee51534] | 4829 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[00cc023] | 4830 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
---|
| 4831 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 4832 | break 2 |
---|
| 4833 | fi |
---|
| 4834 | done |
---|
| 4835 | done |
---|
| 4836 | IFS=$as_save_IFS |
---|
| 4837 | |
---|
| 4838 | fi |
---|
| 4839 | fi |
---|
| 4840 | RANLIB=$ac_cv_prog_RANLIB |
---|
| 4841 | if test -n "$RANLIB"; then |
---|
| 4842 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
---|
| 4843 | $as_echo "$RANLIB" >&6; } |
---|
| 4844 | else |
---|
| 4845 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 4846 | $as_echo "no" >&6; } |
---|
| 4847 | fi |
---|
| 4848 | |
---|
| 4849 | |
---|
| 4850 | fi |
---|
| 4851 | if test -z "$ac_cv_prog_RANLIB"; then |
---|
| 4852 | ac_ct_RANLIB=$RANLIB |
---|
| 4853 | # Extract the first word of "ranlib", so it can be a program name with args. |
---|
| 4854 | set dummy ranlib; ac_word=$2 |
---|
| 4855 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 4856 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 4857 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
---|
| 4858 | $as_echo_n "(cached) " >&6 |
---|
| 4859 | else |
---|
| 4860 | if test -n "$ac_ct_RANLIB"; then |
---|
| 4861 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
---|
| 4862 | else |
---|
| 4863 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 4864 | for as_dir in $PATH |
---|
| 4865 | do |
---|
| 4866 | IFS=$as_save_IFS |
---|
| 4867 | test -z "$as_dir" && as_dir=. |
---|
| 4868 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[ee51534] | 4869 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[00cc023] | 4870 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
---|
| 4871 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 4872 | break 2 |
---|
| 4873 | fi |
---|
| 4874 | done |
---|
| 4875 | done |
---|
| 4876 | IFS=$as_save_IFS |
---|
| 4877 | |
---|
| 4878 | fi |
---|
| 4879 | fi |
---|
| 4880 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
---|
| 4881 | if test -n "$ac_ct_RANLIB"; then |
---|
| 4882 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
---|
| 4883 | $as_echo "$ac_ct_RANLIB" >&6; } |
---|
| 4884 | else |
---|
| 4885 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 4886 | $as_echo "no" >&6; } |
---|
| 4887 | fi |
---|
| 4888 | |
---|
| 4889 | if test "x$ac_ct_RANLIB" = x; then |
---|
| 4890 | RANLIB=":" |
---|
| 4891 | else |
---|
| 4892 | case $cross_compiling:$ac_tool_warned in |
---|
| 4893 | yes:) |
---|
| 4894 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
| 4895 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
| 4896 | ac_tool_warned=yes ;; |
---|
| 4897 | esac |
---|
| 4898 | RANLIB=$ac_ct_RANLIB |
---|
| 4899 | fi |
---|
| 4900 | else |
---|
| 4901 | RANLIB="$ac_cv_prog_RANLIB" |
---|
| 4902 | fi |
---|
| 4903 | |
---|
[3b77289] | 4904 | |
---|
[5d6ce1f] | 4905 | # Checks for libraries. |
---|
[3b77289] | 4906 | |
---|
[5d6ce1f] | 4907 | # Checks for header files. |
---|
[3b77289] | 4908 | ac_ext=c |
---|
| 4909 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 4910 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 4911 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 4912 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 4913 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
---|
| 4914 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
---|
| 4915 | # On Suns, sometimes $CPP names a directory. |
---|
| 4916 | if test -n "$CPP" && test -d "$CPP"; then |
---|
| 4917 | CPP= |
---|
| 4918 | fi |
---|
| 4919 | if test -z "$CPP"; then |
---|
| 4920 | if ${ac_cv_prog_CPP+:} false; then : |
---|
| 4921 | $as_echo_n "(cached) " >&6 |
---|
| 4922 | else |
---|
| 4923 | # Double quotes because CPP needs to be expanded |
---|
| 4924 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
---|
| 4925 | do |
---|
| 4926 | ac_preproc_ok=false |
---|
| 4927 | for ac_c_preproc_warn_flag in '' yes |
---|
| 4928 | do |
---|
| 4929 | # Use a header file that comes with gcc, so configuring glibc |
---|
| 4930 | # with a fresh cross-compiler works. |
---|
| 4931 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
| 4932 | # <limits.h> exists even on freestanding compilers. |
---|
| 4933 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
| 4934 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
| 4935 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 4936 | /* end confdefs.h. */ |
---|
| 4937 | #ifdef __STDC__ |
---|
| 4938 | # include <limits.h> |
---|
| 4939 | #else |
---|
| 4940 | # include <assert.h> |
---|
| 4941 | #endif |
---|
| 4942 | Syntax error |
---|
| 4943 | _ACEOF |
---|
| 4944 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
| 4945 | |
---|
| 4946 | else |
---|
| 4947 | # Broken: fails on valid input. |
---|
| 4948 | continue |
---|
| 4949 | fi |
---|
| 4950 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
| 4951 | |
---|
| 4952 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
| 4953 | # can be detected and how. |
---|
| 4954 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 4955 | /* end confdefs.h. */ |
---|
| 4956 | #include <ac_nonexistent.h> |
---|
| 4957 | _ACEOF |
---|
| 4958 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
| 4959 | # Broken: success on invalid input. |
---|
| 4960 | continue |
---|
| 4961 | else |
---|
| 4962 | # Passes both tests. |
---|
| 4963 | ac_preproc_ok=: |
---|
| 4964 | break |
---|
| 4965 | fi |
---|
| 4966 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
| 4967 | |
---|
| 4968 | done |
---|
| 4969 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
| 4970 | rm -f conftest.i conftest.err conftest.$ac_ext |
---|
| 4971 | if $ac_preproc_ok; then : |
---|
| 4972 | break |
---|
| 4973 | fi |
---|
| 4974 | |
---|
| 4975 | done |
---|
| 4976 | ac_cv_prog_CPP=$CPP |
---|
| 4977 | |
---|
| 4978 | fi |
---|
| 4979 | CPP=$ac_cv_prog_CPP |
---|
| 4980 | else |
---|
| 4981 | ac_cv_prog_CPP=$CPP |
---|
| 4982 | fi |
---|
| 4983 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
---|
| 4984 | $as_echo "$CPP" >&6; } |
---|
| 4985 | ac_preproc_ok=false |
---|
| 4986 | for ac_c_preproc_warn_flag in '' yes |
---|
| 4987 | do |
---|
| 4988 | # Use a header file that comes with gcc, so configuring glibc |
---|
| 4989 | # with a fresh cross-compiler works. |
---|
| 4990 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
| 4991 | # <limits.h> exists even on freestanding compilers. |
---|
| 4992 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
| 4993 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
| 4994 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 4995 | /* end confdefs.h. */ |
---|
| 4996 | #ifdef __STDC__ |
---|
| 4997 | # include <limits.h> |
---|
| 4998 | #else |
---|
| 4999 | # include <assert.h> |
---|
| 5000 | #endif |
---|
| 5001 | Syntax error |
---|
| 5002 | _ACEOF |
---|
| 5003 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
| 5004 | |
---|
| 5005 | else |
---|
| 5006 | # Broken: fails on valid input. |
---|
| 5007 | continue |
---|
| 5008 | fi |
---|
| 5009 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
| 5010 | |
---|
| 5011 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
| 5012 | # can be detected and how. |
---|
| 5013 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5014 | /* end confdefs.h. */ |
---|
| 5015 | #include <ac_nonexistent.h> |
---|
| 5016 | _ACEOF |
---|
| 5017 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
| 5018 | # Broken: success on invalid input. |
---|
| 5019 | continue |
---|
| 5020 | else |
---|
| 5021 | # Passes both tests. |
---|
| 5022 | ac_preproc_ok=: |
---|
| 5023 | break |
---|
| 5024 | fi |
---|
| 5025 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
| 5026 | |
---|
| 5027 | done |
---|
| 5028 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
| 5029 | rm -f conftest.i conftest.err conftest.$ac_ext |
---|
| 5030 | if $ac_preproc_ok; then : |
---|
| 5031 | |
---|
| 5032 | else |
---|
| 5033 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 5034 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 5035 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
---|
| 5036 | See \`config.log' for more details" "$LINENO" 5; } |
---|
| 5037 | fi |
---|
| 5038 | |
---|
| 5039 | ac_ext=c |
---|
| 5040 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 5041 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 5042 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 5043 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 5044 | |
---|
| 5045 | |
---|
| 5046 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
---|
| 5047 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
---|
| 5048 | if ${ac_cv_path_GREP+:} false; then : |
---|
| 5049 | $as_echo_n "(cached) " >&6 |
---|
| 5050 | else |
---|
| 5051 | if test -z "$GREP"; then |
---|
| 5052 | ac_path_GREP_found=false |
---|
| 5053 | # Loop through the user's path and test for each of PROGNAME-LIST |
---|
| 5054 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 5055 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
---|
| 5056 | do |
---|
| 5057 | IFS=$as_save_IFS |
---|
| 5058 | test -z "$as_dir" && as_dir=. |
---|
| 5059 | for ac_prog in grep ggrep; do |
---|
| 5060 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 5061 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
---|
[ee51534] | 5062 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
---|
[3b77289] | 5063 | # Check for GNU ac_path_GREP and select it if it is found. |
---|
| 5064 | # Check for GNU $ac_path_GREP |
---|
| 5065 | case `"$ac_path_GREP" --version 2>&1` in |
---|
| 5066 | *GNU*) |
---|
| 5067 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
---|
| 5068 | *) |
---|
| 5069 | ac_count=0 |
---|
| 5070 | $as_echo_n 0123456789 >"conftest.in" |
---|
| 5071 | while : |
---|
| 5072 | do |
---|
| 5073 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
---|
| 5074 | mv "conftest.tmp" "conftest.in" |
---|
| 5075 | cp "conftest.in" "conftest.nl" |
---|
| 5076 | $as_echo 'GREP' >> "conftest.nl" |
---|
| 5077 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
---|
| 5078 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
---|
| 5079 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
---|
| 5080 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
---|
| 5081 | # Best one so far, save it but keep looking for a better one |
---|
| 5082 | ac_cv_path_GREP="$ac_path_GREP" |
---|
| 5083 | ac_path_GREP_max=$ac_count |
---|
| 5084 | fi |
---|
| 5085 | # 10*(2^10) chars as input seems more than enough |
---|
| 5086 | test $ac_count -gt 10 && break |
---|
| 5087 | done |
---|
| 5088 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
---|
| 5089 | esac |
---|
| 5090 | |
---|
| 5091 | $ac_path_GREP_found && break 3 |
---|
| 5092 | done |
---|
| 5093 | done |
---|
| 5094 | done |
---|
| 5095 | IFS=$as_save_IFS |
---|
| 5096 | if test -z "$ac_cv_path_GREP"; then |
---|
| 5097 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
---|
| 5098 | fi |
---|
| 5099 | else |
---|
| 5100 | ac_cv_path_GREP=$GREP |
---|
| 5101 | fi |
---|
| 5102 | |
---|
| 5103 | fi |
---|
| 5104 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
---|
| 5105 | $as_echo "$ac_cv_path_GREP" >&6; } |
---|
| 5106 | GREP="$ac_cv_path_GREP" |
---|
| 5107 | |
---|
| 5108 | |
---|
| 5109 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
---|
| 5110 | $as_echo_n "checking for egrep... " >&6; } |
---|
| 5111 | if ${ac_cv_path_EGREP+:} false; then : |
---|
| 5112 | $as_echo_n "(cached) " >&6 |
---|
| 5113 | else |
---|
| 5114 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
---|
| 5115 | then ac_cv_path_EGREP="$GREP -E" |
---|
| 5116 | else |
---|
| 5117 | if test -z "$EGREP"; then |
---|
| 5118 | ac_path_EGREP_found=false |
---|
| 5119 | # Loop through the user's path and test for each of PROGNAME-LIST |
---|
| 5120 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 5121 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
---|
| 5122 | do |
---|
| 5123 | IFS=$as_save_IFS |
---|
| 5124 | test -z "$as_dir" && as_dir=. |
---|
| 5125 | for ac_prog in egrep; do |
---|
| 5126 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 5127 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
---|
[ee51534] | 5128 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
---|
[3b77289] | 5129 | # Check for GNU ac_path_EGREP and select it if it is found. |
---|
| 5130 | # Check for GNU $ac_path_EGREP |
---|
| 5131 | case `"$ac_path_EGREP" --version 2>&1` in |
---|
| 5132 | *GNU*) |
---|
| 5133 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
---|
| 5134 | *) |
---|
| 5135 | ac_count=0 |
---|
| 5136 | $as_echo_n 0123456789 >"conftest.in" |
---|
| 5137 | while : |
---|
| 5138 | do |
---|
| 5139 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
---|
| 5140 | mv "conftest.tmp" "conftest.in" |
---|
| 5141 | cp "conftest.in" "conftest.nl" |
---|
| 5142 | $as_echo 'EGREP' >> "conftest.nl" |
---|
| 5143 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
---|
| 5144 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
---|
| 5145 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
---|
| 5146 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
---|
| 5147 | # Best one so far, save it but keep looking for a better one |
---|
| 5148 | ac_cv_path_EGREP="$ac_path_EGREP" |
---|
| 5149 | ac_path_EGREP_max=$ac_count |
---|
| 5150 | fi |
---|
| 5151 | # 10*(2^10) chars as input seems more than enough |
---|
| 5152 | test $ac_count -gt 10 && break |
---|
| 5153 | done |
---|
| 5154 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
---|
| 5155 | esac |
---|
| 5156 | |
---|
| 5157 | $ac_path_EGREP_found && break 3 |
---|
| 5158 | done |
---|
| 5159 | done |
---|
| 5160 | done |
---|
| 5161 | IFS=$as_save_IFS |
---|
| 5162 | if test -z "$ac_cv_path_EGREP"; then |
---|
| 5163 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
---|
| 5164 | fi |
---|
| 5165 | else |
---|
| 5166 | ac_cv_path_EGREP=$EGREP |
---|
| 5167 | fi |
---|
| 5168 | |
---|
| 5169 | fi |
---|
| 5170 | fi |
---|
| 5171 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
---|
| 5172 | $as_echo "$ac_cv_path_EGREP" >&6; } |
---|
| 5173 | EGREP="$ac_cv_path_EGREP" |
---|
| 5174 | |
---|
| 5175 | |
---|
| 5176 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
---|
| 5177 | $as_echo_n "checking for ANSI C header files... " >&6; } |
---|
| 5178 | if ${ac_cv_header_stdc+:} false; then : |
---|
| 5179 | $as_echo_n "(cached) " >&6 |
---|
| 5180 | else |
---|
| 5181 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5182 | /* end confdefs.h. */ |
---|
| 5183 | #include <stdlib.h> |
---|
| 5184 | #include <stdarg.h> |
---|
| 5185 | #include <string.h> |
---|
| 5186 | #include <float.h> |
---|
| 5187 | |
---|
| 5188 | int |
---|
| 5189 | main () |
---|
| 5190 | { |
---|
| 5191 | |
---|
| 5192 | ; |
---|
| 5193 | return 0; |
---|
| 5194 | } |
---|
| 5195 | _ACEOF |
---|
| 5196 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 5197 | ac_cv_header_stdc=yes |
---|
| 5198 | else |
---|
| 5199 | ac_cv_header_stdc=no |
---|
| 5200 | fi |
---|
| 5201 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 5202 | |
---|
| 5203 | if test $ac_cv_header_stdc = yes; then |
---|
| 5204 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
---|
| 5205 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5206 | /* end confdefs.h. */ |
---|
| 5207 | #include <string.h> |
---|
| 5208 | |
---|
| 5209 | _ACEOF |
---|
| 5210 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
| 5211 | $EGREP "memchr" >/dev/null 2>&1; then : |
---|
| 5212 | |
---|
| 5213 | else |
---|
| 5214 | ac_cv_header_stdc=no |
---|
| 5215 | fi |
---|
| 5216 | rm -f conftest* |
---|
| 5217 | |
---|
| 5218 | fi |
---|
| 5219 | |
---|
| 5220 | if test $ac_cv_header_stdc = yes; then |
---|
| 5221 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
---|
| 5222 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5223 | /* end confdefs.h. */ |
---|
| 5224 | #include <stdlib.h> |
---|
| 5225 | |
---|
| 5226 | _ACEOF |
---|
| 5227 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
| 5228 | $EGREP "free" >/dev/null 2>&1; then : |
---|
| 5229 | |
---|
| 5230 | else |
---|
| 5231 | ac_cv_header_stdc=no |
---|
| 5232 | fi |
---|
| 5233 | rm -f conftest* |
---|
| 5234 | |
---|
| 5235 | fi |
---|
| 5236 | |
---|
| 5237 | if test $ac_cv_header_stdc = yes; then |
---|
| 5238 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
---|
| 5239 | if test "$cross_compiling" = yes; then : |
---|
| 5240 | : |
---|
| 5241 | else |
---|
| 5242 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5243 | /* end confdefs.h. */ |
---|
| 5244 | #include <ctype.h> |
---|
| 5245 | #include <stdlib.h> |
---|
| 5246 | #if ((' ' & 0x0FF) == 0x020) |
---|
| 5247 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
---|
| 5248 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
---|
| 5249 | #else |
---|
| 5250 | # define ISLOWER(c) \ |
---|
| 5251 | (('a' <= (c) && (c) <= 'i') \ |
---|
| 5252 | || ('j' <= (c) && (c) <= 'r') \ |
---|
| 5253 | || ('s' <= (c) && (c) <= 'z')) |
---|
| 5254 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
---|
| 5255 | #endif |
---|
| 5256 | |
---|
| 5257 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
---|
| 5258 | int |
---|
| 5259 | main () |
---|
| 5260 | { |
---|
| 5261 | int i; |
---|
| 5262 | for (i = 0; i < 256; i++) |
---|
| 5263 | if (XOR (islower (i), ISLOWER (i)) |
---|
| 5264 | || toupper (i) != TOUPPER (i)) |
---|
| 5265 | return 2; |
---|
| 5266 | return 0; |
---|
| 5267 | } |
---|
| 5268 | _ACEOF |
---|
| 5269 | if ac_fn_c_try_run "$LINENO"; then : |
---|
| 5270 | |
---|
| 5271 | else |
---|
| 5272 | ac_cv_header_stdc=no |
---|
| 5273 | fi |
---|
| 5274 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
---|
| 5275 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
---|
| 5276 | fi |
---|
| 5277 | |
---|
| 5278 | fi |
---|
| 5279 | fi |
---|
| 5280 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
---|
| 5281 | $as_echo "$ac_cv_header_stdc" >&6; } |
---|
| 5282 | if test $ac_cv_header_stdc = yes; then |
---|
| 5283 | |
---|
| 5284 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
---|
| 5285 | |
---|
| 5286 | fi |
---|
| 5287 | |
---|
| 5288 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
---|
| 5289 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
---|
| 5290 | inttypes.h stdint.h unistd.h |
---|
| 5291 | do : |
---|
| 5292 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
| 5293 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
---|
| 5294 | " |
---|
| 5295 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
---|
| 5296 | cat >>confdefs.h <<_ACEOF |
---|
| 5297 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
| 5298 | _ACEOF |
---|
| 5299 | |
---|
| 5300 | fi |
---|
| 5301 | |
---|
[5d6ce1f] | 5302 | done |
---|
| 5303 | |
---|
| 5304 | |
---|
| 5305 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
---|
| 5306 | if test "x$ac_cv_type_size_t" = xyes; then : |
---|
| 5307 | |
---|
| 5308 | else |
---|
| 5309 | |
---|
| 5310 | cat >>confdefs.h <<_ACEOF |
---|
| 5311 | #define size_t unsigned int |
---|
| 5312 | _ACEOF |
---|
| 5313 | |
---|
| 5314 | fi |
---|
| 5315 | |
---|
| 5316 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
---|
| 5317 | # for constant arguments. Useless! |
---|
| 5318 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 |
---|
| 5319 | $as_echo_n "checking for working alloca.h... " >&6; } |
---|
| 5320 | if ${ac_cv_working_alloca_h+:} false; then : |
---|
| 5321 | $as_echo_n "(cached) " >&6 |
---|
| 5322 | else |
---|
| 5323 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5324 | /* end confdefs.h. */ |
---|
| 5325 | #include <alloca.h> |
---|
| 5326 | int |
---|
| 5327 | main () |
---|
| 5328 | { |
---|
| 5329 | char *p = (char *) alloca (2 * sizeof (int)); |
---|
| 5330 | if (p) return 0; |
---|
| 5331 | ; |
---|
| 5332 | return 0; |
---|
| 5333 | } |
---|
| 5334 | _ACEOF |
---|
| 5335 | if ac_fn_c_try_link "$LINENO"; then : |
---|
| 5336 | ac_cv_working_alloca_h=yes |
---|
| 5337 | else |
---|
| 5338 | ac_cv_working_alloca_h=no |
---|
| 5339 | fi |
---|
| 5340 | rm -f core conftest.err conftest.$ac_objext \ |
---|
| 5341 | conftest$ac_exeext conftest.$ac_ext |
---|
| 5342 | fi |
---|
| 5343 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 |
---|
| 5344 | $as_echo "$ac_cv_working_alloca_h" >&6; } |
---|
| 5345 | if test $ac_cv_working_alloca_h = yes; then |
---|
| 5346 | |
---|
| 5347 | $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h |
---|
| 5348 | |
---|
| 5349 | fi |
---|
| 5350 | |
---|
| 5351 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 |
---|
| 5352 | $as_echo_n "checking for alloca... " >&6; } |
---|
| 5353 | if ${ac_cv_func_alloca_works+:} false; then : |
---|
| 5354 | $as_echo_n "(cached) " >&6 |
---|
| 5355 | else |
---|
| 5356 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5357 | /* end confdefs.h. */ |
---|
| 5358 | #ifdef __GNUC__ |
---|
| 5359 | # define alloca __builtin_alloca |
---|
| 5360 | #else |
---|
| 5361 | # ifdef _MSC_VER |
---|
| 5362 | # include <malloc.h> |
---|
| 5363 | # define alloca _alloca |
---|
| 5364 | # else |
---|
| 5365 | # ifdef HAVE_ALLOCA_H |
---|
| 5366 | # include <alloca.h> |
---|
| 5367 | # else |
---|
| 5368 | # ifdef _AIX |
---|
| 5369 | #pragma alloca |
---|
| 5370 | # else |
---|
| 5371 | # ifndef alloca /* predefined by HP cc +Olibcalls */ |
---|
| 5372 | void *alloca (size_t); |
---|
| 5373 | # endif |
---|
| 5374 | # endif |
---|
| 5375 | # endif |
---|
| 5376 | # endif |
---|
| 5377 | #endif |
---|
| 5378 | |
---|
| 5379 | int |
---|
| 5380 | main () |
---|
| 5381 | { |
---|
| 5382 | char *p = (char *) alloca (1); |
---|
| 5383 | if (p) return 0; |
---|
| 5384 | ; |
---|
| 5385 | return 0; |
---|
| 5386 | } |
---|
| 5387 | _ACEOF |
---|
| 5388 | if ac_fn_c_try_link "$LINENO"; then : |
---|
| 5389 | ac_cv_func_alloca_works=yes |
---|
| 5390 | else |
---|
| 5391 | ac_cv_func_alloca_works=no |
---|
| 5392 | fi |
---|
| 5393 | rm -f core conftest.err conftest.$ac_objext \ |
---|
| 5394 | conftest$ac_exeext conftest.$ac_ext |
---|
| 5395 | fi |
---|
| 5396 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 |
---|
| 5397 | $as_echo "$ac_cv_func_alloca_works" >&6; } |
---|
| 5398 | |
---|
| 5399 | if test $ac_cv_func_alloca_works = yes; then |
---|
| 5400 | |
---|
| 5401 | $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h |
---|
| 5402 | |
---|
| 5403 | else |
---|
| 5404 | # The SVR3 libPW and SVR4 libucb both contain incompatible functions |
---|
| 5405 | # that cause trouble. Some versions do not even contain alloca or |
---|
| 5406 | # contain a buggy version. If you still want to use their alloca, |
---|
| 5407 | # use ar to extract alloca.o from them instead of compiling alloca.c. |
---|
| 5408 | |
---|
| 5409 | ALLOCA=\${LIBOBJDIR}alloca.$ac_objext |
---|
| 5410 | |
---|
| 5411 | $as_echo "#define C_ALLOCA 1" >>confdefs.h |
---|
| 5412 | |
---|
| 5413 | |
---|
| 5414 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 |
---|
| 5415 | $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } |
---|
| 5416 | if ${ac_cv_os_cray+:} false; then : |
---|
| 5417 | $as_echo_n "(cached) " >&6 |
---|
| 5418 | else |
---|
| 5419 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5420 | /* end confdefs.h. */ |
---|
| 5421 | #if defined CRAY && ! defined CRAY2 |
---|
| 5422 | webecray |
---|
| 5423 | #else |
---|
| 5424 | wenotbecray |
---|
| 5425 | #endif |
---|
| 5426 | |
---|
| 5427 | _ACEOF |
---|
| 5428 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
| 5429 | $EGREP "webecray" >/dev/null 2>&1; then : |
---|
| 5430 | ac_cv_os_cray=yes |
---|
| 5431 | else |
---|
| 5432 | ac_cv_os_cray=no |
---|
| 5433 | fi |
---|
| 5434 | rm -f conftest* |
---|
| 5435 | |
---|
| 5436 | fi |
---|
| 5437 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 |
---|
| 5438 | $as_echo "$ac_cv_os_cray" >&6; } |
---|
| 5439 | if test $ac_cv_os_cray = yes; then |
---|
| 5440 | for ac_func in _getb67 GETB67 getb67; do |
---|
| 5441 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
---|
| 5442 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
---|
| 5443 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
---|
| 5444 | |
---|
| 5445 | cat >>confdefs.h <<_ACEOF |
---|
| 5446 | #define CRAY_STACKSEG_END $ac_func |
---|
| 5447 | _ACEOF |
---|
| 5448 | |
---|
| 5449 | break |
---|
| 5450 | fi |
---|
| 5451 | |
---|
| 5452 | done |
---|
| 5453 | fi |
---|
| 5454 | |
---|
| 5455 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 |
---|
| 5456 | $as_echo_n "checking stack direction for C alloca... " >&6; } |
---|
| 5457 | if ${ac_cv_c_stack_direction+:} false; then : |
---|
| 5458 | $as_echo_n "(cached) " >&6 |
---|
| 5459 | else |
---|
| 5460 | if test "$cross_compiling" = yes; then : |
---|
| 5461 | ac_cv_c_stack_direction=0 |
---|
| 5462 | else |
---|
| 5463 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5464 | /* end confdefs.h. */ |
---|
| 5465 | $ac_includes_default |
---|
| 5466 | int |
---|
[ee51534] | 5467 | find_stack_direction () |
---|
[5d6ce1f] | 5468 | { |
---|
[ee51534] | 5469 | static char *addr = 0; |
---|
| 5470 | auto char dummy; |
---|
| 5471 | if (addr == 0) |
---|
| 5472 | { |
---|
| 5473 | addr = &dummy; |
---|
| 5474 | return find_stack_direction (); |
---|
| 5475 | } |
---|
| 5476 | else |
---|
| 5477 | return (&dummy > addr) ? 1 : -1; |
---|
[5d6ce1f] | 5478 | } |
---|
| 5479 | |
---|
| 5480 | int |
---|
[ee51534] | 5481 | main () |
---|
[5d6ce1f] | 5482 | { |
---|
[ee51534] | 5483 | return find_stack_direction () < 0; |
---|
[5d6ce1f] | 5484 | } |
---|
| 5485 | _ACEOF |
---|
| 5486 | if ac_fn_c_try_run "$LINENO"; then : |
---|
| 5487 | ac_cv_c_stack_direction=1 |
---|
| 5488 | else |
---|
| 5489 | ac_cv_c_stack_direction=-1 |
---|
| 5490 | fi |
---|
| 5491 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
---|
| 5492 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
---|
| 5493 | fi |
---|
| 5494 | |
---|
| 5495 | fi |
---|
| 5496 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 |
---|
| 5497 | $as_echo "$ac_cv_c_stack_direction" >&6; } |
---|
| 5498 | cat >>confdefs.h <<_ACEOF |
---|
| 5499 | #define STACK_DIRECTION $ac_cv_c_stack_direction |
---|
| 5500 | _ACEOF |
---|
| 5501 | |
---|
[3b77289] | 5502 | |
---|
[5d6ce1f] | 5503 | fi |
---|
[3b77289] | 5504 | |
---|
[5d6ce1f] | 5505 | 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] | 5506 | do : |
---|
| 5507 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
| 5508 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
---|
| 5509 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
---|
| 5510 | cat >>confdefs.h <<_ACEOF |
---|
| 5511 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
| 5512 | _ACEOF |
---|
| 5513 | |
---|
| 5514 | fi |
---|
| 5515 | |
---|
| 5516 | done |
---|
| 5517 | |
---|
| 5518 | |
---|
[5d6ce1f] | 5519 | # Checks for typedefs, structures, and compiler characteristics. |
---|
| 5520 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 |
---|
| 5521 | $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } |
---|
| 5522 | if ${ac_cv_header_stdbool_h+:} false; then : |
---|
[3b77289] | 5523 | $as_echo_n "(cached) " >&6 |
---|
| 5524 | else |
---|
| 5525 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5526 | /* end confdefs.h. */ |
---|
| 5527 | |
---|
[ee51534] | 5528 | #include <stdbool.h> |
---|
| 5529 | #ifndef bool |
---|
| 5530 | "error: bool is not defined" |
---|
| 5531 | #endif |
---|
| 5532 | #ifndef false |
---|
| 5533 | "error: false is not defined" |
---|
| 5534 | #endif |
---|
| 5535 | #if false |
---|
| 5536 | "error: false is not 0" |
---|
| 5537 | #endif |
---|
| 5538 | #ifndef true |
---|
| 5539 | "error: true is not defined" |
---|
| 5540 | #endif |
---|
| 5541 | #if true != 1 |
---|
| 5542 | "error: true is not 1" |
---|
| 5543 | #endif |
---|
| 5544 | #ifndef __bool_true_false_are_defined |
---|
| 5545 | "error: __bool_true_false_are_defined is not defined" |
---|
| 5546 | #endif |
---|
| 5547 | |
---|
| 5548 | struct s { _Bool s: 1; _Bool t; } s; |
---|
| 5549 | |
---|
| 5550 | char a[true == 1 ? 1 : -1]; |
---|
| 5551 | char b[false == 0 ? 1 : -1]; |
---|
| 5552 | char c[__bool_true_false_are_defined == 1 ? 1 : -1]; |
---|
| 5553 | char d[(bool) 0.5 == true ? 1 : -1]; |
---|
| 5554 | /* See body of main program for 'e'. */ |
---|
| 5555 | char f[(_Bool) 0.0 == false ? 1 : -1]; |
---|
| 5556 | char g[true]; |
---|
| 5557 | char h[sizeof (_Bool)]; |
---|
| 5558 | char i[sizeof s.t]; |
---|
| 5559 | enum { j = false, k = true, l = false * true, m = true * 256 }; |
---|
| 5560 | /* The following fails for |
---|
| 5561 | HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ |
---|
| 5562 | _Bool n[m]; |
---|
| 5563 | char o[sizeof n == m * sizeof n[0] ? 1 : -1]; |
---|
| 5564 | char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; |
---|
| 5565 | /* Catch a bug in an HP-UX C compiler. See |
---|
| 5566 | http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html |
---|
| 5567 | http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html |
---|
| 5568 | */ |
---|
| 5569 | _Bool q = true; |
---|
| 5570 | _Bool *pq = &q; |
---|
[5d6ce1f] | 5571 | |
---|
[3b77289] | 5572 | int |
---|
| 5573 | main () |
---|
| 5574 | { |
---|
[5d6ce1f] | 5575 | |
---|
[ee51534] | 5576 | bool e = &s; |
---|
| 5577 | *pq |= q; |
---|
| 5578 | *pq |= ! q; |
---|
| 5579 | /* Refer to every declared value, to avoid compiler optimizations. */ |
---|
| 5580 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l |
---|
| 5581 | + !m + !n + !o + !p + !q + !pq); |
---|
[3b77289] | 5582 | |
---|
| 5583 | ; |
---|
| 5584 | return 0; |
---|
| 5585 | } |
---|
| 5586 | _ACEOF |
---|
| 5587 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
[5d6ce1f] | 5588 | ac_cv_header_stdbool_h=yes |
---|
[3b77289] | 5589 | else |
---|
[5d6ce1f] | 5590 | ac_cv_header_stdbool_h=no |
---|
[3b77289] | 5591 | fi |
---|
| 5592 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 5593 | fi |
---|
[5d6ce1f] | 5594 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 |
---|
| 5595 | $as_echo "$ac_cv_header_stdbool_h" >&6; } |
---|
[ee51534] | 5596 | ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" |
---|
[5d6ce1f] | 5597 | if test "x$ac_cv_type__Bool" = xyes; then : |
---|
| 5598 | |
---|
| 5599 | cat >>confdefs.h <<_ACEOF |
---|
| 5600 | #define HAVE__BOOL 1 |
---|
| 5601 | _ACEOF |
---|
| 5602 | |
---|
| 5603 | |
---|
| 5604 | fi |
---|
| 5605 | |
---|
| 5606 | if test $ac_cv_header_stdbool_h = yes; then |
---|
[3b77289] | 5607 | |
---|
[5d6ce1f] | 5608 | $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h |
---|
[3b77289] | 5609 | |
---|
| 5610 | fi |
---|
| 5611 | |
---|
| 5612 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
---|
| 5613 | $as_echo_n "checking for inline... " >&6; } |
---|
| 5614 | if ${ac_cv_c_inline+:} false; then : |
---|
| 5615 | $as_echo_n "(cached) " >&6 |
---|
| 5616 | else |
---|
| 5617 | ac_cv_c_inline=no |
---|
| 5618 | for ac_kw in inline __inline__ __inline; do |
---|
| 5619 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5620 | /* end confdefs.h. */ |
---|
| 5621 | #ifndef __cplusplus |
---|
| 5622 | typedef int foo_t; |
---|
| 5623 | static $ac_kw foo_t static_foo () {return 0; } |
---|
| 5624 | $ac_kw foo_t foo () {return 0; } |
---|
| 5625 | #endif |
---|
| 5626 | |
---|
| 5627 | _ACEOF |
---|
| 5628 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 5629 | ac_cv_c_inline=$ac_kw |
---|
| 5630 | fi |
---|
| 5631 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 5632 | test "$ac_cv_c_inline" != no && break |
---|
| 5633 | done |
---|
| 5634 | |
---|
| 5635 | fi |
---|
| 5636 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 |
---|
| 5637 | $as_echo "$ac_cv_c_inline" >&6; } |
---|
| 5638 | |
---|
| 5639 | case $ac_cv_c_inline in |
---|
| 5640 | inline | yes) ;; |
---|
| 5641 | *) |
---|
| 5642 | case $ac_cv_c_inline in |
---|
| 5643 | no) ac_val=;; |
---|
| 5644 | *) ac_val=$ac_cv_c_inline;; |
---|
| 5645 | esac |
---|
| 5646 | cat >>confdefs.h <<_ACEOF |
---|
| 5647 | #ifndef __cplusplus |
---|
| 5648 | #define inline $ac_val |
---|
| 5649 | #endif |
---|
| 5650 | _ACEOF |
---|
| 5651 | ;; |
---|
| 5652 | esac |
---|
| 5653 | |
---|
[5d6ce1f] | 5654 | ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t" |
---|
| 5655 | case $ac_cv_c_int16_t in #( |
---|
| 5656 | no|yes) ;; #( |
---|
| 5657 | *) |
---|
| 5658 | |
---|
| 5659 | cat >>confdefs.h <<_ACEOF |
---|
| 5660 | #define int16_t $ac_cv_c_int16_t |
---|
| 5661 | _ACEOF |
---|
| 5662 | ;; |
---|
| 5663 | esac |
---|
| 5664 | |
---|
| 5665 | ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t" |
---|
| 5666 | case $ac_cv_c_int32_t in #( |
---|
| 5667 | no|yes) ;; #( |
---|
| 5668 | *) |
---|
| 5669 | |
---|
| 5670 | cat >>confdefs.h <<_ACEOF |
---|
| 5671 | #define int32_t $ac_cv_c_int32_t |
---|
| 5672 | _ACEOF |
---|
| 5673 | ;; |
---|
| 5674 | esac |
---|
| 5675 | |
---|
| 5676 | ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t" |
---|
| 5677 | case $ac_cv_c_int8_t in #( |
---|
| 5678 | no|yes) ;; #( |
---|
| 5679 | *) |
---|
| 5680 | |
---|
| 5681 | cat >>confdefs.h <<_ACEOF |
---|
| 5682 | #define int8_t $ac_cv_c_int8_t |
---|
| 5683 | _ACEOF |
---|
| 5684 | ;; |
---|
| 5685 | esac |
---|
| 5686 | |
---|
| 5687 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 |
---|
| 5688 | $as_echo_n "checking for C/C++ restrict keyword... " >&6; } |
---|
| 5689 | if ${ac_cv_c_restrict+:} false; then : |
---|
[3b77289] | 5690 | $as_echo_n "(cached) " >&6 |
---|
| 5691 | else |
---|
[5d6ce1f] | 5692 | ac_cv_c_restrict=no |
---|
| 5693 | # The order here caters to the fact that C++ does not require restrict. |
---|
| 5694 | for ac_kw in __restrict __restrict__ _Restrict restrict; do |
---|
| 5695 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
[3b77289] | 5696 | /* end confdefs.h. */ |
---|
[5d6ce1f] | 5697 | typedef int * int_ptr; |
---|
| 5698 | int foo (int_ptr $ac_kw ip) { |
---|
| 5699 | return ip[0]; |
---|
| 5700 | } |
---|
[3b77289] | 5701 | int |
---|
| 5702 | main () |
---|
| 5703 | { |
---|
[5d6ce1f] | 5704 | int s[1]; |
---|
| 5705 | int * $ac_kw t = s; |
---|
| 5706 | t[0] = 0; |
---|
| 5707 | return foo(t) |
---|
[3b77289] | 5708 | ; |
---|
| 5709 | return 0; |
---|
| 5710 | } |
---|
| 5711 | _ACEOF |
---|
| 5712 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
[5d6ce1f] | 5713 | ac_cv_c_restrict=$ac_kw |
---|
[3b77289] | 5714 | fi |
---|
| 5715 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
[5d6ce1f] | 5716 | test "$ac_cv_c_restrict" != no && break |
---|
| 5717 | done |
---|
[3b77289] | 5718 | |
---|
| 5719 | fi |
---|
[5d6ce1f] | 5720 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 |
---|
| 5721 | $as_echo "$ac_cv_c_restrict" >&6; } |
---|
| 5722 | |
---|
| 5723 | case $ac_cv_c_restrict in |
---|
| 5724 | restrict) ;; |
---|
| 5725 | no) $as_echo "#define restrict /**/" >>confdefs.h |
---|
| 5726 | ;; |
---|
| 5727 | *) cat >>confdefs.h <<_ACEOF |
---|
| 5728 | #define restrict $ac_cv_c_restrict |
---|
| 5729 | _ACEOF |
---|
| 5730 | ;; |
---|
| 5731 | esac |
---|
[3b77289] | 5732 | |
---|
[5d6ce1f] | 5733 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
---|
| 5734 | if test "x$ac_cv_type_size_t" = xyes; then : |
---|
[3b77289] | 5735 | |
---|
[5d6ce1f] | 5736 | else |
---|
[3b77289] | 5737 | |
---|
[5d6ce1f] | 5738 | cat >>confdefs.h <<_ACEOF |
---|
| 5739 | #define size_t unsigned int |
---|
| 5740 | _ACEOF |
---|
[3b77289] | 5741 | |
---|
| 5742 | fi |
---|
| 5743 | |
---|
[5d6ce1f] | 5744 | ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t" |
---|
| 5745 | case $ac_cv_c_uint16_t in #( |
---|
| 5746 | no|yes) ;; #( |
---|
| 5747 | *) |
---|
[3b77289] | 5748 | |
---|
| 5749 | |
---|
[5d6ce1f] | 5750 | cat >>confdefs.h <<_ACEOF |
---|
| 5751 | #define uint16_t $ac_cv_c_uint16_t |
---|
| 5752 | _ACEOF |
---|
| 5753 | ;; |
---|
| 5754 | esac |
---|
[3b77289] | 5755 | |
---|
[5d6ce1f] | 5756 | ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t" |
---|
| 5757 | case $ac_cv_c_uint32_t in #( |
---|
| 5758 | no|yes) ;; #( |
---|
| 5759 | *) |
---|
[3b77289] | 5760 | |
---|
[5d6ce1f] | 5761 | $as_echo "#define _UINT32_T 1" >>confdefs.h |
---|
| 5762 | |
---|
| 5763 | |
---|
| 5764 | cat >>confdefs.h <<_ACEOF |
---|
| 5765 | #define uint32_t $ac_cv_c_uint32_t |
---|
[3b77289] | 5766 | _ACEOF |
---|
[5d6ce1f] | 5767 | ;; |
---|
| 5768 | esac |
---|
[3b77289] | 5769 | |
---|
[5d6ce1f] | 5770 | ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t" |
---|
| 5771 | case $ac_cv_c_uint8_t in #( |
---|
| 5772 | no|yes) ;; #( |
---|
[3b77289] | 5773 | *) |
---|
| 5774 | |
---|
[5d6ce1f] | 5775 | $as_echo "#define _UINT8_T 1" >>confdefs.h |
---|
[3b77289] | 5776 | |
---|
| 5777 | |
---|
| 5778 | cat >>confdefs.h <<_ACEOF |
---|
[5d6ce1f] | 5779 | #define uint8_t $ac_cv_c_uint8_t |
---|
[3b77289] | 5780 | _ACEOF |
---|
[5d6ce1f] | 5781 | ;; |
---|
| 5782 | esac |
---|
[3b77289] | 5783 | |
---|
| 5784 | |
---|
[5d6ce1f] | 5785 | # Checks for library functions. |
---|
| 5786 | for ac_func in memset putenv strchr strtol |
---|
| 5787 | do : |
---|
| 5788 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
---|
| 5789 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
---|
| 5790 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
---|
| 5791 | cat >>confdefs.h <<_ACEOF |
---|
| 5792 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
---|
[3b77289] | 5793 | _ACEOF |
---|
| 5794 | |
---|
[5d6ce1f] | 5795 | fi |
---|
| 5796 | done |
---|
[3b77289] | 5797 | |
---|
| 5798 | |
---|
[ef7d253] | 5799 | ac_config_files="$ac_config_files Makefile src/driver/Makefile src/Makefile src/examples/Makefile src/tests/Makefile src/libcfa/Makefile" |
---|
[3b77289] | 5800 | |
---|
[5d6ce1f] | 5801 | |
---|
[3b77289] | 5802 | cat >confcache <<\_ACEOF |
---|
| 5803 | # This file is a shell script that caches the results of configure |
---|
| 5804 | # tests run on this system so they can be shared between configure |
---|
| 5805 | # scripts and configure runs, see configure's option --config-cache. |
---|
| 5806 | # It is not useful on other systems. If it contains results you don't |
---|
| 5807 | # want to keep, you may remove or edit it. |
---|
| 5808 | # |
---|
| 5809 | # config.status only pays attention to the cache file if you give it |
---|
| 5810 | # the --recheck option to rerun configure. |
---|
| 5811 | # |
---|
| 5812 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
---|
| 5813 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
---|
| 5814 | # following values. |
---|
| 5815 | |
---|
| 5816 | _ACEOF |
---|
| 5817 | |
---|
| 5818 | # The following way of writing the cache mishandles newlines in values, |
---|
| 5819 | # but we know of no workaround that is simple, portable, and efficient. |
---|
| 5820 | # So, we kill variables containing newlines. |
---|
| 5821 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
| 5822 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
| 5823 | ( |
---|
| 5824 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
---|
| 5825 | eval ac_val=\$$ac_var |
---|
| 5826 | case $ac_val in #( |
---|
| 5827 | *${as_nl}*) |
---|
| 5828 | case $ac_var in #( |
---|
| 5829 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
---|
| 5830 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
---|
| 5831 | esac |
---|
| 5832 | case $ac_var in #( |
---|
| 5833 | _ | IFS | as_nl) ;; #( |
---|
| 5834 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
---|
| 5835 | *) { eval $ac_var=; unset $ac_var;} ;; |
---|
| 5836 | esac ;; |
---|
| 5837 | esac |
---|
| 5838 | done |
---|
| 5839 | |
---|
| 5840 | (set) 2>&1 | |
---|
| 5841 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
---|
| 5842 | *${as_nl}ac_space=\ *) |
---|
| 5843 | # `set' does not quote correctly, so add quotes: double-quote |
---|
| 5844 | # substitution turns \\\\ into \\, and sed turns \\ into \. |
---|
| 5845 | sed -n \ |
---|
| 5846 | "s/'/'\\\\''/g; |
---|
| 5847 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
---|
| 5848 | ;; #( |
---|
| 5849 | *) |
---|
| 5850 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
| 5851 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
| 5852 | ;; |
---|
| 5853 | esac | |
---|
| 5854 | sort |
---|
| 5855 | ) | |
---|
| 5856 | sed ' |
---|
| 5857 | /^ac_cv_env_/b end |
---|
| 5858 | t clear |
---|
| 5859 | :clear |
---|
| 5860 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
---|
| 5861 | t end |
---|
| 5862 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
---|
| 5863 | :end' >>confcache |
---|
| 5864 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
---|
| 5865 | if test -w "$cache_file"; then |
---|
| 5866 | if test "x$cache_file" != "x/dev/null"; then |
---|
| 5867 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
---|
| 5868 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
---|
| 5869 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
---|
| 5870 | cat confcache >"$cache_file" |
---|
| 5871 | else |
---|
| 5872 | case $cache_file in #( |
---|
| 5873 | */* | ?:*) |
---|
| 5874 | mv -f confcache "$cache_file"$$ && |
---|
| 5875 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
---|
| 5876 | *) |
---|
| 5877 | mv -f confcache "$cache_file" ;; |
---|
| 5878 | esac |
---|
| 5879 | fi |
---|
| 5880 | fi |
---|
| 5881 | else |
---|
| 5882 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
---|
| 5883 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
---|
| 5884 | fi |
---|
| 5885 | fi |
---|
| 5886 | rm -f confcache |
---|
| 5887 | |
---|
| 5888 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
| 5889 | # Let make expand exec_prefix. |
---|
| 5890 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
| 5891 | |
---|
| 5892 | DEFS=-DHAVE_CONFIG_H |
---|
| 5893 | |
---|
| 5894 | ac_libobjs= |
---|
| 5895 | ac_ltlibobjs= |
---|
| 5896 | U= |
---|
| 5897 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
---|
| 5898 | # 1. Remove the extension, and $U if already installed. |
---|
| 5899 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
---|
| 5900 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
---|
| 5901 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
---|
| 5902 | # will be set to the directory where LIBOBJS objects are built. |
---|
| 5903 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
---|
| 5904 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
---|
| 5905 | done |
---|
| 5906 | LIBOBJS=$ac_libobjs |
---|
| 5907 | |
---|
| 5908 | LTLIBOBJS=$ac_ltlibobjs |
---|
| 5909 | |
---|
| 5910 | |
---|
| 5911 | if test -n "$EXEEXT"; then |
---|
| 5912 | am__EXEEXT_TRUE= |
---|
| 5913 | am__EXEEXT_FALSE='#' |
---|
| 5914 | else |
---|
| 5915 | am__EXEEXT_TRUE='#' |
---|
| 5916 | am__EXEEXT_FALSE= |
---|
| 5917 | fi |
---|
| 5918 | |
---|
[6aa5ec0f] | 5919 | if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
---|
| 5920 | as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
---|
| 5921 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
| 5922 | fi |
---|
[3b77289] | 5923 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
---|
| 5924 | as_fn_error $? "conditional \"AMDEP\" was never defined. |
---|
| 5925 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
| 5926 | fi |
---|
| 5927 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
---|
| 5928 | as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. |
---|
| 5929 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
| 5930 | fi |
---|
| 5931 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
---|
| 5932 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
---|
| 5933 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
| 5934 | fi |
---|
| 5935 | |
---|
| 5936 | : "${CONFIG_STATUS=./config.status}" |
---|
| 5937 | ac_write_fail=0 |
---|
| 5938 | ac_clean_files_save=$ac_clean_files |
---|
| 5939 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
---|
| 5940 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
---|
| 5941 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
---|
| 5942 | as_write_fail=0 |
---|
| 5943 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
---|
| 5944 | #! $SHELL |
---|
| 5945 | # Generated by $as_me. |
---|
| 5946 | # Run this file to recreate the current configuration. |
---|
| 5947 | # Compiler output produced by configure, useful for debugging |
---|
| 5948 | # configure, is in config.log if it exists. |
---|
| 5949 | |
---|
| 5950 | debug=false |
---|
| 5951 | ac_cs_recheck=false |
---|
| 5952 | ac_cs_silent=false |
---|
| 5953 | |
---|
| 5954 | SHELL=\${CONFIG_SHELL-$SHELL} |
---|
| 5955 | export SHELL |
---|
| 5956 | _ASEOF |
---|
| 5957 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
---|
| 5958 | ## -------------------- ## |
---|
| 5959 | ## M4sh Initialization. ## |
---|
| 5960 | ## -------------------- ## |
---|
| 5961 | |
---|
| 5962 | # Be more Bourne compatible |
---|
| 5963 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
| 5964 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
---|
| 5965 | emulate sh |
---|
| 5966 | NULLCMD=: |
---|
| 5967 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
| 5968 | # is contrary to our usage. Disable this feature. |
---|
| 5969 | alias -g '${1+"$@"}'='"$@"' |
---|
| 5970 | setopt NO_GLOB_SUBST |
---|
| 5971 | else |
---|
| 5972 | case `(set -o) 2>/dev/null` in #( |
---|
| 5973 | *posix*) : |
---|
| 5974 | set -o posix ;; #( |
---|
| 5975 | *) : |
---|
| 5976 | ;; |
---|
| 5977 | esac |
---|
| 5978 | fi |
---|
| 5979 | |
---|
| 5980 | |
---|
| 5981 | as_nl=' |
---|
| 5982 | ' |
---|
| 5983 | export as_nl |
---|
| 5984 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
---|
| 5985 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
---|
| 5986 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
| 5987 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
| 5988 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
---|
| 5989 | # but without wasting forks for bash or zsh. |
---|
| 5990 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
---|
| 5991 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
| 5992 | as_echo='print -r --' |
---|
| 5993 | as_echo_n='print -rn --' |
---|
| 5994 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
| 5995 | as_echo='printf %s\n' |
---|
| 5996 | as_echo_n='printf %s' |
---|
| 5997 | else |
---|
| 5998 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
---|
| 5999 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
---|
| 6000 | as_echo_n='/usr/ucb/echo -n' |
---|
| 6001 | else |
---|
| 6002 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
---|
| 6003 | as_echo_n_body='eval |
---|
| 6004 | arg=$1; |
---|
| 6005 | case $arg in #( |
---|
| 6006 | *"$as_nl"*) |
---|
| 6007 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
---|
| 6008 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
---|
| 6009 | esac; |
---|
| 6010 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
---|
| 6011 | ' |
---|
| 6012 | export as_echo_n_body |
---|
| 6013 | as_echo_n='sh -c $as_echo_n_body as_echo' |
---|
| 6014 | fi |
---|
| 6015 | export as_echo_body |
---|
| 6016 | as_echo='sh -c $as_echo_body as_echo' |
---|
| 6017 | fi |
---|
| 6018 | |
---|
| 6019 | # The user is always right. |
---|
| 6020 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
| 6021 | PATH_SEPARATOR=: |
---|
| 6022 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
---|
| 6023 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
---|
| 6024 | PATH_SEPARATOR=';' |
---|
| 6025 | } |
---|
| 6026 | fi |
---|
| 6027 | |
---|
| 6028 | |
---|
| 6029 | # IFS |
---|
| 6030 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
| 6031 | # there to prevent editors from complaining about space-tab. |
---|
| 6032 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
| 6033 | # splitting by setting IFS to empty value.) |
---|
| 6034 | IFS=" "" $as_nl" |
---|
| 6035 | |
---|
| 6036 | # Find who we are. Look in the path if we contain no directory separator. |
---|
| 6037 | as_myself= |
---|
| 6038 | case $0 in #(( |
---|
| 6039 | *[\\/]* ) as_myself=$0 ;; |
---|
| 6040 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 6041 | for as_dir in $PATH |
---|
| 6042 | do |
---|
| 6043 | IFS=$as_save_IFS |
---|
| 6044 | test -z "$as_dir" && as_dir=. |
---|
| 6045 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
| 6046 | done |
---|
| 6047 | IFS=$as_save_IFS |
---|
| 6048 | |
---|
| 6049 | ;; |
---|
| 6050 | esac |
---|
| 6051 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
| 6052 | # in which case we are not to be found in the path. |
---|
| 6053 | if test "x$as_myself" = x; then |
---|
| 6054 | as_myself=$0 |
---|
| 6055 | fi |
---|
| 6056 | if test ! -f "$as_myself"; then |
---|
| 6057 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
| 6058 | exit 1 |
---|
| 6059 | fi |
---|
| 6060 | |
---|
| 6061 | # Unset variables that we do not need and which cause bugs (e.g. in |
---|
| 6062 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
---|
| 6063 | # suppresses any "Segmentation fault" message there. '((' could |
---|
| 6064 | # trigger a bug in pdksh 5.2.14. |
---|
| 6065 | for as_var in BASH_ENV ENV MAIL MAILPATH |
---|
| 6066 | do eval test x\${$as_var+set} = xset \ |
---|
| 6067 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
---|
| 6068 | done |
---|
| 6069 | PS1='$ ' |
---|
| 6070 | PS2='> ' |
---|
| 6071 | PS4='+ ' |
---|
| 6072 | |
---|
| 6073 | # NLS nuisances. |
---|
| 6074 | LC_ALL=C |
---|
| 6075 | export LC_ALL |
---|
| 6076 | LANGUAGE=C |
---|
| 6077 | export LANGUAGE |
---|
| 6078 | |
---|
| 6079 | # CDPATH. |
---|
| 6080 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
---|
| 6081 | |
---|
| 6082 | |
---|
| 6083 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
---|
| 6084 | # ---------------------------------------- |
---|
| 6085 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
---|
| 6086 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
---|
| 6087 | # script with STATUS, using 1 if that was 0. |
---|
| 6088 | as_fn_error () |
---|
| 6089 | { |
---|
| 6090 | as_status=$1; test $as_status -eq 0 && as_status=1 |
---|
| 6091 | if test "$4"; then |
---|
| 6092 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 6093 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
---|
| 6094 | fi |
---|
| 6095 | $as_echo "$as_me: error: $2" >&2 |
---|
| 6096 | as_fn_exit $as_status |
---|
| 6097 | } # as_fn_error |
---|
| 6098 | |
---|
| 6099 | |
---|
| 6100 | # as_fn_set_status STATUS |
---|
| 6101 | # ----------------------- |
---|
| 6102 | # Set $? to STATUS, without forking. |
---|
| 6103 | as_fn_set_status () |
---|
| 6104 | { |
---|
| 6105 | return $1 |
---|
| 6106 | } # as_fn_set_status |
---|
| 6107 | |
---|
| 6108 | # as_fn_exit STATUS |
---|
| 6109 | # ----------------- |
---|
| 6110 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
---|
| 6111 | as_fn_exit () |
---|
| 6112 | { |
---|
| 6113 | set +e |
---|
| 6114 | as_fn_set_status $1 |
---|
| 6115 | exit $1 |
---|
| 6116 | } # as_fn_exit |
---|
| 6117 | |
---|
| 6118 | # as_fn_unset VAR |
---|
| 6119 | # --------------- |
---|
| 6120 | # Portably unset VAR. |
---|
| 6121 | as_fn_unset () |
---|
| 6122 | { |
---|
| 6123 | { eval $1=; unset $1;} |
---|
| 6124 | } |
---|
| 6125 | as_unset=as_fn_unset |
---|
| 6126 | # as_fn_append VAR VALUE |
---|
| 6127 | # ---------------------- |
---|
| 6128 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
---|
| 6129 | # advantage of any shell optimizations that allow amortized linear growth over |
---|
| 6130 | # repeated appends, instead of the typical quadratic growth present in naive |
---|
| 6131 | # implementations. |
---|
| 6132 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
---|
| 6133 | eval 'as_fn_append () |
---|
| 6134 | { |
---|
| 6135 | eval $1+=\$2 |
---|
| 6136 | }' |
---|
| 6137 | else |
---|
| 6138 | as_fn_append () |
---|
| 6139 | { |
---|
| 6140 | eval $1=\$$1\$2 |
---|
| 6141 | } |
---|
| 6142 | fi # as_fn_append |
---|
| 6143 | |
---|
| 6144 | # as_fn_arith ARG... |
---|
| 6145 | # ------------------ |
---|
| 6146 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
---|
| 6147 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
---|
| 6148 | # must be portable across $(()) and expr. |
---|
| 6149 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
---|
| 6150 | eval 'as_fn_arith () |
---|
| 6151 | { |
---|
| 6152 | as_val=$(( $* )) |
---|
| 6153 | }' |
---|
| 6154 | else |
---|
| 6155 | as_fn_arith () |
---|
| 6156 | { |
---|
| 6157 | as_val=`expr "$@" || test $? -eq 1` |
---|
| 6158 | } |
---|
| 6159 | fi # as_fn_arith |
---|
| 6160 | |
---|
| 6161 | |
---|
| 6162 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
| 6163 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
| 6164 | as_expr=expr |
---|
| 6165 | else |
---|
| 6166 | as_expr=false |
---|
| 6167 | fi |
---|
| 6168 | |
---|
| 6169 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
| 6170 | as_basename=basename |
---|
| 6171 | else |
---|
| 6172 | as_basename=false |
---|
| 6173 | fi |
---|
| 6174 | |
---|
| 6175 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
| 6176 | as_dirname=dirname |
---|
| 6177 | else |
---|
| 6178 | as_dirname=false |
---|
| 6179 | fi |
---|
| 6180 | |
---|
| 6181 | as_me=`$as_basename -- "$0" || |
---|
| 6182 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
| 6183 | X"$0" : 'X\(//\)$' \| \ |
---|
| 6184 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 6185 | $as_echo X/"$0" | |
---|
| 6186 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
| 6187 | s//\1/ |
---|
| 6188 | q |
---|
| 6189 | } |
---|
| 6190 | /^X\/\(\/\/\)$/{ |
---|
| 6191 | s//\1/ |
---|
| 6192 | q |
---|
| 6193 | } |
---|
| 6194 | /^X\/\(\/\).*/{ |
---|
| 6195 | s//\1/ |
---|
| 6196 | q |
---|
| 6197 | } |
---|
| 6198 | s/.*/./; q'` |
---|
| 6199 | |
---|
| 6200 | # Avoid depending upon Character Ranges. |
---|
| 6201 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
| 6202 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
| 6203 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
| 6204 | as_cr_digits='0123456789' |
---|
| 6205 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
| 6206 | |
---|
| 6207 | ECHO_C= ECHO_N= ECHO_T= |
---|
| 6208 | case `echo -n x` in #((((( |
---|
| 6209 | -n*) |
---|
| 6210 | case `echo 'xy\c'` in |
---|
| 6211 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
| 6212 | xy) ECHO_C='\c';; |
---|
| 6213 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
---|
| 6214 | ECHO_T=' ';; |
---|
| 6215 | esac;; |
---|
| 6216 | *) |
---|
| 6217 | ECHO_N='-n';; |
---|
| 6218 | esac |
---|
| 6219 | |
---|
| 6220 | rm -f conf$$ conf$$.exe conf$$.file |
---|
| 6221 | if test -d conf$$.dir; then |
---|
| 6222 | rm -f conf$$.dir/conf$$.file |
---|
| 6223 | else |
---|
| 6224 | rm -f conf$$.dir |
---|
| 6225 | mkdir conf$$.dir 2>/dev/null |
---|
| 6226 | fi |
---|
| 6227 | if (echo >conf$$.file) 2>/dev/null; then |
---|
| 6228 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
| 6229 | as_ln_s='ln -s' |
---|
| 6230 | # ... but there are two gotchas: |
---|
| 6231 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
| 6232 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
[ee51534] | 6233 | # In both cases, we have to default to `cp -p'. |
---|
[3b77289] | 6234 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
[ee51534] | 6235 | as_ln_s='cp -p' |
---|
[3b77289] | 6236 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
| 6237 | as_ln_s=ln |
---|
| 6238 | else |
---|
[ee51534] | 6239 | as_ln_s='cp -p' |
---|
[3b77289] | 6240 | fi |
---|
| 6241 | else |
---|
[ee51534] | 6242 | as_ln_s='cp -p' |
---|
[3b77289] | 6243 | fi |
---|
| 6244 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
| 6245 | rmdir conf$$.dir 2>/dev/null |
---|
| 6246 | |
---|
| 6247 | |
---|
| 6248 | # as_fn_mkdir_p |
---|
| 6249 | # ------------- |
---|
| 6250 | # Create "$as_dir" as a directory, including parents if necessary. |
---|
| 6251 | as_fn_mkdir_p () |
---|
| 6252 | { |
---|
| 6253 | |
---|
| 6254 | case $as_dir in #( |
---|
| 6255 | -*) as_dir=./$as_dir;; |
---|
| 6256 | esac |
---|
| 6257 | test -d "$as_dir" || eval $as_mkdir_p || { |
---|
| 6258 | as_dirs= |
---|
| 6259 | while :; do |
---|
| 6260 | case $as_dir in #( |
---|
| 6261 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
---|
| 6262 | *) as_qdir=$as_dir;; |
---|
| 6263 | esac |
---|
| 6264 | as_dirs="'$as_qdir' $as_dirs" |
---|
| 6265 | as_dir=`$as_dirname -- "$as_dir" || |
---|
| 6266 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 6267 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
| 6268 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
| 6269 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 6270 | $as_echo X"$as_dir" | |
---|
| 6271 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 6272 | s//\1/ |
---|
| 6273 | q |
---|
| 6274 | } |
---|
| 6275 | /^X\(\/\/\)[^/].*/{ |
---|
| 6276 | s//\1/ |
---|
| 6277 | q |
---|
| 6278 | } |
---|
| 6279 | /^X\(\/\/\)$/{ |
---|
| 6280 | s//\1/ |
---|
| 6281 | q |
---|
| 6282 | } |
---|
| 6283 | /^X\(\/\).*/{ |
---|
| 6284 | s//\1/ |
---|
| 6285 | q |
---|
| 6286 | } |
---|
| 6287 | s/.*/./; q'` |
---|
| 6288 | test -d "$as_dir" && break |
---|
| 6289 | done |
---|
| 6290 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
| 6291 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
---|
| 6292 | |
---|
| 6293 | |
---|
| 6294 | } # as_fn_mkdir_p |
---|
| 6295 | if mkdir -p . 2>/dev/null; then |
---|
| 6296 | as_mkdir_p='mkdir -p "$as_dir"' |
---|
| 6297 | else |
---|
| 6298 | test -d ./-p && rmdir ./-p |
---|
| 6299 | as_mkdir_p=false |
---|
| 6300 | fi |
---|
| 6301 | |
---|
[ee51534] | 6302 | if test -x / >/dev/null 2>&1; then |
---|
| 6303 | as_test_x='test -x' |
---|
| 6304 | else |
---|
| 6305 | if ls -dL / >/dev/null 2>&1; then |
---|
| 6306 | as_ls_L_option=L |
---|
| 6307 | else |
---|
| 6308 | as_ls_L_option= |
---|
| 6309 | fi |
---|
| 6310 | as_test_x=' |
---|
| 6311 | eval sh -c '\'' |
---|
| 6312 | if test -d "$1"; then |
---|
| 6313 | test -d "$1/."; |
---|
| 6314 | else |
---|
| 6315 | case $1 in #( |
---|
| 6316 | -*)set "./$1";; |
---|
| 6317 | esac; |
---|
| 6318 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
---|
| 6319 | ???[sx]*):;;*)false;;esac;fi |
---|
| 6320 | '\'' sh |
---|
| 6321 | ' |
---|
| 6322 | fi |
---|
| 6323 | as_executable_p=$as_test_x |
---|
[3b77289] | 6324 | |
---|
| 6325 | # Sed expression to map a string onto a valid CPP name. |
---|
| 6326 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 6327 | |
---|
| 6328 | # Sed expression to map a string onto a valid variable name. |
---|
| 6329 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 6330 | |
---|
| 6331 | |
---|
| 6332 | exec 6>&1 |
---|
| 6333 | ## ----------------------------------- ## |
---|
| 6334 | ## Main body of $CONFIG_STATUS script. ## |
---|
| 6335 | ## ----------------------------------- ## |
---|
| 6336 | _ASEOF |
---|
| 6337 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
---|
| 6338 | |
---|
| 6339 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 6340 | # Save the log message, to keep $0 and so on meaningful, and to |
---|
| 6341 | # report actual input values of CONFIG_FILES etc. instead of their |
---|
| 6342 | # values after options handling. |
---|
| 6343 | ac_log=" |
---|
[5d6ce1f] | 6344 | This file was extended by cfa-cc $as_me 1.0.0, which was |
---|
[ee51534] | 6345 | generated by GNU Autoconf 2.68. Invocation command line was |
---|
[3b77289] | 6346 | |
---|
| 6347 | CONFIG_FILES = $CONFIG_FILES |
---|
| 6348 | CONFIG_HEADERS = $CONFIG_HEADERS |
---|
| 6349 | CONFIG_LINKS = $CONFIG_LINKS |
---|
| 6350 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
---|
| 6351 | $ $0 $@ |
---|
| 6352 | |
---|
| 6353 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 6354 | " |
---|
| 6355 | |
---|
| 6356 | _ACEOF |
---|
| 6357 | |
---|
| 6358 | case $ac_config_files in *" |
---|
| 6359 | "*) set x $ac_config_files; shift; ac_config_files=$*;; |
---|
| 6360 | esac |
---|
| 6361 | |
---|
| 6362 | case $ac_config_headers in *" |
---|
| 6363 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
---|
| 6364 | esac |
---|
| 6365 | |
---|
| 6366 | |
---|
| 6367 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 6368 | # Files that config.status was made for. |
---|
| 6369 | config_files="$ac_config_files" |
---|
| 6370 | config_headers="$ac_config_headers" |
---|
| 6371 | config_commands="$ac_config_commands" |
---|
| 6372 | |
---|
| 6373 | _ACEOF |
---|
| 6374 | |
---|
| 6375 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 6376 | ac_cs_usage="\ |
---|
| 6377 | \`$as_me' instantiates files and other configuration actions |
---|
| 6378 | from templates according to the current configuration. Unless the files |
---|
| 6379 | and actions are specified as TAGs, all are instantiated by default. |
---|
| 6380 | |
---|
| 6381 | Usage: $0 [OPTION]... [TAG]... |
---|
| 6382 | |
---|
| 6383 | -h, --help print this help, then exit |
---|
| 6384 | -V, --version print version number and configuration settings, then exit |
---|
| 6385 | --config print configuration, then exit |
---|
| 6386 | -q, --quiet, --silent |
---|
| 6387 | do not print progress messages |
---|
| 6388 | -d, --debug don't remove temporary files |
---|
| 6389 | --recheck update $as_me by reconfiguring in the same conditions |
---|
| 6390 | --file=FILE[:TEMPLATE] |
---|
| 6391 | instantiate the configuration file FILE |
---|
| 6392 | --header=FILE[:TEMPLATE] |
---|
| 6393 | instantiate the configuration header FILE |
---|
| 6394 | |
---|
| 6395 | Configuration files: |
---|
| 6396 | $config_files |
---|
| 6397 | |
---|
| 6398 | Configuration headers: |
---|
| 6399 | $config_headers |
---|
| 6400 | |
---|
| 6401 | Configuration commands: |
---|
| 6402 | $config_commands |
---|
| 6403 | |
---|
| 6404 | Report bugs to <cforall@plg.uwaterloo.ca>." |
---|
| 6405 | |
---|
| 6406 | _ACEOF |
---|
| 6407 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 6408 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
---|
| 6409 | ac_cs_version="\\ |
---|
[5d6ce1f] | 6410 | cfa-cc config.status 1.0.0 |
---|
[ee51534] | 6411 | configured by $0, generated by GNU Autoconf 2.68, |
---|
[3b77289] | 6412 | with options \\"\$ac_cs_config\\" |
---|
| 6413 | |
---|
[ee51534] | 6414 | Copyright (C) 2010 Free Software Foundation, Inc. |
---|
[3b77289] | 6415 | This config.status script is free software; the Free Software Foundation |
---|
| 6416 | gives unlimited permission to copy, distribute and modify it." |
---|
| 6417 | |
---|
| 6418 | ac_pwd='$ac_pwd' |
---|
| 6419 | srcdir='$srcdir' |
---|
| 6420 | INSTALL='$INSTALL' |
---|
| 6421 | MKDIR_P='$MKDIR_P' |
---|
| 6422 | AWK='$AWK' |
---|
| 6423 | test -n "\$AWK" || AWK=awk |
---|
| 6424 | _ACEOF |
---|
| 6425 | |
---|
| 6426 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 6427 | # The default lists apply if the user does not specify any file. |
---|
| 6428 | ac_need_defaults=: |
---|
| 6429 | while test $# != 0 |
---|
| 6430 | do |
---|
| 6431 | case $1 in |
---|
| 6432 | --*=?*) |
---|
| 6433 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
| 6434 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
---|
| 6435 | ac_shift=: |
---|
| 6436 | ;; |
---|
| 6437 | --*=) |
---|
| 6438 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
| 6439 | ac_optarg= |
---|
| 6440 | ac_shift=: |
---|
| 6441 | ;; |
---|
| 6442 | *) |
---|
| 6443 | ac_option=$1 |
---|
| 6444 | ac_optarg=$2 |
---|
| 6445 | ac_shift=shift |
---|
| 6446 | ;; |
---|
| 6447 | esac |
---|
| 6448 | |
---|
| 6449 | case $ac_option in |
---|
| 6450 | # Handling of the options. |
---|
| 6451 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
| 6452 | ac_cs_recheck=: ;; |
---|
| 6453 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
---|
| 6454 | $as_echo "$ac_cs_version"; exit ;; |
---|
| 6455 | --config | --confi | --conf | --con | --co | --c ) |
---|
| 6456 | $as_echo "$ac_cs_config"; exit ;; |
---|
| 6457 | --debug | --debu | --deb | --de | --d | -d ) |
---|
| 6458 | debug=: ;; |
---|
| 6459 | --file | --fil | --fi | --f ) |
---|
| 6460 | $ac_shift |
---|
| 6461 | case $ac_optarg in |
---|
| 6462 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 6463 | '') as_fn_error $? "missing file argument" ;; |
---|
| 6464 | esac |
---|
| 6465 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
---|
| 6466 | ac_need_defaults=false;; |
---|
| 6467 | --header | --heade | --head | --hea ) |
---|
| 6468 | $ac_shift |
---|
| 6469 | case $ac_optarg in |
---|
| 6470 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 6471 | esac |
---|
| 6472 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
---|
| 6473 | ac_need_defaults=false;; |
---|
| 6474 | --he | --h) |
---|
| 6475 | # Conflict between --help and --header |
---|
| 6476 | as_fn_error $? "ambiguous option: \`$1' |
---|
| 6477 | Try \`$0 --help' for more information.";; |
---|
| 6478 | --help | --hel | -h ) |
---|
| 6479 | $as_echo "$ac_cs_usage"; exit ;; |
---|
| 6480 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 6481 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
---|
| 6482 | ac_cs_silent=: ;; |
---|
| 6483 | |
---|
| 6484 | # This is an error. |
---|
| 6485 | -*) as_fn_error $? "unrecognized option: \`$1' |
---|
| 6486 | Try \`$0 --help' for more information." ;; |
---|
| 6487 | |
---|
| 6488 | *) as_fn_append ac_config_targets " $1" |
---|
| 6489 | ac_need_defaults=false ;; |
---|
| 6490 | |
---|
| 6491 | esac |
---|
| 6492 | shift |
---|
| 6493 | done |
---|
| 6494 | |
---|
| 6495 | ac_configure_extra_args= |
---|
| 6496 | |
---|
| 6497 | if $ac_cs_silent; then |
---|
| 6498 | exec 6>/dev/null |
---|
| 6499 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
---|
| 6500 | fi |
---|
| 6501 | |
---|
| 6502 | _ACEOF |
---|
| 6503 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 6504 | if \$ac_cs_recheck; then |
---|
[ee51534] | 6505 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
---|
[3b77289] | 6506 | shift |
---|
| 6507 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
---|
| 6508 | CONFIG_SHELL='$SHELL' |
---|
| 6509 | export CONFIG_SHELL |
---|
| 6510 | exec "\$@" |
---|
| 6511 | fi |
---|
| 6512 | |
---|
| 6513 | _ACEOF |
---|
| 6514 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 6515 | exec 5>>config.log |
---|
| 6516 | { |
---|
| 6517 | echo |
---|
| 6518 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
---|
| 6519 | ## Running $as_me. ## |
---|
| 6520 | _ASBOX |
---|
| 6521 | $as_echo "$ac_log" |
---|
| 6522 | } >&5 |
---|
| 6523 | |
---|
| 6524 | _ACEOF |
---|
| 6525 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 6526 | # |
---|
| 6527 | # INIT-COMMANDS |
---|
| 6528 | # |
---|
| 6529 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
---|
| 6530 | |
---|
| 6531 | _ACEOF |
---|
| 6532 | |
---|
| 6533 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 6534 | |
---|
| 6535 | # Handling of arguments. |
---|
| 6536 | for ac_config_target in $ac_config_targets |
---|
| 6537 | do |
---|
| 6538 | case $ac_config_target in |
---|
| 6539 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
---|
| 6540 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
---|
| 6541 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
---|
[6e7e2b36] | 6542 | "src/driver/Makefile") CONFIG_FILES="$CONFIG_FILES src/driver/Makefile" ;; |
---|
[00cc023] | 6543 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
---|
[76f2e97f] | 6544 | "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;; |
---|
[ef7d253] | 6545 | "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;; |
---|
[6e7e2b36] | 6546 | "src/libcfa/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcfa/Makefile" ;; |
---|
[3b77289] | 6547 | |
---|
| 6548 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
---|
| 6549 | esac |
---|
| 6550 | done |
---|
| 6551 | |
---|
| 6552 | |
---|
| 6553 | # If the user did not use the arguments to specify the items to instantiate, |
---|
| 6554 | # then the envvar interface is used. Set only those that are not. |
---|
| 6555 | # We use the long form for the default assignment because of an extremely |
---|
| 6556 | # bizarre bug on SunOS 4.1.3. |
---|
| 6557 | if $ac_need_defaults; then |
---|
| 6558 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
---|
| 6559 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
---|
| 6560 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
---|
| 6561 | fi |
---|
| 6562 | |
---|
| 6563 | # Have a temporary directory for convenience. Make it in the build tree |
---|
| 6564 | # simply because there is no reason against having it here, and in addition, |
---|
| 6565 | # creating and moving files from /tmp can sometimes cause problems. |
---|
| 6566 | # Hook for its removal unless debugging. |
---|
| 6567 | # Note that there is a small window in which the directory will not be cleaned: |
---|
| 6568 | # after its creation but before its name has been assigned to `$tmp'. |
---|
| 6569 | $debug || |
---|
| 6570 | { |
---|
| 6571 | tmp= ac_tmp= |
---|
| 6572 | trap 'exit_status=$? |
---|
| 6573 | : "${ac_tmp:=$tmp}" |
---|
| 6574 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
---|
| 6575 | ' 0 |
---|
| 6576 | trap 'as_fn_exit 1' 1 2 13 15 |
---|
| 6577 | } |
---|
| 6578 | # Create a (secure) tmp directory for tmp files. |
---|
| 6579 | |
---|
| 6580 | { |
---|
| 6581 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
---|
| 6582 | test -d "$tmp" |
---|
| 6583 | } || |
---|
| 6584 | { |
---|
| 6585 | tmp=./conf$$-$RANDOM |
---|
| 6586 | (umask 077 && mkdir "$tmp") |
---|
| 6587 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
---|
| 6588 | ac_tmp=$tmp |
---|
| 6589 | |
---|
| 6590 | # Set up the scripts for CONFIG_FILES section. |
---|
| 6591 | # No need to generate them if there are no CONFIG_FILES. |
---|
| 6592 | # This happens for instance with `./config.status config.h'. |
---|
| 6593 | if test -n "$CONFIG_FILES"; then |
---|
| 6594 | |
---|
| 6595 | |
---|
| 6596 | ac_cr=`echo X | tr X '\015'` |
---|
| 6597 | # On cygwin, bash can eat \r inside `` if the user requested igncr. |
---|
| 6598 | # But we know of no other shell where ac_cr would be empty at this |
---|
| 6599 | # point, so we can use a bashism as a fallback. |
---|
| 6600 | if test "x$ac_cr" = x; then |
---|
| 6601 | eval ac_cr=\$\'\\r\' |
---|
| 6602 | fi |
---|
| 6603 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
---|
| 6604 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
---|
| 6605 | ac_cs_awk_cr='\\r' |
---|
| 6606 | else |
---|
| 6607 | ac_cs_awk_cr=$ac_cr |
---|
| 6608 | fi |
---|
| 6609 | |
---|
| 6610 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
---|
| 6611 | _ACEOF |
---|
| 6612 | |
---|
| 6613 | |
---|
| 6614 | { |
---|
| 6615 | echo "cat >conf$$subs.awk <<_ACEOF" && |
---|
| 6616 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
---|
| 6617 | echo "_ACEOF" |
---|
| 6618 | } >conf$$subs.sh || |
---|
| 6619 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
| 6620 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
---|
| 6621 | ac_delim='%!_!# ' |
---|
| 6622 | for ac_last_try in false false false false false :; do |
---|
| 6623 | . ./conf$$subs.sh || |
---|
| 6624 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
| 6625 | |
---|
| 6626 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
---|
| 6627 | if test $ac_delim_n = $ac_delim_num; then |
---|
| 6628 | break |
---|
| 6629 | elif $ac_last_try; then |
---|
| 6630 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
| 6631 | else |
---|
| 6632 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
---|
| 6633 | fi |
---|
| 6634 | done |
---|
| 6635 | rm -f conf$$subs.sh |
---|
| 6636 | |
---|
| 6637 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 6638 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
---|
| 6639 | _ACEOF |
---|
| 6640 | sed -n ' |
---|
| 6641 | h |
---|
| 6642 | s/^/S["/; s/!.*/"]=/ |
---|
| 6643 | p |
---|
| 6644 | g |
---|
| 6645 | s/^[^!]*!// |
---|
| 6646 | :repl |
---|
| 6647 | t repl |
---|
| 6648 | s/'"$ac_delim"'$// |
---|
| 6649 | t delim |
---|
| 6650 | :nl |
---|
| 6651 | h |
---|
| 6652 | s/\(.\{148\}\)..*/\1/ |
---|
| 6653 | t more1 |
---|
| 6654 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
---|
| 6655 | p |
---|
| 6656 | n |
---|
| 6657 | b repl |
---|
| 6658 | :more1 |
---|
| 6659 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
---|
| 6660 | p |
---|
| 6661 | g |
---|
| 6662 | s/.\{148\}// |
---|
| 6663 | t nl |
---|
| 6664 | :delim |
---|
| 6665 | h |
---|
| 6666 | s/\(.\{148\}\)..*/\1/ |
---|
| 6667 | t more2 |
---|
| 6668 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
---|
| 6669 | p |
---|
| 6670 | b |
---|
| 6671 | :more2 |
---|
| 6672 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
---|
| 6673 | p |
---|
| 6674 | g |
---|
| 6675 | s/.\{148\}// |
---|
| 6676 | t delim |
---|
| 6677 | ' <conf$$subs.awk | sed ' |
---|
| 6678 | /^[^""]/{ |
---|
| 6679 | N |
---|
| 6680 | s/\n// |
---|
| 6681 | } |
---|
| 6682 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
---|
| 6683 | rm -f conf$$subs.awk |
---|
| 6684 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 6685 | _ACAWK |
---|
| 6686 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
---|
| 6687 | for (key in S) S_is_set[key] = 1 |
---|
| 6688 | FS = "" |
---|
| 6689 | |
---|
| 6690 | } |
---|
| 6691 | { |
---|
| 6692 | line = $ 0 |
---|
| 6693 | nfields = split(line, field, "@") |
---|
| 6694 | substed = 0 |
---|
| 6695 | len = length(field[1]) |
---|
| 6696 | for (i = 2; i < nfields; i++) { |
---|
| 6697 | key = field[i] |
---|
| 6698 | keylen = length(key) |
---|
| 6699 | if (S_is_set[key]) { |
---|
| 6700 | value = S[key] |
---|
| 6701 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
---|
| 6702 | len += length(value) + length(field[++i]) |
---|
| 6703 | substed = 1 |
---|
| 6704 | } else |
---|
| 6705 | len += 1 + keylen |
---|
| 6706 | } |
---|
| 6707 | |
---|
| 6708 | print line |
---|
| 6709 | } |
---|
| 6710 | |
---|
| 6711 | _ACAWK |
---|
| 6712 | _ACEOF |
---|
| 6713 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 6714 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
---|
| 6715 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
---|
| 6716 | else |
---|
| 6717 | cat |
---|
| 6718 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
---|
| 6719 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
---|
| 6720 | _ACEOF |
---|
| 6721 | |
---|
| 6722 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
---|
| 6723 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
---|
| 6724 | # trailing colons and then remove the whole line if VPATH becomes empty |
---|
| 6725 | # (actually we leave an empty line to preserve line numbers). |
---|
| 6726 | if test "x$srcdir" = x.; then |
---|
| 6727 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
---|
| 6728 | h |
---|
| 6729 | s/// |
---|
| 6730 | s/^/:/ |
---|
| 6731 | s/[ ]*$/:/ |
---|
| 6732 | s/:\$(srcdir):/:/g |
---|
| 6733 | s/:\${srcdir}:/:/g |
---|
| 6734 | s/:@srcdir@:/:/g |
---|
| 6735 | s/^:*// |
---|
| 6736 | s/:*$// |
---|
| 6737 | x |
---|
| 6738 | s/\(=[ ]*\).*/\1/ |
---|
| 6739 | G |
---|
| 6740 | s/\n// |
---|
| 6741 | s/^[^=]*=[ ]*$// |
---|
| 6742 | }' |
---|
| 6743 | fi |
---|
| 6744 | |
---|
| 6745 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 6746 | fi # test -n "$CONFIG_FILES" |
---|
| 6747 | |
---|
| 6748 | # Set up the scripts for CONFIG_HEADERS section. |
---|
| 6749 | # No need to generate them if there are no CONFIG_HEADERS. |
---|
| 6750 | # This happens for instance with `./config.status Makefile'. |
---|
| 6751 | if test -n "$CONFIG_HEADERS"; then |
---|
| 6752 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
---|
| 6753 | BEGIN { |
---|
| 6754 | _ACEOF |
---|
| 6755 | |
---|
| 6756 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
---|
| 6757 | # here-document in config.status, that substitutes the proper values into |
---|
| 6758 | # config.h.in to produce config.h. |
---|
| 6759 | |
---|
| 6760 | # Create a delimiter string that does not exist in confdefs.h, to ease |
---|
| 6761 | # handling of long lines. |
---|
| 6762 | ac_delim='%!_!# ' |
---|
| 6763 | for ac_last_try in false false :; do |
---|
| 6764 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
---|
| 6765 | if test -z "$ac_tt"; then |
---|
| 6766 | break |
---|
| 6767 | elif $ac_last_try; then |
---|
| 6768 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
---|
| 6769 | else |
---|
| 6770 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
---|
| 6771 | fi |
---|
| 6772 | done |
---|
| 6773 | |
---|
| 6774 | # For the awk script, D is an array of macro values keyed by name, |
---|
| 6775 | # likewise P contains macro parameters if any. Preserve backslash |
---|
| 6776 | # newline sequences. |
---|
| 6777 | |
---|
| 6778 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
---|
| 6779 | sed -n ' |
---|
| 6780 | s/.\{148\}/&'"$ac_delim"'/g |
---|
| 6781 | t rset |
---|
| 6782 | :rset |
---|
| 6783 | s/^[ ]*#[ ]*define[ ][ ]*/ / |
---|
| 6784 | t def |
---|
| 6785 | d |
---|
| 6786 | :def |
---|
| 6787 | s/\\$// |
---|
| 6788 | t bsnl |
---|
| 6789 | s/["\\]/\\&/g |
---|
| 6790 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
---|
| 6791 | D["\1"]=" \3"/p |
---|
| 6792 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
---|
| 6793 | d |
---|
| 6794 | :bsnl |
---|
| 6795 | s/["\\]/\\&/g |
---|
| 6796 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
---|
| 6797 | D["\1"]=" \3\\\\\\n"\\/p |
---|
| 6798 | t cont |
---|
| 6799 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
---|
| 6800 | t cont |
---|
| 6801 | d |
---|
| 6802 | :cont |
---|
| 6803 | n |
---|
| 6804 | s/.\{148\}/&'"$ac_delim"'/g |
---|
| 6805 | t clear |
---|
| 6806 | :clear |
---|
| 6807 | s/\\$// |
---|
| 6808 | t bsnlc |
---|
| 6809 | s/["\\]/\\&/g; s/^/"/; s/$/"/p |
---|
| 6810 | d |
---|
| 6811 | :bsnlc |
---|
| 6812 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
---|
| 6813 | b cont |
---|
| 6814 | ' <confdefs.h | sed ' |
---|
| 6815 | s/'"$ac_delim"'/"\\\ |
---|
| 6816 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 |
---|
| 6817 | |
---|
| 6818 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 6819 | for (key in D) D_is_set[key] = 1 |
---|
| 6820 | FS = "" |
---|
| 6821 | } |
---|
| 6822 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
---|
| 6823 | line = \$ 0 |
---|
| 6824 | split(line, arg, " ") |
---|
| 6825 | if (arg[1] == "#") { |
---|
| 6826 | defundef = arg[2] |
---|
| 6827 | mac1 = arg[3] |
---|
| 6828 | } else { |
---|
| 6829 | defundef = substr(arg[1], 2) |
---|
| 6830 | mac1 = arg[2] |
---|
| 6831 | } |
---|
| 6832 | split(mac1, mac2, "(") #) |
---|
| 6833 | macro = mac2[1] |
---|
| 6834 | prefix = substr(line, 1, index(line, defundef) - 1) |
---|
| 6835 | if (D_is_set[macro]) { |
---|
| 6836 | # Preserve the white space surrounding the "#". |
---|
| 6837 | print prefix "define", macro P[macro] D[macro] |
---|
| 6838 | next |
---|
| 6839 | } else { |
---|
| 6840 | # Replace #undef with comments. This is necessary, for example, |
---|
| 6841 | # in the case of _POSIX_SOURCE, which is predefined and required |
---|
| 6842 | # on some systems where configure will not decide to define it. |
---|
| 6843 | if (defundef == "undef") { |
---|
| 6844 | print "/*", prefix defundef, macro, "*/" |
---|
| 6845 | next |
---|
| 6846 | } |
---|
| 6847 | } |
---|
| 6848 | } |
---|
| 6849 | { print } |
---|
| 6850 | _ACAWK |
---|
| 6851 | _ACEOF |
---|
| 6852 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 6853 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
---|
| 6854 | fi # test -n "$CONFIG_HEADERS" |
---|
| 6855 | |
---|
| 6856 | |
---|
| 6857 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
---|
| 6858 | shift |
---|
| 6859 | for ac_tag |
---|
| 6860 | do |
---|
| 6861 | case $ac_tag in |
---|
| 6862 | :[FHLC]) ac_mode=$ac_tag; continue;; |
---|
| 6863 | esac |
---|
| 6864 | case $ac_mode$ac_tag in |
---|
| 6865 | :[FHL]*:*);; |
---|
| 6866 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
---|
| 6867 | :[FH]-) ac_tag=-:-;; |
---|
| 6868 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
---|
| 6869 | esac |
---|
| 6870 | ac_save_IFS=$IFS |
---|
| 6871 | IFS=: |
---|
| 6872 | set x $ac_tag |
---|
| 6873 | IFS=$ac_save_IFS |
---|
| 6874 | shift |
---|
| 6875 | ac_file=$1 |
---|
| 6876 | shift |
---|
| 6877 | |
---|
| 6878 | case $ac_mode in |
---|
| 6879 | :L) ac_source=$1;; |
---|
| 6880 | :[FH]) |
---|
| 6881 | ac_file_inputs= |
---|
| 6882 | for ac_f |
---|
| 6883 | do |
---|
| 6884 | case $ac_f in |
---|
| 6885 | -) ac_f="$ac_tmp/stdin";; |
---|
| 6886 | *) # Look for the file first in the build tree, then in the source tree |
---|
| 6887 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
---|
| 6888 | # because $ac_f cannot contain `:'. |
---|
| 6889 | test -f "$ac_f" || |
---|
| 6890 | case $ac_f in |
---|
| 6891 | [\\/$]*) false;; |
---|
| 6892 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
---|
| 6893 | esac || |
---|
| 6894 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
---|
| 6895 | esac |
---|
| 6896 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
---|
| 6897 | as_fn_append ac_file_inputs " '$ac_f'" |
---|
| 6898 | done |
---|
| 6899 | |
---|
| 6900 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
| 6901 | # use $as_me), people would be surprised to read: |
---|
| 6902 | # /* config.h. Generated by config.status. */ |
---|
| 6903 | configure_input='Generated from '` |
---|
| 6904 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
---|
| 6905 | `' by configure.' |
---|
| 6906 | if test x"$ac_file" != x-; then |
---|
| 6907 | configure_input="$ac_file. $configure_input" |
---|
| 6908 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
---|
| 6909 | $as_echo "$as_me: creating $ac_file" >&6;} |
---|
| 6910 | fi |
---|
| 6911 | # Neutralize special characters interpreted by sed in replacement strings. |
---|
| 6912 | case $configure_input in #( |
---|
| 6913 | *\&* | *\|* | *\\* ) |
---|
| 6914 | ac_sed_conf_input=`$as_echo "$configure_input" | |
---|
| 6915 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
---|
| 6916 | *) ac_sed_conf_input=$configure_input;; |
---|
| 6917 | esac |
---|
| 6918 | |
---|
| 6919 | case $ac_tag in |
---|
| 6920 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
---|
| 6921 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
---|
| 6922 | esac |
---|
| 6923 | ;; |
---|
| 6924 | esac |
---|
| 6925 | |
---|
| 6926 | ac_dir=`$as_dirname -- "$ac_file" || |
---|
| 6927 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 6928 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
| 6929 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
| 6930 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 6931 | $as_echo X"$ac_file" | |
---|
| 6932 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 6933 | s//\1/ |
---|
| 6934 | q |
---|
| 6935 | } |
---|
| 6936 | /^X\(\/\/\)[^/].*/{ |
---|
| 6937 | s//\1/ |
---|
| 6938 | q |
---|
| 6939 | } |
---|
| 6940 | /^X\(\/\/\)$/{ |
---|
| 6941 | s//\1/ |
---|
| 6942 | q |
---|
| 6943 | } |
---|
| 6944 | /^X\(\/\).*/{ |
---|
| 6945 | s//\1/ |
---|
| 6946 | q |
---|
| 6947 | } |
---|
| 6948 | s/.*/./; q'` |
---|
| 6949 | as_dir="$ac_dir"; as_fn_mkdir_p |
---|
| 6950 | ac_builddir=. |
---|
| 6951 | |
---|
| 6952 | case "$ac_dir" in |
---|
| 6953 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 6954 | *) |
---|
| 6955 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
| 6956 | # A ".." for each directory in $ac_dir_suffix. |
---|
| 6957 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
| 6958 | case $ac_top_builddir_sub in |
---|
| 6959 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 6960 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
| 6961 | esac ;; |
---|
| 6962 | esac |
---|
| 6963 | ac_abs_top_builddir=$ac_pwd |
---|
| 6964 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
| 6965 | # for backward compatibility: |
---|
| 6966 | ac_top_builddir=$ac_top_build_prefix |
---|
| 6967 | |
---|
| 6968 | case $srcdir in |
---|
| 6969 | .) # We are building in place. |
---|
| 6970 | ac_srcdir=. |
---|
| 6971 | ac_top_srcdir=$ac_top_builddir_sub |
---|
| 6972 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
| 6973 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
| 6974 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
| 6975 | ac_top_srcdir=$srcdir |
---|
| 6976 | ac_abs_top_srcdir=$srcdir ;; |
---|
| 6977 | *) # Relative name. |
---|
| 6978 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
| 6979 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
| 6980 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
| 6981 | esac |
---|
| 6982 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
| 6983 | |
---|
| 6984 | |
---|
| 6985 | case $ac_mode in |
---|
| 6986 | :F) |
---|
| 6987 | # |
---|
| 6988 | # CONFIG_FILE |
---|
| 6989 | # |
---|
| 6990 | |
---|
| 6991 | case $INSTALL in |
---|
| 6992 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
---|
| 6993 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
---|
| 6994 | esac |
---|
| 6995 | ac_MKDIR_P=$MKDIR_P |
---|
| 6996 | case $MKDIR_P in |
---|
| 6997 | [\\/$]* | ?:[\\/]* ) ;; |
---|
| 6998 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
---|
| 6999 | esac |
---|
| 7000 | _ACEOF |
---|
| 7001 | |
---|
| 7002 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 7003 | # If the template does not know about datarootdir, expand it. |
---|
| 7004 | # FIXME: This hack should be removed a few years after 2.60. |
---|
| 7005 | ac_datarootdir_hack=; ac_datarootdir_seen= |
---|
| 7006 | ac_sed_dataroot=' |
---|
| 7007 | /datarootdir/ { |
---|
| 7008 | p |
---|
| 7009 | q |
---|
| 7010 | } |
---|
| 7011 | /@datadir@/p |
---|
| 7012 | /@docdir@/p |
---|
| 7013 | /@infodir@/p |
---|
| 7014 | /@localedir@/p |
---|
| 7015 | /@mandir@/p' |
---|
| 7016 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
---|
| 7017 | *datarootdir*) ac_datarootdir_seen=yes;; |
---|
| 7018 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
---|
| 7019 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
---|
| 7020 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
---|
| 7021 | _ACEOF |
---|
| 7022 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 7023 | ac_datarootdir_hack=' |
---|
| 7024 | s&@datadir@&$datadir&g |
---|
| 7025 | s&@docdir@&$docdir&g |
---|
| 7026 | s&@infodir@&$infodir&g |
---|
| 7027 | s&@localedir@&$localedir&g |
---|
| 7028 | s&@mandir@&$mandir&g |
---|
| 7029 | s&\\\${datarootdir}&$datarootdir&g' ;; |
---|
| 7030 | esac |
---|
| 7031 | _ACEOF |
---|
| 7032 | |
---|
| 7033 | # Neutralize VPATH when `$srcdir' = `.'. |
---|
| 7034 | # Shell code in configure.ac might set extrasub. |
---|
| 7035 | # FIXME: do we really want to maintain this feature? |
---|
| 7036 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 7037 | ac_sed_extra="$ac_vpsub |
---|
| 7038 | $extrasub |
---|
| 7039 | _ACEOF |
---|
| 7040 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 7041 | :t |
---|
| 7042 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
---|
| 7043 | s|@configure_input@|$ac_sed_conf_input|;t t |
---|
| 7044 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
---|
| 7045 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
---|
| 7046 | s&@srcdir@&$ac_srcdir&;t t |
---|
| 7047 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
---|
| 7048 | s&@top_srcdir@&$ac_top_srcdir&;t t |
---|
| 7049 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
---|
| 7050 | s&@builddir@&$ac_builddir&;t t |
---|
| 7051 | s&@abs_builddir@&$ac_abs_builddir&;t t |
---|
| 7052 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
---|
| 7053 | s&@INSTALL@&$ac_INSTALL&;t t |
---|
| 7054 | s&@MKDIR_P@&$ac_MKDIR_P&;t t |
---|
| 7055 | $ac_datarootdir_hack |
---|
| 7056 | " |
---|
| 7057 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
---|
| 7058 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
| 7059 | |
---|
| 7060 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
---|
| 7061 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
---|
| 7062 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
---|
| 7063 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
---|
| 7064 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
| 7065 | which seems to be undefined. Please make sure it is defined" >&5 |
---|
| 7066 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
| 7067 | which seems to be undefined. Please make sure it is defined" >&2;} |
---|
| 7068 | |
---|
| 7069 | rm -f "$ac_tmp/stdin" |
---|
| 7070 | case $ac_file in |
---|
| 7071 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
---|
| 7072 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
---|
| 7073 | esac \ |
---|
| 7074 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
| 7075 | ;; |
---|
| 7076 | :H) |
---|
| 7077 | # |
---|
| 7078 | # CONFIG_HEADER |
---|
| 7079 | # |
---|
| 7080 | if test x"$ac_file" != x-; then |
---|
| 7081 | { |
---|
| 7082 | $as_echo "/* $configure_input */" \ |
---|
| 7083 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
---|
| 7084 | } >"$ac_tmp/config.h" \ |
---|
| 7085 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
| 7086 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
---|
| 7087 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
---|
| 7088 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
---|
| 7089 | else |
---|
| 7090 | rm -f "$ac_file" |
---|
| 7091 | mv "$ac_tmp/config.h" "$ac_file" \ |
---|
| 7092 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
| 7093 | fi |
---|
| 7094 | else |
---|
| 7095 | $as_echo "/* $configure_input */" \ |
---|
| 7096 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
---|
| 7097 | || as_fn_error $? "could not create -" "$LINENO" 5 |
---|
| 7098 | fi |
---|
| 7099 | # Compute "$ac_file"'s index in $config_headers. |
---|
| 7100 | _am_arg="$ac_file" |
---|
| 7101 | _am_stamp_count=1 |
---|
| 7102 | for _am_header in $config_headers :; do |
---|
| 7103 | case $_am_header in |
---|
| 7104 | $_am_arg | $_am_arg:* ) |
---|
| 7105 | break ;; |
---|
| 7106 | * ) |
---|
| 7107 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
---|
| 7108 | esac |
---|
| 7109 | done |
---|
| 7110 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
---|
| 7111 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 7112 | X"$_am_arg" : 'X\(//\)[^/]' \| \ |
---|
| 7113 | X"$_am_arg" : 'X\(//\)$' \| \ |
---|
| 7114 | X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 7115 | $as_echo X"$_am_arg" | |
---|
| 7116 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 7117 | s//\1/ |
---|
| 7118 | q |
---|
| 7119 | } |
---|
| 7120 | /^X\(\/\/\)[^/].*/{ |
---|
| 7121 | s//\1/ |
---|
| 7122 | q |
---|
| 7123 | } |
---|
| 7124 | /^X\(\/\/\)$/{ |
---|
| 7125 | s//\1/ |
---|
| 7126 | q |
---|
| 7127 | } |
---|
| 7128 | /^X\(\/\).*/{ |
---|
| 7129 | s//\1/ |
---|
| 7130 | q |
---|
| 7131 | } |
---|
| 7132 | s/.*/./; q'`/stamp-h$_am_stamp_count |
---|
| 7133 | ;; |
---|
| 7134 | |
---|
| 7135 | :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
---|
| 7136 | $as_echo "$as_me: executing $ac_file commands" >&6;} |
---|
| 7137 | ;; |
---|
| 7138 | esac |
---|
| 7139 | |
---|
| 7140 | |
---|
| 7141 | case $ac_file$ac_mode in |
---|
| 7142 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
---|
[ee51534] | 7143 | # Autoconf 2.62 quotes --file arguments for eval, but not when files |
---|
[3b77289] | 7144 | # are listed without --file. Let's play safe and only enable the eval |
---|
| 7145 | # if we detect the quoting. |
---|
| 7146 | case $CONFIG_FILES in |
---|
| 7147 | *\'*) eval set x "$CONFIG_FILES" ;; |
---|
| 7148 | *) set x $CONFIG_FILES ;; |
---|
| 7149 | esac |
---|
| 7150 | shift |
---|
| 7151 | for mf |
---|
| 7152 | do |
---|
| 7153 | # Strip MF so we end up with the name of the file. |
---|
| 7154 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
---|
| 7155 | # Check whether this is an Automake generated Makefile or not. |
---|
[ee51534] | 7156 | # We used to match only the files named `Makefile.in', but |
---|
[3b77289] | 7157 | # some people rename them; so instead we look at the file content. |
---|
| 7158 | # Grep'ing the first line is not enough: some people post-process |
---|
| 7159 | # each Makefile.in and add a new line on top of each file to say so. |
---|
| 7160 | # Grep'ing the whole file is not good either: AIX grep has a line |
---|
| 7161 | # limit of 2048, but all sed's we know have understand at least 4000. |
---|
| 7162 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
---|
| 7163 | dirpart=`$as_dirname -- "$mf" || |
---|
| 7164 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 7165 | X"$mf" : 'X\(//\)[^/]' \| \ |
---|
| 7166 | X"$mf" : 'X\(//\)$' \| \ |
---|
| 7167 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 7168 | $as_echo X"$mf" | |
---|
| 7169 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 7170 | s//\1/ |
---|
| 7171 | q |
---|
| 7172 | } |
---|
| 7173 | /^X\(\/\/\)[^/].*/{ |
---|
| 7174 | s//\1/ |
---|
| 7175 | q |
---|
| 7176 | } |
---|
| 7177 | /^X\(\/\/\)$/{ |
---|
| 7178 | s//\1/ |
---|
| 7179 | q |
---|
| 7180 | } |
---|
| 7181 | /^X\(\/\).*/{ |
---|
| 7182 | s//\1/ |
---|
| 7183 | q |
---|
| 7184 | } |
---|
| 7185 | s/.*/./; q'` |
---|
| 7186 | else |
---|
| 7187 | continue |
---|
| 7188 | fi |
---|
| 7189 | # Extract the definition of DEPDIR, am__include, and am__quote |
---|
[ee51534] | 7190 | # from the Makefile without running `make'. |
---|
[3b77289] | 7191 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
---|
| 7192 | test -z "$DEPDIR" && continue |
---|
| 7193 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
---|
[ee51534] | 7194 | test -z "am__include" && continue |
---|
[3b77289] | 7195 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
---|
[ee51534] | 7196 | # When using ansi2knr, U may be empty or an underscore; expand it |
---|
| 7197 | U=`sed -n 's/^U = //p' < "$mf"` |
---|
[3b77289] | 7198 | # Find all dependency output files, they are included files with |
---|
| 7199 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
---|
| 7200 | # simplest approach to changing $(DEPDIR) to its actual value in the |
---|
| 7201 | # expansion. |
---|
| 7202 | for file in `sed -n " |
---|
| 7203 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
---|
[ee51534] | 7204 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
---|
[3b77289] | 7205 | # Make sure the directory exists. |
---|
| 7206 | test -f "$dirpart/$file" && continue |
---|
| 7207 | fdir=`$as_dirname -- "$file" || |
---|
| 7208 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 7209 | X"$file" : 'X\(//\)[^/]' \| \ |
---|
| 7210 | X"$file" : 'X\(//\)$' \| \ |
---|
| 7211 | X"$file" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 7212 | $as_echo X"$file" | |
---|
| 7213 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 7214 | s//\1/ |
---|
| 7215 | q |
---|
| 7216 | } |
---|
| 7217 | /^X\(\/\/\)[^/].*/{ |
---|
| 7218 | s//\1/ |
---|
| 7219 | q |
---|
| 7220 | } |
---|
| 7221 | /^X\(\/\/\)$/{ |
---|
| 7222 | s//\1/ |
---|
| 7223 | q |
---|
| 7224 | } |
---|
| 7225 | /^X\(\/\).*/{ |
---|
| 7226 | s//\1/ |
---|
| 7227 | q |
---|
| 7228 | } |
---|
| 7229 | s/.*/./; q'` |
---|
| 7230 | as_dir=$dirpart/$fdir; as_fn_mkdir_p |
---|
| 7231 | # echo "creating $dirpart/$file" |
---|
| 7232 | echo '# dummy' > "$dirpart/$file" |
---|
| 7233 | done |
---|
| 7234 | done |
---|
| 7235 | } |
---|
| 7236 | ;; |
---|
| 7237 | |
---|
| 7238 | esac |
---|
| 7239 | done # for ac_tag |
---|
| 7240 | |
---|
| 7241 | |
---|
| 7242 | as_fn_exit 0 |
---|
| 7243 | _ACEOF |
---|
| 7244 | ac_clean_files=$ac_clean_files_save |
---|
| 7245 | |
---|
| 7246 | test $ac_write_fail = 0 || |
---|
| 7247 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
---|
| 7248 | |
---|
| 7249 | |
---|
| 7250 | # configure is writing to config.log, and then calls config.status. |
---|
| 7251 | # config.status does its own redirection, appending to config.log. |
---|
| 7252 | # Unfortunately, on DOS this fails, as config.log is still kept open |
---|
| 7253 | # by configure, so config.status won't be able to write to it; its |
---|
| 7254 | # output is simply discarded. So we exec the FD to /dev/null, |
---|
| 7255 | # effectively closing config.log, so it can be properly (re)opened and |
---|
| 7256 | # appended to by config.status. When coming back to configure, we |
---|
| 7257 | # need to make the FD available again. |
---|
| 7258 | if test "$no_create" != yes; then |
---|
| 7259 | ac_cs_success=: |
---|
| 7260 | ac_config_status_args= |
---|
| 7261 | test "$silent" = yes && |
---|
| 7262 | ac_config_status_args="$ac_config_status_args --quiet" |
---|
| 7263 | exec 5>/dev/null |
---|
| 7264 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
---|
| 7265 | exec 5>>config.log |
---|
| 7266 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
---|
| 7267 | # would make configure fail if this is the last instruction. |
---|
| 7268 | $ac_cs_success || as_fn_exit 1 |
---|
| 7269 | fi |
---|
| 7270 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
---|
| 7271 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
---|
| 7272 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
---|
| 7273 | fi |
---|
| 7274 | |
---|
[7e91d4f] | 7275 | |
---|
[5d6ce1f] | 7276 | # Final text |
---|
| 7277 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: Cforall configuraton completed. Type \"make -j 8 install\"." >&5 |
---|
| 7278 | $as_echo "Cforall configuraton completed. Type \"make -j 8 install\"." >&6; } |
---|