OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_36/] [or1ksim/] [configure] - Diff between revs 11 and 17

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 11 Rev 17
Line 9... Line 9...
 
 
# Defaults:
# Defaults:
ac_help=
ac_help=
ac_default_prefix=/usr/local
ac_default_prefix=/usr/local
# Any additions from configure.in:
# Any additions from configure.in:
 
ac_help="$ac_help
 
  --enable-readline       Use GNU readline"
 
 
# Initialize some variables set by options.
# Initialize some variables set by options.
# The variables have the same names as the options, with
# The variables have the same names as the options, with
# dashes changed to underlines.
# dashes changed to underlines.
build=NONE
build=NONE
Line 566... Line 568...
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
fi
fi
 
 
echo $ac_n "checking host system type""... $ac_c" 1>&6
echo $ac_n "checking host system type""... $ac_c" 1>&6
echo "configure:572: checking host system type" >&5
echo "configure:574: checking host system type" >&5
 
 
host_alias=$host
host_alias=$host
case "$host_alias" in
case "$host_alias" in
NONE)
NONE)
  case $nonopt in
  case $nonopt in
Line 587... Line 589...
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo "$ac_t""$host" 1>&6
echo "$ac_t""$host" 1>&6
 
 
echo $ac_n "checking target system type""... $ac_c" 1>&6
echo $ac_n "checking target system type""... $ac_c" 1>&6
echo "configure:593: checking target system type" >&5
echo "configure:595: checking target system type" >&5
 
 
target_alias=$target
target_alias=$target
case "$target_alias" in
case "$target_alias" in
NONE)
NONE)
  case $nonopt in
  case $nonopt in
Line 605... Line 607...
target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo "$ac_t""$target" 1>&6
echo "$ac_t""$target" 1>&6
 
 
echo $ac_n "checking build system type""... $ac_c" 1>&6
echo $ac_n "checking build system type""... $ac_c" 1>&6
echo "configure:611: checking build system type" >&5
echo "configure:613: checking build system type" >&5
 
 
build_alias=$build
build_alias=$build
case "$build_alias" in
case "$build_alias" in
NONE)
NONE)
  case $nonopt in
  case $nonopt in
Line 639... Line 641...
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
echo "configure:645: checking for a BSD compatible install" >&5
echo "configure:647: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
Line 692... Line 694...
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
 
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
 
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
echo "configure:698: checking whether build environment is sane" >&5
echo "configure:700: checking whether build environment is sane" >&5
# Just in case
# Just in case
sleep 1
sleep 1
echo timestamp > conftestfile
echo timestamp > conftestfile
# Do `set' in a subshell so we don't clobber the current shell's
# Do `set' in a subshell so we don't clobber the current shell's
# arguments.  Must try -L first in case configure is actually a
# arguments.  Must try -L first in case configure is actually a
Line 749... Line 751...
 
 
# sed with no file args requires a program.
# sed with no file args requires a program.
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
 
 
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
echo "configure:755: checking whether ${MAKE-make} sets \${MAKE}" >&5
echo "configure:757: checking whether ${MAKE-make} sets \${MAKE}" >&5
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  cat > conftestmake <<\EOF
  cat > conftestmake <<\EOF
Line 795... Line 797...
 
 
 
 
 
 
missing_dir=`cd $ac_aux_dir && pwd`
missing_dir=`cd $ac_aux_dir && pwd`
echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
echo "configure:801: checking for working aclocal" >&5
echo "configure:803: checking for working aclocal" >&5
# Run test in a subshell; some versions of sh will print an error if
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf.  Sigh.
# Redirect stdin to placate older versions of autoconf.  Sigh.
if (aclocal --version) < /dev/null > /dev/null 2>&1; then
if (aclocal --version) < /dev/null > /dev/null 2>&1; then
   ACLOCAL=aclocal
   ACLOCAL=aclocal
Line 808... Line 810...
   ACLOCAL="$missing_dir/missing aclocal"
   ACLOCAL="$missing_dir/missing aclocal"
   echo "$ac_t""missing" 1>&6
   echo "$ac_t""missing" 1>&6
fi
fi
 
 
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
echo "configure:814: checking for working autoconf" >&5
echo "configure:816: checking for working autoconf" >&5
# Run test in a subshell; some versions of sh will print an error if
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf.  Sigh.
# Redirect stdin to placate older versions of autoconf.  Sigh.
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
   AUTOCONF=autoconf
   AUTOCONF=autoconf
Line 821... Line 823...
   AUTOCONF="$missing_dir/missing autoconf"
   AUTOCONF="$missing_dir/missing autoconf"
   echo "$ac_t""missing" 1>&6
   echo "$ac_t""missing" 1>&6
fi
fi
 
 
echo $ac_n "checking for working automake""... $ac_c" 1>&6
echo $ac_n "checking for working automake""... $ac_c" 1>&6
echo "configure:827: checking for working automake" >&5
echo "configure:829: checking for working automake" >&5
# Run test in a subshell; some versions of sh will print an error if
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf.  Sigh.
# Redirect stdin to placate older versions of autoconf.  Sigh.
if (automake --version) < /dev/null > /dev/null 2>&1; then
if (automake --version) < /dev/null > /dev/null 2>&1; then
   AUTOMAKE=automake
   AUTOMAKE=automake
Line 834... Line 836...
   AUTOMAKE="$missing_dir/missing automake"
   AUTOMAKE="$missing_dir/missing automake"
   echo "$ac_t""missing" 1>&6
   echo "$ac_t""missing" 1>&6
fi
fi
 
 
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
echo "configure:840: checking for working autoheader" >&5
echo "configure:842: checking for working autoheader" >&5
# Run test in a subshell; some versions of sh will print an error if
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf.  Sigh.
# Redirect stdin to placate older versions of autoconf.  Sigh.
if (autoheader --version) < /dev/null > /dev/null 2>&1; then
if (autoheader --version) < /dev/null > /dev/null 2>&1; then
   AUTOHEADER=autoheader
   AUTOHEADER=autoheader
Line 847... Line 849...
   AUTOHEADER="$missing_dir/missing autoheader"
   AUTOHEADER="$missing_dir/missing autoheader"
   echo "$ac_t""missing" 1>&6
   echo "$ac_t""missing" 1>&6
fi
fi
 
 
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
echo "configure:853: checking for working makeinfo" >&5
echo "configure:855: checking for working makeinfo" >&5
# Run test in a subshell; some versions of sh will print an error if
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf.  Sigh.
# Redirect stdin to placate older versions of autoconf.  Sigh.
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
   MAKEINFO=makeinfo
   MAKEINFO=makeinfo
Line 875... Line 877...
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
fi
fi
 
 
echo $ac_n "checking host system type""... $ac_c" 1>&6
echo $ac_n "checking host system type""... $ac_c" 1>&6
echo "configure:881: checking host system type" >&5
echo "configure:883: checking host system type" >&5
 
 
host_alias=$host
host_alias=$host
case "$host_alias" in
case "$host_alias" in
NONE)
NONE)
  case $nonopt in
  case $nonopt in
Line 902... Line 904...
test -z "$CFLAGS" && CFLAGS=-g auto_cflags=1
test -z "$CFLAGS" && CFLAGS=-g auto_cflags=1
 
 
# Extract the first word of "gcc", so it can be a program name with args.
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:908: checking for $ac_word" >&5
echo "configure:910: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  if test -n "$CC"; then
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
  ac_cv_prog_CC="$CC" # Let the user override the test.
Line 932... Line 934...
 
 
if test -z "$CC"; then
if test -z "$CC"; then
  # Extract the first word of "cc", so it can be a program name with args.
  # Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
set dummy cc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:938: checking for $ac_word" >&5
echo "configure:940: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  if test -n "$CC"; then
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
  ac_cv_prog_CC="$CC" # Let the user override the test.
Line 983... Line 985...
    case "`uname -s`" in
    case "`uname -s`" in
    *win32* | *WIN32*)
    *win32* | *WIN32*)
      # Extract the first word of "cl", so it can be a program name with args.
      # Extract the first word of "cl", so it can be a program name with args.
set dummy cl; ac_word=$2
set dummy cl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:989: checking for $ac_word" >&5
echo "configure:991: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  if test -n "$CC"; then
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
  ac_cv_prog_CC="$CC" # Let the user override the test.
Line 1015... Line 1017...
  fi
  fi
  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
