Changeset 44f44617 for configure


Ignore:
Timestamp:
Jul 5, 2017, 4:29:43 PM (7 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
8c97ee7, b72d4ed
Parents:
307a732
Message:

Fix build for 16.04

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r307a732 r44f44617  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.68 for cfa-cc 1.0.0.0.
     3# Generated by GNU Autoconf 2.69 for cfa-cc 1.0.0.0.
    44#
    55# Report bugs to <cforall@plg.uwaterloo.ca>.
    66#
    77#
    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.
     8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
    119#
    1210#
     
    137135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138136
     137# Use a proper internal environment variable to ensure we don't fall
     138  # into an infinite loop, continuously re-executing ourselves.
     139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
     140    _as_can_reexec=no; export _as_can_reexec;
     141    # We cannot yet assume a decent shell, so we have to provide a
     142# neutralization value for shells without unset; and this also
     143# works around shells that cannot unset nonexistent variables.
     144# Preserve -v and -x to the replacement shell.
     145BASH_ENV=/dev/null
     146ENV=/dev/null
     147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     148case $- in # ((((
     149  *v*x* | *x*v* ) as_opts=-vx ;;
     150  *v* ) as_opts=-v ;;
     151  *x* ) as_opts=-x ;;
     152  * ) as_opts= ;;
     153esac
     154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     155# Admittedly, this is quite paranoid, since all the known shells bail
     156# out after a failed `exec'.
     157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     158as_fn_exit 255
     159  fi
     160  # We don't want this to propagate to other subprocesses.
     161          { _as_can_reexec=; unset _as_can_reexec;}
    139162if test "x$CONFIG_SHELL" = x; then
    140163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
     
    170193  exitcode=1; echo positional parameters were not saved.
    171194fi
    172 test x\$exitcode = x0 || exit 1"
     195test x\$exitcode = x0 || exit 1
     196test -x / || exit 1"
    173197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
     
    215239
    216240      if test "x$CONFIG_SHELL" != x; then :
    217   # We cannot yet assume a decent shell, so we have to provide a
    218         # neutralization value for shells without unset; and this also
    219         # works around shells that cannot unset nonexistent variables.
    220         # Preserve -v and -x to the replacement shell.
    221         BASH_ENV=/dev/null
    222         ENV=/dev/null
    223         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    224         export CONFIG_SHELL
    225         case $- in # ((((
    226           *v*x* | *x*v* ) as_opts=-vx ;;
    227           *v* ) as_opts=-v ;;
    228           *x* ) as_opts=-x ;;
    229           * ) as_opts= ;;
    230         esac
    231         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
     241  export CONFIG_SHELL
     242             # We cannot yet assume a decent shell, so we have to provide a
     243# neutralization value for shells without unset; and this also
     244# works around shells that cannot unset nonexistent variables.
     245# Preserve -v and -x to the replacement shell.
     246BASH_ENV=/dev/null
     247ENV=/dev/null
     248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     249case $- in # ((((
     250  *v*x* | *x*v* ) as_opts=-vx ;;
     251  *v* ) as_opts=-v ;;
     252  *x* ) as_opts=-x ;;
     253  * ) as_opts= ;;
     254esac
     255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     256# Admittedly, this is quite paranoid, since all the known shells bail
     257# out after a failed `exec'.
     258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     259exit 255
    232260fi
    233261
     
    332360
    333361} # as_fn_mkdir_p
     362
     363# as_fn_executable_p FILE
     364# -----------------------
     365# Test if FILE is an executable regular file.
     366as_fn_executable_p ()
     367{
     368  test -f "$1" && test -x "$1"
     369} # as_fn_executable_p
    334370# as_fn_append VAR VALUE
    335371# ----------------------
     
    453489    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    454490
     491  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
     492  # already done that, so ensure we don't try to do so again and fall
     493  # in an infinite loop.  This has already happened in practice.
     494  _as_can_reexec=no; export _as_can_reexec
    455495  # Don't try to exec as it changes $[0], causing all sort of problems
    456496  # (the dirname of $[0] is not the place where we might find the
     
    487527    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    488528    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    489     # In both cases, we have to default to `cp -p'.
     529    # In both cases, we have to default to `cp -pR'.
    490530    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    491       as_ln_s='cp -p'
     531      as_ln_s='cp -pR'
    492532  elif ln conf$$.file conf$$ 2>/dev/null; then
    493533    as_ln_s=ln
    494534  else
    495     as_ln_s='cp -p'
     535    as_ln_s='cp -pR'
    496536  fi
    497537else
    498   as_ln_s='cp -p'
     538  as_ln_s='cp -pR'
    499539fi
    500540rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     
    508548fi
    509549
    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
     550as_test_x='test -x'
     551as_executable_p=as_fn_executable_p
    532552
    533553# Sed expression to map a string onto a valid CPP name.
     
    718738oldincludedir
    719739includedir
     740runstatedir
    720741localstatedir
    721742sharedstatedir
     
    803824sharedstatedir='${prefix}/com'
    804825localstatedir='${prefix}/var'
     826runstatedir='${localstatedir}/run'
    805827includedir='${prefix}/include'
    806828oldincludedir='/usr/include'
     
    10551077    silent=yes ;;
    10561078
     1079  -runstatedir | --runstatedir | --runstatedi | --runstated \
     1080  | --runstate | --runstat | --runsta | --runst | --runs \
     1081  | --run | --ru | --r)
     1082    ac_prev=runstatedir ;;
     1083  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
     1084  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
     1085  | --run=* | --ru=* | --r=*)
     1086    runstatedir=$ac_optarg ;;
     1087
    10571088  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    10581089    ac_prev=sbindir ;;
     
    11921223                datadir sysconfdir sharedstatedir localstatedir includedir \
    11931224                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
    1194                 libdir localedir mandir
     1225                libdir localedir mandir runstatedir
    11951226do
    11961227  eval ac_val=\$$ac_var
     
    12201251  if test "x$build_alias" = x; then
    12211252    cross_compiling=maybe
    1222     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
    1223     If a cross compiler is detected then cross compile mode will be used" >&2
    12241253  elif test "x$build_alias" != "x$host_alias"; then
    12251254    cross_compiling=yes
     
    13471376  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
    13481377  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
     1378  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
    13491379  --libdir=DIR            object code libraries [EPREFIX/lib]
    13501380  --includedir=DIR        C header files [PREFIX/include]
     
    13851415  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    13861416  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    1387   --enable-silent-rules          less verbose build output (undo: `make V=1')
    1388   --disable-silent-rules         verbose build output (undo: `make V=0')
    1389   --disable-maintainer-mode  disable make rules and dependencies not useful
    1390                           (and sometimes confusing) to the casual installer
     1417  --enable-silent-rules   less verbose build output (undo: "make V=1")
     1418  --disable-silent-rules  verbose build output (undo: "make V=0")
     1419  --disable-maintainer-mode
     1420                          disable make rules and dependencies not useful (and
     1421                          sometimes confusing) to the casual installer
    13911422  --enable-target-release Build and install the release target
    13921423  --enable-target-debug   Build and install the debug target
    13931424  --enable-threading      Build and install libcfa with threading support
    13941425                          (Enabled by default)
    1395   --disable-dependency-tracking  speeds up one-time build
    1396   --enable-dependency-tracking   do not reject slow dependency extractors
     1426  --enable-dependency-tracking
     1427                          do not reject slow dependency extractors
     1428  --disable-dependency-tracking
     1429                          speeds up one-time build
    13971430
    13981431Optional Packages:
     
    14891522  cat <<\_ACEOF
    14901523cfa-cc configure 1.0.0.0
    1491 generated by GNU Autoconf 2.68
    1492 
    1493 Copyright (C) 2010 Free Software Foundation, Inc.
     1524generated by GNU Autoconf 2.69
     1525
     1526Copyright (C) 2012 Free Software Foundation, Inc.
    14941527This configure script is free software; the Free Software Foundation
    14951528gives unlimited permission to copy, distribute and modify it.
     
    16051638       } && test -s conftest$ac_exeext && {
    16061639         test "$cross_compiling" = yes ||
    1607          $as_test_x conftest$ac_exeext
     1640         test -x conftest$ac_exeext
    16081641       }; then :
    16091642  ac_retval=0
     
    19712004{
    19722005static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
    1973 test_array [0] = 0
     2006test_array [0] = 0;
     2007return test_array [0];
    19742008
    19752009  ;
     
    19872021static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
    19882022                 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
    1989 test_array [0] = 0
     2023test_array [0] = 0;
     2024return test_array [0];
    19902025
    19912026  ;
     
    20442079{
    20452080static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
    2046 test_array [0] = 0
     2081test_array [0] = 0;
     2082return test_array [0];
    20472083
    20482084  ;
     
    20772113
    20782114It was created by cfa-cc $as_me 1.0.0.0, which was
    2079 generated by GNU Autoconf 2.68.  Invocation command line was
     2115generated by GNU Autoconf 2.69.  Invocation command line was
    20802116
    20812117  $ $0 $@
     
    24612497fi
    24622498
    2463 case $enable_silent_rules in
    2464 yes) AM_DEFAULT_VERBOSITY=0;;
    2465 no) AM_DEFAULT_VERBOSITY=1;;
    2466 *)  AM_DEFAULT_VERBOSITY=1;;
     2499case $enable_silent_rules in # (((
     2500  yes) AM_DEFAULT_VERBOSITY=0;;
     2501   no) AM_DEFAULT_VERBOSITY=1;;
     2502    *) AM_DEFAULT_VERBOSITY=1;;
    24672503esac
    24682504am_make=${MAKE-make}
     
    24962532
    24972533
    2498 am__api_version='1.11'
     2534am__api_version='1.15'
    24992535
    25002536# Find a good install program.  We prefer a C program (faster),
     
    25352571    for ac_prog in ginstall scoinst install; do
    25362572      for ac_exec_ext in '' $ac_executable_extensions; do
    2537         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
     2573        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    25382574          if test $ac_prog = install &&
    25392575            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    25932629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
    25942630$as_echo_n "checking whether build environment is sane... " >&6; }
    2595 # Just in case
    2596 sleep 1
    2597 echo timestamp > conftest.file
    25982631# Reject unsafe characters in $srcdir or the absolute working directory
    25992632# name.  Accept space and tab only in the latter.
     
    26062639case $srcdir in
    26072640  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
    2608     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
     2641    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
    26092642esac
    26102643
    2611 # Do `set' in a subshell so we don't clobber the current shell's
     2644# Do 'set' in a subshell so we don't clobber the current shell's
    26122645# arguments.  Must try -L first in case configure is actually a
    26132646# symlink; some systems play weird games with the mod time of symlinks
     
    26152648# directory).
    26162649if (
    2617    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
    2618    if test "$*" = "X"; then
    2619       # -L didn't work.
    2620       set X `ls -t "$srcdir/configure" conftest.file`
    2621    fi
    2622    rm -f conftest.file
    2623    if test "$*" != "X $srcdir/configure conftest.file" \
    2624       && test "$*" != "X conftest.file $srcdir/configure"; then
    2625 
    2626       # If neither matched, then we have a broken ls.  This can happen
    2627       # if, for instance, CONFIG_SHELL is bash and it inherits a
    2628       # broken ls alias from the environment.  This has actually
    2629       # happened.  Such a system could not be considered "sane".
    2630       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
    2631 alias in your environment" "$LINENO" 5
    2632    fi
    2633 
     2650   am_has_slept=no
     2651   for am_try in 1 2; do
     2652     echo "timestamp, slept: $am_has_slept" > conftest.file
     2653     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
     2654     if test "$*" = "X"; then
     2655        # -L didn't work.
     2656        set X `ls -t "$srcdir/configure" conftest.file`
     2657     fi
     2658     if test "$*" != "X $srcdir/configure conftest.file" \
     2659        && test "$*" != "X conftest.file $srcdir/configure"; then
     2660
     2661        # If neither matched, then we have a broken ls.  This can happen
     2662        # if, for instance, CONFIG_SHELL is bash and it inherits a
     2663        # broken ls alias from the environment.  This has actually
     2664        # happened.  Such a system could not be considered "sane".
     2665        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
     2666  alias in your environment" "$LINENO" 5
     2667     fi
     2668     if test "$2" = conftest.file || test $am_try -eq 2; then
     2669       break
     2670     fi
     2671     # Just in case.
     2672     sleep 1
     2673     am_has_slept=yes
     2674   done
    26342675   test "$2" = conftest.file
    26352676   )
     
    26432684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    26442685$as_echo "yes" >&6; }
     2686# If we didn't sleep, we still need to ensure time stamps of config.status and
     2687# generated files are strictly newer.
     2688am_sleep_pid=
     2689if grep 'slept: no' conftest.file >/dev/null 2>&1; then
     2690  ( sleep 1 ) &
     2691  am_sleep_pid=$!
     2692fi
     2693
     2694rm -f conftest.file
     2695
    26452696test "$program_prefix" != NONE &&
    26462697  program_transform_name="s&^&$program_prefix&;$program_transform_name"
     
    26532704program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
    26542705
    2655 # expand $ac_aux_dir to an absolute path
    2656 am_aux_dir=`cd $ac_aux_dir && pwd`
     2706# Expand $ac_aux_dir to an absolute path.
     2707am_aux_dir=`cd "$ac_aux_dir" && pwd`
    26572708
    26582709if test x"${MISSING+set}" != xset; then
     
    26652716fi
    26662717# Use eval to expand $SHELL
    2667 if eval "$MISSING --run true"; then
    2668   am_missing_run="$MISSING --run "
     2718if eval "$MISSING --is-lightweight"; then
     2719  am_missing_run="$MISSING "
    26692720else
    26702721  am_missing_run=
    2671   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
    2672 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
    2673 fi
    2674 
    2675 if test x"${install_sh}" != xset; then
     2722  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
     2723$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
     2724fi
     2725
     2726if test x"${install_sh+set}" != xset; then
    26762727  case $am_aux_dir in
    26772728  *\ * | *\     *)
     
    26822733fi
    26832734
    2684 # Installed binaries are usually stripped using `strip' when the user
    2685 # run `make install-strip'.  However `strip' might not be the right
     2735# Installed binaries are usually stripped using 'strip' when the user
     2736# run "make install-strip".  However 'strip' might not be the right
    26862737# tool to use in cross-compilation environments, therefore Automake
    2687 # will honor the `STRIP' environment variable to overrule this program.
     2738# will honor the 'STRIP' environment variable to overrule this program.
    26882739if test "$cross_compiling" != no; then
    26892740  if test -n "$ac_tool_prefix"; then
     
    27042755  test -z "$as_dir" && as_dir=.
    27052756    for ac_exec_ext in '' $ac_executable_extensions; do
    2706   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2757  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    27072758    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
    27082759    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    27442795  test -z "$as_dir" && as_dir=.
    27452796    for ac_exec_ext in '' $ac_executable_extensions; do
    2746   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2797  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    27472798    ac_cv_prog_ac_ct_STRIP="strip"
    27482799    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    27952846    for ac_prog in mkdir gmkdir; do
    27962847         for ac_exec_ext in '' $ac_executable_extensions; do
    2797            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
     2848           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
    27982849           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
    27992850             'mkdir (GNU coreutils) '* | \
     
    28242875$as_echo "$MKDIR_P" >&6; }
    28252876
    2826 mkdir_p="$MKDIR_P"
    2827 case $mkdir_p in
    2828   [\\/$]* | ?:[\\/]*) ;;
    2829   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
    2830 esac
    2831 
    28322877for ac_prog in gawk mawk nawk awk
    28332878do
     
    28482893  test -z "$as_dir" && as_dir=.
    28492894    for ac_exec_ext in '' $ac_executable_extensions; do
    2850   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2895  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    28512896    ac_cv_prog_AWK="$ac_prog"
    28522897    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    29623007MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
    29633008
    2964 # We need awk for the "check" target.  The system "awk" is bad on
    2965 # some platforms.
     3009# For better backward compatibility.  To be removed once Automake 1.9.x
     3010# dies out for good.  For more background, see:
     3011# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
     3012# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
     3013mkdir_p='$(MKDIR_P)'
     3014
     3015# We need awk for the "check" target (and possibly the TAP driver).  The
     3016# system "awk" is bad on some platforms.
    29663017# Always define AMTAR for backward compatibility.  Yes, it's still used
    29673018# in the wild :-(  We should find a proper way to deprecate it ...
    29683019AMTAR='$${TAR-tar}'
    29693020
     3021
     3022# We'll loop over all known methods to create a tar archive until one works.
     3023_am_tools='gnutar  pax cpio none'
     3024
    29703025am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
    29713026
     
    29733028
    29743029
     3030
     3031
     3032# POSIX will say in a future version that running "rm -f" with no argument
     3033# is OK; and we want to be able to make that assumption in our Makefile
     3034# recipes.  So use an aggressive probe to check that the usage we want is
     3035# actually supported "in the wild" to an acceptable degree.
     3036# See automake bug#10828.
     3037# To make any issue more visible, cause the running configure to be aborted
     3038# by default if the 'rm' program in use doesn't match our expectations; the
     3039# user can still override this though.
     3040if rm -f && rm -fr && rm -rf; then : OK; else
     3041  cat >&2 <<'END'
     3042Oops!
     3043
     3044Your 'rm' program seems unable to run without file operands specified
     3045on the command line, even when the '-f' option is present.  This is contrary
     3046to the behaviour of most rm programs out there, and not conforming with
     3047the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
     3048
     3049Please tell bug-automake@gnu.org about your system, including the value
     3050of your $PATH and any error possibly output before this message.  This
     3051can help us improve future automake versions.
     3052
     3053END
     3054  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
     3055    echo 'Configuration will proceed anyway, since you have set the' >&2
     3056    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
     3057    echo >&2
     3058  else
     3059    cat >&2 <<'END'
     3060Aborting the configuration process, to ensure you take notice of the issue.
     3061
     3062You can download and install GNU coreutils to get an 'rm' implementation
     3063that behaves properly: <http://www.gnu.org/software/coreutils/>.
     3064
     3065If you want to complete the configuration process using your problematic
     3066'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
     3067to "yes", and re-run configure.
     3068
     3069END
     3070    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
     3071  fi
     3072fi
    29753073
    29763074
     
    31023200  test -z "$as_dir" && as_dir=.
    31033201    for ac_exec_ext in '' $ac_executable_extensions; do
    3104   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3202  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    31053203    ac_cv_path_BACKEND_CC="$as_dir/$ac_word$ac_exec_ext"
    31063204    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    34303528  test -z "$as_dir" && as_dir=.
    34313529    for ac_exec_ext in '' $ac_executable_extensions; do
    3432   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3530  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    34333531    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    34343532    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    34743572  test -z "$as_dir" && as_dir=.
    34753573    for ac_exec_ext in '' $ac_executable_extensions; do
    3476   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3574  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    34773575    ac_cv_prog_ac_ct_CXX="$ac_prog"
    34783576    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    39274025# First try GNU make style include.
    39284026echo "include confinc" > confmf
    3929 # Ignore all kinds of additional output from `make'.
     4027# Ignore all kinds of additional output from 'make'.
    39304028case `$am_make -s -f confmf 2> /dev/null` in #(
    39314029*the\ am__doit\ target*)
     
    39834081  # making bogus files that we don't know about and never remove.  For
    39844082  # instance it was reported that on HP-UX the gcc test will end up
    3985   # making a dummy file named `D' -- because `-MD' means `put the output
    3986   # in D'.
     4083  # making a dummy file named 'D' -- because '-MD' means "put the output
     4084  # in D".
    39874085  rm -rf conftest.dir
    39884086  mkdir conftest.dir
     
    40194117    for i in 1 2 3 4 5 6; do
    40204118      echo '#include "conftst'$i'.h"' >> sub/conftest.c
    4021       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
    4022       # Solaris 8's {/usr,}/bin/sh.
    4023       touch sub/conftst$i.h
     4119      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
     4120      # Solaris 10 /bin/sh.
     4121      echo '/* dummy */' > sub/conftst$i.h
    40244122    done
    40254123    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
    40264124
    4027     # We check with `-c' and `-o' for the sake of the "dashmstdout"
     4125    # We check with '-c' and '-o' for the sake of the "dashmstdout"
    40284126    # mode.  It turns out that the SunPro C++ compiler does not properly
    4029     # handle `-M -o', and we need to detect this.  Also, some Intel
    4030     # versions had trouble with output in subdirs
     4127    # handle '-M -o', and we need to detect this.  Also, some Intel
     4128    # versions had trouble with output in subdirs.
    40314129    am__obj=sub/conftest.${OBJEXT-o}
    40324130    am__minus_obj="-o $am__obj"
     
    40374135      ;;
    40384136    nosideeffect)
    4039       # after this tag, mechanisms are not by side-effect, so they'll
    4040       # only be used when explicitly requested
     4137      # After this tag, mechanisms are not by side-effect, so they'll
     4138      # only be used when explicitly requested.
    40414139      if test "x$enable_dependency_tracking" = xyes; then
    40424140        continue
     
    40464144      ;;
    40474145    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
    4048       # This compiler won't grok `-c -o', but also, the minuso test has
     4146      # This compiler won't grok '-c -o', but also, the minuso test has
    40494147      # not run yet.  These depmodes are late enough in the game, and
    40504148      # so weak that their functioning should not be impacted.
     
    41224220  test -z "$as_dir" && as_dir=.
    41234221    for ac_exec_ext in '' $ac_executable_extensions; do
    4124   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4222  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    41254223    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    41264224    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    41624260  test -z "$as_dir" && as_dir=.
    41634261    for ac_exec_ext in '' $ac_executable_extensions; do
    4164   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4262  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    41654263    ac_cv_prog_ac_ct_CC="gcc"
    41664264    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    42154313  test -z "$as_dir" && as_dir=.
    42164314    for ac_exec_ext in '' $ac_executable_extensions; do
    4217   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4315  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    42184316    ac_cv_prog_CC="${ac_tool_prefix}cc"
    42194317    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    42564354  test -z "$as_dir" && as_dir=.
    42574355    for ac_exec_ext in '' $ac_executable_extensions; do
    4258   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4356  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    42594357    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    42604358       ac_prog_rejected=yes
     
    43144412  test -z "$as_dir" && as_dir=.
    43154413    for ac_exec_ext in '' $ac_executable_extensions; do
    4316   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4414  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    43174415    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    43184416    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    43584456  test -z "$as_dir" && as_dir=.
    43594457    for ac_exec_ext in '' $ac_executable_extensions; do
    4360   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4458  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    43614459    ac_cv_prog_ac_ct_CC="$ac_prog"
    43624460    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    45544652#include <stdarg.h>
    45554653#include <stdio.h>
    4556 #include <sys/types.h>
    4557 #include <sys/stat.h>
     4654struct stat;
    45584655/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    45594656struct buf { int x; };
     
    46404737ac_compiler_gnu=$ac_cv_c_compiler_gnu
    46414738
     4739ac_ext=c
     4740ac_cpp='$CPP $CPPFLAGS'
     4741ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4742ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4743ac_compiler_gnu=$ac_cv_c_compiler_gnu
     4744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
     4745$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
     4746if ${am_cv_prog_cc_c_o+:} false; then :
     4747  $as_echo_n "(cached) " >&6
     4748else
     4749  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4750/* end confdefs.h.  */
     4751
     4752int
     4753main ()
     4754{
     4755
     4756  ;
     4757  return 0;
     4758}
     4759_ACEOF
     4760  # Make sure it works both with $CC and with simple cc.
     4761  # Following AC_PROG_CC_C_O, we do the test twice because some
     4762  # compilers refuse to overwrite an existing .o file with -o,
     4763  # though they will create one.
     4764  am_cv_prog_cc_c_o=yes
     4765  for am_i in 1 2; do
     4766    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
     4767   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
     4768   ac_status=$?
     4769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4770   (exit $ac_status); } \
     4771         && test -f conftest2.$ac_objext; then
     4772      : OK
     4773    else
     4774      am_cv_prog_cc_c_o=no
     4775      break
     4776    fi
     4777  done
     4778  rm -f core conftest*
     4779  unset am_i
     4780fi
     4781{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
     4782$as_echo "$am_cv_prog_cc_c_o" >&6; }
     4783if test "$am_cv_prog_cc_c_o" != yes; then
     4784   # Losing compiler, so override with the script.
     4785   # FIXME: It is wrong to rewrite CC.
     4786   # But if we don't then we get into trouble of one sort or another.
     4787   # A longer-term fix would be to have automake use am__CC in this case,
     4788   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
     4789   CC="$am_aux_dir/compile $CC"
     4790fi
     4791ac_ext=c
     4792ac_cpp='$CPP $CPPFLAGS'
     4793ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4794ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4795ac_compiler_gnu=$ac_cv_c_compiler_gnu
     4796
     4797
    46424798depcc="$CC"   am_compiler_list=
    46434799
     
    46514807  # making bogus files that we don't know about and never remove.  For
    46524808  # instance it was reported that on HP-UX the gcc test will end up
    4653   # making a dummy file named `D' -- because `-MD' means `put the output
    4654   # in D'.
     4809  # making a dummy file named 'D' -- because '-MD' means "put the output
     4810  # in D".
    46554811  rm -rf conftest.dir
    46564812  mkdir conftest.dir
     
    46874843    for i in 1 2 3 4 5 6; do
    46884844      echo '#include "conftst'$i'.h"' >> sub/conftest.c
    4689       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
    4690       # Solaris 8's {/usr,}/bin/sh.
    4691       touch sub/conftst$i.h
     4845      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
     4846      # Solaris 10 /bin/sh.
     4847      echo '/* dummy */' > sub/conftst$i.h
    46924848    done
    46934849    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
    46944850
    4695     # We check with `-c' and `-o' for the sake of the "dashmstdout"
     4851    # We check with '-c' and '-o' for the sake of the "dashmstdout"
    46964852    # mode.  It turns out that the SunPro C++ compiler does not properly
    4697     # handle `-M -o', and we need to detect this.  Also, some Intel
    4698     # versions had trouble with output in subdirs
     4853    # handle '-M -o', and we need to detect this.  Also, some Intel
     4854    # versions had trouble with output in subdirs.
    46994855    am__obj=sub/conftest.${OBJEXT-o}
    47004856    am__minus_obj="-o $am__obj"
     
    47054861      ;;
    47064862    nosideeffect)
    4707       # after this tag, mechanisms are not by side-effect, so they'll
    4708       # only be used when explicitly requested
     4863      # After this tag, mechanisms are not by side-effect, so they'll
     4864      # only be used when explicitly requested.
    47094865      if test "x$enable_dependency_tracking" = xyes; then
    47104866        continue
     
    47144870      ;;
    47154871    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
    4716       # This compiler won't grok `-c -o', but also, the minuso test has
     4872      # This compiler won't grok '-c -o', but also, the minuso test has
    47174873      # not run yet.  These depmodes are late enough in the game, and
    47184874      # so weak that their functioning should not be impacted.
     
    47864942  # making bogus files that we don't know about and never remove.  For
    47874943  # instance it was reported that on HP-UX the gcc test will end up
    4788   # making a dummy file named `D' -- because `-MD' means `put the output
    4789   # in D'.
     4944  # making a dummy file named 'D' -- because '-MD' means "put the output
     4945  # in D".
    47904946  rm -rf conftest.dir
    47914947  mkdir conftest.dir
     
    48204976    for i in 1 2 3 4 5 6; do
    48214977      echo '#include "conftst'$i'.h"' >> sub/conftest.c
    4822       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
    4823       # Solaris 8's {/usr,}/bin/sh.
    4824       touch sub/conftst$i.h
     4978      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
     4979      # Solaris 10 /bin/sh.
     4980      echo '/* dummy */' > sub/conftst$i.h
    48254981    done
    48264982    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
    48274983
    4828     # We check with `-c' and `-o' for the sake of the "dashmstdout"
     4984    # We check with '-c' and '-o' for the sake of the "dashmstdout"
    48294985    # mode.  It turns out that the SunPro C++ compiler does not properly
    4830     # handle `-M -o', and we need to detect this.  Also, some Intel
    4831     # versions had trouble with output in subdirs
     4986    # handle '-M -o', and we need to detect this.  Also, some Intel
     4987    # versions had trouble with output in subdirs.
    48324988    am__obj=sub/conftest.${OBJEXT-o}
    48334989    am__minus_obj="-o $am__obj"
     
    48384994      ;;
    48394995    nosideeffect)
    4840       # after this tag, mechanisms are not by side-effect, so they'll
    4841       # only be used when explicitly requested
     4996      # After this tag, mechanisms are not by side-effect, so they'll
     4997      # only be used when explicitly requested.
    48424998      if test "x$enable_dependency_tracking" = xyes; then
    48434999        continue
     
    48475003      ;;
    48485004    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
    4849       # This compiler won't grok `-c -o', but also, the minuso test has
     5005      # This compiler won't grok '-c -o', but also, the minuso test has
    48505006      # not run yet.  These depmodes are late enough in the game, and
    48515007      # so weak that their functioning should not be impacted.
     
    49015057
    49025058
    4903 if test "x$CC" != xcc; then
    4904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
    4905 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
    4906 else
    4907   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
    4908 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
    4909 fi
    4910 set dummy $CC; ac_cc=`$as_echo "$2" |
    4911                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
    4912 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
    4913   $as_echo_n "(cached) " >&6
    4914 else
    4915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    4916 /* end confdefs.h.  */
    4917 
    4918 int
    4919 main ()
    4920 {
    4921 
    4922   ;
    4923   return 0;
    4924 }
    4925 _ACEOF
    4926 # Make sure it works both with $CC and with simple cc.
    4927 # We do the test twice because some compilers refuse to overwrite an
    4928 # existing .o file with -o, though they will create one.
    4929 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
    4930 rm -f conftest2.*
    4931 if { { case "(($ac_try" in
    4932   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4933   *) ac_try_echo=$ac_try;;
    4934 esac
    4935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    4936 $as_echo "$ac_try_echo"; } >&5
    4937   (eval "$ac_try") 2>&5
    4938   ac_status=$?
    4939   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    4940   test $ac_status = 0; } &&
    4941    test -f conftest2.$ac_objext && { { case "(($ac_try" in
    4942   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4943   *) ac_try_echo=$ac_try;;
    4944 esac
    4945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    4946 $as_echo "$ac_try_echo"; } >&5
    4947   (eval "$ac_try") 2>&5
    4948   ac_status=$?
    4949   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    4950   test $ac_status = 0; };
    4951 then
    4952   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
    4953   if test "x$CC" != xcc; then
    4954     # Test first that cc exists at all.
    4955     if { ac_try='cc -c conftest.$ac_ext >&5'
    4956   { { case "(($ac_try" in
    4957   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4958   *) ac_try_echo=$ac_try;;
    4959 esac
    4960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    4961 $as_echo "$ac_try_echo"; } >&5
    4962   (eval "$ac_try") 2>&5
    4963   ac_status=$?
    4964   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    4965   test $ac_status = 0; }; }; then
    4966       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
    4967       rm -f conftest2.*
    4968       if { { case "(($ac_try" in
    4969   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4970   *) ac_try_echo=$ac_try;;
    4971 esac
    4972 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    4973 $as_echo "$ac_try_echo"; } >&5
    4974   (eval "$ac_try") 2>&5
    4975   ac_status=$?
    4976   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    4977   test $ac_status = 0; } &&
    4978          test -f conftest2.$ac_objext && { { case "(($ac_try" in
    4979   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4980   *) ac_try_echo=$ac_try;;
    4981 esac
    4982 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    4983 $as_echo "$ac_try_echo"; } >&5
    4984   (eval "$ac_try") 2>&5
    4985   ac_status=$?
    4986   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    4987   test $ac_status = 0; };
    4988       then
    4989         # cc works too.
    4990         :
    4991       else
    4992         # cc exists but doesn't like -o.
    4993         eval ac_cv_prog_cc_${ac_cc}_c_o=no
    4994       fi
    4995     fi
    4996   fi
    4997 else
    4998   eval ac_cv_prog_cc_${ac_cc}_c_o=no
    4999 fi
    5000 rm -f core conftest*
    5001 
    5002 fi
    5003 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
    5004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    5005 $as_echo "yes" >&6; }
    5006 else
    5007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5008 $as_echo "no" >&6; }
    5009 
    5010 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
    5011 
    5012 fi
    5013 
    5014 # FIXME: we rely on the cache variable name because
    5015 # there is no other way.
    5016 set dummy $CC
    5017 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
    5018 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
    5019 if test "$am_t" != yes; then
    5020    # Losing compiler, so override with the script.
    5021    # FIXME: It is wrong to rewrite CC.
    5022    # But if we don't then we get into trouble of one sort or another.
    5023    # A longer-term fix would be to have automake use am__CC in this case,
    5024    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
    5025    CC="$am_aux_dir/compile $CC"
    5026 fi
    5027 
    50285059        # deprecated
    50295060# These are often not installed and people miss seeing the "no", so stop the configure.
     
    50465077  test -z "$as_dir" && as_dir=.
    50475078    for ac_exec_ext in '' $ac_executable_extensions; do
    5048   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     5079  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    50495080    ac_cv_prog_YACC="$ac_prog"
    50505081    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    50915122  test -z "$as_dir" && as_dir=.
    50925123    for ac_exec_ext in '' $ac_executable_extensions; do
    5093   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     5124  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    50945125    ac_cv_prog_LEX="$ac_prog"
    50955126    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    51235154c { yymore (); }
    51245155d { yyless (1); }
    5125 e { yyless (input () != 0); }
     5156e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
     5157    yyless ((input () != 0)); }
    51265158f { unput (yytext[0]); }
    51275159. { BEGIN INITIAL; }
     
    52815313  test -z "$as_dir" && as_dir=.
    52825314    for ac_exec_ext in '' $ac_executable_extensions; do
    5283   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     5315  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    52845316    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    52855317    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    53215353  test -z "$as_dir" && as_dir=.
    53225354    for ac_exec_ext in '' $ac_executable_extensions; do
    5323   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     5355  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    53245356    ac_cv_prog_ac_ct_RANLIB="ranlib"
    53255357    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    55145546    for ac_exec_ext in '' $ac_executable_extensions; do
    55155547      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    5516       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     5548      as_fn_executable_p "$ac_path_GREP" || continue
    55175549# Check for GNU ac_path_GREP and select it if it is found.
    55185550  # Check for GNU $ac_path_GREP
     
    55805612    for ac_exec_ext in '' $ac_executable_extensions; do
    55815613      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    5582       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     5614      as_fn_executable_p "$ac_path_EGREP" || continue
    55835615# Check for GNU ac_path_EGREP and select it if it is found.
    55845616  # Check for GNU $ac_path_EGREP
     
    59195951$ac_includes_default
    59205952int
    5921 find_stack_direction ()
     5953find_stack_direction (int *addr, int depth)
    59225954{
    5923   static char *addr = 0;
    5924   auto char dummy;
    5925   if (addr == 0)
    5926     {
    5927       addr = &dummy;
    5928       return find_stack_direction ();
    5929     }
    5930   else
    5931     return (&dummy > addr) ? 1 : -1;
     5955  int dir, dummy = 0;
     5956  if (! addr)
     5957    addr = &dummy;
     5958  *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
     5959  dir = depth ? find_stack_direction (addr, depth - 1) : 0;
     5960  return dir + dummy;
    59325961}
    59335962
    59345963int
    5935 main ()
     5964main (int argc, char **argv)
    59365965{
    5937   return find_stack_direction () < 0;
     5966  return find_stack_direction (0, argc + !argv + 20) < 0;
    59385967}
    59395968_ACEOF
     
    59806009/* end confdefs.h.  */
    59816010
    5982 #include <stdbool.h>
    5983 #ifndef bool
    5984  "error: bool is not defined"
    5985 #endif
    5986 #ifndef false
    5987  "error: false is not defined"
    5988 #endif
    5989 #if false
    5990  "error: false is not 0"
    5991 #endif
    5992 #ifndef true
    5993  "error: true is not defined"
    5994 #endif
    5995 #if true != 1
    5996  "error: true is not 1"
    5997 #endif
    5998 #ifndef __bool_true_false_are_defined
    5999  "error: __bool_true_false_are_defined is not defined"
    6000 #endif
    6001 
    6002         struct s { _Bool s: 1; _Bool t; } s;
    6003 
    6004         char a[true == 1 ? 1 : -1];
    6005         char b[false == 0 ? 1 : -1];
    6006         char c[__bool_true_false_are_defined == 1 ? 1 : -1];
    6007         char d[(bool) 0.5 == true ? 1 : -1];
    6008         /* See body of main program for 'e'.  */
    6009         char f[(_Bool) 0.0 == false ? 1 : -1];
    6010         char g[true];
    6011         char h[sizeof (_Bool)];
    6012         char i[sizeof s.t];
    6013         enum { j = false, k = true, l = false * true, m = true * 256 };
    6014         /* The following fails for
    6015            HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
    6016         _Bool n[m];
    6017         char o[sizeof n == m * sizeof n[0] ? 1 : -1];
    6018         char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
    6019         /* Catch a bug in an HP-UX C compiler.  See
    6020            http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
    6021            http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
    6022         */
    6023         _Bool q = true;
    6024         _Bool *pq = &q;
     6011             #include <stdbool.h>
     6012             #ifndef bool
     6013              "error: bool is not defined"
     6014             #endif
     6015             #ifndef false
     6016              "error: false is not defined"
     6017             #endif
     6018             #if false
     6019              "error: false is not 0"
     6020             #endif
     6021             #ifndef true
     6022              "error: true is not defined"
     6023             #endif
     6024             #if true != 1
     6025              "error: true is not 1"
     6026             #endif
     6027             #ifndef __bool_true_false_are_defined
     6028              "error: __bool_true_false_are_defined is not defined"
     6029             #endif
     6030
     6031             struct s { _Bool s: 1; _Bool t; } s;
     6032
     6033             char a[true == 1 ? 1 : -1];
     6034             char b[false == 0 ? 1 : -1];
     6035             char c[__bool_true_false_are_defined == 1 ? 1 : -1];
     6036             char d[(bool) 0.5 == true ? 1 : -1];
     6037             /* See body of main program for 'e'.  */
     6038             char f[(_Bool) 0.0 == false ? 1 : -1];
     6039             char g[true];
     6040             char h[sizeof (_Bool)];
     6041             char i[sizeof s.t];
     6042             enum { j = false, k = true, l = false * true, m = true * 256 };
     6043             /* The following fails for
     6044                HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
     6045             _Bool n[m];
     6046             char o[sizeof n == m * sizeof n[0] ? 1 : -1];
     6047             char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
     6048             /* Catch a bug in an HP-UX C compiler.  See
     6049                http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
     6050                http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
     6051              */
     6052             _Bool q = true;
     6053             _Bool *pq = &q;
    60256054
    60266055int
     
    60286057{
    60296058
    6030         bool e = &s;
    6031         *pq |= q;
    6032         *pq |= ! q;
    6033         /* Refer to every declared value, to avoid compiler optimizations.  */
    6034         return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
    6035                 + !m + !n + !o + !p + !q + !pq);
     6059             bool e = &s;
     6060             *pq |= q;
     6061             *pq |= ! q;
     6062             /* Refer to every declared value, to avoid compiler optimizations.  */
     6063             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
     6064                     + !m + !n + !o + !p + !q + !pq);
    60366065
    60376066  ;
     
    60486077{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
    60496078$as_echo "$ac_cv_header_stdbool_h" >&6; }
    6050 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
     6079   ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
    60516080if test "x$ac_cv_type__Bool" = xyes; then :
    60526081
     
    60576086
    60586087fi
     6088
    60596089
    60606090if test $ac_cv_header_stdbool_h = yes; then
     
    63636393
    63646394
     6395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
     6396$as_echo_n "checking that generated files are newer than configure... " >&6; }
     6397   if test -n "$am_sleep_pid"; then
     6398     # Hide warnings about reused PIDs.
     6399     wait $am_sleep_pid 2>/dev/null
     6400   fi
     6401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
     6402$as_echo "done" >&6; }
    63656403 if test -n "$EXEEXT"; then
    63666404  am__EXEEXT_TRUE=
     
    67056743    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    67066744    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    6707     # In both cases, we have to default to `cp -p'.
     6745    # In both cases, we have to default to `cp -pR'.
    67086746    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    6709       as_ln_s='cp -p'
     6747      as_ln_s='cp -pR'
    67106748  elif ln conf$$.file conf$$ 2>/dev/null; then
    67116749    as_ln_s=ln
    67126750  else
    6713     as_ln_s='cp -p'
     6751    as_ln_s='cp -pR'
    67146752  fi
    67156753else
    6716   as_ln_s='cp -p'
     6754  as_ln_s='cp -pR'
    67176755fi
    67186756rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     
    67746812fi
    67756813
    6776 if test -x / >/dev/null 2>&1; then
    6777   as_test_x='test -x'
    6778 else
    6779   if ls -dL / >/dev/null 2>&1; then
    6780     as_ls_L_option=L
    6781   else
    6782     as_ls_L_option=
    6783   fi
    6784   as_test_x='
    6785     eval sh -c '\''
    6786       if test -d "$1"; then
    6787         test -d "$1/.";
    6788       else
    6789         case $1 in #(
    6790         -*)set "./$1";;
    6791         esac;
    6792         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    6793         ???[sx]*):;;*)false;;esac;fi
    6794     '\'' sh
    6795   '
    6796 fi
    6797 as_executable_p=$as_test_x
     6814
     6815# as_fn_executable_p FILE
     6816# -----------------------
     6817# Test if FILE is an executable regular file.
     6818as_fn_executable_p ()
     6819{
     6820  test -f "$1" && test -x "$1"
     6821} # as_fn_executable_p
     6822as_test_x='test -x'
     6823as_executable_p=as_fn_executable_p
    67986824
    67996825# Sed expression to map a string onto a valid CPP name.
     
    68176843ac_log="
    68186844This file was extended by cfa-cc $as_me 1.0.0.0, which was
    6819 generated by GNU Autoconf 2.68.  Invocation command line was
     6845generated by GNU Autoconf 2.69.  Invocation command line was
    68206846
    68216847  CONFIG_FILES    = $CONFIG_FILES
     
    68836909ac_cs_version="\\
    68846910cfa-cc config.status 1.0.0.0
    6885 configured by $0, generated by GNU Autoconf 2.68,
     6911configured by $0, generated by GNU Autoconf 2.69,
    68866912  with options \\"\$ac_cs_config\\"
    68876913
    6888 Copyright (C) 2010 Free Software Foundation, Inc.
     6914Copyright (C) 2012 Free Software Foundation, Inc.
    68896915This config.status script is free software; the Free Software Foundation
    68906916gives unlimited permission to copy, distribute and modify it."
     
    69777003cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    69787004if \$ac_cs_recheck; then
    6979   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     7005  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    69807006  shift
    69817007  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
     
    76197645  case $ac_file$ac_mode in
    76207646    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
    7621   # Autoconf 2.62 quotes --file arguments for eval, but not when files
     7647  # Older Autoconf quotes --file arguments for eval, but not when files
    76227648  # are listed without --file.  Let's play safe and only enable the eval
    76237649  # if we detect the quoting.
     
    76327658    mf=`echo "$mf" | sed -e 's/:.*$//'`
    76337659    # Check whether this is an Automake generated Makefile or not.
    7634     # We used to match only the files named `Makefile.in', but
     7660    # We used to match only the files named 'Makefile.in', but
    76357661    # some people rename them; so instead we look at the file content.
    76367662    # Grep'ing the first line is not enough: some people post-process
     
    76667692    fi
    76677693    # Extract the definition of DEPDIR, am__include, and am__quote
    7668     # from the Makefile without running `make'.
     7694    # from the Makefile without running 'make'.
    76697695    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
    76707696    test -z "$DEPDIR" && continue
    76717697    am__include=`sed -n 's/^am__include = //p' < "$mf"`
    7672     test -z "am__include" && continue
     7698    test -z "$am__include" && continue
    76737699    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
    7674     # When using ansi2knr, U may be empty or an underscore; expand it
    7675     U=`sed -n 's/^U = //p' < "$mf"`
    76767700    # Find all dependency output files, they are included files with
    76777701    # $(DEPDIR) in their names.  We invoke sed twice because it is the
     
    76807704    for file in `sed -n "
    76817705      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
    7682          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
     7706         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
    76837707      # Make sure the directory exists.
    76847708      test -f "$dirpart/$file" && continue
Note: See TracChangeset for help on using the changeset viewer.