Line 1... |
Line 1... |
@%:@! /bin/sh
|
@%:@! /bin/sh
|
@%:@ From configure.in Id using automake version AC_ACVERSION.
|
@%:@ From configure.ac Id: configure.ac 19 2009-05-25 09:01:28Z jeremybennett using automake version AC_ACVERSION.
|
@%:@ Guess values for system-dependent variables and create Makefiles.
|
@%:@ Guess values for system-dependent variables and create Makefiles.
|
@%:@ Generated by GNU Autoconf 2.61 for or1ksim 0.3.0.
|
@%:@ Generated by GNU Autoconf 2.61 for or1ksim 0.3.0.
|
@%:@
|
@%:@
|
@%:@ Report bugs to .
|
@%:@ Report bugs to .
|
@%:@
|
@%:@
|
Line 876... |
Line 876... |
CXXDEPMODE
|
CXXDEPMODE
|
am__fastdepCXX_TRUE
|
am__fastdepCXX_TRUE
|
am__fastdepCXX_FALSE
|
am__fastdepCXX_FALSE
|
CPU_ARCH
|
CPU_ARCH
|
MAKE_SHELL
|
MAKE_SHELL
|
|
LIB@&t@OBJS
|
|
POW_LIB
|
|
USE_SYS_GETOPTLONG_TRUE
|
|
USE_SYS_GETOPTLONG_FALSE
|
|
USE_ARGREX_TRUE
|
|
USE_ARGREX_FALSE
|
|
USE_ARGDATE_TRUE
|
|
USE_ARGDATE_FALSE
|
|
DEBUGFLAGS
|
GENERATE_NEEDED_TRUE
|
GENERATE_NEEDED_TRUE
|
GENERATE_NEEDED_FALSE
|
GENERATE_NEEDED_FALSE
|
DYNAMIC_EXECUTION_TRUE
|
DYNAMIC_EXECUTION_TRUE
|
DYNAMIC_EXECUTION_FALSE
|
DYNAMIC_EXECUTION_FALSE
|
BUILD_DIR
|
BUILD_DIR
|
Line 888... |
Line 897... |
LOCAL_DEFS
|
LOCAL_DEFS
|
ARFLAGS
|
ARFLAGS
|
SUMVERSION
|
SUMVERSION
|
TERMCAP_LIB
|
TERMCAP_LIB
|
INCLUDES
|
INCLUDES
|
LIB@&t@OBJS
|
|
LTLIBOBJS'
|
LTLIBOBJS'
|
ac_subst_files=''
|
ac_subst_files=''
|
ac_precious_vars='build_alias
|
ac_precious_vars='build_alias
|
host_alias
|
host_alias
|
target_alias
|
target_alias
|
Line 1499... |
Line 1507... |
--enable-execution Execution style to use (simple/complex/dynamic)
|
--enable-execution Execution style to use (simple/complex/dynamic)
|
--enable-ethphy compiles sim with ethernet phy support
|
--enable-ethphy compiles sim with ethernet phy support
|
--enable-range-stats Specifies, whether we should do register accesses over time analysis.
|
--enable-range-stats Specifies, whether we should do register accesses over time analysis.
|
--enable-ov-flag Whether instructions set overflow flag.
|
--enable-ov-flag Whether instructions set overflow flag.
|
--enable-arith-flag Whether arithmethic instructions setflag.
|
--enable-arith-flag Whether arithmethic instructions setflag.
|
|
--enable-debug enable library debugging symbols
|
|
|
Optional Packages:
|
Optional Packages:
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
--with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
|
--with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
|
Line 3821... |
Line 3830... |
LD="${LD-ld} -m elf32_sparc"
|
LD="${LD-ld} -m elf32_sparc"
|
;;
|
;;
|
esac
|
esac
|
;;
|
;;
|
*64-bit*)
|
*64-bit*)
|
libsuff=64
|
|
case $host in
|
case $host in
|
x86_64-*kfreebsd*-gnu)
|
x86_64-*kfreebsd*-gnu)
|
LD="${LD-ld} -m elf_x86_64_fbsd"
|
LD="${LD-ld} -m elf_x86_64_fbsd"
|
;;
|
;;
|
x86_64-*linux*)
|
x86_64-*linux*)
|
Line 8297... |
Line 8305... |
shlibpath_overrides_runpath=no
|
shlibpath_overrides_runpath=no
|
# This implies no fast_install, which is unacceptable.
|
# This implies no fast_install, which is unacceptable.
|
# Some rework will be needed to allow for fast_install
|
# Some rework will be needed to allow for fast_install
|
# before this can be enabled.
|
# before this can be enabled.
|
hardcode_into_libs=yes
|
hardcode_into_libs=yes
|
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
|
|
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
|
|
|
|
# Append ld.so.conf contents to the search path
|
# Append ld.so.conf contents to the search path
|
if test -f /etc/ld.so.conf; then
|
if test -f /etc/ld.so.conf; then
|
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
|
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
fi
|
fi
|
|
|
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
# powerpc, because MkLinux only supported shared libraries with the
|
# powerpc, because MkLinux only supported shared libraries with the
|
# GNU dynamic linker. Since this was broken with cross compilers,
|
# GNU dynamic linker. Since this was broken with cross compilers,
|
Line 12269... |
Line 12275... |
shlibpath_overrides_runpath=no
|
shlibpath_overrides_runpath=no
|
# This implies no fast_install, which is unacceptable.
|
# This implies no fast_install, which is unacceptable.
|
# Some rework will be needed to allow for fast_install
|
# Some rework will be needed to allow for fast_install
|
# before this can be enabled.
|
# before this can be enabled.
|
hardcode_into_libs=yes
|
hardcode_into_libs=yes
|
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
|
|
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
|
|
|
|
# Append ld.so.conf contents to the search path
|
# Append ld.so.conf contents to the search path
|
if test -f /etc/ld.so.conf; then
|
if test -f /etc/ld.so.conf; then
|
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
|
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
fi
|
fi
|
|
|
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
# powerpc, because MkLinux only supported shared libraries with the
|
# powerpc, because MkLinux only supported shared libraries with the
|
# GNU dynamic linker. Since this was broken with cross compilers,
|
# GNU dynamic linker. Since this was broken with cross compilers,
|
Line 14872... |
Line 14876... |
shlibpath_overrides_runpath=no
|
shlibpath_overrides_runpath=no
|
# This implies no fast_install, which is unacceptable.
|
# This implies no fast_install, which is unacceptable.
|
# Some rework will be needed to allow for fast_install
|
# Some rework will be needed to allow for fast_install
|
# before this can be enabled.
|
# before this can be enabled.
|
hardcode_into_libs=yes
|
hardcode_into_libs=yes
|
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
|
|
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
|
|
|
|
# Append ld.so.conf contents to the search path
|
# Append ld.so.conf contents to the search path
|
if test -f /etc/ld.so.conf; then
|
if test -f /etc/ld.so.conf; then
|
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
|
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
fi
|
fi
|
|
|
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
# powerpc, because MkLinux only supported shared libraries with the
|
# powerpc, because MkLinux only supported shared libraries with the
|
# GNU dynamic linker. Since this was broken with cross compilers,
|
# GNU dynamic linker. Since this was broken with cross compilers,
|
Line 17479... |
Line 17481... |
shlibpath_overrides_runpath=no
|
shlibpath_overrides_runpath=no
|
# This implies no fast_install, which is unacceptable.
|
# This implies no fast_install, which is unacceptable.
|
# Some rework will be needed to allow for fast_install
|
# Some rework will be needed to allow for fast_install
|
# before this can be enabled.
|
# before this can be enabled.
|
hardcode_into_libs=yes
|
hardcode_into_libs=yes
|
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
|
|
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
|
|
|
|
# Append ld.so.conf contents to the search path
|
# Append ld.so.conf contents to the search path
|
if test -f /etc/ld.so.conf; then
|
if test -f /etc/ld.so.conf; then
|
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
|
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
fi
|
fi
|
|
|
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
# powerpc, because MkLinux only supported shared libraries with the
|
# powerpc, because MkLinux only supported shared libraries with the
|
# GNU dynamic linker. Since this was broken with cross compilers,
|
# GNU dynamic linker. Since this was broken with cross compilers,
|
Line 19415... |
Line 19415... |
|
|
|
|
# make sure we are using a recent autoconf version
|
# make sure we are using a recent autoconf version
|
|
|
|
|
# yuck
|
# yuck.
|
case "$target_cpu" in
|
case "$target_cpu" in
|
or32*) CPU_ARCH=or32;
|
or32*) CPU_ARCH=or32;
|
ARCH_ISA=OR32;;
|
ARCH_ISA=OR32;
|
|
|
|
cat >>confdefs.h <<\_ACEOF
|
|
@%:@define OR32_TYPES 1
|
|
_ACEOF
|
|
;;
|
dlx*) CPU_ARCH=dlx;
|
dlx*) CPU_ARCH=dlx;
|
ARCH_ISA=DLX;;
|
ARCH_ISA=DLX;;
|
*) { { echo "$as_me:$LINENO: error: Unknown target architechture $target_cpu" >&5
|
*) { echo "$as_me:$LINENO: WARNING: Unknown target architecture $target_cpu: OR32 assumed" >&5
|
echo "$as_me: error: Unknown target architechture $target_cpu" >&2;}
|
echo "$as_me: WARNING: Unknown target architecture $target_cpu: OR32 assumed" >&2;};
|
{ (exit 1); exit 1; }; };;
|
CPU_ARCH=or32;
|
|
ARCH_ISA=OR32;
|
|
|
|
cat >>confdefs.h <<\_ACEOF
|
|
@%:@define OR32_TYPES 1
|
|
_ACEOF
|
|
;;
|
|
esac
|
|
|
|
# determine endianism from target CPU name. If it has "little" in the name,
|
|
# then its litte endian, otherwise its big endian (default for OR1K)
|
|
case "$target_cpu" in
|
|
*little*)
|
|
cat >>confdefs.h <<\_ACEOF
|
|
@%:@define OR32_LITTLE_ENDIAN 1
|
|
_ACEOF
|
|
;;
|
|
*)
|
|
cat >>confdefs.h <<\_ACEOF
|
|
@%:@define OR32_BIG_ENDIAN 1
|
|
_ACEOF
|
|
;;
|
esac
|
esac
|
|
|
|
|
|
|
# We want these before the checks, so the checks can modify their values.
|
# We want these before the checks, so the checks can modify their values.
|
test -z "$CFLAGS" && CFLAGS="-g -Wall" auto_cflags=1
|
test -z "$CFLAGS" && CFLAGS="-g -Wall" auto_cflags=1
|
|
|
ac_ext=c
|
ac_ext=c
|
ac_cpp='$CPP $CPPFLAGS'
|
ac_cpp='$CPP $CPPFLAGS'
|
Line 20434... |
Line 20461... |
{ echo "$as_me:$LINENO: result: no" >&5
|
{ echo "$as_me:$LINENO: result: no" >&5
|
echo "${ECHO_T}no" >&6; }
|
echo "${ECHO_T}no" >&6; }
|
fi
|
fi
|
|
|
|
|
|
|
|
# This is GNU compliant source and uses GNU libraries
|
|
|
|
cat >>confdefs.h <<\_ACEOF
|
|
@%:@define _GNU_SOURCE 1
|
|
_ACEOF
|
|
|
|
|
# Set default for ARFLAGS, since autoconf does not have a macro for it.
|
# Set default for ARFLAGS, since autoconf does not have a macro for it.
|
# This allows people to set it when running configure or make
|
# This allows people to set it when running configure or make
|
test -n "$ARFLAGS" || ARFLAGS="cr"
|
test -n "$ARFLAGS" || ARFLAGS="cr"
|
|
|
MAKE_SHELL=/bin/sh
|
MAKE_SHELL=/bin/sh
|
Line 21007... |
Line 21042... |
_ACEOF
|
_ACEOF
|
|
|
fi
|
fi
|
done
|
done
|
|
|
|
|
|
for ac_func in basename
|
|
do
|
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
|
|
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
/* Define $ac_func to an innocuous variant, in case declares $ac_func.
|
|
For example, HP-UX 11i declares gettimeofday. */
|
|
#define $ac_func innocuous_$ac_func
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
which can conflict with char $ac_func (); below.
|
|
Prefer to if __STDC__ is defined, since
|
|
exists even on freestanding compilers. */
|
|
|
|
#ifdef __STDC__
|
|
# include
|
|
#else
|
|
# include
|
|
#endif
|
|
|
|
#undef $ac_func
|
|
|
|
/* Override any GCC internal prototype to avoid an error.
|
|
Use char because int might match the return type of a GCC
|
|
builtin and then its argument prototype would still apply. */
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
#endif
|
|
char $ac_func ();
|
|
/* The GNU C library defines this for functions which it implements
|
|
to always fail with ENOSYS. Some functions are actually named
|
|
something starting with __ and the normal name is an alias. */
|
|
#if defined __stub_$ac_func || defined __stub___$ac_func
|
|
choke me
|
|
#endif
|
|
|
|
int
|
|
main ()
|
|
{
|
|
return $ac_func ();
|
|
;
|
|
return 0;
|
|
}
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
if { (ac_try="$ac_link"
|
|
case "(($ac_try" in
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
*) ac_try_echo=$ac_try;;
|
|
esac
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
(eval "$ac_link") 2>conftest.er1
|
|
ac_status=$?
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
rm -f conftest.er1
|
|
cat conftest.err >&5
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
(exit $ac_status); } && {
|
|
test -z "$ac_c_werror_flag" ||
|
|
test ! -s conftest.err
|
|
} && test -s conftest$ac_exeext &&
|
|
$as_test_x conftest$ac_exeext; then
|
|
eval "$as_ac_var=yes"
|
|
else
|
|
echo "$as_me: failed program was:" >&5
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
eval "$as_ac_var=no"
|
|
fi
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
conftest$ac_exeext conftest.$ac_ext
|
|
fi
|
|
ac_res=`eval echo '${'$as_ac_var'}'`
|
|
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
echo "${ECHO_T}$ac_res" >&6; }
|
|
if test `eval echo '${'$as_ac_var'}'` = yes; then
|
|
cat >>confdefs.h <<_ACEOF
|
|
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
_ACEOF
|
|
|
|
fi
|
|
done
|
|
|
{ echo "$as_me:$LINENO: checking for working strcoll" >&5
|
{ echo "$as_me:$LINENO: checking for working strcoll" >&5
|
echo $ECHO_N "checking for working strcoll... $ECHO_C" >&6; }
|
echo $ECHO_N "checking for working strcoll... $ECHO_C" >&6; }
|
if test "${ac_cv_func_strcoll_works+set}" = set; then
|
if test "${ac_cv_func_strcoll_works+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
Line 21076... |
Line 21205... |
@%:@define HAVE_STRCOLL 1
|
@%:@define HAVE_STRCOLL 1
|
_ACEOF
|
_ACEOF
|
|
|
fi
|
fi
|
|
|
|
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
|
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
|
|
if test "${ac_cv_header_stdc+set}" = set; then
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for ac_header in unistd.h stdlib.h varargs.h stdarg.h string.h \
|
|
sys/ptem.h sys/pte.h sys/stream.h sys/stropts.h sys/select.h \
|
|
termcap.h termios.h termio.h sys/file.h locale.h\
|
|
net/ethernet.h sys/ethernet.h malloc.h inttypes.h
|
|
do
|
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
fi
|
|
ac_res=`eval echo '${'$as_ac_Header'}'`
|
|
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
echo "${ECHO_T}$ac_res" >&6; }
|
|
else
|
else
|
# Is the header compilable?
|
|
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
|
|
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
/* confdefs.h. */
|
/* confdefs.h. */
|
_ACEOF
|
_ACEOF
|
cat confdefs.h >>conftest.$ac_ext
|
cat confdefs.h >>conftest.$ac_ext
|
cat >>conftest.$ac_ext <<_ACEOF
|
cat >>conftest.$ac_ext <<_ACEOF
|
/* end confdefs.h. */
|
/* end confdefs.h. */
|
$ac_includes_default
|
#include
|
@%:@include <$ac_header>
|
#include
|
|
#include
|
|
#include
|
|
|
|
int
|
|
main ()
|
|
{
|
|
|
|
;
|
|
return 0;
|
|
}
|
_ACEOF
|
_ACEOF
|
rm -f conftest.$ac_objext
|
rm -f conftest.$ac_objext
|
if { (ac_try="$ac_compile"
|
if { (ac_try="$ac_compile"
|
case "(($ac_try" in
|
case "(($ac_try" in
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
Line 21140... |
Line 21246... |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
(exit $ac_status); } && {
|
(exit $ac_status); } && {
|
test -z "$ac_c_werror_flag" ||
|
test -z "$ac_c_werror_flag" ||
|
test ! -s conftest.err
|
test ! -s conftest.err
|
} && test -s conftest.$ac_objext; then
|
} && test -s conftest.$ac_objext; then
|
ac_header_compiler=yes
|
ac_cv_header_stdc=yes
|
else
|
else
|
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
sed 's/^/| /' conftest.$ac_ext >&5
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
ac_header_compiler=no
|
ac_cv_header_stdc=no
|
fi
|
fi
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
|
|
|
# Is the header present?
|
if test $ac_cv_header_stdc = yes; then
|
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
|
|
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
/* confdefs.h. */
|
/* confdefs.h. */
|
_ACEOF
|
_ACEOF
|
cat confdefs.h >>conftest.$ac_ext
|
cat confdefs.h >>conftest.$ac_ext
|
cat >>conftest.$ac_ext <<_ACEOF
|
cat >>conftest.$ac_ext <<_ACEOF
|
/* end confdefs.h. */
|
/* end confdefs.h. */
|
@%:@include <$ac_header>
|
#include
|
|
|
_ACEOF
|
_ACEOF
|
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
case "(($ac_try" in
|
$EGREP "memchr" >/dev/null 2>&1; then
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
:
|
*) ac_try_echo=$ac_try;;
|
|
esac
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
|
ac_status=$?
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
rm -f conftest.er1
|
|
cat conftest.err >&5
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
(exit $ac_status); } >/dev/null && {
|
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
test ! -s conftest.err
|
|
}; then
|
|
ac_header_preproc=yes
|
|
else
|
else
|
echo "$as_me: failed program was:" >&5
|
ac_cv_header_stdc=no
|
sed 's/^/| /' conftest.$ac_ext >&5
|
fi
|
|
rm -f conftest*
|
|
|
ac_header_preproc=no
|
|
fi
|
fi
|
|
|
rm -f conftest.err conftest.$ac_ext
|
if test $ac_cv_header_stdc = yes; then
|
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
#include
|
|
|
# So? What about this header?
|
_ACEOF
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
yes:no: )
|
$EGREP "free" >/dev/null 2>&1; then
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
:
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
else
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
ac_cv_header_stdc=no
|
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
fi
|
ac_header_preproc=yes
|
rm -f conftest*
|
;;
|
|
no:yes:* )
|
fi
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
if test $ac_cv_header_stdc = yes; then
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
if test "$cross_compiling" = yes; then
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
:
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
else
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
cat >conftest.$ac_ext <<_ACEOF
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
/* confdefs.h. */
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
_ACEOF
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
cat confdefs.h >>conftest.$ac_ext
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
cat >>conftest.$ac_ext <<_ACEOF
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
/* end confdefs.h. */
|
( cat <<\_ASBOX
|
#include
|
@%:@@%:@ ------------------------------------- @%:@@%:@
|
#include
|
|
#if ((' ' & 0x0FF) == 0x020)
|
|
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
|
#else
|
|
# define ISLOWER(c) \
|
|
(('a' <= (c) && (c) <= 'i') \
|
|
|| ('j' <= (c) && (c) <= 'r') \
|
|
|| ('s' <= (c) && (c) <= 'z'))
|
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
|
#endif
|
|
|
|
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
|
int
|
|
main ()
|
|
{
|
|
int i;
|
|
for (i = 0; i < 256; i++)
|
|
if (XOR (islower (i), ISLOWER (i))
|
|
|| toupper (i) != TOUPPER (i))
|
|
return 2;
|
|
return 0;
|
|
}
|
|
_ACEOF
|
|
rm -f conftest$ac_exeext
|
|
if { (ac_try="$ac_link"
|
|
case "(($ac_try" in
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
*) ac_try_echo=$ac_try;;
|
|
esac
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
(eval "$ac_link") 2>&5
|
|
ac_status=$?
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
{ (case "(($ac_try" in
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
*) ac_try_echo=$ac_try;;
|
|
esac
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
(eval "$ac_try") 2>&5
|
|
ac_status=$?
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
(exit $ac_status); }; }; then
|
|
:
|
|
else
|
|
echo "$as_me: program exited with status $ac_status" >&5
|
|
echo "$as_me: failed program was:" >&5
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
( exit $ac_status )
|
|
ac_cv_header_stdc=no
|
|
fi
|
|
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
fi
|
|
|
|
|
|
fi
|
|
fi
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
|
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
|
|
if test $ac_cv_header_stdc = yes; then
|
|
|
|
cat >>confdefs.h <<\_ACEOF
|
|
@%:@define STDC_HEADERS 1
|
|
_ACEOF
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for ac_header in unistd.h stdlib.h varargs.h stdarg.h string.h strings.h \
|
|
sys/ptem.h sys/pte.h sys/stream.h sys/stropts.h sys/select.h \
|
|
termcap.h termios.h termio.h sys/file.h locale.h getopt.h \
|
|
net/ethernet.h sys/ethernet.h malloc.h inttypes.h libintl.h
|
|
do
|
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
fi
|
|
ac_res=`eval echo '${'$as_ac_Header'}'`
|
|
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
echo "${ECHO_T}$ac_res" >&6; }
|
|
else
|
|
# Is the header compilable?
|
|
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
$ac_includes_default
|
|
@%:@include <$ac_header>
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (ac_try="$ac_compile"
|
|
case "(($ac_try" in
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
*) ac_try_echo=$ac_try;;
|
|
esac
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
(eval "$ac_compile") 2>conftest.er1
|
|
ac_status=$?
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
rm -f conftest.er1
|
|
cat conftest.err >&5
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
(exit $ac_status); } && {
|
|
test -z "$ac_c_werror_flag" ||
|
|
test ! -s conftest.err
|
|
} && test -s conftest.$ac_objext; then
|
|
ac_header_compiler=yes
|
|
else
|
|
echo "$as_me: failed program was:" >&5
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_header_compiler=no
|
|
fi
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
|
|
|
# Is the header present?
|
|
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
@%:@include <$ac_header>
|
|
_ACEOF
|
|
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
case "(($ac_try" in
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
*) ac_try_echo=$ac_try;;
|
|
esac
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
|
ac_status=$?
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
rm -f conftest.er1
|
|
cat conftest.err >&5
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
(exit $ac_status); } >/dev/null && {
|
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
test ! -s conftest.err
|
|
}; then
|
|
ac_header_preproc=yes
|
|
else
|
|
echo "$as_me: failed program was:" >&5
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_header_preproc=no
|
|
fi
|
|
|
|
rm -f conftest.err conftest.$ac_ext
|
|
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
|
|
|
# So? What about this header?
|
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
yes:no: )
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
|
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
|
ac_header_preproc=yes
|
|
;;
|
|
no:yes:* )
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
|
( cat <<\_ASBOX
|
|
@%:@@%:@ ------------------------------------- @%:@@%:@
|
@%:@@%:@ Report this to openrisc@opencores.org @%:@@%:@
|
@%:@@%:@ Report this to openrisc@opencores.org @%:@@%:@
|
@%:@@%:@ ------------------------------------- @%:@@%:@
|
@%:@@%:@ ------------------------------------- @%:@@%:@
|
_ASBOX
|
_ASBOX
|
) | sed "s/^/$as_me: WARNING: /" >&2
|
) | sed "s/^/$as_me: WARNING: /" >&2
|
;;
|
;;
|
Line 21226... |
Line 21532... |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
eval "$as_ac_Header=\$ac_header_preproc"
|
eval "$as_ac_Header=\$ac_header_preproc"
|
fi
|
fi
|
ac_res=`eval echo '${'$as_ac_Header'}'`
|
ac_res=`eval echo '${'$as_ac_Header'}'`
|
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
echo "${ECHO_T}$ac_res" >&6; }
|
echo "${ECHO_T}$ac_res" >&6; }
|
|
|
|
fi
|
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
cat >>confdefs.h <<_ACEOF
|
|
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
_ACEOF
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
{ echo "$as_me:$LINENO: checking whether I_PUSH is declared" >&5
|
|
echo $ECHO_N "checking whether I_PUSH is declared... $ECHO_C" >&6; }
|
|
if test "${ac_cv_have_decl_I_PUSH+set}" = set; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
$ac_includes_default
|
|
int
|
|
main ()
|
|
{
|
|
#ifndef I_PUSH
|
|
(void) I_PUSH;
|
|
#endif
|
|
|
|
;
|
|
return 0;
|
|
}
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (ac_try="$ac_compile"
|
|
case "(($ac_try" in
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
*) ac_try_echo=$ac_try;;
|
|
esac
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
(eval "$ac_compile") 2>conftest.er1
|
|
ac_status=$?
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
rm -f conftest.er1
|
|
cat conftest.err >&5
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
(exit $ac_status); } && {
|
|
test -z "$ac_c_werror_flag" ||
|
|
test ! -s conftest.err
|
|
} && test -s conftest.$ac_objext; then
|
|
ac_cv_have_decl_I_PUSH=yes
|
|
else
|
|
echo "$as_me: failed program was:" >&5
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_have_decl_I_PUSH=no
|
|
fi
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
fi
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_I_PUSH" >&5
|
|
echo "${ECHO_T}$ac_cv_have_decl_I_PUSH" >&6; }
|
|
if test $ac_cv_have_decl_I_PUSH = yes; then
|
|
|
|
cat >>confdefs.h <<_ACEOF
|
|
@%:@define HAVE_DECL_I_PUSH 1
|
|
_ACEOF
|
|
|
|
|
|
else
|
|
cat >>confdefs.h <<_ACEOF
|
|
@%:@define HAVE_DECL_I_PUSH 0
|
|
_ACEOF
|
|
|
|
|
|
fi
|
|
|
|
|
|
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
|
|
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
|
|
if test "${ac_cv_c_bigendian+set}" = set; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
# See if sys/param.h defines the BYTE_ORDER macro.
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
#include
|
|
#include
|
|
|
|
int
|
|
main ()
|
|
{
|
|
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
|
|
&& BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
|
|
bogus endian macros
|
|
#endif
|
|
|
|
;
|
|
return 0;
|
|
}
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (ac_try="$ac_compile"
|
|
case "(($ac_try" in
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
*) ac_try_echo=$ac_try;;
|
|
esac
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
(eval "$ac_compile") 2>conftest.er1
|
|
ac_status=$?
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
rm -f conftest.er1
|
|
cat conftest.err >&5
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
(exit $ac_status); } && {
|
|
test -z "$ac_c_werror_flag" ||
|
|
test ! -s conftest.err
|
|
} && test -s conftest.$ac_objext; then
|
|
# It does; now see whether it defined to BIG_ENDIAN or not.
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
#include
|
|
#include
|
|
|
|
int
|
|
main ()
|
|
{
|
|
#if BYTE_ORDER != BIG_ENDIAN
|
|
not big endian
|
|
#endif
|
|
|
|
;
|
|
return 0;
|
|
}
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (ac_try="$ac_compile"
|
|
case "(($ac_try" in
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
*) ac_try_echo=$ac_try;;
|
|
esac
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
(eval "$ac_compile") 2>conftest.er1
|
|
ac_status=$?
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
rm -f conftest.er1
|
|
cat conftest.err >&5
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
(exit $ac_status); } && {
|
|
test -z "$ac_c_werror_flag" ||
|
|
test ! -s conftest.err
|
|
} && test -s conftest.$ac_objext; then
|
|
ac_cv_c_bigendian=yes
|
|
else
|
|
echo "$as_me: failed program was:" >&5
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_c_bigendian=no
|
|
fi
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
else
|
|
echo "$as_me: failed program was:" >&5
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
# It does not; compile a test program.
|
|
if test "$cross_compiling" = yes; then
|
|
# try to guess the endianness by grepping values into an object file
|
|
ac_cv_c_bigendian=unknown
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
|
|
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
|
|
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
|
|
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
|
|
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
|
|
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
|
|
int
|
|
main ()
|
|
{
|
|
_ascii (); _ebcdic ();
|
|
;
|
|
return 0;
|
|
}
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (ac_try="$ac_compile"
|
|
case "(($ac_try" in
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
*) ac_try_echo=$ac_try;;
|
|
esac
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
(eval "$ac_compile") 2>conftest.er1
|
|
ac_status=$?
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
rm -f conftest.er1
|
|
cat conftest.err >&5
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
(exit $ac_status); } && {
|
|
test -z "$ac_c_werror_flag" ||
|
|
test ! -s conftest.err
|
|
} && test -s conftest.$ac_objext; then
|
|
if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
|
|
ac_cv_c_bigendian=yes
|
|
fi
|
|
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
|
|
if test "$ac_cv_c_bigendian" = unknown; then
|
|
ac_cv_c_bigendian=no
|
|
else
|
|
# finding both strings is unlikely to happen, but who knows?
|
|
ac_cv_c_bigendian=unknown
|
|
fi
|
|
fi
|
|
else
|
|
echo "$as_me: failed program was:" >&5
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
fi
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
else
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
$ac_includes_default
|
|
int
|
|
main ()
|
|
{
|
|
|
|
/* Are we little or big endian? From Harbison&Steele. */
|
|
union
|
|
{
|
|
long int l;
|
|
char c[sizeof (long int)];
|
|
} u;
|
|
u.l = 1;
|
|
return u.c[sizeof (long int) - 1] == 1;
|
|
|
|
;
|
|
return 0;
|
|
}
|
|
_ACEOF
|
|
rm -f conftest$ac_exeext
|
|
if { (ac_try="$ac_link"
|
|
case "(($ac_try" in
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
*) ac_try_echo=$ac_try;;
|
|
esac
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
(eval "$ac_link") 2>&5
|
|
ac_status=$?
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
{ (case "(($ac_try" in
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
*) ac_try_echo=$ac_try;;
|
|
esac
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
(eval "$ac_try") 2>&5
|
|
ac_status=$?
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
(exit $ac_status); }; }; then
|
|
ac_cv_c_bigendian=no
|
|
else
|
|
echo "$as_me: program exited with status $ac_status" >&5
|
|
echo "$as_me: failed program was:" >&5
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
( exit $ac_status )
|
|
ac_cv_c_bigendian=yes
|
|
fi
|
|
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
fi
|
|
|
|
|
|
fi
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
fi
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
|
|
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
|
|
case $ac_cv_c_bigendian in
|
|
yes)
|
|
|
|
cat >>confdefs.h <<\_ACEOF
|
|
@%:@define WORDS_BIGENDIAN 1
|
|
_ACEOF
|
|
;;
|
|
no)
|
|
;;
|
|
*)
|
|
{ { echo "$as_me:$LINENO: error: unknown endianness
|
|
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
|
|
echo "$as_me: error: unknown endianness
|
|
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
|
|
{ (exit 1); exit 1; }; } ;;
|
|
esac
|
|
|
|
|
|
# Checks for typedefs, structures, and compiler characteristics (for argtable2)
|
|
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
|
|
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
|
|
if test "${ac_cv_c_const+set}" = set; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
|
|
int
|
|
main ()
|
|
{
|
|
/* FIXME: Include the comments suggested by Paul. */
|
|
#ifndef __cplusplus
|
|
/* Ultrix mips cc rejects this. */
|
|
typedef int charset[2];
|
|
const charset cs;
|
|
/* SunOS 4.1.1 cc rejects this. */
|
|
char const *const *pcpcc;
|
|
char **ppc;
|
|
/* NEC SVR4.0.2 mips cc rejects this. */
|
|
struct point {int x, y;};
|
|
static struct point const zero = {0,0};
|
|
/* AIX XL C 1.02.0.0 rejects this.
|
|
It does not let you subtract one const X* pointer from another in
|
|
an arm of an if-expression whose if-part is not a constant
|
|
expression */
|
|
const char *g = "string";
|
|
pcpcc = &g + (g ? g-g : 0);
|
|
/* HPUX 7.0 cc rejects these. */
|
|
++pcpcc;
|
|
ppc = (char**) pcpcc;
|
|
pcpcc = (char const *const *) ppc;
|
|
{ /* SCO 3.2v4 cc rejects this. */
|
|
char *t;
|
|
char const *s = 0 ? (char *) 0 : (char const *) 0;
|
|
|
|
*t++ = 0;
|
|
if (s) return 0;
|
|
}
|
|
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
|
|
int x[] = {25, 17};
|
|
const int *foo = &x[0];
|
|
++foo;
|
|
}
|
|
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
|
|
typedef const int *iptr;
|
|
iptr p = 0;
|
|
++p;
|
|
}
|
|
{ /* AIX XL C 1.02.0.0 rejects this saying
|
|
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
|
|
struct s { int j; const int *ap[3]; };
|
|
struct s *b; b->j = 5;
|
|
}
|
|
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
|
|
const int foo = 10;
|
|
if (!foo) return 0;
|
|
}
|
|
return !cs[0] && !zero.x;
|
|
#endif
|
|
|
|
;
|
|
return 0;
|
|
}
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (ac_try="$ac_compile"
|
|
case "(($ac_try" in
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
*) ac_try_echo=$ac_try;;
|
|
esac
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
(eval "$ac_compile") 2>conftest.er1
|
|
ac_status=$?
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
rm -f conftest.er1
|
|
cat conftest.err >&5
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
(exit $ac_status); } && {
|
|
test -z "$ac_c_werror_flag" ||
|
|
test ! -s conftest.err
|
|
} && test -s conftest.$ac_objext; then
|
|
ac_cv_c_const=yes
|
|
else
|
|
echo "$as_me: failed program was:" >&5
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_c_const=no
|
|
fi
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
fi
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
|
|
echo "${ECHO_T}$ac_cv_c_const" >&6; }
|
|
if test $ac_cv_c_const = no; then
|
|
|
|
cat >>confdefs.h <<\_ACEOF
|
|
@%:@define const
|
|
_ACEOF
|
|
|
|
fi
|
|
|
|
{ echo "$as_me:$LINENO: checking for size_t" >&5
|
|
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
|
|
if test "${ac_cv_type_size_t+set}" = set; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
$ac_includes_default
|
|
typedef size_t ac__type_new_;
|
|
int
|
|
main ()
|
|
{
|
|
if ((ac__type_new_ *) 0)
|
|
return 0;
|
|
if (sizeof (ac__type_new_))
|
|
return 0;
|
|
;
|
|
return 0;
|
|
}
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (ac_try="$ac_compile"
|
|
case "(($ac_try" in
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
*) ac_try_echo=$ac_try;;
|
|
esac
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
(eval "$ac_compile") 2>conftest.er1
|
|
ac_status=$?
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
rm -f conftest.er1
|
|
cat conftest.err >&5
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
(exit $ac_status); } && {
|
|
test -z "$ac_c_werror_flag" ||
|
|
test ! -s conftest.err
|
|
} && test -s conftest.$ac_objext; then
|
|
ac_cv_type_size_t=yes
|
|
else
|
|
echo "$as_me: failed program was:" >&5
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_type_size_t=no
|
|
fi
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
fi
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
|
|
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
|
|
if test $ac_cv_type_size_t = yes; then
|
|
:
|
|
else
|
|
|
|
cat >>confdefs.h <<_ACEOF
|
|
@%:@define size_t unsigned int
|
|
_ACEOF
|
|
|
|
fi
|
|
|
|
{ echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
|
|
echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
|
|
if test "${ac_cv_struct_tm+set}" = set; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
#include
|
|
#include
|
|
|
|
int
|
|
main ()
|
|
{
|
|
struct tm tm;
|
|
int *p = &tm.tm_sec;
|
|
return !p;
|
|
;
|
|
return 0;
|
|
}
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (ac_try="$ac_compile"
|
|
case "(($ac_try" in
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
*) ac_try_echo=$ac_try;;
|
|
esac
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
(eval "$ac_compile") 2>conftest.er1
|
|
ac_status=$?
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
rm -f conftest.er1
|
|
cat conftest.err >&5
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
(exit $ac_status); } && {
|
|
test -z "$ac_c_werror_flag" ||
|
|
test ! -s conftest.err
|
|
} && test -s conftest.$ac_objext; then
|
|
ac_cv_struct_tm=time.h
|
|
else
|
|
echo "$as_me: failed program was:" >&5
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_struct_tm=sys/time.h
|
|
fi
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
fi
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
|
|
echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
|
|
if test $ac_cv_struct_tm = sys/time.h; then
|
|
|
|
cat >>confdefs.h <<\_ACEOF
|
|
@%:@define TM_IN_SYS_TIME 1
|
|
_ACEOF
|
|
|
|
fi
|
|
|
|
|
|
# Checks for library functions (for argtable2).
|
|
|
|
for ac_header in stdlib.h
|
|
do
|
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
fi
|
|
ac_res=`eval echo '${'$as_ac_Header'}'`
|
|
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
echo "${ECHO_T}$ac_res" >&6; }
|
|
else
|
|
# Is the header compilable?
|
|
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
$ac_includes_default
|
|
@%:@include <$ac_header>
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (ac_try="$ac_compile"
|
|
case "(($ac_try" in
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
*) ac_try_echo=$ac_try;;
|
|
esac
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
(eval "$ac_compile") 2>conftest.er1
|
|
ac_status=$?
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
rm -f conftest.er1
|
|
cat conftest.err >&5
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
(exit $ac_status); } && {
|
|
test -z "$ac_c_werror_flag" ||
|
|
test ! -s conftest.err
|
|
} && test -s conftest.$ac_objext; then
|
|
ac_header_compiler=yes
|
|
else
|
|
echo "$as_me: failed program was:" >&5
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_header_compiler=no
|
|
fi
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
|
|
|
# Is the header present?
|
|
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
@%:@include <$ac_header>
|
|
_ACEOF
|
|
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
case "(($ac_try" in
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
*) ac_try_echo=$ac_try;;
|
|
esac
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
|
ac_status=$?
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
rm -f conftest.er1
|
|
cat conftest.err >&5
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
(exit $ac_status); } >/dev/null && {
|
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
test ! -s conftest.err
|
|
}; then
|
|
ac_header_preproc=yes
|
|
else
|
|
echo "$as_me: failed program was:" >&5
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_header_preproc=no
|
|
fi
|
|
|
|
rm -f conftest.err conftest.$ac_ext
|
|
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
|
|
|
# So? What about this header?
|
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
yes:no: )
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
|
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
|
ac_header_preproc=yes
|
|
;;
|
|
no:yes:* )
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
|
( cat <<\_ASBOX
|
|
@%:@@%:@ ------------------------------------- @%:@@%:@
|
|
@%:@@%:@ Report this to openrisc@opencores.org @%:@@%:@
|
|
@%:@@%:@ ------------------------------------- @%:@@%:@
|
|
_ASBOX
|
|
) | sed "s/^/$as_me: WARNING: /" >&2
|
|
;;
|
|
esac
|
|
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
eval "$as_ac_Header=\$ac_header_preproc"
|
|
fi
|
|
ac_res=`eval echo '${'$as_ac_Header'}'`
|
|
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
echo "${ECHO_T}$ac_res" >&6; }
|
|
|
|
fi
|
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
cat >>confdefs.h <<_ACEOF
|
|
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
_ACEOF
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
{ echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
|
|
echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
|
|
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
if test "$cross_compiling" = yes; then
|
|
ac_cv_func_malloc_0_nonnull=no
|
|
else
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
|
|
# include
|
|
#else
|
|
char *malloc ();
|
|
#endif
|
|
|
|
int
|
|
main ()
|
|
{
|
|
return ! malloc (0);
|
|
;
|
|
return 0;
|
|
}
|
|
_ACEOF
|
|
rm -f conftest$ac_exeext
|
|
if { (ac_try="$ac_link"
|
|
case "(($ac_try" in
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
*) ac_try_echo=$ac_try;;
|
|
esac
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
(eval "$ac_link") 2>&5
|
|
ac_status=$?
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
{ (case "(($ac_try" in
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
*) ac_try_echo=$ac_try;;
|
|
esac
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
(eval "$ac_try") 2>&5
|
|
ac_status=$?
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
(exit $ac_status); }; }; then
|
|
ac_cv_func_malloc_0_nonnull=yes
|
|
else
|
|
echo "$as_me: program exited with status $ac_status" >&5
|
|
echo "$as_me: failed program was:" >&5
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
( exit $ac_status )
|
|
ac_cv_func_malloc_0_nonnull=no
|
|
fi
|
|
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
fi
|
|
|
|
|
|
fi
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
|
|
echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
|
|
if test $ac_cv_func_malloc_0_nonnull = yes; then
|
|
|
|
cat >>confdefs.h <<\_ACEOF
|
|
@%:@define HAVE_MALLOC 1
|
|
_ACEOF
|
|
|
|
else
|
|
cat >>confdefs.h <<\_ACEOF
|
|
@%:@define HAVE_MALLOC 0
|
|
_ACEOF
|
|
|
|
case " $LIB@&t@OBJS " in
|
|
*" malloc.$ac_objext "* ) ;;
|
|
*) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext"
|
|
;;
|
|
esac
|
|
|
|
|
|
cat >>confdefs.h <<\_ACEOF
|
|
@%:@define malloc rpl_malloc
|
|
_ACEOF
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
for ac_func in strftime
|
|
do
|
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
|
|
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
/* Define $ac_func to an innocuous variant, in case declares $ac_func.
|
|
For example, HP-UX 11i declares gettimeofday. */
|
|
#define $ac_func innocuous_$ac_func
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
which can conflict with char $ac_func (); below.
|
|
Prefer to if __STDC__ is defined, since
|
|
exists even on freestanding compilers. */
|
|
|
|
#ifdef __STDC__
|
|
# include
|
|
#else
|
|
# include
|
|
#endif
|
|
|
|
#undef $ac_func
|
|
|
|
/* Override any GCC internal prototype to avoid an error.
|
|
Use char because int might match the return type of a GCC
|
|
builtin and then its argument prototype would still apply. */
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
#endif
|
|
char $ac_func ();
|
|
/* The GNU C library defines this for functions which it implements
|
|
to always fail with ENOSYS. Some functions are actually named
|
|
something starting with __ and the normal name is an alias. */
|
|
#if defined __stub_$ac_func || defined __stub___$ac_func
|
|
choke me
|
|
#endif
|
|
|
|
int
|
|
main ()
|
|
{
|
|
return $ac_func ();
|
|
;
|
|
return 0;
|
|
}
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
if { (ac_try="$ac_link"
|
|
case "(($ac_try" in
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
*) ac_try_echo=$ac_try;;
|
|
esac
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
(eval "$ac_link") 2>conftest.er1
|
|
ac_status=$?
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
rm -f conftest.er1
|
|
cat conftest.err >&5
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
(exit $ac_status); } && {
|
|
test -z "$ac_c_werror_flag" ||
|
|
test ! -s conftest.err
|
|
} && test -s conftest$ac_exeext &&
|
|
$as_test_x conftest$ac_exeext; then
|
|
eval "$as_ac_var=yes"
|
|
else
|
|
echo "$as_me: failed program was:" >&5
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
eval "$as_ac_var=no"
|
|
fi
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
conftest$ac_exeext conftest.$ac_ext
|
|
fi
|
|
ac_res=`eval echo '${'$as_ac_var'}'`
|
|
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
echo "${ECHO_T}$ac_res" >&6; }
|
|
if test `eval echo '${'$as_ac_var'}'` = yes; then
|
|
cat >>confdefs.h <<_ACEOF
|
|
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
_ACEOF
|
|
|
|
else
|
|
# strftime is in -lintl on SCO UNIX.
|
|
{ echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
|
|
echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; }
|
|
if test "${ac_cv_lib_intl_strftime+set}" = set; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
LIBS="-lintl $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
|
|
/* Override any GCC internal prototype to avoid an error.
|
|
Use char because int might match the return type of a GCC
|
|
builtin and then its argument prototype would still apply. */
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
#endif
|
|
char strftime ();
|
|
int
|
|
main ()
|
|
{
|
|
return strftime ();
|
|
;
|
|
return 0;
|
|
}
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
if { (ac_try="$ac_link"
|
|
case "(($ac_try" in
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
*) ac_try_echo=$ac_try;;
|
|
esac
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
(eval "$ac_link") 2>conftest.er1
|
|
ac_status=$?
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
rm -f conftest.er1
|
|
cat conftest.err >&5
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
(exit $ac_status); } && {
|
|
test -z "$ac_c_werror_flag" ||
|
|
test ! -s conftest.err
|
|
} && test -s conftest$ac_exeext &&
|
|
$as_test_x conftest$ac_exeext; then
|
|
ac_cv_lib_intl_strftime=yes
|
|
else
|
|
echo "$as_me: failed program was:" >&5
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_lib_intl_strftime=no
|
|
fi
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
conftest$ac_exeext conftest.$ac_ext
|
|
LIBS=$ac_check_lib_save_LIBS
|
|
fi
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
|
|
echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; }
|
|
if test $ac_cv_lib_intl_strftime = yes; then
|
|
cat >>confdefs.h <<\_ACEOF
|
|
@%:@define HAVE_STRFTIME 1
|
|
_ACEOF
|
|
|
|
LIBS="-lintl $LIBS"
|
|
fi
|
|
|
|
fi
|
|
done
|
|
|
|
{ echo "$as_me:$LINENO: checking for working strtod" >&5
|
|
echo $ECHO_N "checking for working strtod... $ECHO_C" >&6; }
|
|
if test "${ac_cv_func_strtod+set}" = set; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
if test "$cross_compiling" = yes; then
|
|
ac_cv_func_strtod=no
|
|
else
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
|
|
$ac_includes_default
|
|
#ifndef strtod
|
|
double strtod ();
|
|
#endif
|
|
int
|
|
main()
|
|
{
|
|
{
|
|
/* Some versions of Linux strtod mis-parse strings with leading '+'. */
|
|
char *string = " +69";
|
|
char *term;
|
|
double value;
|
|
value = strtod (string, &term);
|
|
if (value != 69 || term != (string + 4))
|
|
return 1;
|
|
}
|
|
|
|
{
|
|
/* Under Solaris 2.4, strtod returns the wrong value for the
|
|
terminating character under some conditions. */
|
|
char *string = "NaN";
|
|
char *term;
|
|
strtod (string, &term);
|
|
if (term != string && *(term - 1) == 0)
|
|
return 1;
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
_ACEOF
|
|
rm -f conftest$ac_exeext
|
|
if { (ac_try="$ac_link"
|
|
case "(($ac_try" in
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
*) ac_try_echo=$ac_try;;
|
|
esac
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
(eval "$ac_link") 2>&5
|
|
ac_status=$?
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
{ (case "(($ac_try" in
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
*) ac_try_echo=$ac_try;;
|
|
esac
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
(eval "$ac_try") 2>&5
|
|
ac_status=$?
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
(exit $ac_status); }; }; then
|
|
ac_cv_func_strtod=yes
|
|
else
|
|
echo "$as_me: program exited with status $ac_status" >&5
|
|
echo "$as_me: failed program was:" >&5
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
( exit $ac_status )
|
|
ac_cv_func_strtod=no
|
|
fi
|
|
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
fi
|
|
|
|
|
|
fi
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
|
|
echo "${ECHO_T}$ac_cv_func_strtod" >&6; }
|
|
if test $ac_cv_func_strtod = no; then
|
|
case " $LIB@&t@OBJS " in
|
|
*" strtod.$ac_objext "* ) ;;
|
|
*) LIB@&t@OBJS="$LIB@&t@OBJS strtod.$ac_objext"
|
|
;;
|
|
esac
|
|
|
|
{ echo "$as_me:$LINENO: checking for pow" >&5
|
|
echo $ECHO_N "checking for pow... $ECHO_C" >&6; }
|
|
if test "${ac_cv_func_pow+set}" = set; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
/* Define pow to an innocuous variant, in case declares pow.
|
|
For example, HP-UX 11i declares gettimeofday. */
|
|
#define pow innocuous_pow
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
which can conflict with char pow (); below.
|
|
Prefer to if __STDC__ is defined, since
|
|
exists even on freestanding compilers. */
|
|
|
|
#ifdef __STDC__
|
|
# include
|
|
#else
|
|
# include
|
|
#endif
|
|
|
|
#undef pow
|
|
|
|
/* Override any GCC internal prototype to avoid an error.
|
|
Use char because int might match the return type of a GCC
|
|
builtin and then its argument prototype would still apply. */
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
#endif
|
|
char pow ();
|
|
/* The GNU C library defines this for functions which it implements
|
|
to always fail with ENOSYS. Some functions are actually named
|
|
something starting with __ and the normal name is an alias. */
|
|
#if defined __stub_pow || defined __stub___pow
|
|
choke me
|
|
#endif
|
|
|
|
int
|
|
main ()
|
|
{
|
|
return pow ();
|
|
;
|
|
return 0;
|
|
}
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
if { (ac_try="$ac_link"
|
|
case "(($ac_try" in
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
*) ac_try_echo=$ac_try;;
|
|
esac
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
(eval "$ac_link") 2>conftest.er1
|
|
ac_status=$?
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
rm -f conftest.er1
|
|
cat conftest.err >&5
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
(exit $ac_status); } && {
|
|
test -z "$ac_c_werror_flag" ||
|
|
test ! -s conftest.err
|
|
} && test -s conftest$ac_exeext &&
|
|
$as_test_x conftest$ac_exeext; then
|
|
ac_cv_func_pow=yes
|
|
else
|
|
echo "$as_me: failed program was:" >&5
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_func_pow=no
|
fi
|
fi
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
cat >>confdefs.h <<_ACEOF
|
|
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
_ACEOF
|
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
conftest$ac_exeext conftest.$ac_ext
|
fi
|
fi
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
|
|
echo "${ECHO_T}$ac_cv_func_pow" >&6; }
|
|
|
done
|
if test $ac_cv_func_pow = no; then
|
|
{ echo "$as_me:$LINENO: checking for pow in -lm" >&5
|
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
|
echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6; }
|
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
|
if test "${ac_cv_lib_m_pow+set}" = set; then
|
if test "${ac_cv_c_bigendian+set}" = set; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
# See if sys/param.h defines the BYTE_ORDER macro.
|
ac_check_lib_save_LIBS=$LIBS
|
|
LIBS="-lm $LIBS"
|
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
/* confdefs.h. */
|
/* confdefs.h. */
|
_ACEOF
|
_ACEOF
|
cat confdefs.h >>conftest.$ac_ext
|
cat confdefs.h >>conftest.$ac_ext
|
cat >>conftest.$ac_ext <<_ACEOF
|
cat >>conftest.$ac_ext <<_ACEOF
|
/* end confdefs.h. */
|
/* end confdefs.h. */
|
#include
|
|
#include
|
|
|
|
|
/* Override any GCC internal prototype to avoid an error.
|
|
Use char because int might match the return type of a GCC
|
|
builtin and then its argument prototype would still apply. */
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
#endif
|
|
char pow ();
|
int
|
int
|
main ()
|
main ()
|
{
|
{
|
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
|
return pow ();
|
&& BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
|
|
bogus endian macros
|
|
#endif
|
|
|
|
;
|
;
|
return 0;
|
return 0;
|
}
|
}
|
_ACEOF
|
_ACEOF
|
rm -f conftest.$ac_objext
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
if { (ac_try="$ac_compile"
|
if { (ac_try="$ac_link"
|
case "(($ac_try" in
|
case "(($ac_try" in
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
*) ac_try_echo=$ac_try;;
|
*) ac_try_echo=$ac_try;;
|
esac
|
esac
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
(eval "$ac_compile") 2>conftest.er1
|
(eval "$ac_link") 2>conftest.er1
|
ac_status=$?
|
ac_status=$?
|
grep -v '^ *+' conftest.er1 >conftest.err
|
grep -v '^ *+' conftest.er1 >conftest.err
|
rm -f conftest.er1
|
rm -f conftest.er1
|
cat conftest.err >&5
|
cat conftest.err >&5
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
(exit $ac_status); } && {
|
(exit $ac_status); } && {
|
test -z "$ac_c_werror_flag" ||
|
test -z "$ac_c_werror_flag" ||
|
test ! -s conftest.err
|
test ! -s conftest.err
|
} && test -s conftest.$ac_objext; then
|
} && test -s conftest$ac_exeext &&
|
# It does; now see whether it defined to BIG_ENDIAN or not.
|
$as_test_x conftest$ac_exeext; then
|
|
ac_cv_lib_m_pow=yes
|
|
else
|
|
echo "$as_me: failed program was:" >&5
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_lib_m_pow=no
|
|
fi
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
conftest$ac_exeext conftest.$ac_ext
|
|
LIBS=$ac_check_lib_save_LIBS
|
|
fi
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
|
|
echo "${ECHO_T}$ac_cv_lib_m_pow" >&6; }
|
|
if test $ac_cv_lib_m_pow = yes; then
|
|
POW_LIB=-lm
|
|
else
|
|
{ echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5
|
|
echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for ac_func in bzero strchr strcspn strrchr strtol
|
|
do
|
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
|
|
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
/* confdefs.h. */
|
/* confdefs.h. */
|
_ACEOF
|
_ACEOF
|
cat confdefs.h >>conftest.$ac_ext
|
cat confdefs.h >>conftest.$ac_ext
|
cat >>conftest.$ac_ext <<_ACEOF
|
cat >>conftest.$ac_ext <<_ACEOF
|
/* end confdefs.h. */
|
/* end confdefs.h. */
|
#include
|
/* Define $ac_func to an innocuous variant, in case declares $ac_func.
|
#include
|
For example, HP-UX 11i declares gettimeofday. */
|
|
#define $ac_func innocuous_$ac_func
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
which can conflict with char $ac_func (); below.
|
|
Prefer to if __STDC__ is defined, since
|
|
exists even on freestanding compilers. */
|
|
|
|
#ifdef __STDC__
|
|
# include
|
|
#else
|
|
# include
|
|
#endif
|
|
|
|
#undef $ac_func
|
|
|
|
/* Override any GCC internal prototype to avoid an error.
|
|
Use char because int might match the return type of a GCC
|
|
builtin and then its argument prototype would still apply. */
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
#endif
|
|
char $ac_func ();
|
|
/* The GNU C library defines this for functions which it implements
|
|
to always fail with ENOSYS. Some functions are actually named
|
|
something starting with __ and the normal name is an alias. */
|
|
#if defined __stub_$ac_func || defined __stub___$ac_func
|
|
choke me
|
|
#endif
|
|
|
int
|
int
|
main ()
|
main ()
|
{
|
{
|
#if BYTE_ORDER != BIG_ENDIAN
|
return $ac_func ();
|
not big endian
|
|
#endif
|
|
|
|
;
|
;
|
return 0;
|
return 0;
|
}
|
}
|
_ACEOF
|
_ACEOF
|
rm -f conftest.$ac_objext
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
if { (ac_try="$ac_compile"
|
if { (ac_try="$ac_link"
|
case "(($ac_try" in
|
case "(($ac_try" in
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
*) ac_try_echo=$ac_try;;
|
*) ac_try_echo=$ac_try;;
|
esac
|
esac
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
(eval "$ac_compile") 2>conftest.er1
|
(eval "$ac_link") 2>conftest.er1
|
ac_status=$?
|
ac_status=$?
|
grep -v '^ *+' conftest.er1 >conftest.err
|
grep -v '^ *+' conftest.er1 >conftest.err
|
rm -f conftest.er1
|
rm -f conftest.er1
|
cat conftest.err >&5
|
cat conftest.err >&5
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
(exit $ac_status); } && {
|
(exit $ac_status); } && {
|
test -z "$ac_c_werror_flag" ||
|
test -z "$ac_c_werror_flag" ||
|
test ! -s conftest.err
|
test ! -s conftest.err
|
} && test -s conftest.$ac_objext; then
|
} && test -s conftest$ac_exeext &&
|
ac_cv_c_bigendian=yes
|
$as_test_x conftest$ac_exeext; then
|
|
eval "$as_ac_var=yes"
|
else
|
else
|
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
sed 's/^/| /' conftest.$ac_ext >&5
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
ac_cv_c_bigendian=no
|
eval "$as_ac_var=no"
|
fi
|
fi
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
else
|
conftest$ac_exeext conftest.$ac_ext
|
echo "$as_me: failed program was:" >&5
|
fi
|
sed 's/^/| /' conftest.$ac_ext >&5
|
ac_res=`eval echo '${'$as_ac_var'}'`
|
|
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
echo "${ECHO_T}$ac_res" >&6; }
|
|
if test `eval echo '${'$as_ac_var'}'` = yes; then
|
|
cat >>confdefs.h <<_ACEOF
|
|
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
_ACEOF
|
|
|
# It does not; compile a test program.
|
fi
|
if test "$cross_compiling" = yes; then
|
done
|
# try to guess the endianness by grepping values into an object file
|
|
ac_cv_c_bigendian=unknown
|
{ echo "$as_me:$LINENO: checking for getopt_long" >&5
|
|
echo $ECHO_N "checking for getopt_long... $ECHO_C" >&6; }
|
|
if test "${ac_cv_func_getopt_long+set}" = set; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
/* confdefs.h. */
|
/* confdefs.h. */
|
_ACEOF
|
_ACEOF
|
cat confdefs.h >>conftest.$ac_ext
|
cat confdefs.h >>conftest.$ac_ext
|
cat >>conftest.$ac_ext <<_ACEOF
|
cat >>conftest.$ac_ext <<_ACEOF
|
/* end confdefs.h. */
|
/* end confdefs.h. */
|
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
|
/* Define getopt_long to an innocuous variant, in case declares getopt_long.
|
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
|
For example, HP-UX 11i declares gettimeofday. */
|
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
|
#define getopt_long innocuous_getopt_long
|
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
|
|
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
|
/* System header to define __stub macros and hopefully few prototypes,
|
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
|
which can conflict with char getopt_long (); below.
|
|
Prefer to if __STDC__ is defined, since
|
|
exists even on freestanding compilers. */
|
|
|
|
#ifdef __STDC__
|
|
# include
|
|
#else
|
|
# include
|
|
#endif
|
|
|
|
#undef getopt_long
|
|
|
|
/* Override any GCC internal prototype to avoid an error.
|
|
Use char because int might match the return type of a GCC
|
|
builtin and then its argument prototype would still apply. */
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
#endif
|
|
char getopt_long ();
|
|
/* The GNU C library defines this for functions which it implements
|
|
to always fail with ENOSYS. Some functions are actually named
|
|
something starting with __ and the normal name is an alias. */
|
|
#if defined __stub_getopt_long || defined __stub___getopt_long
|
|
choke me
|
|
#endif
|
|
|
int
|
int
|
main ()
|
main ()
|
{
|
{
|
_ascii (); _ebcdic ();
|
return getopt_long ();
|
;
|
;
|
return 0;
|
return 0;
|
}
|
}
|
_ACEOF
|
_ACEOF
|
rm -f conftest.$ac_objext
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
if { (ac_try="$ac_compile"
|
if { (ac_try="$ac_link"
|
case "(($ac_try" in
|
case "(($ac_try" in
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
*) ac_try_echo=$ac_try;;
|
*) ac_try_echo=$ac_try;;
|
esac
|
esac
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
(eval "$ac_compile") 2>conftest.er1
|
(eval "$ac_link") 2>conftest.er1
|
ac_status=$?
|
ac_status=$?
|
grep -v '^ *+' conftest.er1 >conftest.err
|
grep -v '^ *+' conftest.er1 >conftest.err
|
rm -f conftest.er1
|
rm -f conftest.er1
|
cat conftest.err >&5
|
cat conftest.err >&5
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
(exit $ac_status); } && {
|
(exit $ac_status); } && {
|
test -z "$ac_c_werror_flag" ||
|
test -z "$ac_c_werror_flag" ||
|
test ! -s conftest.err
|
test ! -s conftest.err
|
} && test -s conftest.$ac_objext; then
|
} && test -s conftest$ac_exeext &&
|
if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
|
$as_test_x conftest$ac_exeext; then
|
ac_cv_c_bigendian=yes
|
ac_cv_func_getopt_long=yes
|
fi
|
|
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
|
|
if test "$ac_cv_c_bigendian" = unknown; then
|
|
ac_cv_c_bigendian=no
|
|
else
|
else
|
# finding both strings is unlikely to happen, but who knows?
|
echo "$as_me: failed program was:" >&5
|
ac_cv_c_bigendian=unknown
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_func_getopt_long=no
|
|
fi
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
conftest$ac_exeext conftest.$ac_ext
|
fi
|
fi
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_func_getopt_long" >&5
|
|
echo "${ECHO_T}$ac_cv_func_getopt_long" >&6; }
|
|
if test $ac_cv_func_getopt_long = yes; then
|
|
SYS_GETOPTLONG=1
|
|
else
|
|
SYS_GETOPTLONG=0
|
fi
|
fi
|
|
|
|
{ echo "$as_me:$LINENO: checking for regcomp" >&5
|
|
echo $ECHO_N "checking for regcomp... $ECHO_C" >&6; }
|
|
if test "${ac_cv_func_regcomp+set}" = set; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
/* Define regcomp to an innocuous variant, in case declares regcomp.
|
|
For example, HP-UX 11i declares gettimeofday. */
|
|
#define regcomp innocuous_regcomp
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
which can conflict with char regcomp (); below.
|
|
Prefer to if __STDC__ is defined, since
|
|
exists even on freestanding compilers. */
|
|
|
|
#ifdef __STDC__
|
|
# include
|
|
#else
|
|
# include
|
|
#endif
|
|
|
|
#undef regcomp
|
|
|
|
/* Override any GCC internal prototype to avoid an error.
|
|
Use char because int might match the return type of a GCC
|
|
builtin and then its argument prototype would still apply. */
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
#endif
|
|
char regcomp ();
|
|
/* The GNU C library defines this for functions which it implements
|
|
to always fail with ENOSYS. Some functions are actually named
|
|
something starting with __ and the normal name is an alias. */
|
|
#if defined __stub_regcomp || defined __stub___regcomp
|
|
choke me
|
|
#endif
|
|
|
|
int
|
|
main ()
|
|
{
|
|
return regcomp ();
|
|
;
|
|
return 0;
|
|
}
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
if { (ac_try="$ac_link"
|
|
case "(($ac_try" in
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
*) ac_try_echo=$ac_try;;
|
|
esac
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
(eval "$ac_link") 2>conftest.er1
|
|
ac_status=$?
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
rm -f conftest.er1
|
|
cat conftest.err >&5
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
(exit $ac_status); } && {
|
|
test -z "$ac_c_werror_flag" ||
|
|
test ! -s conftest.err
|
|
} && test -s conftest$ac_exeext &&
|
|
$as_test_x conftest$ac_exeext; then
|
|
ac_cv_func_regcomp=yes
|
else
|
else
|
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
sed 's/^/| /' conftest.$ac_ext >&5
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_func_regcomp=no
|
|
fi
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
conftest$ac_exeext conftest.$ac_ext
|
|
fi
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_func_regcomp" >&5
|
|
echo "${ECHO_T}$ac_cv_func_regcomp" >&6; }
|
|
if test $ac_cv_func_regcomp = yes; then
|
|
SYS_REGEX=1
|
|
else
|
|
SYS_REGEX=0
|
fi
|
fi
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
{ echo "$as_me:$LINENO: checking for strptime" >&5
|
|
echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
|
|
if test "${ac_cv_func_strptime+set}" = set; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
/* confdefs.h. */
|
/* confdefs.h. */
|
_ACEOF
|
_ACEOF
|
cat confdefs.h >>conftest.$ac_ext
|
cat confdefs.h >>conftest.$ac_ext
|
cat >>conftest.$ac_ext <<_ACEOF
|
cat >>conftest.$ac_ext <<_ACEOF
|
/* end confdefs.h. */
|
/* end confdefs.h. */
|
$ac_includes_default
|
/* Define strptime to an innocuous variant, in case declares strptime.
|
|
For example, HP-UX 11i declares gettimeofday. */
|
|
#define strptime innocuous_strptime
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
which can conflict with char strptime (); below.
|
|
Prefer to if __STDC__ is defined, since
|
|
exists even on freestanding compilers. */
|
|
|
|
#ifdef __STDC__
|
|
# include
|
|
#else
|
|
# include
|
|
#endif
|
|
|
|
#undef strptime
|
|
|
|
/* Override any GCC internal prototype to avoid an error.
|
|
Use char because int might match the return type of a GCC
|
|
builtin and then its argument prototype would still apply. */
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
#endif
|
|
char strptime ();
|
|
/* The GNU C library defines this for functions which it implements
|
|
to always fail with ENOSYS. Some functions are actually named
|
|
something starting with __ and the normal name is an alias. */
|
|
#if defined __stub_strptime || defined __stub___strptime
|
|
choke me
|
|
#endif
|
|
|
int
|
int
|
main ()
|
main ()
|
{
|
{
|
|
return strptime ();
|
/* Are we little or big endian? From Harbison&Steele. */
|
|
union
|
|
{
|
|
long int l;
|
|
char c[sizeof (long int)];
|
|
} u;
|
|
u.l = 1;
|
|
return u.c[sizeof (long int) - 1] == 1;
|
|
|
|
;
|
;
|
return 0;
|
return 0;
|
}
|
}
|
_ACEOF
|
_ACEOF
|
rm -f conftest$ac_exeext
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
if { (ac_try="$ac_link"
|
if { (ac_try="$ac_link"
|
case "(($ac_try" in
|
case "(($ac_try" in
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
*) ac_try_echo=$ac_try;;
|
*) ac_try_echo=$ac_try;;
|
esac
|
esac
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
(eval "$ac_link") 2>&5
|
(eval "$ac_link") 2>conftest.er1
|
ac_status=$?
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
{ (case "(($ac_try" in
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
*) ac_try_echo=$ac_try;;
|
|
esac
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
(eval "$ac_try") 2>&5
|
|
ac_status=$?
|
ac_status=$?
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
rm -f conftest.er1
|
|
cat conftest.err >&5
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
(exit $ac_status); }; }; then
|
(exit $ac_status); } && {
|
ac_cv_c_bigendian=no
|
test -z "$ac_c_werror_flag" ||
|
|
test ! -s conftest.err
|
|
} && test -s conftest$ac_exeext &&
|
|
$as_test_x conftest$ac_exeext; then
|
|
ac_cv_func_strptime=yes
|
else
|
else
|
echo "$as_me: program exited with status $ac_status" >&5
|
|
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
sed 's/^/| /' conftest.$ac_ext >&5
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
( exit $ac_status )
|
ac_cv_func_strptime=no
|
ac_cv_c_bigendian=yes
|
|
fi
|
fi
|
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
conftest$ac_exeext conftest.$ac_ext
|
|
fi
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
|
|
echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
|
|
if test $ac_cv_func_strptime = yes; then
|
|
SYS_STRPTIME=1
|
|
else
|
|
SYS_STRPTIME=0
|
fi
|
fi
|
|
|
|
|
|
# Define automake conditionals (for argtable2)
|
|
if test "$SYS_GETOPTLONG" = "1"; then
|
|
USE_SYS_GETOPTLONG_TRUE=
|
|
USE_SYS_GETOPTLONG_FALSE='#'
|
|
else
|
|
USE_SYS_GETOPTLONG_TRUE='#'
|
|
USE_SYS_GETOPTLONG_FALSE=
|
fi
|
fi
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
if test "$SYS_REGEX" = "1"; then
|
|
USE_ARGREX_TRUE=
|
|
USE_ARGREX_FALSE='#'
|
|
else
|
|
USE_ARGREX_TRUE='#'
|
|
USE_ARGREX_FALSE=
|
fi
|
fi
|
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
|
|
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
|
|
case $ac_cv_c_bigendian in
|
|
yes)
|
|
|
|
cat >>confdefs.h <<\_ACEOF
|
if test "$SYS_STRPTIME" = "1"; then
|
@%:@define WORDS_BIGENDIAN 1
|
USE_ARGDATE_TRUE=
|
_ACEOF
|
USE_ARGDATE_FALSE='#'
|
;;
|
else
|
no)
|
USE_ARGDATE_TRUE='#'
|
;;
|
USE_ARGDATE_FALSE=
|
*)
|
fi
|
{ { echo "$as_me:$LINENO: error: unknown endianness
|
|
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
|
|
echo "$as_me: error: unknown endianness
|
|
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
|
|
{ (exit 1); exit 1; }; } ;;
|
|
esac
|
|
|
|
|
|
# check for "long long" (added by Erez)
|
# check for "long long" (added by Erez)
|
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
/* confdefs.h. */
|
/* confdefs.h. */
|
Line 21526... |
Line 23162... |
|
|
fi
|
fi
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
# check for {u,}int{8,16,32}_t in inttypes.h
|
# check for {u,}int{8,16,32}_t in inttypes.h.
|
{ echo "$as_me:$LINENO: checking for uint8_t" >&5
|
{ echo "$as_me:$LINENO: checking for uint8_t" >&5
|
echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6; }
|
echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6; }
|
if test "${ac_cv_type_uint8_t+set}" = set; then
|
if test "${ac_cv_type_uint8_t+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
Line 23523... |
Line 25159... |
@%:@define SIZEOF_LONG $ac_cv_sizeof_long
|
@%:@define SIZEOF_LONG $ac_cv_sizeof_long
|
_ACEOF
|
_ACEOF
|
|
|
|
|
|
|
|
#Check for compare function type for qsort (needed by some Linuxes)
|
|
{ echo "$as_me:$LINENO: checking for __compar_fn_t" >&5
|
|
echo $ECHO_N "checking for __compar_fn_t... $ECHO_C" >&6; }
|
|
if test "${ac_cv_type___compar_fn_t+set}" = set; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
$ac_includes_default
|
|
typedef __compar_fn_t ac__type_new_;
|
|
int
|
|
main ()
|
|
{
|
|
if ((ac__type_new_ *) 0)
|
|
return 0;
|
|
if (sizeof (ac__type_new_))
|
|
return 0;
|
|
;
|
|
return 0;
|
|
}
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (ac_try="$ac_compile"
|
|
case "(($ac_try" in
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
*) ac_try_echo=$ac_try;;
|
|
esac
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
(eval "$ac_compile") 2>conftest.er1
|
|
ac_status=$?
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
rm -f conftest.er1
|
|
cat conftest.err >&5
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
(exit $ac_status); } && {
|
|
test -z "$ac_c_werror_flag" ||
|
|
test ! -s conftest.err
|
|
} && test -s conftest.$ac_objext; then
|
|
ac_cv_type___compar_fn_t=yes
|
|
else
|
|
echo "$as_me: failed program was:" >&5
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_type___compar_fn_t=no
|
|
fi
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
fi
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_type___compar_fn_t" >&5
|
|
echo "${ECHO_T}$ac_cv_type___compar_fn_t" >&6; }
|
|
if test $ac_cv_type___compar_fn_t = yes; then
|
|
|
|
cat >>confdefs.h <<_ACEOF
|
|
@%:@define HAVE___COMPAR_FN_T 1
|
|
_ACEOF
|
|
|
|
|
|
fi
|
|
|
|
|
# check for GNU readline
|
# check for GNU readline
|
|
|
{ echo "$as_me:$LINENO: checking for add_history in -lreadline" >&5
|
{ echo "$as_me:$LINENO: checking for add_history in -lreadline" >&5
|
echo $ECHO_N "checking for add_history in -lreadline... $ECHO_C" >&6; }
|
echo $ECHO_N "checking for add_history in -lreadline... $ECHO_C" >&6; }
|
if test "${ac_cv_lib_readline_add_history+set}" = set; then
|
if test "${ac_cv_lib_readline_add_history+set}" = set; then
|
Line 23595... |
Line 25295... |
|
|
LIBS="-lreadline $LIBS"
|
LIBS="-lreadline $LIBS"
|
|
|
fi
|
fi
|
|
|
|
# Not all versions of readline have rl_event_hook (e.g., Mac OS X)
|
|
{ echo "$as_me:$LINENO: checking whether rl_event_hook is declared" >&5
|
|
echo $ECHO_N "checking whether rl_event_hook is declared... $ECHO_C" >&6; }
|
|
if test "${ac_cv_have_decl_rl_event_hook+set}" = set; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
#include
|
|
|
|
int
|
|
main ()
|
|
{
|
|
#ifndef rl_event_hook
|
|
(void) rl_event_hook;
|
|
#endif
|
|
|
|
;
|
|
return 0;
|
|
}
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (ac_try="$ac_compile"
|
|
case "(($ac_try" in
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
*) ac_try_echo=$ac_try;;
|
|
esac
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
(eval "$ac_compile") 2>conftest.er1
|
|
ac_status=$?
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
rm -f conftest.er1
|
|
cat conftest.err >&5
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
(exit $ac_status); } && {
|
|
test -z "$ac_c_werror_flag" ||
|
|
test ! -s conftest.err
|
|
} && test -s conftest.$ac_objext; then
|
|
ac_cv_have_decl_rl_event_hook=yes
|
|
else
|
|
echo "$as_me: failed program was:" >&5
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_have_decl_rl_event_hook=no
|
|
fi
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
fi
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_rl_event_hook" >&5
|
|
echo "${ECHO_T}$ac_cv_have_decl_rl_event_hook" >&6; }
|
|
if test $ac_cv_have_decl_rl_event_hook = yes; then
|
|
|
|
cat >>confdefs.h <<_ACEOF
|
|
@%:@define HAVE_DECL_RL_EVENT_HOOK 1
|
|
_ACEOF
|
|
|
|
|
|
else
|
|
cat >>confdefs.h <<_ACEOF
|
|
@%:@define HAVE_DECL_RL_EVENT_HOOK 0
|
|
_ACEOF
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
# yuck
|
# yuck
|
case "$host_os" in
|
case "$host_os" in
|
aix*) prefer_curses=yes ;;
|
aix*) prefer_curses=yes ;;
|
esac
|
esac
|
Line 23621... |
Line 25391... |
echo $ECHO_N "checking whether to enable profiling... $ECHO_C" >&6; }
|
echo $ECHO_N "checking whether to enable profiling... $ECHO_C" >&6; }
|
# Check whether --enable-profiling was given.
|
# Check whether --enable-profiling was given.
|
if test "${enable_profiling+set}" = set; then
|
if test "${enable_profiling+set}" = set; then
|
enableval=$enable_profiling;
|
enableval=$enable_profiling;
|
case "$enableval" in
|
case "$enableval" in
|
yes) profile="-pg -a" ;;
|
yes) profile="-pg" ;;
|
esac
|
esac
|
|
|
fi
|
fi
|
|
|
{ echo "$as_me:$LINENO: result: ${enable_profiling-no}" >&5
|
{ echo "$as_me:$LINENO: result: ${enable_profiling-no}" >&5
|
Line 23736... |
Line 25506... |
fi
|
fi
|
|
|
{ echo "$as_me:$LINENO: result: ${enable_arith_flag-no}" >&5
|
{ echo "$as_me:$LINENO: result: ${enable_arith_flag-no}" >&5
|
echo "${ECHO_T}${enable_arith_flag-no}" >&6; }
|
echo "${ECHO_T}${enable_arith_flag-no}" >&6; }
|
|
|
|
# check for --enable-debug argument (for argtable2)
|
|
# Check whether --enable-debug was given.
|
|
if test "${enable_debug+set}" = set; then
|
|
enableval=$enable_debug;
|
|
case $enableval in
|
|
yes) echo "enabling argtable2 debugging symbols" & DEBUGFLAGS="-g -UNDEBUG";;
|
|
no) echo "disabling argtable2 debugging symbols" & DEBUGFLAGS="-DNDEBUG";;
|
|
*) echo "illegal argument to --enable-debug" & exit 1;;
|
|
esac
|
|
|
|
else
|
|
DEBUGFLAGS="-DNDEBUG"
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
cat >>confdefs.h <<_ACEOF
|
cat >>confdefs.h <<_ACEOF
|
@%:@define RAW_RANGE_STATS $raw_range_stats
|
@%:@define RAW_RANGE_STATS $raw_range_stats
|
_ACEOF
|
_ACEOF
|
|
|
Line 23812... |
Line 25599... |
|
|
|
|
|
|
|
|
cat >>confdefs.h <<\_ACEOF
|
cat >>confdefs.h <<\_ACEOF
|
@%:@define HAS_EXECUTION 1
|
@%:@define HAVE_EXECUTION 1
|
_ACEOF
|
|
|
|
|
|
cat >>confdefs.h <<\_ACEOF
|
|
@%:@define HAS_DEBUG 1
|
|
_ACEOF
|
_ACEOF
|
|
|
|
|
# yuck
|
# yuck
|
INCLUDES="$INCLUDES -I\${top_srcdir} -I\${top_srcdir}/cpu/common \
|
INCLUDES="$INCLUDES -I\${top_srcdir} -I\${top_srcdir}/cpu/common \
|
-I\${top_srcdir}/cpu/or1k -I\${top_srcdir}/cache -I\${top_srcdir}/mmu \
|
-I\${top_srcdir}/cpu/or1k -I\${top_srcdir}/cache -I\${top_srcdir}/mmu \
|
-I\${top_srcdir}/bpb -I\${top_srcdir}/peripheral -I\${top_srcdir}/tick \
|
-I\${top_srcdir}/bpb -I\${top_srcdir}/peripheral -I\${top_srcdir}/tick \
|
-I\${top_srcdir}/peripheral/channels -I\${top_srcdir}/pm -I\${top_srcdir}/pic \
|
-I\${top_srcdir}/peripheral/channels -I\${top_srcdir}/pm -I\${top_srcdir}/pic \
|
-I\${top_srcdir}/debug -I\${top_srcdir}/vapi -I\${top_srcdir}/support \
|
-I\${top_srcdir}/debug -I\${top_srcdir}/vapi -I\${top_srcdir}/support \
|
-I\${top_srcdir}/cuc -I\${top_srcdir}/port"
|
-I\${top_srcdir}/cuc -I\${top_srcdir}/port -I\${top_srcdir}/argtable2"
|
|
|
|
|
ac_config_files="$ac_config_files Makefile bpb/Makefile cache/Makefile cpu/Makefile cpu/common/Makefile cpu/or32/Makefile cuc/Makefile cpu/or1k/Makefile cpu/dlx/Makefile debug/Makefile support/Makefile mmu/Makefile peripheral/Makefile tick/Makefile peripheral/channels/Makefile pm/Makefile pic/Makefile vapi/Makefile port/Makefile"
|
ac_config_files="$ac_config_files Makefile argtable2/Makefile bpb/Makefile cache/Makefile cpu/Makefile cpu/common/Makefile cpu/or1k/Makefile cuc/Makefile debug/Makefile doc/Makefile support/Makefile mmu/Makefile peripheral/Makefile tick/Makefile peripheral/channels/Makefile pm/Makefile pic/Makefile vapi/Makefile port/Makefile"
|
|
|
ac_config_commands="$ac_config_commands default"
|
|
|
|
|
# yuck. I don't know why I cannot just substitute $CPU_ARCH in the above
|
|
case "$CPU_ARCH" in
|
|
dlx) ac_config_files="$ac_config_files cpu/dlx/Makefile"
|
|
;;
|
|
*) ac_config_files="$ac_config_files cpu/or32/Makefile"
|
|
;;
|
|
esac
|
|
|
|
# Makefile uses this timestamp file to record whether config.h is up to date.
|
|
# AC_CONFIG_COMMANDS([default],[[
|
|
# echo > stamp-h
|
|
# ]],[[]])
|
cat >confcache <<\_ACEOF
|
cat >confcache <<\_ACEOF
|
# This file is a shell script that caches the results of configure
|
# This file is a shell script that caches the results of configure
|
# tests run on this system so they can be shared between configure
|
# tests run on this system so they can be shared between configure
|
# scripts and configure runs, see configure's option --config-cache.
|
# scripts and configure runs, see configure's option --config-cache.
|
# It is not useful on other systems. If it contains results you don't
|
# It is not useful on other systems. If it contains results you don't
|
Line 23951... |
Line 25744... |
Usually this means the macro was only invoked conditionally." >&5
|
Usually this means the macro was only invoked conditionally." >&5
|
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
|
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
|
Usually this means the macro was only invoked conditionally." >&2;}
|
Usually this means the macro was only invoked conditionally." >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
fi
|
fi
|
|
if test -z "${USE_SYS_GETOPTLONG_TRUE}" && test -z "${USE_SYS_GETOPTLONG_FALSE}"; then
|
|
{ { echo "$as_me:$LINENO: error: conditional \"USE_SYS_GETOPTLONG\" was never defined.
|
|
Usually this means the macro was only invoked conditionally." >&5
|
|
echo "$as_me: error: conditional \"USE_SYS_GETOPTLONG\" was never defined.
|
|
Usually this means the macro was only invoked conditionally." >&2;}
|
|
{ (exit 1); exit 1; }; }
|
|
fi
|
|
if test -z "${USE_ARGREX_TRUE}" && test -z "${USE_ARGREX_FALSE}"; then
|
|
{ { echo "$as_me:$LINENO: error: conditional \"USE_ARGREX\" was never defined.
|
|
Usually this means the macro was only invoked conditionally." >&5
|
|
echo "$as_me: error: conditional \"USE_ARGREX\" was never defined.
|
|
Usually this means the macro was only invoked conditionally." >&2;}
|
|
{ (exit 1); exit 1; }; }
|
|
fi
|
|
if test -z "${USE_ARGDATE_TRUE}" && test -z "${USE_ARGDATE_FALSE}"; then
|
|
{ { echo "$as_me:$LINENO: error: conditional \"USE_ARGDATE\" was never defined.
|
|
Usually this means the macro was only invoked conditionally." >&5
|
|
echo "$as_me: error: conditional \"USE_ARGDATE\" was never defined.
|
|
Usually this means the macro was only invoked conditionally." >&2;}
|
|
{ (exit 1); exit 1; }; }
|
|
fi
|
if test -z "${GENERATE_NEEDED_TRUE}" && test -z "${GENERATE_NEEDED_FALSE}"; then
|
if test -z "${GENERATE_NEEDED_TRUE}" && test -z "${GENERATE_NEEDED_FALSE}"; then
|
{ { echo "$as_me:$LINENO: error: conditional \"GENERATE_NEEDED\" was never defined.
|
{ { echo "$as_me:$LINENO: error: conditional \"GENERATE_NEEDED\" was never defined.
|
Usually this means the macro was only invoked conditionally." >&5
|
Usually this means the macro was only invoked conditionally." >&5
|
echo "$as_me: error: conditional \"GENERATE_NEEDED\" was never defined.
|
echo "$as_me: error: conditional \"GENERATE_NEEDED\" was never defined.
|
Usually this means the macro was only invoked conditionally." >&2;}
|
Usually this means the macro was only invoked conditionally." >&2;}
|
Line 24424... |
Line 26238... |
#
|
#
|
# INIT-COMMANDS
|
# INIT-COMMANDS
|
#
|
#
|
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
|
|
|
|
_ACEOF
|
_ACEOF
|
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
|
# Handling of arguments.
|
# Handling of arguments.
|
Line 24436... |
Line 26249... |
do
|
do
|
case $ac_config_target in
|
case $ac_config_target in
|
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
|
"argtable2/Makefile") CONFIG_FILES="$CONFIG_FILES argtable2/Makefile" ;;
|
"bpb/Makefile") CONFIG_FILES="$CONFIG_FILES bpb/Makefile" ;;
|
"bpb/Makefile") CONFIG_FILES="$CONFIG_FILES bpb/Makefile" ;;
|
"cache/Makefile") CONFIG_FILES="$CONFIG_FILES cache/Makefile" ;;
|
"cache/Makefile") CONFIG_FILES="$CONFIG_FILES cache/Makefile" ;;
|
"cpu/Makefile") CONFIG_FILES="$CONFIG_FILES cpu/Makefile" ;;
|
"cpu/Makefile") CONFIG_FILES="$CONFIG_FILES cpu/Makefile" ;;
|
"cpu/common/Makefile") CONFIG_FILES="$CONFIG_FILES cpu/common/Makefile" ;;
|
"cpu/common/Makefile") CONFIG_FILES="$CONFIG_FILES cpu/common/Makefile" ;;
|
"cpu/or32/Makefile") CONFIG_FILES="$CONFIG_FILES cpu/or32/Makefile" ;;
|
|
"cuc/Makefile") CONFIG_FILES="$CONFIG_FILES cuc/Makefile" ;;
|
|
"cpu/or1k/Makefile") CONFIG_FILES="$CONFIG_FILES cpu/or1k/Makefile" ;;
|
"cpu/or1k/Makefile") CONFIG_FILES="$CONFIG_FILES cpu/or1k/Makefile" ;;
|
"cpu/dlx/Makefile") CONFIG_FILES="$CONFIG_FILES cpu/dlx/Makefile" ;;
|
"cuc/Makefile") CONFIG_FILES="$CONFIG_FILES cuc/Makefile" ;;
|
"debug/Makefile") CONFIG_FILES="$CONFIG_FILES debug/Makefile" ;;
|
"debug/Makefile") CONFIG_FILES="$CONFIG_FILES debug/Makefile" ;;
|
|
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
|
"support/Makefile") CONFIG_FILES="$CONFIG_FILES support/Makefile" ;;
|
"support/Makefile") CONFIG_FILES="$CONFIG_FILES support/Makefile" ;;
|
"mmu/Makefile") CONFIG_FILES="$CONFIG_FILES mmu/Makefile" ;;
|
"mmu/Makefile") CONFIG_FILES="$CONFIG_FILES mmu/Makefile" ;;
|
"peripheral/Makefile") CONFIG_FILES="$CONFIG_FILES peripheral/Makefile" ;;
|
"peripheral/Makefile") CONFIG_FILES="$CONFIG_FILES peripheral/Makefile" ;;
|
"tick/Makefile") CONFIG_FILES="$CONFIG_FILES tick/Makefile" ;;
|
"tick/Makefile") CONFIG_FILES="$CONFIG_FILES tick/Makefile" ;;
|
"peripheral/channels/Makefile") CONFIG_FILES="$CONFIG_FILES peripheral/channels/Makefile" ;;
|
"peripheral/channels/Makefile") CONFIG_FILES="$CONFIG_FILES peripheral/channels/Makefile" ;;
|
"pm/Makefile") CONFIG_FILES="$CONFIG_FILES pm/Makefile" ;;
|
"pm/Makefile") CONFIG_FILES="$CONFIG_FILES pm/Makefile" ;;
|
"pic/Makefile") CONFIG_FILES="$CONFIG_FILES pic/Makefile" ;;
|
"pic/Makefile") CONFIG_FILES="$CONFIG_FILES pic/Makefile" ;;
|
"vapi/Makefile") CONFIG_FILES="$CONFIG_FILES vapi/Makefile" ;;
|
"vapi/Makefile") CONFIG_FILES="$CONFIG_FILES vapi/Makefile" ;;
|
"port/Makefile") CONFIG_FILES="$CONFIG_FILES port/Makefile" ;;
|
"port/Makefile") CONFIG_FILES="$CONFIG_FILES port/Makefile" ;;
|
"default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
|
"cpu/dlx/Makefile") CONFIG_FILES="$CONFIG_FILES cpu/dlx/Makefile" ;;
|
|
"cpu/or32/Makefile") CONFIG_FILES="$CONFIG_FILES cpu/or32/Makefile" ;;
|
|
|
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
{ (exit 1); exit 1; }; };;
|
{ (exit 1); exit 1; }; };;
|
esac
|
esac
|
Line 24666... |
Line 26480... |
CXXDEPMODE!$CXXDEPMODE$ac_delim
|
CXXDEPMODE!$CXXDEPMODE$ac_delim
|
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
|
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
|
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
|
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
|
CPU_ARCH!$CPU_ARCH$ac_delim
|
CPU_ARCH!$CPU_ARCH$ac_delim
|
MAKE_SHELL!$MAKE_SHELL$ac_delim
|
MAKE_SHELL!$MAKE_SHELL$ac_delim
|
|
LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
|
|
POW_LIB!$POW_LIB$ac_delim
|
|
USE_SYS_GETOPTLONG_TRUE!$USE_SYS_GETOPTLONG_TRUE$ac_delim
|
|
USE_SYS_GETOPTLONG_FALSE!$USE_SYS_GETOPTLONG_FALSE$ac_delim
|
|
USE_ARGREX_TRUE!$USE_ARGREX_TRUE$ac_delim
|
|
USE_ARGREX_FALSE!$USE_ARGREX_FALSE$ac_delim
|
|
USE_ARGDATE_TRUE!$USE_ARGDATE_TRUE$ac_delim
|
|
USE_ARGDATE_FALSE!$USE_ARGDATE_FALSE$ac_delim
|
|
DEBUGFLAGS!$DEBUGFLAGS$ac_delim
|
GENERATE_NEEDED_TRUE!$GENERATE_NEEDED_TRUE$ac_delim
|
GENERATE_NEEDED_TRUE!$GENERATE_NEEDED_TRUE$ac_delim
|
GENERATE_NEEDED_FALSE!$GENERATE_NEEDED_FALSE$ac_delim
|
GENERATE_NEEDED_FALSE!$GENERATE_NEEDED_FALSE$ac_delim
|
DYNAMIC_EXECUTION_TRUE!$DYNAMIC_EXECUTION_TRUE$ac_delim
|
DYNAMIC_EXECUTION_TRUE!$DYNAMIC_EXECUTION_TRUE$ac_delim
|
DYNAMIC_EXECUTION_FALSE!$DYNAMIC_EXECUTION_FALSE$ac_delim
|
DYNAMIC_EXECUTION_FALSE!$DYNAMIC_EXECUTION_FALSE$ac_delim
|
BUILD_DIR!$BUILD_DIR$ac_delim
|
BUILD_DIR!$BUILD_DIR$ac_delim
|
Line 24678... |
Line 26501... |
LOCAL_DEFS!$LOCAL_DEFS$ac_delim
|
LOCAL_DEFS!$LOCAL_DEFS$ac_delim
|
ARFLAGS!$ARFLAGS$ac_delim
|
ARFLAGS!$ARFLAGS$ac_delim
|
SUMVERSION!$SUMVERSION$ac_delim
|
SUMVERSION!$SUMVERSION$ac_delim
|
TERMCAP_LIB!$TERMCAP_LIB$ac_delim
|
TERMCAP_LIB!$TERMCAP_LIB$ac_delim
|
INCLUDES!$INCLUDES$ac_delim
|
INCLUDES!$INCLUDES$ac_delim
|
LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
|
|
LTLIBOBJS!$LTLIBOBJS$ac_delim
|
LTLIBOBJS!$LTLIBOBJS$ac_delim
|
_ACEOF
|
_ACEOF
|
|
|
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 25; then
|
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 33; then
|
break
|
break
|
elif $ac_last_try; then
|
elif $ac_last_try; then
|
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
Line 25249... |
Line 27071... |
# echo "creating $dirpart/$file"
|
# echo "creating $dirpart/$file"
|
echo '# dummy' > "$dirpart/$file"
|
echo '# dummy' > "$dirpart/$file"
|
done
|
done
|
done
|
done
|
;;
|
;;
|
"default":C)
|
|
# Makefile uses this timestamp file to record whether config.h is up to date.
|
|
echo > stamp-h
|
|
;;
|
|
|
|
esac
|
esac
|
done # for ac_tag
|
done # for ac_tag
|
|
|
|
|