fi
fi
 
 
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
echo "configure:1021: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
echo "configure:1023: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
 
 
ac_ext=c
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
cross_compiling=$ac_cv_prog_cc_cross
 
 
cat > conftest.$ac_ext << EOF
cat > conftest.$ac_ext << EOF
 
 
#line 1032 "configure"
#line 1034 "configure"
#include "confdefs.h"
#include "confdefs.h"
 
 
main(){return(0);}
main(){return(0);}
EOF
EOF
if { (eval echo configure:1037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  ac_cv_prog_cc_works=yes
  ac_cv_prog_cc_works=yes
  # If we can't run a trivial program, we are probably using a cross compiler.
  # If we can't run a trivial program, we are probably using a cross compiler.
  if (./conftest; exit) 2>/dev/null; then
  if (./conftest; exit) 2>/dev/null; then
    ac_cv_prog_cc_cross=no
    ac_cv_prog_cc_cross=no
  else
  else
Line 1057... Line 1059...
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
if test $ac_cv_prog_cc_works = no; then
if test $ac_cv_prog_cc_works = no; then
  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
fi
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
echo "configure:1063: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "configure:1065: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross
cross_compiling=$ac_cv_prog_cc_cross
 
 
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
echo "configure:1068: checking whether we are using GNU C" >&5
echo "configure:1070: checking whether we are using GNU C" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  cat > conftest.c <
  cat > conftest.c <
#ifdef __GNUC__
#ifdef __GNUC__
  yes;
  yes;
#endif
#endif
EOF
EOF
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1077: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  ac_cv_prog_gcc=yes
  ac_cv_prog_gcc=yes
else
else
  ac_cv_prog_gcc=no
  ac_cv_prog_gcc=no
fi
fi
fi
fi
Line 1090... Line 1092...
 
 
ac_test_CFLAGS="${CFLAGS+set}"
ac_test_CFLAGS="${CFLAGS+set}"
ac_save_CFLAGS="$CFLAGS"
ac_save_CFLAGS="$CFLAGS"
CFLAGS=
CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
echo "configure:1096: checking whether ${CC-cc} accepts -g" >&5
echo "configure:1098: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  echo 'void f(){}' > conftest.c
  echo 'void f(){}' > conftest.c
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
Line 1122... Line 1124...
    CFLAGS=
    CFLAGS=
  fi
  fi
fi
fi
 
 
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
echo "configure:1128: checking how to run the C preprocessor" >&5
echo "configure:1130: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory.
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
if test -n "$CPP" && test -d "$CPP"; then
  CPP=
  CPP=
fi
fi
if test -z "$CPP"; then
if test -z "$CPP"; then
Line 1137... Line 1139...
  # substituted into the Makefile and "${CC-cc}" will confuse make.
  # substituted into the Makefile and "${CC-cc}" will confuse make.
  CPP="${CC-cc} -E"
  CPP="${CC-cc} -E"
  # On the NeXT, cc -E runs the code through the compiler's parser,
  # On the NeXT, cc -E runs the code through the compiler's parser,
  # not just through cpp.
  # not just through cpp.
  cat > conftest.$ac_ext <
  cat > conftest.$ac_ext <
#line 1143 "configure"
#line 1145 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include 
#include 
Syntax Error
Syntax Error
EOF
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1149: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1151: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
if test -z "$ac_err"; then
  :
  :
else
else
  echo "$ac_err" >&5
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  rm -rf conftest*
  CPP="${CC-cc} -E -traditional-cpp"
  CPP="${CC-cc} -E -traditional-cpp"
  cat > conftest.$ac_ext <
  cat > conftest.$ac_ext <
#line 1160 "configure"
#line 1162 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include 
#include 
Syntax Error
Syntax Error
EOF
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
if test -z "$ac_err"; then
  :
  :
else
else
  echo "$ac_err" >&5
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  rm -rf conftest*
  CPP="${CC-cc} -nologo -E"
  CPP="${CC-cc} -nologo -E"
  cat > conftest.$ac_ext <
  cat > conftest.$ac_ext <
#line 1177 "configure"
#line 1179 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include 
#include 
Syntax Error
Syntax Error
EOF
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
if test -z "$ac_err"; then
  :
  :
else
else
  echo "$ac_err" >&5
  echo "$ac_err" >&5
Line 1203... Line 1205...
fi
fi
echo "$ac_t""$CPP" 1>&6
echo "$ac_t""$CPP" 1>&6
 
 
ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'`
ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6
echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6
echo "configure:1209: checking for minix/config.h" >&5
echo "configure:1211: checking for minix/config.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  cat > conftest.$ac_ext <
  cat > conftest.$ac_ext <
#line 1214 "configure"
#line 1216 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include 
#include 
EOF
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1219: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1221: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
if test -z "$ac_err"; then
  rm -rf conftest*
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
  eval "ac_cv_header_$ac_safe=yes"
else
else
Line 1252... Line 1254...
 
 
fi
fi
 
 
 
 
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
echo "configure:1258: checking whether ${MAKE-make} sets \${MAKE}" >&5
echo "configure:1260: checking whether ${MAKE-make} sets \${MAKE}" >&5
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  cat > conftestmake <<\EOF
  cat > conftestmake <<\EOF
Line 1284... Line 1286...
# If we're using gcc and the user hasn't specified CFLAGS, add -O2 to CFLAGS.
# If we're using gcc and the user hasn't specified CFLAGS, add -O2 to CFLAGS.
test -n "$GCC" && test -n "$auto_cflags" && CFLAGS="$CFLAGS -O2"
test -n "$GCC" && test -n "$auto_cflags" && CFLAGS="$CFLAGS -O2"
 
 
if test $ac_cv_prog_gcc = yes; then
if test $ac_cv_prog_gcc = yes; then
    echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
    echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
echo "configure:1290: checking whether ${CC-cc} needs -traditional" >&5
echo "configure:1292: checking whether ${CC-cc} needs -traditional" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
    ac_pattern="Autoconf.*'x'"
    ac_pattern="Autoconf.*'x'"
  cat > conftest.$ac_ext <
  cat > conftest.$ac_ext <
#line 1296 "configure"
#line 1298 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include 
#include 
Autoconf TIOCGETP
Autoconf TIOCGETP
EOF
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
Line 1308... Line 1310...
rm -f conftest*
rm -f conftest*
 
 
 
 
  if test $ac_cv_prog_gcc_traditional = no; then
  if test $ac_cv_prog_gcc_traditional = no; then
    cat > conftest.$ac_ext <
    cat > conftest.$ac_ext <
#line 1314 "configure"
#line 1316 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include 
#include 
Autoconf TCGETA
Autoconf TCGETA
EOF
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
Line 1341... Line 1343...
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
echo "configure:1347: checking for a BSD compatible install" >&5
echo "configure:1349: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
Line 1396... Line 1398...
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
 
# Extract the first word of "ar", so it can be a program name with args.
# Extract the first word of "ar", so it can be a program name with args.
set dummy ar; ac_word=$2
set dummy ar; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1402: checking for $ac_word" >&5
echo "configure:1404: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  if test -n "$AR"; then
  if test -n "$AR"; then
  ac_cv_prog_AR="$AR" # Let the user override the test.
  ac_cv_prog_AR="$AR" # Let the user override the test.
Line 1426... Line 1428...
 
 
test -n "$ARFLAGS" || ARFLAGS="cr"
test -n "$ARFLAGS" || ARFLAGS="cr"
# Extract the first word of "ranlib", so it can be a program name with args.
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1432: checking for $ac_word" >&5
echo "configure:1434: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  if test -n "$RANLIB"; then
  if test -n "$RANLIB"; then
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
Line 1459... Line 1461...
MAKE_SHELL=/bin/sh
MAKE_SHELL=/bin/sh
 
 
 
 
 
 
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
echo "configure:1465: checking return type of signal handlers" >&5
echo "configure:1467: checking return type of signal handlers" >&5
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  cat > conftest.$ac_ext <
  cat > conftest.$ac_ext <
#line 1470 "configure"
#line 1472 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include 
#include 
#include 
#include 
#ifdef signal
#ifdef signal
#undef signal
#undef signal
Line 1481... Line 1483...
 
 
int main() {
int main() {
int i;
int i;
; return 0; }
; return 0; }
EOF
EOF
if { (eval echo configure:1487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:1489: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  rm -rf conftest*
  ac_cv_type_signal=void
  ac_cv_type_signal=void
else
else
  echo "configure: failed program was:" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  cat conftest.$ac_ext >&5
Line 1500... Line 1502...
#define RETSIGTYPE $ac_cv_type_signal
#define RETSIGTYPE $ac_cv_type_signal
EOF
EOF
 
 
 
 
echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
echo "configure:1506: checking whether stat file-mode macros are broken" >&5
echo "configure:1508: checking whether stat file-mode macros are broken" >&5
if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  cat > conftest.$ac_ext <
  cat > conftest.$ac_ext <
#line 1511 "configure"
#line 1513 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include 
#include 
#include 
#include 
 
 
#if defined(S_ISBLK) && defined(S_IFDIR)
#if defined(S_ISBLK) && defined(S_IFDIR)
Line 1560... Line 1562...
ac_header_dirent=no
ac_header_dirent=no
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
do
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
echo "configure:1566: checking for $ac_hdr that defines DIR" >&5
echo "configure:1568: checking for $ac_hdr that defines DIR" >&5
if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  cat > conftest.$ac_ext <
  cat > conftest.$ac_ext <
#line 1571 "configure"
#line 1573 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include 
#include 
#include <$ac_hdr>
#include <$ac_hdr>
int main() {
int main() {
DIR *dirp = 0;
DIR *dirp = 0;
; return 0; }
; return 0; }
EOF
EOF
if { (eval echo configure:1579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:1581: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  rm -rf conftest*
  eval "ac_cv_header_dirent_$ac_safe=yes"
  eval "ac_cv_header_dirent_$ac_safe=yes"
else
else
  echo "configure: failed program was:" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  cat conftest.$ac_ext >&5
Line 1598... Line 1600...
fi
fi
done
done
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
if test $ac_header_dirent = dirent.h; then
if test $ac_header_dirent = dirent.h; then
echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
echo "configure:1604: checking for opendir in -ldir" >&5
echo "configure:1606: checking for opendir in -ldir" >&5
ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  ac_save_LIBS="$LIBS"
  ac_save_LIBS="$LIBS"
LIBS="-ldir  $LIBS"
LIBS="-ldir  $LIBS"
cat > conftest.$ac_ext <
cat > conftest.$ac_ext <
#line 1612 "configure"
#line 1614 "configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
    builtin and then its argument prototype would still apply.  */
char opendir();
char opendir();
 
 
int main() {
int main() {
opendir()
opendir()
; return 0; }
; return 0; }
EOF
EOF
if { (eval echo configure:1623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
  eval "ac_cv_lib_$ac_lib_var=yes"
else
else
  echo "configure: failed program was:" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  cat conftest.$ac_ext >&5
Line 1639... Line 1641...
  echo "$ac_t""no" 1>&6
  echo "$ac_t""no" 1>&6
fi
fi
 
 
else
else
echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
echo "configure:1645: checking for opendir in -lx" >&5
echo "configure:1647: checking for opendir in -lx" >&5
ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  ac_save_LIBS="$LIBS"
  ac_save_LIBS="$LIBS"
LIBS="-lx  $LIBS"
LIBS="-lx  $LIBS"
cat > conftest.$ac_ext <
cat > conftest.$ac_ext <
#line 1653 "configure"
#line 1655 "configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
    builtin and then its argument prototype would still apply.  */
char opendir();
char opendir();
 
 
int main() {
int main() {
opendir()
opendir()
; return 0; }
; return 0; }
EOF
EOF
if { (eval echo configure:1664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
  eval "ac_cv_lib_$ac_lib_var=yes"
else
else
  echo "configure: failed program was:" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  cat conftest.$ac_ext >&5
Line 1683... Line 1685...
fi
fi
 
 
for ac_func in strcasecmp select setenv putenv tcgetattr setlocale lstat
for ac_func in strcasecmp select setenv putenv tcgetattr setlocale lstat
do
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:1689: checking for $ac_func" >&5
echo "configure:1691: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  cat > conftest.$ac_ext <
  cat > conftest.$ac_ext <
#line 1694 "configure"
#line 1696 "configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
    which can conflict with char $ac_func(); below.  */
#include 
#include 
/* Override any gcc2 internal prototype to avoid an error.  */
/* Override any gcc2 internal prototype to avoid an error.  */
Line 1711... Line 1713...
$ac_func();
$ac_func();
#endif
#endif
 
 
; return 0; }
; return 0; }
EOF
EOF
if { (eval echo configure:1717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
  eval "ac_cv_func_$ac_func=yes"
else
else
  echo "configure: failed program was:" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  cat conftest.$ac_ext >&5
Line 1736... Line 1738...
  echo "$ac_t""no" 1>&6
  echo "$ac_t""no" 1>&6
fi
fi
done
done
 
 
echo $ac_n "checking for working strcoll""... $ac_c" 1>&6
echo $ac_n "checking for working strcoll""... $ac_c" 1>&6
echo "configure:1742: checking for working strcoll" >&5
echo "configure:1744: checking for working strcoll" >&5
if eval "test \"`echo '$''{'ac_cv_func_strcoll_works'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_func_strcoll_works'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  if test "$cross_compiling" = yes; then
  if test "$cross_compiling" = yes; then
  ac_cv_func_strcoll_works=no
  ac_cv_func_strcoll_works=no
else
else
  cat > conftest.$ac_ext <
  cat > conftest.$ac_ext <
#line 1750 "configure"
#line 1752 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include 
#include 
main ()
main ()
{
{
  exit (strcoll ("abc", "def") >= 0 ||
  exit (strcoll ("abc", "def") >= 0 ||
        strcoll ("ABC", "DEF") >= 0 ||
        strcoll ("ABC", "DEF") >= 0 ||
        strcoll ("123", "456") >= 0);
        strcoll ("123", "456") >= 0);
}
}
EOF
EOF
if { (eval echo configure:1760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:1762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
then
  ac_cv_func_strcoll_works=yes
  ac_cv_func_strcoll_works=yes
else
else
  echo "configure: failed program was:" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  cat conftest.$ac_ext >&5
Line 1782... Line 1784...
                sys/ptem.h sys/pte.h sys/stream.h sys/select.h \
                sys/ptem.h sys/pte.h sys/stream.h sys/select.h \
                termcap.h termios.h termio.h sys/file.h locale.h
                termcap.h termios.h termio.h sys/file.h locale.h
do
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:1788: checking for $ac_hdr" >&5
echo "configure:1790: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  cat > conftest.$ac_ext <
  cat > conftest.$ac_ext <
#line 1793 "configure"
#line 1795 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <$ac_hdr>
#include <$ac_hdr>
EOF
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1798: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1800: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
if test -z "$ac_err"; then
  rm -rf conftest*
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
  eval "ac_cv_header_$ac_safe=yes"
else
else
Line 1819... Line 1821...
  echo "$ac_t""no" 1>&6
  echo "$ac_t""no" 1>&6
fi
fi
done
done
 
 
 
 
 
# Check whether --enable-readline or --disable-readline was given.
 
if test "${enable_readline+set}" = set; then
 
  enableval="$enable_readline"
 
  echo $ac_n "checking for add_history in -lreadline""... $ac_c" 1>&6
 
echo "configure:1831: checking for add_history in -lreadline" >&5
 
ac_lib_var=`echo readline'_'add_history | sed 'y%./+-%__p_%'`
 
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
else
 
  ac_save_LIBS="$LIBS"
 
LIBS="-lreadline  $LIBS"
 
cat > conftest.$ac_ext <
 
#line 1839 "configure"
 
#include "confdefs.h"
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
/* We use char because int might match the return type of a gcc2
 
    builtin and then its argument prototype would still apply.  */
 
char add_history();
 
 
 
int main() {
 
add_history()
 
; return 0; }
 
EOF
 
if { (eval echo configure:1850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
  rm -rf conftest*
 
  eval "ac_cv_lib_$ac_lib_var=yes"
 
else
 
  echo "configure: failed program was:" >&5
 
  cat conftest.$ac_ext >&5
 
  rm -rf conftest*
 
  eval "ac_cv_lib_$ac_lib_var=no"
 
fi
 
rm -f conftest*
 
LIBS="$ac_save_LIBS"
 
 
 
fi
 
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
 
  echo "$ac_t""yes" 1>&6
 
    ac_tr_lib=HAVE_LIB`echo readline | sed -e 's/^a-zA-Z0-9_/_/g' \
 
    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
 
  cat >> confdefs.h <
 
#define $ac_tr_lib 1
 
EOF
 
 
 
  LIBS="-lreadline $LIBS"
 
 
 
else
 
  echo "$ac_t""no" 1>&6
 
fi
 
 
 
fi
 
 
 
 
case "$host_os" in
case "$host_os" in
aix*)   prefer_curses=yes ;;
aix*)   prefer_curses=yes ;;
esac
esac
 
 
case "$host_cpu" in
case "$host_cpu" in

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.