"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure" between
liboping-1.9.0.tar.gz and liboping-1.10.0.tar.gz

About: liboping is a C library to generate ICMP echo requests, better known as "ping packets". It can "ping" multiple hosts in parallel using IPv4 or IPv6 transparently. A commandline and a ncurses-based application are included.

configure  (liboping-1.9.0):configure  (liboping-1.10.0)
#! /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 liboping 1.9.0. # Generated by GNU Autoconf 2.69 for liboping 1.10.0.
# #
# Report bugs to <liboping@verplant.org>. # Report bugs to <liboping@verplant.org>.
# #
# #
# 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.
## -------------------- ## ## -------------------- ##
skipping to change at line 586 skipping to change at line 586
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='liboping' PACKAGE_NAME='liboping'
PACKAGE_TARNAME='liboping' PACKAGE_TARNAME='liboping'
PACKAGE_VERSION='1.9.0' PACKAGE_VERSION='1.10.0'
PACKAGE_STRING='liboping 1.9.0' PACKAGE_STRING='liboping 1.10.0'
PACKAGE_BUGREPORT='liboping@verplant.org' PACKAGE_BUGREPORT='liboping@verplant.org'
PACKAGE_URL='http://noping.cc/' PACKAGE_URL='http://noping.cc/'
ac_unique_file="src/liboping.c" ac_unique_file="src/liboping.c"
ac_default_prefix="/opt/oping" ac_default_prefix="/opt/oping"
# 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>
skipping to change at line 639 skipping to change at line 639
ac_subst_vars='am__EXEEXT_FALSE ac_subst_vars='am__EXEEXT_FALSE
am__EXEEXT_TRUE am__EXEEXT_TRUE
LTLIBOBJS LTLIBOBJS
LIBOBJS LIBOBJS
BINDINGS BINDINGS
PERL_BINDINGS_OPTIONS PERL_BINDINGS_OPTIONS
BUILD_WITH_DEBUG_FALSE BUILD_WITH_DEBUG_FALSE
BUILD_WITH_DEBUG_TRUE BUILD_WITH_DEBUG_TRUE
BUILD_WITH_LIBNCURSES_FALSE BUILD_WITH_LIBNCURSES_FALSE
BUILD_WITH_LIBNCURSES_TRUE BUILD_WITH_LIBNCURSES_TRUE
NCURSES_LIB NCURSES_LIBS
BUILD_WITH_LIBRT_FALSE NCURSES_CFLAGS
BUILD_WITH_LIBRT_TRUE PKG_CONFIG_LIBDIR
PKG_CONFIG_PATH
PKG_CONFIG
LIBOPING_PC_LIBS_PRIVATE LIBOPING_PC_LIBS_PRIVATE
pkgconfigdir pkgconfigdir
OTOOL64 OTOOL64
OTOOL OTOOL
LIPO LIPO
NMEDIT NMEDIT
DSYMUTIL DSYMUTIL
MANIFEST_TOOL MANIFEST_TOOL
RANLIB RANLIB
ac_ct_AR ac_ct_AR
skipping to change at line 778 skipping to change at line 780
enable_silent_rules enable_silent_rules
enable_dependency_tracking enable_dependency_tracking
enable_shared enable_shared
enable_static enable_static
with_pic with_pic
enable_fast_install enable_fast_install
with_gnu_ld with_gnu_ld
with_sysroot with_sysroot
enable_libtool_lock enable_libtool_lock
with_pkgconfigdir with_pkgconfigdir
with_ncurses
enable_debug enable_debug
with_perl_bindings with_perl_bindings
' '
ac_precious_vars='build_alias ac_precious_vars='build_alias
host_alias host_alias
target_alias target_alias
CC CC
CFLAGS CFLAGS
LDFLAGS LDFLAGS
LIBS LIBS
CPPFLAGS CPPFLAGS
CPP CPP
PERL' PERL
PKG_CONFIG
PKG_CONFIG_PATH
PKG_CONFIG_LIBDIR
NCURSES_CFLAGS
NCURSES_LIBS'
# Initialize some variables set by options. # Initialize some variables set by options.
ac_init_help= ac_init_help=
ac_init_version=false ac_init_version=false
ac_unrecognized_opts= ac_unrecognized_opts=
ac_unrecognized_sep= ac_unrecognized_sep=
# The variables have the same names as the options, with # The variables have the same names as the options, with
# dashes changed to underlines. # dashes changed to underlines.
cache_file=/dev/null cache_file=/dev/null
exec_prefix=NONE exec_prefix=NONE
skipping to change at line 1328 skipping to change at line 1336
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 liboping 1.9.0 to adapt to many kinds of systems. \`configure' configures liboping 1.10.0 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 1398 skipping to change at line 1406
--program-transform-name=PROGRAM run sed PROGRAM on installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names
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 liboping 1.9.0:";; short | recursive ) echo "Configuration of liboping 1.10.0:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
Optional Features: Optional Features:
--disable-option-checking ignore unrecognized --enable/--with options --disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-silent-rules less verbose build output (undo: "make V=1") --enable-silent-rules less verbose build output (undo: "make V=1")
--disable-silent-rules verbose build output (undo: "make V=0") --disable-silent-rules verbose build output (undo: "make V=0")
--enable-dependency-tracking --enable-dependency-tracking
skipping to change at line 1429 skipping to change at line 1437
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-pic[=PKGS] try to use only PIC/non-PIC objects [default=use --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
both] both]
--with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-gnu-ld assume the C compiler uses GNU ld [default=no]
--with-sysroot=DIR Search for dependent libraries within DIR --with-sysroot=DIR Search for dependent libraries within DIR
(or the compiler's sysroot if not specified). (or the compiler's sysroot if not specified).
--with-pkgconfigdir Use the specified pkgconfig dir (default is --with-pkgconfigdir Use the specified pkgconfig dir (default is
libdir/pkgconfig) libdir/pkgconfig)
--with-ncurses Build oping CLI tool with ncurses support
--with-perl-bindings[=OPTIONS] --with-perl-bindings[=OPTIONS]
Options passed to "perl Makefile.PL". Options passed to "perl Makefile.PL".
Some influential environment variables: Some influential environment variables:
CC C compiler command CC C compiler command
CFLAGS C compiler flags CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir> nonstandard directory <lib dir>
LIBS libraries to pass to the linker, e.g. -l<library> LIBS libraries to pass to the linker, e.g. -l<library>
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>
CPP C preprocessor CPP C preprocessor
PERL Perl interpreter command PERL Perl interpreter command
PKG_CONFIG path to pkg-config utility
PKG_CONFIG_PATH
directories to add to pkg-config's search path
PKG_CONFIG_LIBDIR
path overriding pkg-config's built-in search path
NCURSES_CFLAGS
C compiler flags for NCURSES, overriding pkg-config
NCURSES_LIBS
linker flags for NCURSES, overriding pkg-config
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 <liboping@verplant.org>. Report bugs to <liboping@verplant.org>.
liboping home page: <http://noping.cc/>. liboping home page: <http://noping.cc/>.
_ACEOF _ACEOF
ac_status=$? ac_status=$?
fi fi
skipping to change at line 1510 skipping to change at line 1528
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
liboping configure 1.9.0 liboping configure 1.10.0
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 2033 skipping to change at line 2051
eval ac_res=\$$3 eval ac_res=\$$3
{ $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; }
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
} # ac_fn_c_check_decl } # ac_fn_c_check_decl
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 liboping $as_me 1.9.0, which was It was created by liboping $as_me 1.10.0, 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 2890 skipping to change at line 2908
if test -z "$CYGPATH_W"; then if test -z "$CYGPATH_W"; then
if (cygpath --version) >/dev/null 2>/dev/null; then if (cygpath --version) >/dev/null 2>/dev/null; then
CYGPATH_W='cygpath -w' CYGPATH_W='cygpath -w'
else else
CYGPATH_W=echo CYGPATH_W=echo
fi fi
fi fi
# Define the identity of the package. # Define the identity of the package.
PACKAGE='liboping' PACKAGE='liboping'
VERSION='1.9.0' VERSION='1.10.0'
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define PACKAGE "$PACKAGE" #define PACKAGE "$PACKAGE"
_ACEOF _ACEOF
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define VERSION "$VERSION" #define VERSION "$VERSION"
_ACEOF _ACEOF
# Some tools Automake needs. # Some tools Automake needs.
skipping to change at line 2982 skipping to change at line 3000
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
# API version # API version
LIBOPING_MAJOR=`echo $PACKAGE_VERSION | cut -d'.' -f1` LIBOPING_MAJOR=`echo $PACKAGE_VERSION | cut -d'.' -f1`
LIBOPING_MINOR=`echo $PACKAGE_VERSION | cut -d'.' -f2` LIBOPING_MINOR=`echo $PACKAGE_VERSION | cut -d'.' -f2`
LIBOPING_PATCH=`echo $PACKAGE_VERSION | cut -d'.' -f3` LIBOPING_PATCH=`echo $PACKAGE_VERSION | cut -d'.' -f3`
# ABI version # ABI version
LIBOPING_CURRENT=2 LIBOPING_CURRENT=3
LIBOPING_REVISION=11 LIBOPING_REVISION=0
LIBOPING_AGE=2 LIBOPING_AGE=3
# #
# Check for programs/utilities # Check for programs/utilities
# #
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
if test -n "$ac_tool_prefix"; then if test -n "$ac_tool_prefix"; then
skipping to change at line 10906 skipping to change at line 10924
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
CC="$lt_save_CC" CC="$lt_save_CC"
ac_config_commands="$ac_config_commands libtool" ac_config_commands="$ac_config_commands libtool"
# Only expand once: # Only expand once:
# pkg-config interface # pkg-config interface
PKG_INSTALLDIR # PKG_INSTALLDIR is only available for pkg-config >= 0.27
# Check whether --with-pkgconfigdir was given. # Check whether --with-pkgconfigdir was given.
if test "${with_pkgconfigdir+set}" = set; then : if test "${with_pkgconfigdir+set}" = set; then :
withval=$with_pkgconfigdir; pkgconfigdir="${withval}" withval=$with_pkgconfigdir; pkgconfigdir="${withval}"
else else
pkgconfigdir='${libdir}/pkgconfig' pkgconfigdir='${libdir}/pkgconfig'
fi fi
# Checks for header files. # Checks for header files.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
skipping to change at line 11456 skipping to change at line 11474
fi fi
if test "x$with_libxnet" = "xyes" if test "x$with_libxnet" = "xyes"
then then
CPPFLAGS="$CPPFLAGS -D_XPG4_2 -D__EXTENSIONS__" CPPFLAGS="$CPPFLAGS -D_XPG4_2 -D__EXTENSIONS__"
fi fi
if test "x$with_libxnet" = "xyes"; then if test "x$with_libxnet" = "xyes"; then
LIBOPING_PC_LIBS_PRIVATE="${LIBOPING_PC_LIBS_PRIVATE} -lxnet" LIBOPING_PC_LIBS_PRIVATE="${LIBOPING_PC_LIBS_PRIVATE} -lxnet"
fi fi
nanosleep_needs_rt="no" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosle
for ac_func in nanosleep ep" >&5
do : $as_echo_n "checking for library containing nanosleep... " >&6; }
ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" if ${ac_cv_search_nanosleep+:} false; then :
if test "x$ac_cv_func_nanosleep" = xyes; then : $as_echo_n "(cached) " >&6
cat >>confdefs.h <<_ACEOF else
#define HAVE_NANOSLEEP 1 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 nanosleep ();
int
main ()
{
return nanosleep ();
;
return 0;
}
_ACEOF _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_c_try_link "$LINENO"; then :
ac_cv_search_nanosleep=$ac_res
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext
if ${ac_cv_search_nanosleep+:} false; then :
break
fi
done
if ${ac_cv_search_nanosleep+:} false; then :
else
ac_cv_search_nanosleep=no
fi
rm conftest.$ac_ext
LIBS=$ac_func_search_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
$as_echo "$ac_cv_search_nanosleep" >&6; }
ac_res=$ac_cv_search_nanosleep
if test "$ac_res" != no; then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
else
as_fn_error $? "cannot find nanosleep" "$LINENO" 5
fi
# Check whether --with-ncurses was given.
if test "${with_ncurses+set}" = set; then :
withval=$with_ncurses;
fi
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a prog
ram name with args.
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path_PKG_CONFIG+:} false; then :
$as_echo_n "(cached) " >&6
else
case $PKG_CONFIG in
[\\/]* | ?:[\\/]*)
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a pa
th.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
if test -n "$PKG_CONFIG"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
$as_echo "$PKG_CONFIG" >&6; }
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo_n "checking for nanosleep in -lrt... " >&6; } $as_echo "no" >&6; }
if ${ac_cv_lib_rt_nanosleep+:} false; then : fi
fi
if test -z "$ac_cv_path_PKG_CONFIG"; then
ac_pt_PKG_CONFIG=$PKG_CONFIG
# Extract the first word of "pkg-config", so it can be a program name with arg
s.
set dummy pkg-config; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
$as_echo_n "(cached) " >&6
else
case $ac_pt_PKG_CONFIG in
[\\/]* | ?:[\\/]*)
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the te
st with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
if test -n "$ac_pt_PKG_CONFIG"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
if test "x$ac_pt_PKG_CONFIG" = x; then
PKG_CONFIG=""
else
case $cross_compiling:$ac_tool_warned in
yes:)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;}
ac_tool_warned=yes ;;
esac
PKG_CONFIG=$ac_pt_PKG_CONFIG
fi
else
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
fi
fi
if test -n "$PKG_CONFIG"; then
_pkg_min_version=0.9.0
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least
version $_pkg_min_version" >&5
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6;
}
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
PKG_CONFIG=""
fi
fi
if test "x$with_ncurses" != "xno"; then :
can_build_with_ncurses="no"
pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NCURSES" >&5
$as_echo_n "checking for NCURSES... " >&6; }
if test -n "$NCURSES_CFLAGS"; then
pkg_cv_NCURSES_CFLAGS="$NCURSES_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err
ors \"ncursesw\""; } >&5
($PKG_CONFIG --exists --print-errors "ncursesw") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_NCURSES_CFLAGS=`$PKG_CONFIG --cflags "ncursesw" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
fi
else
pkg_failed=untried
fi
if test -n "$NCURSES_LIBS"; then
pkg_cv_NCURSES_LIBS="$NCURSES_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err
ors \"ncursesw\""; } >&5
($PKG_CONFIG --exists --print-errors "ncursesw") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_NCURSES_LIBS=`$PKG_CONFIG --libs "ncursesw" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
fi
else
pkg_failed=untried
fi
if test $pkg_failed = yes; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
_pkg_short_errors_supported=yes
else
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
NCURSES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --c
flags --libs "ncursesw" 2>&1`
else
NCURSES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "n
cursesw" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$NCURSES_PKG_ERRORS" >&5
pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NCURSES" >&5
$as_echo_n "checking for NCURSES... " >&6; }
if test -n "$NCURSES_CFLAGS"; then
pkg_cv_NCURSES_CFLAGS="$NCURSES_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err
ors \"ncurses\""; } >&5
($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_NCURSES_CFLAGS=`$PKG_CONFIG --cflags "ncurses" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
fi
else
pkg_failed=untried
fi
if test -n "$NCURSES_LIBS"; then
pkg_cv_NCURSES_LIBS="$NCURSES_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err
ors \"ncurses\""; } >&5
($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_NCURSES_LIBS=`$PKG_CONFIG --libs "ncurses" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
fi
else
pkg_failed=untried
fi
if test $pkg_failed = yes; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
_pkg_short_errors_supported=yes
else
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
NCURSES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --c
flags --libs "ncurses" 2>&1`
else
NCURSES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "n
curses" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$NCURSES_PKG_ERRORS" >&5
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mvw
printw in -lncursesw" >&5
$as_echo_n "checking for mvwprintw in -lncursesw... " >&6; }
if ${ac_cv_lib_ncursesw_mvwprintw+:} 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="-lrt $LIBS" LIBS="-lncursesw $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error. /* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"
#endif #endif
char nanosleep (); char mvwprintw ();
int int
main () main ()
{ {
return nanosleep (); return mvwprintw ();
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_link "$LINENO"; then : if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_rt_nanosleep=yes ac_cv_lib_ncursesw_mvwprintw=yes
else else
ac_cv_lib_rt_nanosleep=no ac_cv_lib_ncursesw_mvwprintw=no
fi fi
rm -f core conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS LIBS=$ac_check_lib_save_LIBS
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncursesw_mvwprintw"
$as_echo "$ac_cv_lib_rt_nanosleep" >&6; } >&5
if test "x$ac_cv_lib_rt_nanosleep" = xyes; then : $as_echo "$ac_cv_lib_ncursesw_mvwprintw" >&6; }
nanosleep_needs_rt="yes" if test "x$ac_cv_lib_ncursesw_mvwprintw" = xyes; then :
NCURSES_LIBS="-lncursesw"; can_build_with_ncurses=yes
else else
as_fn_error $? "cannot find nanosleep" "$LINENO" 5
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking
for mvwprintw in -lncurses" >&5
$as_echo_n "checking for mvwprintw in -lncurses... " >&6; }
if ${ac_cv_lib_ncurses_mvwprintw+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lncurses $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 mvwprintw ();
int
main ()
{
return mvwprintw ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_ncurses_mvwprintw=yes
else
ac_cv_lib_ncurses_mvwprintw=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_ncurses_mvwprintw" >
&5
$as_echo "$ac_cv_lib_ncurses_mvwprintw" >&6; }
if test "x$ac_cv_lib_ncurses_mvwprintw" = xyes; then :
NCURSES_LIBS="-lncurses"; can_build_with_ncurses=yes
fi fi
fi fi
done
if test "x$nanosleep_needs_rt" = "xyes"; then elif test $pkg_failed = untried; then
BUILD_WITH_LIBRT_TRUE= { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
BUILD_WITH_LIBRT_FALSE='#' $as_echo "no" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mvw
printw in -lncursesw" >&5
$as_echo_n "checking for mvwprintw in -lncursesw... " >&6; }
if ${ac_cv_lib_ncursesw_mvwprintw+:} false; then :
$as_echo_n "(cached) " >&6
else else
BUILD_WITH_LIBRT_TRUE='#' ac_check_lib_save_LIBS=$LIBS
BUILD_WITH_LIBRT_FALSE= LIBS="-lncursesw $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 mvwprintw ();
int
main ()
{
return mvwprintw ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_ncursesw_mvwprintw=yes
else
ac_cv_lib_ncursesw_mvwprintw=no
fi 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_ncursesw_mvwprintw"
>&5
$as_echo "$ac_cv_lib_ncursesw_mvwprintw" >&6; }
if test "x$ac_cv_lib_ncursesw_mvwprintw" = xyes; then :
NCURSES_LIBS="-lncursesw"; can_build_with_ncurses=yes
else
with_ncurses="no" { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ac_header in ncursesw/ncurses.h ncurses.h for mvwprintw in -lncurses" >&5
do : $as_echo_n "checking for mvwprintw in -lncurses... " >&6; }
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` if ${ac_cv_lib_ncurses_mvwprintw+:} false; then :
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include $as_echo_n "(cached) " >&6
s_default" else
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : ac_check_lib_save_LIBS=$LIBS
cat >>confdefs.h <<_ACEOF LIBS="-lncurses $LIBS"
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 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 mvwprintw ();
int
main ()
{
return mvwprintw ();
;
return 0;
}
_ACEOF _ACEOF
with_ncurses="yes" if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_ncurses_mvwprintw=yes
else
ac_cv_lib_ncurses_mvwprintw=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_ncurses_mvwprintw" >
&5
$as_echo "$ac_cv_lib_ncurses_mvwprintw" >&6; }
if test "x$ac_cv_lib_ncurses_mvwprintw" = xyes; then :
NCURSES_LIBS="-lncurses"; can_build_with_ncurses=yes
fi fi
done fi
if test "x$with_ncurses" = "xyes" else
then NCURSES_CFLAGS=$pkg_cv_NCURSES_CFLAGS
have_ncursesw="no" NCURSES_LIBS=$pkg_cv_NCURSES_LIBS
have_ncurses="no" { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
NCURSES_LIB="" $as_echo "yes" >&6; }
can_build_with_ncurses=yes
fi
elif test $pkg_failed = untried; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NCURSES" >&5
$as_echo_n "checking for NCURSES... " >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mvwprintw in -lncur if test -n "$NCURSES_CFLAGS"; then
sesw" >&5 pkg_cv_NCURSES_CFLAGS="$NCURSES_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err
ors \"ncurses\""; } >&5
($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_NCURSES_CFLAGS=`$PKG_CONFIG --cflags "ncurses" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
fi
else
pkg_failed=untried
fi
if test -n "$NCURSES_LIBS"; then
pkg_cv_NCURSES_LIBS="$NCURSES_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err
ors \"ncurses\""; } >&5
($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_NCURSES_LIBS=`$PKG_CONFIG --libs "ncurses" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
fi
else
pkg_failed=untried
fi
if test $pkg_failed = yes; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
_pkg_short_errors_supported=yes
else
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
NCURSES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --c
flags --libs "ncurses" 2>&1`
else
NCURSES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "n
curses" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$NCURSES_PKG_ERRORS" >&5
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mvw
printw in -lncursesw" >&5
$as_echo_n "checking for mvwprintw in -lncursesw... " >&6; } $as_echo_n "checking for mvwprintw in -lncursesw... " >&6; }
if ${ac_cv_lib_ncursesw_mvwprintw+:} false; then : if ${ac_cv_lib_ncursesw_mvwprintw+:} 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="-lncursesw $LIBS" LIBS="-lncursesw $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error. /* Override any GCC internal prototype to avoid an error.
skipping to change at line 11576 skipping to change at line 12038
else else
ac_cv_lib_ncursesw_mvwprintw=no ac_cv_lib_ncursesw_mvwprintw=no
fi fi
rm -f core conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS LIBS=$ac_check_lib_save_LIBS
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncursesw_mvwprintw" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncursesw_mvwprintw" >&5
$as_echo "$ac_cv_lib_ncursesw_mvwprintw" >&6; } $as_echo "$ac_cv_lib_ncursesw_mvwprintw" >&6; }
if test "x$ac_cv_lib_ncursesw_mvwprintw" = xyes; then : if test "x$ac_cv_lib_ncursesw_mvwprintw" = xyes; then :
have_ncursesw="yes" NCURSES_LIBS="-lncursesw"; can_build_with_ncurses=yes
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking
for mvwprintw in -lncurses" >&5
$as_echo_n "checking for mvwprintw in -lncurses... " >&6; }
if ${ac_cv_lib_ncurses_mvwprintw+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lncurses $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 mvwprintw ();
int
main ()
{
return mvwprintw ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_ncurses_mvwprintw=yes
else else
have_ncursesw="no" ac_cv_lib_ncurses_mvwprintw=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_mvwprintw" >
&5
$as_echo "$ac_cv_lib_ncurses_mvwprintw" >&6; }
if test "x$ac_cv_lib_ncurses_mvwprintw" = xyes; then :
NCURSES_LIBS="-lncurses"; can_build_with_ncurses=yes
fi
fi
elif test $pkg_failed = untried; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mvw
printw in -lncursesw" >&5
$as_echo_n "checking for mvwprintw in -lncursesw... " >&6; }
if ${ac_cv_lib_ncursesw_mvwprintw+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lncursesw $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mvwprintw in -lncur /* Override any GCC internal prototype to avoid an error.
ses" >&5 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 mvwprintw ();
int
main ()
{
return mvwprintw ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_ncursesw_mvwprintw=yes
else
ac_cv_lib_ncursesw_mvwprintw=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_ncursesw_mvwprintw"
>&5
$as_echo "$ac_cv_lib_ncursesw_mvwprintw" >&6; }
if test "x$ac_cv_lib_ncursesw_mvwprintw" = xyes; then :
NCURSES_LIBS="-lncursesw"; can_build_with_ncurses=yes
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking
for mvwprintw in -lncurses" >&5
$as_echo_n "checking for mvwprintw in -lncurses... " >&6; } $as_echo_n "checking for mvwprintw in -lncurses... " >&6; }
if ${ac_cv_lib_ncurses_mvwprintw+:} false; then : if ${ac_cv_lib_ncurses_mvwprintw+:} 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="-lncurses $LIBS" LIBS="-lncurses $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error. /* Override any GCC internal prototype to avoid an error.
skipping to change at line 11618 skipping to change at line 12164
else else
ac_cv_lib_ncurses_mvwprintw=no ac_cv_lib_ncurses_mvwprintw=no
fi fi
rm -f core conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS LIBS=$ac_check_lib_save_LIBS
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_mvwprintw" > &5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_mvwprintw" > &5
$as_echo "$ac_cv_lib_ncurses_mvwprintw" >&6; } $as_echo "$ac_cv_lib_ncurses_mvwprintw" >&6; }
if test "x$ac_cv_lib_ncurses_mvwprintw" = xyes; then : if test "x$ac_cv_lib_ncurses_mvwprintw" = xyes; then :
have_ncurses="yes" NCURSES_LIBS="-lncurses"; can_build_with_ncurses=yes
fi
fi
else else
have_ncurses="no" NCURSES_CFLAGS=$pkg_cv_NCURSES_CFLAGS
NCURSES_LIBS=$pkg_cv_NCURSES_LIBS
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
can_build_with_ncurses=yes
fi fi
if test "x$have_ncursesw" = "xyes"; then else
NCURSES_LIB="-lncursesw" NCURSES_CFLAGS=$pkg_cv_NCURSES_CFLAGS
else if test "x$have_ncurses" = "xyes"; then NCURSES_LIBS=$pkg_cv_NCURSES_LIBS
NCURSES_LIB="-lncurses" { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
else $as_echo "yes" >&6; }
with_ncurses="no" can_build_with_ncurses=yes
fi; fi fi
if test "x$can_build_with_ncurses" = "xyes"; then :
for ac_header in ncursesw/curses.h ncursesw.h ncurses/curses.h nc
urses.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include
s_default"
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
can_build_with_ncurses=yes; break;
else
can_build_with_ncurses=no
fi
done
fi fi
if test "x$with_ncurses" = "xyes"; then
if test "x$can_build_with_ncurses" = "xno" && test "x$with_ncurses" = "xy
es"; then :
as_fn_error $? "ncurses not found but explicit enabled" "$LINENO"
5
elif test "x$can_build_with_ncurses" = "xno"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Will not build
oping with ncurses support -- no suiteable ncurses installation found" >&5
$as_echo "$as_me: WARNING: Will not build oping with ncurses support -- no suite
able ncurses installation found" >&2;}
fi
fi
if test "x$with_ncurses" != "xno" && test "x$can_build_with_ncurses" = "xyes";
then
BUILD_WITH_LIBNCURSES_TRUE= BUILD_WITH_LIBNCURSES_TRUE=
BUILD_WITH_LIBNCURSES_FALSE='#' BUILD_WITH_LIBNCURSES_FALSE='#'
else else
BUILD_WITH_LIBNCURSES_TRUE='#' BUILD_WITH_LIBNCURSES_TRUE='#'
BUILD_WITH_LIBNCURSES_FALSE= BUILD_WITH_LIBNCURSES_FALSE=
fi fi
ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_incl udes_default" ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_incl udes_default"
if test "x$ac_cv_have_decl_strerror_r" = xyes; then : if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
ac_have_decl=1 ac_have_decl=1
skipping to change at line 12086 skipping to change at line 12671
Usually this means the macro was only invoked conditionally." "$LINENO" 5 Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi fi
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5 Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi fi
if test -z "${COMPILER_IS_GCC_TRUE}" && test -z "${COMPILER_IS_GCC_FALSE}"; then if test -z "${COMPILER_IS_GCC_TRUE}" && test -z "${COMPILER_IS_GCC_FALSE}"; then
as_fn_error $? "conditional \"COMPILER_IS_GCC\" was never defined. as_fn_error $? "conditional \"COMPILER_IS_GCC\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5 Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi fi
if test -z "${BUILD_WITH_LIBRT_TRUE}" && test -z "${BUILD_WITH_LIBRT_FALSE}"; th
en
as_fn_error $? "conditional \"BUILD_WITH_LIBRT\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${BUILD_WITH_LIBNCURSES_TRUE}" && test -z "${BUILD_WITH_LIBNCURSES_F ALSE}"; then if test -z "${BUILD_WITH_LIBNCURSES_TRUE}" && test -z "${BUILD_WITH_LIBNCURSES_F ALSE}"; then
as_fn_error $? "conditional \"BUILD_WITH_LIBNCURSES\" was never defined. as_fn_error $? "conditional \"BUILD_WITH_LIBNCURSES\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5 Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi fi
if test -z "${BUILD_WITH_DEBUG_TRUE}" && test -z "${BUILD_WITH_DEBUG_FALSE}"; th en if test -z "${BUILD_WITH_DEBUG_TRUE}" && test -z "${BUILD_WITH_DEBUG_FALSE}"; th en
as_fn_error $? "conditional \"BUILD_WITH_DEBUG\" was never defined. as_fn_error $? "conditional \"BUILD_WITH_DEBUG\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5 Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi fi
: "${CONFIG_STATUS=./config.status}" : "${CONFIG_STATUS=./config.status}"
skipping to change at line 12486 skipping to change at line 13067
## 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 liboping $as_me 1.9.0, which was This file was extended by liboping $as_me 1.10.0, 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 12552 skipping to change at line 13133
Configuration commands: Configuration commands:
$config_commands $config_commands
Report bugs to <liboping@verplant.org>. Report bugs to <liboping@verplant.org>.
liboping home page: <http://noping.cc/>." liboping home page: <http://noping.cc/>."
_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="\\
liboping config.status 1.9.0 liboping config.status 1.10.0
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'
INSTALL='$INSTALL' INSTALL='$INSTALL'
 End of changes. 45 change blocks. 
81 lines changed or deleted 702 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS