configure: autoconf regen (2.69) ALLOCA NDEBUG DEBUG
also --enable-assertions --enable-debug also termio.h termios.h sys/ioctl.h
This commit is contained in:
parent
9f1398dfcb
commit
412d0570e2
|
|
@ -653,6 +653,8 @@ sub_extra_libs
|
|||
top_extra_libs
|
||||
ld_extra_objs
|
||||
ld_extra_libs
|
||||
NDEBUG_defs
|
||||
DEBUG_defs
|
||||
stub_defs
|
||||
extra_defs
|
||||
extra_libs
|
||||
|
|
@ -680,6 +682,7 @@ X_CFLAGS
|
|||
XMKMF
|
||||
PYTHON3
|
||||
GCORE
|
||||
ALLOCA
|
||||
EGREP
|
||||
GREP
|
||||
RANLIB
|
||||
|
|
@ -752,6 +755,8 @@ ac_subst_files=''
|
|||
ac_user_opts='
|
||||
enable_option_checking
|
||||
with_gnu_ld
|
||||
enable_assertions
|
||||
enable_debug
|
||||
enable_compression
|
||||
with_x
|
||||
with_distdir
|
||||
|
|
@ -1423,31 +1428,33 @@ Optional Features:
|
|||
--disable-option-checking ignore unrecognized --enable/--with options
|
||||
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
||||
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
||||
--enable-assertions build with fatal assertions enabled
|
||||
--enable-debug build with fatal debug enabled
|
||||
--disable-compression disable file compression
|
||||
--enable-memdebug enable memory debugging
|
||||
--enable-modular embed ext2sim and ext2spice packages
|
||||
--disable-locking disable file locking
|
||||
--disable-calma disable calma package
|
||||
--disable-cif disable cif package
|
||||
--disable-client-render disable OpenGL client-side rendering
|
||||
--enable-invert-y invert screen top to bottom in OpenGL
|
||||
--enable-modular embed ext2sim and ext2spice packages
|
||||
--disable-locking disable file locking
|
||||
--disable-calma disable calma package
|
||||
--disable-cif disable cif package
|
||||
--disable-client-render disable OpenGL client-side rendering
|
||||
--enable-invert-y invert screen top to bottom in OpenGL
|
||||
--disable-framebuffer-backing-store disable OpenGL framebuffer backing store
|
||||
--disable-plot disable plot package
|
||||
--disable-lef disable LEF package
|
||||
--disable-readline disable readline package
|
||||
--disable-threads disable threaded graphics
|
||||
--disable-route disable routing package
|
||||
--disable-rsim disable IRSIM tool
|
||||
--disable-new-macros disable new macro set
|
||||
--enable-cairo-offscreen Use Cairo for off-screen rendering
|
||||
--disable-plot disable plot package
|
||||
--disable-lef disable LEF package
|
||||
--disable-readline disable readline package
|
||||
--disable-threads disable threaded graphics
|
||||
--disable-route disable routing package
|
||||
--disable-rsim disable IRSIM tool
|
||||
--disable-new-macros disable new macro set
|
||||
--enable-cairo-offscreen Use Cairo for off-screen rendering
|
||||
|
||||
Optional Packages:
|
||||
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
||||
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
||||
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
|
||||
--with-x use the X Window System
|
||||
--with-distdir=DIR install into location DIR for distribution
|
||||
--with-interpreter=arg enable interpreter (tcl, scheme, or no)
|
||||
--with-distdir=DIR install into location DIR for distribution
|
||||
--with-interpreter=arg enable interpreter (tcl, scheme, or no)
|
||||
--with-tcl=DIR Find tclConfig.sh in DIR
|
||||
--with-tk=DIR Find tkConfig.sh in DIR
|
||||
--with-tclincls=DIR Find tcl.h in DIR
|
||||
|
|
@ -1455,9 +1462,9 @@ Optional Packages:
|
|||
--with-tcllibs=DIR Find Tcl library in DIR
|
||||
--with-tklibs=DIR Find Tk library in DIR
|
||||
--with-wish=EXE Use wish binary at EXE
|
||||
--with-openaccess=DIR use OpenAccess libraries in DIR
|
||||
--with-opengl=DIR use OpenGL include files in DIR
|
||||
--with-cairo=DIR use Cairo include files in DIR
|
||||
--with-openaccess=DIR use OpenAccess libraries in DIR
|
||||
--with-opengl=DIR use OpenGL include files in DIR
|
||||
--with-cairo=DIR use Cairo include files in DIR
|
||||
|
||||
Some influential environment variables:
|
||||
CC C compiler command
|
||||
|
|
@ -5122,6 +5129,204 @@ $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
|
|||
fi
|
||||
|
||||
|
||||
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
|
||||
if test "x$ac_cv_type_size_t" = xyes; then :
|
||||
|
||||
else
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define size_t unsigned int
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
|
||||
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
|
||||
# for constant arguments. Useless!
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
|
||||
$as_echo_n "checking for working alloca.h... " >&6; }
|
||||
if ${ac_cv_working_alloca_h+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
#include <alloca.h>
|
||||
int
|
||||
main ()
|
||||
{
|
||||
char *p = (char *) alloca (2 * sizeof (int));
|
||||
if (p) return 0;
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
if ac_fn_c_try_link "$LINENO"; then :
|
||||
ac_cv_working_alloca_h=yes
|
||||
else
|
||||
ac_cv_working_alloca_h=no
|
||||
fi
|
||||
rm -f core conftest.err conftest.$ac_objext \
|
||||
conftest$ac_exeext conftest.$ac_ext
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
|
||||
$as_echo "$ac_cv_working_alloca_h" >&6; }
|
||||
if test $ac_cv_working_alloca_h = yes; then
|
||||
|
||||
$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
|
||||
$as_echo_n "checking for alloca... " >&6; }
|
||||
if ${ac_cv_func_alloca_works+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
#ifdef __GNUC__
|
||||
# define alloca __builtin_alloca
|
||||
#else
|
||||
# ifdef _MSC_VER
|
||||
# include <malloc.h>
|
||||
# define alloca _alloca
|
||||
# else
|
||||
# ifdef HAVE_ALLOCA_H
|
||||
# include <alloca.h>
|
||||
# else
|
||||
# ifdef _AIX
|
||||
#pragma alloca
|
||||
# else
|
||||
# ifndef alloca /* predefined by HP cc +Olibcalls */
|
||||
void *alloca (size_t);
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
char *p = (char *) alloca (1);
|
||||
if (p) return 0;
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
if ac_fn_c_try_link "$LINENO"; then :
|
||||
ac_cv_func_alloca_works=yes
|
||||
else
|
||||
ac_cv_func_alloca_works=no
|
||||
fi
|
||||
rm -f core conftest.err conftest.$ac_objext \
|
||||
conftest$ac_exeext conftest.$ac_ext
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
|
||||
$as_echo "$ac_cv_func_alloca_works" >&6; }
|
||||
|
||||
if test $ac_cv_func_alloca_works = yes; then
|
||||
|
||||
$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
|
||||
|
||||
else
|
||||
# The SVR3 libPW and SVR4 libucb both contain incompatible functions
|
||||
# that cause trouble. Some versions do not even contain alloca or
|
||||
# contain a buggy version. If you still want to use their alloca,
|
||||
# use ar to extract alloca.o from them instead of compiling alloca.c.
|
||||
|
||||
ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
|
||||
|
||||
$as_echo "#define C_ALLOCA 1" >>confdefs.h
|
||||
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
|
||||
$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
|
||||
if ${ac_cv_os_cray+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
#if defined CRAY && ! defined CRAY2
|
||||
webecray
|
||||
#else
|
||||
wenotbecray
|
||||
#endif
|
||||
|
||||
_ACEOF
|
||||
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
||||
$EGREP "webecray" >/dev/null 2>&1; then :
|
||||
ac_cv_os_cray=yes
|
||||
else
|
||||
ac_cv_os_cray=no
|
||||
fi
|
||||
rm -f conftest*
|
||||
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
|
||||
$as_echo "$ac_cv_os_cray" >&6; }
|
||||
if test $ac_cv_os_cray = yes; then
|
||||
for ac_func in _getb67 GETB67 getb67; do
|
||||
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
||||
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
||||
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define CRAY_STACKSEG_END $ac_func
|
||||
_ACEOF
|
||||
|
||||
break
|
||||
fi
|
||||
|
||||
done
|
||||
fi
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
|
||||
$as_echo_n "checking stack direction for C alloca... " >&6; }
|
||||
if ${ac_cv_c_stack_direction+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
if test "$cross_compiling" = yes; then :
|
||||
ac_cv_c_stack_direction=0
|
||||
else
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
$ac_includes_default
|
||||
int
|
||||
find_stack_direction (int *addr, int depth)
|
||||
{
|
||||
int dir, dummy = 0;
|
||||
if (! addr)
|
||||
addr = &dummy;
|
||||
*addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
|
||||
dir = depth ? find_stack_direction (addr, depth - 1) : 0;
|
||||
return dir + dummy;
|
||||
}
|
||||
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
return find_stack_direction (0, argc + !argv + 20) < 0;
|
||||
}
|
||||
_ACEOF
|
||||
if ac_fn_c_try_run "$LINENO"; then :
|
||||
ac_cv_c_stack_direction=1
|
||||
else
|
||||
ac_cv_c_stack_direction=-1
|
||||
fi
|
||||
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
||||
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
||||
fi
|
||||
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
|
||||
$as_echo "$ac_cv_c_stack_direction" >&6; }
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define STACK_DIRECTION $ac_cv_c_stack_direction
|
||||
_ACEOF
|
||||
|
||||
|
||||
fi
|
||||
|
||||
|
||||
for ac_func in setenv putenv
|
||||
do :
|
||||
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
||||
|
|
@ -5291,6 +5496,45 @@ $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
|
|||
fi
|
||||
|
||||
|
||||
for ac_header in termio.h
|
||||
do :
|
||||
ac_fn_c_check_header_mongrel "$LINENO" "termio.h" "ac_cv_header_termio_h" "$ac_includes_default"
|
||||
if test "x$ac_cv_header_termio_h" = xyes; then :
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_TERMIO_H 1
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
|
||||
done
|
||||
|
||||
|
||||
for ac_header in termios.h
|
||||
do :
|
||||
ac_fn_c_check_header_mongrel "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
|
||||
if test "x$ac_cv_header_termios_h" = xyes; then :
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_TERMIOS_H 1
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
|
||||
done
|
||||
|
||||
|
||||
for ac_header in sys/ioctl.h
|
||||
do :
|
||||
ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
|
||||
if test "x$ac_cv_header_sys_ioctl_h" = xyes; then :
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_SYS_IOCTL_H 1
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
|
||||
done
|
||||
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
|
||||
$as_echo_n "checking for va_copy... " >&6; }
|
||||
if ${ac_cv_c_va_copy+:} false; then :
|
||||
|
|
@ -5362,6 +5606,32 @@ $as_echo "#define HAVE___VA_COPY 1" >>confdefs.h
|
|||
|
||||
fi
|
||||
|
||||
# Check whether --enable-assertions was given.
|
||||
if test "${enable_assertions+set}" = set; then :
|
||||
enableval=$enable_assertions;
|
||||
else
|
||||
enable_assertions=no
|
||||
fi
|
||||
|
||||
|
||||
NDEBUG_defs="-DNDEBUG"
|
||||
if test "x$enable_assertions" = "xyes" ; then
|
||||
NDEBUG_defs=""
|
||||
fi
|
||||
|
||||
# Check whether --enable-debug was given.
|
||||
if test "${enable_debug+set}" = set; then :
|
||||
enableval=$enable_debug;
|
||||
else
|
||||
enable_debug=no
|
||||
fi
|
||||
|
||||
|
||||
DEBUG_defs=""
|
||||
if test "x$enable_debug" = "xyes" ; then
|
||||
DEBUG_defs="-DDEBUG"
|
||||
fi
|
||||
|
||||
# Check whether --enable-compression was given.
|
||||
if test "${enable_compression+set}" = set; then :
|
||||
enableval=$enable_compression;
|
||||
|
|
@ -8590,6 +8860,8 @@ fi
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue