"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure" between
bed-3.0.0.src.tar.xz and bed-3.0.1.src.tar.xz

About: bed is an adjustable data format binary editor.

configure  (bed-3.0.0.src.tar.xz):configure  (bed-3.0.1.src.tar.xz)
#! /bin/sh #! /bin/sh
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for bed 3.0.0. # Generated by GNU Autoconf 2.69 for bed 3.0.1.
# #
# Report bugs to <bed@dse.nl>. # Report bugs to <binaryeditor@gmx.com>.
# #
# #
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
# #
# #
# This configure script is free software; the Free Software Foundation # This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it. # gives unlimited permission to copy, distribute and modify it.
## -------------------- ## ## -------------------- ##
## M4sh Initialization. ## ## M4sh Initialization. ##
## -------------------- ## ## -------------------- ##
skipping to change at line 266 skipping to change at line 266
exit 255 exit 255
fi fi
if test x$as_have_required = xno; then : if test x$as_have_required = xno; then :
$as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: This script requires a shell more modern than all"
$as_echo "$0: the shells that I found on your system." $as_echo "$0: the shells that I found on your system."
if test x${ZSH_VERSION+set} = xset ; then if test x${ZSH_VERSION+set} = xset ; then
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
$as_echo "$0: be upgraded to zsh 4.3.4 or later." $as_echo "$0: be upgraded to zsh 4.3.4 or later."
else else
$as_echo "$0: Please tell bug-autoconf@gnu.org and bed@dse.nl about $as_echo "$0: Please tell bug-autoconf@gnu.org and
$0: your system, including any error possibly output before $0: binaryeditor@gmx.com about your system, including any
$0: this message. Then install a modern shell, or manually $0: error possibly output before this message. Then install
$0: run the script under such a shell if you do have one." $0: a modern shell, or manually run the script under such a
$0: shell if you do have one."
fi fi
exit 1 exit 1
fi fi
fi fi
fi fi
SHELL=${CONFIG_SHELL-/bin/sh} SHELL=${CONFIG_SHELL-/bin/sh}
export SHELL export SHELL
# Unset more variables known to interfere with behavior of common tools. # Unset more variables known to interfere with behavior of common tools.
CLICOLOR_FORCE= GREP_OPTIONS= CLICOLOR_FORCE= GREP_OPTIONS=
unset CLICOLOR_FORCE GREP_OPTIONS unset CLICOLOR_FORCE GREP_OPTIONS
skipping to change at line 575 skipping to change at line 576
ac_config_libobj_dir=. ac_config_libobj_dir=.
LIBOBJS= LIBOBJS=
cross_compiling=no cross_compiling=no
subdirs= subdirs=
MFLAGS= MFLAGS=
MAKEFLAGS= MAKEFLAGS=
# Identity of this package. # Identity of this package.
PACKAGE_NAME='bed' PACKAGE_NAME='bed'
PACKAGE_TARNAME='bed' PACKAGE_TARNAME='bed'
PACKAGE_VERSION='3.0.0' PACKAGE_VERSION='3.0.1'
PACKAGE_STRING='bed 3.0.0' PACKAGE_STRING='bed 3.0.1'
PACKAGE_BUGREPORT='bed@dse.nl' PACKAGE_BUGREPORT='binaryeditor@gmx.com'
PACKAGE_URL='' PACKAGE_URL=''
# Factoring default headers for most tests. # Factoring default headers for most tests.
ac_includes_default="\ ac_includes_default="\
#include <stdio.h> #include <stdio.h>
#ifdef HAVE_SYS_TYPES_H #ifdef HAVE_SYS_TYPES_H
# include <sys/types.h> # include <sys/types.h>
#endif #endif
#ifdef HAVE_SYS_STAT_H #ifdef HAVE_SYS_STAT_H
# include <sys/stat.h> # include <sys/stat.h>
skipping to change at line 628 skipping to change at line 629
ac_subst_vars='LTLIBOBJS ac_subst_vars='LTLIBOBJS
LIBOBJS LIBOBJS
CONFIG_LINKINPLUGINS CONFIG_LINKINPLUGINS
PDCURSES PDCURSES
CYGWINDLL CYGWINDLL
GNUSTRIP GNUSTRIP
CYGWIN CYGWIN
EXTRAFLAGS EXTRAFLAGS
THREADSLIB THREADSLIB
DLLIBS DLLIBS
UPVERSION PROGRAMLD
MIDVERSION PROGRAMC
LOWVERSION
VERSION
EXTRALIBS EXTRALIBS
CURSESLIB CURSESLIB
STATICCURSES STATICCURSES
DYNAMICCURSES DYNAMICCURSES
CONFIG_COLOR CONFIG_COLOR
CONFIG_LARGEFILES CONFIG_LARGEFILES
USE_RE2 USE_RE2
LIBRE2 LIBRE2
LIBHS LIBHS
USE_HYPERSCAN USE_HYPERSCAN
skipping to change at line 670 skipping to change at line 669
GXXVERSION GXXVERSION
HOST_OS HOST_OS
HOST_ALIAS HOST_ALIAS
HOSTCONF HOSTCONF
CROSS_COMPILING CROSS_COMPILING
X_EXTRA_LIBS X_EXTRA_LIBS
X_LIBS X_LIBS
X_PRE_LIBS X_PRE_LIBS
X_CFLAGS X_CFLAGS
XMKMF XMKMF
HAVE_LN_R
LN_S LN_S
HAS_NROFF HAS_NROFF
HAS_FILE HAS_FILE
CONFIG_PROGMAN CONFIG_PROGMAN
subdirs subdirs
SIZEOF_OFF_T SIZEOF_OFF_T
HAVE_MAGIC_H HAVE_MAGIC_H
CXXCPP CXXCPP
EGREP EGREP
GREP GREP
skipping to change at line 1305 skipping to change at line 1305
eval ac_cv_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_value=\$${ac_var}
done done
# #
# Report the --help message. # Report the --help message.
# #
if test "$ac_init_help" = "long"; then if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing. # Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF cat <<_ACEOF
\`configure' configures bed 3.0.0 to adapt to many kinds of systems. \`configure' configures bed 3.0.1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables. VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets. Defaults for the options are specified in brackets.
Configuration: Configuration:
-h, --help display this help and exit -h, --help display this help and exit
skipping to change at line 1375 skipping to change at line 1375
--x-libraries=DIR X library files are in DIR --x-libraries=DIR X library files are in DIR
System types: System types:
--build=BUILD configure for building on BUILD [guessed] --build=BUILD configure for building on BUILD [guessed]
--host=HOST cross-compile to build programs to run on HOST [BUILD] --host=HOST cross-compile to build programs to run on HOST [BUILD]
_ACEOF _ACEOF
fi fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
case $ac_init_help in case $ac_init_help in
short | recursive ) echo "Configuration of bed 3.0.0:";; short | recursive ) echo "Configuration of bed 3.0.1:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
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-x use the X Window System --with-x use the X Window System
Some influential environment variables: Some influential environment variables:
CC C compiler command CC C compiler command
skipping to change at line 1400 skipping to change at line 1400
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir> you have headers in a nonstandard directory <include dir>
CXX C++ compiler command CXX C++ compiler command
CXXFLAGS C++ compiler flags CXXFLAGS C++ compiler flags
CXXCPP C++ preprocessor CXXCPP C++ preprocessor
XMKMF Path to xmkmf, Makefile generator for X Window System XMKMF Path to xmkmf, Makefile generator for X Window System
Use these variables to override the choices made by `configure' or to help Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations. it to find libraries and programs with nonstandard names/locations.
Report bugs to <bed@dse.nl>. Report bugs to <binaryeditor@gmx.com>.
_ACEOF _ACEOF
ac_status=$? ac_status=$?
fi fi
if test "$ac_init_help" = "recursive"; then if test "$ac_init_help" = "recursive"; then
# If there are subdirs, report their specific --help. # If there are subdirs, report their specific --help.
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
test -d "$ac_dir" || test -d "$ac_dir" ||
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
continue continue
skipping to change at line 1463 skipping to change at line 1463
else else
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
fi || ac_status=$? fi || ac_status=$?
cd "$ac_pwd" || { ac_status=$?; break; } cd "$ac_pwd" || { ac_status=$?; break; }
done done
fi fi
test -n "$ac_init_help" && exit $ac_status test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
bed configure 3.0.0 bed configure 3.0.1
generated by GNU Autoconf 2.69 generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc. Copyright (C) 2012 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it. gives unlimited permission to copy, distribute and modify it.
_ACEOF _ACEOF
exit exit
fi fi
## ------------------------ ## ## ------------------------ ##
skipping to change at line 2125 skipping to change at line 2125
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2; } $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf docum entation" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf docum entation" >&5
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" > &2;} $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" > &2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the co mpiler's result" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the co mpiler's result" >&5
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
( $as_echo "## ------------------------- ## ( $as_echo "## ----------------------------------- ##
## Report this to bed@dse.nl ## ## Report this to binaryeditor@gmx.com ##
## ------------------------- ##" ## ----------------------------------- ##"
) | sed "s/^/$as_me: WARNING: /" >&2 ) | sed "s/^/$as_me: WARNING: /" >&2
;; ;;
esac esac
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
$as_echo_n "checking for $2... " >&6; } $as_echo_n "checking for $2... " >&6; }
if eval \${$3+:} false; then : if eval \${$3+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
eval "$3=\$ac_header_compiler" eval "$3=\$ac_header_compiler"
fi fi
skipping to change at line 2149 skipping to change at line 2149
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
$as_echo "$ac_res" >&6; } $as_echo "$ac_res" >&6; }
fi fi
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
} # ac_fn_cxx_check_header_mongrel } # ac_fn_cxx_check_header_mongrel
cat >config.log <<_ACEOF cat >config.log <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by bed $as_me 3.0.0, which was It was created by bed $as_me 3.0.1, which was
generated by GNU Autoconf 2.69. Invocation command line was generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@ $ $0 $@
_ACEOF _ACEOF
exec 5>>config.log exec 5>>config.log
{ {
cat <<_ASUNAME cat <<_ASUNAME
## --------- ## ## --------- ##
## Platform. ## ## Platform. ##
skipping to change at line 2494 skipping to change at line 2494
## -------------------- ## ## -------------------- ##
## Main body of script. ## ## Main body of script. ##
## -------------------- ## ## -------------------- ##
ac_ext=c ac_ext=c
ac_cpp='$CPP $CPPFLAGS' ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_compiler_gnu=$ac_cv_c_compiler_gnu
#AC_INIT([bed],[$VERSION],[binaryeditor@gmx.com])
ac_config_headers="$ac_config_headers src/confdefines.h" ac_config_headers="$ac_config_headers src/confdefines.h"
. ./settings . ./settings
ac_aux_dir= ac_aux_dir=
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
if test -f "$ac_dir/install-sh"; then if test -f "$ac_dir/install-sh"; then
ac_aux_dir=$ac_dir ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/install-sh -c" ac_install_sh="$ac_aux_dir/install-sh -c"
break break
elif test -f "$ac_dir/install.sh"; then elif test -f "$ac_dir/install.sh"; then
skipping to change at line 4387 skipping to change at line 4388
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var" ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF _ACEOF
fi fi
done done
for ac_header in curses.h ncurses.h ncurses/ncurses.h gnuregex.h regex.h float.h sys/errno.h errno.h sys/ioctl.h dirent.h sys/wait.h termios.h sys/mman.h for ac_header in curses.h ncurses.h ncurses/ncurses.h gnuregex.h regex.h float.h sys/errno.h errno.h sys/ioctl.h dirent.h sys/wait.h termios.h sys/mman.h re2/re 2.h
do : do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_inclu des_default" ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_inclu des_default"
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF _ACEOF
fi fi
done done
ac_fn_cxx_check_header_mongrel "$LINENO" "magic.h" "ac_cv_header_magic_h" "$ac_i { $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_buffer in -lmagic" >
ncludes_default" &5
if test "x$ac_cv_header_magic_h" = xyes; then : $as_echo_n "checking for magic_buffer in -lmagic... " >&6; }
HAVE_MAGIC_H=1 if ${ac_cv_lib_magic_magic_buffer+:} false; then :
fi $as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lmagic $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
if test .$HAVE_MAGIC_H = .1 /* Override any GCC internal prototype to avoid an error.
then 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 magic_buffer ();
int
main ()
{
return magic_buffer ();
;
return 0;
}
_ACEOF
if ac_fn_cxx_try_link "$LINENO"; then :
ac_cv_lib_magic_magic_buffer=yes
else
ac_cv_lib_magic_magic_buffer=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_buffer"
>&5
$as_echo "$ac_cv_lib_magic_magic_buffer" >&6; }
if test "x$ac_cv_lib_magic_magic_buffer" = xyes; then :
HAVE_MAGIC_H=1
$as_echo "#define HAVE_MAGIC_H 1" >>confdefs.h fi
fi #AC_CHECK_HEADER(magic.h,HAVE_MAGIC_H=1)
#if test .$HAVE_MAGIC_H = .1
# then
# AC_SUBST(HAVE_MAGIC_H)
# AC_DEFINE(HAVE_MAGIC_H)
# fi
as_ac_Lib=`$as_echo "ac_cv_lib_$CURSESLIB''_assume_default_colors" | $as_tr_sh` as_ac_Lib=`$as_echo "ac_cv_lib_$CURSESLIB''_assume_default_colors" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for assume_default_colors in - l$CURSESLIB" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assume_default_colors in - l$CURSESLIB" >&5
$as_echo_n "checking for assume_default_colors in -l$CURSESLIB... " >&6; } $as_echo_n "checking for assume_default_colors in -l$CURSESLIB... " >&6; }
if eval \${$as_ac_Lib+:} false; then : if eval \${$as_ac_Lib+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
ac_check_lib_save_LIBS=$LIBS ac_check_lib_save_LIBS=$LIBS
LIBS="-l$CURSESLIB $LIBS" LIBS="-l$CURSESLIB $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
skipping to change at line 5635 skipping to change at line 5672
LIBS="-lc $LIBS" LIBS="-lc $LIBS"
else else
$as_echo "#define OWNTRANSTIME 1" >>confdefs.h $as_echo "#define OWNTRANSTIME 1" >>confdefs.h
fi fi
#AC_COMPILE_IFELSE( #define _XOPEN_SOURCE #include <time.h> int main(void) { s truct tm uit; char formal[100]; strptime(formal,"%a %b %e %H:%M:%S " , &uit); r eturn 0; } ,,AC_DEFINE(OWNTRANSTIME)) #AC_COMPILE_IFELSE( #define _XOPEN_SOURCE #include <time.h> int main(void) { s truct tm uit; char formal[100]; strptime(formal,"%a %b %e %H:%M:%S " , &uit); r eturn 0; } ,,AC_DEFINE(OWNTRANSTIME))
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_g
ettime" >&5
$as_echo_n "checking for library containing clock_gettime... " >&6; }
if ${ac_cv_search_clock_gettime+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* 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 clock_gettime ();
int
main ()
{
return clock_gettime ();
;
return 0;
}
_ACEOF
for ac_lib in '' rt; do
if test -z "$ac_lib"; then
ac_res="none required"
else
ac_res=-l$ac_lib
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
fi
if ac_fn_cxx_try_link "$LINENO"; then :
ac_cv_search_clock_gettime=$ac_res
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext
if ${ac_cv_search_clock_gettime+:} false; then :
break
fi
done
if ${ac_cv_search_clock_gettime+:} false; then :
else
ac_cv_search_clock_gettime=no
fi
rm conftest.$ac_ext
LIBS=$ac_func_search_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&
5
$as_echo "$ac_cv_search_clock_gettime" >&6; }
ac_res=$ac_cv_search_clock_gettime
if test "$ac_res" != no; then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
$as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
fi
LIBS=$OLDLIBS LIBS=$OLDLIBS
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing xre_sea rch_2" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing xre_sea rch_2" >&5
$as_echo_n "checking for library containing xre_search_2... " >&6; } $as_echo_n "checking for library containing xre_search_2... " >&6; }
if ${ac_cv_search_xre_search_2+:} false; then : if ${ac_cv_search_xre_search_2+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
ac_func_search_save_LIBS=$LIBS ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
skipping to change at line 5763 skipping to change at line 5857
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_hs_scan_stream_" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_hs_scan_stream_" >&5
$as_echo "$ac_cv_search_hs_scan_stream_" >&6; } $as_echo "$ac_cv_search_hs_scan_stream_" >&6; }
ac_res=$ac_cv_search_hs_scan_stream_ ac_res=$ac_cv_search_hs_scan_stream_
if test "$ac_res" != no; then : if test "$ac_res" != no; then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
USE_HYPERSCAN=1 USE_HYPERSCAN=1
fi fi
LIBHS=$LIBS LIBHS=$LIBS
ac_fn_cxx_check_header_mongrel "$LINENO" "re2/re2.h" "ac_cv_header_re2_re2_h" "$ #AC_CHECK_HEADER(re2/re2.h,USE_RE2=1 )
ac_includes_default"
if test "x$ac_cv_header_re2_re2_h" = xyes; then :
USE_RE2=1
fi
LIBS="" LIBS=""
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing _ZN3re2 3RE213PartialMatchNERKNS_11StringPieceERKS0_PKPKNS0_3ArgEi " >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing _ZN3re2 3RE213PartialMatchNERKNS_11StringPieceERKS0_PKPKNS0_3ArgEi " >&5
$as_echo_n "checking for library containing _ZN3re23RE213PartialMatchNERKNS_11St ringPieceERKS0_PKPKNS0_3ArgEi ... " >&6; } $as_echo_n "checking for library containing _ZN3re23RE213PartialMatchNERKNS_11St ringPieceERKS0_PKPKNS0_3ArgEi ... " >&6; }
if ${ac_cv_search__ZN3re23RE213PartialMatchNERKNS_11StringPieceERKS0_PKPKNS0_3Ar gEi_+:} false; then : if ${ac_cv_search__ZN3re23RE213PartialMatchNERKNS_11StringPieceERKS0_PKPKNS0_3Ar gEi_+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
ac_func_search_save_LIBS=$LIBS ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
skipping to change at line 5822 skipping to change at line 5913
ac_cv_search__ZN3re23RE213PartialMatchNERKNS_11StringPieceERKS0_PKPKNS0_3ArgEi _=no ac_cv_search__ZN3re23RE213PartialMatchNERKNS_11StringPieceERKS0_PKPKNS0_3ArgEi _=no
fi fi
rm conftest.$ac_ext rm conftest.$ac_ext
LIBS=$ac_func_search_save_LIBS LIBS=$ac_func_search_save_LIBS
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search__ZN3re23RE213Part ialMatchNERKNS_11StringPieceERKS0_PKPKNS0_3ArgEi_" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search__ZN3re23RE213Part ialMatchNERKNS_11StringPieceERKS0_PKPKNS0_3ArgEi_" >&5
$as_echo "$ac_cv_search__ZN3re23RE213PartialMatchNERKNS_11StringPieceERKS0_PKPKN S0_3ArgEi_" >&6; } $as_echo "$ac_cv_search__ZN3re23RE213PartialMatchNERKNS_11StringPieceERKS0_PKPKN S0_3ArgEi_" >&6; }
ac_res=$ac_cv_search__ZN3re23RE213PartialMatchNERKNS_11StringPieceERKS0_PKPKNS0_ 3ArgEi_ ac_res=$ac_cv_search__ZN3re23RE213PartialMatchNERKNS_11StringPieceERKS0_PKPKNS0_ 3ArgEi_
if test "$ac_res" != no; then : if test "$ac_res" != no; then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
USE_RE2=1 HAVE_RE2_RE2_H=1
fi fi
LIBRE2=$LIBS LIBRE2=$LIBS
LIBS="" LIBS=""
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread _create" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread _create" >&5
$as_echo_n "checking for library containing pthread_create... " >&6; } $as_echo_n "checking for library containing pthread_create... " >&6; }
if ${ac_cv_search_pthread_create+:} false; then : if ${ac_cv_search_pthread_create+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
ac_func_search_save_LIBS=$LIBS ac_func_search_save_LIBS=$LIBS
skipping to change at line 6314 skipping to change at line 6405
$as_echo_n "checking whether ln -s works... " >&6; } $as_echo_n "checking whether ln -s works... " >&6; }
LN_S=$as_ln_s LN_S=$as_ln_s
if test "$LN_S" = "ln -s"; then if test "$LN_S" = "ln -s"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; } $as_echo "yes" >&6; }
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
$as_echo "no, using $LN_S" >&6; } $as_echo "no, using $LN_S" >&6; }
fi fi
if $LN_S -fr $0 conftest
then
rm conftest
HAVE_LN_R=y
else
HAVE_LN_R=n
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
$as_echo_n "checking for X... " >&6; } $as_echo_n "checking for X... " >&6; }
# Check whether --with-x was given. # Check whether --with-x was given.
if test "${with_x+set}" = set; then : if test "${with_x+set}" = set; then :
withval=$with_x; withval=$with_x;
fi fi
# $have_x is `yes', `no', `disabled', or empty when we do not yet know. # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
if test "x$with_x" = xno; then if test "x$with_x" = xno; then
skipping to change at line 7067 skipping to change at line 7167
$as_echo "#define HAS_SETNEWHANDLER 1" >>confdefs.h $as_echo "#define HAS_SETNEWHANDLER 1" >>confdefs.h
echo yes echo yes
else else
echo no echo no
fi fi
rm conftest.cc conftest rm conftest.cc conftest
# Don't use c++14 because of "warning: taking sizeof array of runtime bound [-Wv la]" # Don't use c++14 because of "warning: taking sizeof array of runtime bound [-Wv la]"
# and sizeof returns 1 # and sizeof returns 1
for GXXVERSION in c++17 c++1z gnu++1z gnu++14 gnu++1y c++11 for GXXVERSION in c++20 c++2a c++17 c++1z gnu++1z c++14 c++1y gnu++14 gnu++1y c+ +11
do do
if $CXX -std=$GXXVERSION -x c++ - <<! echo -n "$GXXVERSION: "
int main(void) {} if test -z "`$CXX -std=$GXXVERSION -x c++ - 2>&1 <<!
int main(void) {
int x=20;
char buf[x];
return sizeof(buf);
}
! !
`"
then then
break break
fi fi
done done
echo take $GXXVERSION echo take $GXXVERSION
ac_fn_cxx_check_header_mongrel "$LINENO" "features.h" "ac_cv_header_features_h" "$ac_includes_default" ac_fn_cxx_check_header_mongrel "$LINENO" "features.h" "ac_cv_header_features_h" "$ac_includes_default"
if test "x$ac_cv_header_features_h" = xyes; then : if test "x$ac_cv_header_features_h" = xyes; then :
else else
skipping to change at line 7126 skipping to change at line 7232
else else
TOBUILDCC=$build_alias-cc TOBUILDCC=$build_alias-cc
TOBUILDCXX=$build_alias-c++ TOBUILDCXX=$build_alias-c++
fi fi
#AC_SUBST(HAS_MAKEDEPEND) #AC_SUBST(HAS_MAKEDEPEND)
USE_RE2=$HAVE_RE2_RE2_H
#AC_SUBST(VERSION)
#AC_SUBST(LOWVERSION)
#AC_SUBST(MIDVERSION)
#AC_SUBST(UPVERSION)
ac_config_files="$ac_config_files config pkg/Makefile man2html/Makefile" ac_config_files="$ac_config_files config pkg/Makefile man2html/Makefile"
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
# want to keep, you may remove or edit it. # want to keep, you may remove or edit it.
# #
# config.status only pays attention to the cache file if you give it # config.status only pays attention to the cache file if you give it
skipping to change at line 7623 skipping to change at line 7736
## Main body of $CONFIG_STATUS script. ## ## Main body of $CONFIG_STATUS script. ##
## ----------------------------------- ## ## ----------------------------------- ##
_ASEOF _ASEOF
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# Save the log message, to keep $0 and so on meaningful, and to # Save the log message, to keep $0 and so on meaningful, and to
# report actual input values of CONFIG_FILES etc. instead of their # report actual input values of CONFIG_FILES etc. instead of their
# values after options handling. # values after options handling.
ac_log=" ac_log="
This file was extended by bed $as_me 3.0.0, which was This file was extended by bed $as_me 3.0.1, which was
generated by GNU Autoconf 2.69. Invocation command line was generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_HEADERS = $CONFIG_HEADERS
CONFIG_LINKS = $CONFIG_LINKS CONFIG_LINKS = $CONFIG_LINKS
CONFIG_COMMANDS = $CONFIG_COMMANDS CONFIG_COMMANDS = $CONFIG_COMMANDS
$ $0 $@ $ $0 $@
on `(hostname || uname -n) 2>/dev/null | sed 1q` on `(hostname || uname -n) 2>/dev/null | sed 1q`
" "
skipping to change at line 7678 skipping to change at line 7791
instantiate the configuration file FILE instantiate the configuration file FILE
--header=FILE[:TEMPLATE] --header=FILE[:TEMPLATE]
instantiate the configuration header FILE instantiate the configuration header FILE
Configuration files: Configuration files:
$config_files $config_files
Configuration headers: Configuration headers:
$config_headers $config_headers
Report bugs to <bed@dse.nl>." Report bugs to <binaryeditor@gmx.com>."
_ACEOF _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g '`" ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g '`"
ac_cs_version="\\ ac_cs_version="\\
bed config.status 3.0.0 bed config.status 3.0.1
configured by $0, generated by GNU Autoconf 2.69, configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\" with options \\"\$ac_cs_config\\"
Copyright (C) 2012 Free Software Foundation, Inc. Copyright (C) 2012 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it." gives unlimited permission to copy, distribute and modify it."
ac_pwd='$ac_pwd' ac_pwd='$ac_pwd'
srcdir='$srcdir' srcdir='$srcdir'
test -n "\$AWK" || AWK=awk test -n "\$AWK" || AWK=awk
skipping to change at line 8527 skipping to change at line 8640
cd "$ac_popdir" cd "$ac_popdir"
done done
fi fi
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un recognized_opts" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un recognized_opts" >&5
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi fi
./buildinfo/configure ./buildinfo/configure
echo $CXX $CPPFLAGS $CXXFLAGS $LDFLAGS hosttest.cc -o hosttest echo $CXX $PROGRAMC $CPPFLAGS $CXXFLAGS $PROGRAMLD $LDFLAGS hosttest.cc revers
$CXX $CPPFLAGS $CXXFLAGS $LDFLAGS hosttest.cc reversetime.cc -o hosttest etime.cc -o hosttest
$CXX $PROGRAMC $CPPFLAGS $CXXFLAGS $PROGRAMLD $LDFLAGS hosttest.cc reversetime
.cc -o hosttest
if test .$cross_compiling != .no if test .$cross_compiling != .no
then then
echo "****Cross Compiling: certain information about future host of bed not know n. Run ./hosttest on the host to get this information. ****" echo "****Cross Compiling: certain information about future host of bed not know n. Run ./hosttest on the host to get this information. ****"
echo "****information will be saved in $HOSTCONF ****" echo "****information will be saved in $HOSTCONF ****"
echo "****put the generated file $HOSTCONF in directory ./src ****" echo "****put the generated file $HOSTCONF in directory ./src ****"
else else
cd src;../hosttest cd src;../hosttest
fi fi
 End of changes. 31 change blocks. 
46 lines changed or deleted 162 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)