version 1.1.1.1, 2013/07/21 23:43:42
|
version 1.1.1.4, 2019/10/21 14:25:31
|
Line 1
|
Line 1
|
#! /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.68 for mtr 0.85. | # Generated by GNU Autoconf 2.69 for mtr 0.91.1-4c982. |
# |
# |
|
# Report bugs to <R.E.Wolff@BitWizard.nl>. |
# |
# |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
|
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 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. |
## -------------------- ## |
## -------------------- ## |
Line 134 export LANGUAGE
|
Line 134 export LANGUAGE
|
# CDPATH. |
# CDPATH. |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
|
|
# Use a proper internal environment variable to ensure we don't fall |
|
# into an infinite loop, continuously re-executing ourselves. |
|
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
|
_as_can_reexec=no; export _as_can_reexec; |
|
# We cannot yet assume a decent shell, so we have to provide a |
|
# neutralization value for shells without unset; and this also |
|
# works around shells that cannot unset nonexistent variables. |
|
# Preserve -v and -x to the replacement shell. |
|
BASH_ENV=/dev/null |
|
ENV=/dev/null |
|
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
case $- in # (((( |
|
*v*x* | *x*v* ) as_opts=-vx ;; |
|
*v* ) as_opts=-v ;; |
|
*x* ) as_opts=-x ;; |
|
* ) as_opts= ;; |
|
esac |
|
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
|
# Admittedly, this is quite paranoid, since all the known shells bail |
|
# out after a failed `exec'. |
|
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
|
as_fn_exit 255 |
|
fi |
|
# We don't want this to propagate to other subprocesses. |
|
{ _as_can_reexec=; unset _as_can_reexec;} |
if test "x$CONFIG_SHELL" = x; then |
if test "x$CONFIG_SHELL" = x; then |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
emulate sh |
emulate sh |
Line 167 if ( set x; as_fn_ret_success y && test x = \"\$1\" );
|
Line 192 if ( set x; as_fn_ret_success y && test x = \"\$1\" );
|
else |
else |
exitcode=1; echo positional parameters were not saved. |
exitcode=1; echo positional parameters were not saved. |
fi |
fi |
test x\$exitcode = x0 || exit 1" | test x\$exitcode = x0 || exit 1 |
| test -x / || exit 1" |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
Line 212 IFS=$as_save_IFS
|
Line 238 IFS=$as_save_IFS
|
|
|
|
|
if test "x$CONFIG_SHELL" != x; then : |
if test "x$CONFIG_SHELL" != x; then : |
# We cannot yet assume a decent shell, so we have to provide a | export CONFIG_SHELL |
# neutralization value for shells without unset; and this also | # We cannot yet assume a decent shell, so we have to provide a |
# works around shells that cannot unset nonexistent variables. | # neutralization value for shells without unset; and this also |
# Preserve -v and -x to the replacement shell. | # works around shells that cannot unset nonexistent variables. |
BASH_ENV=/dev/null | # Preserve -v and -x to the replacement shell. |
ENV=/dev/null | BASH_ENV=/dev/null |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | ENV=/dev/null |
export CONFIG_SHELL | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
case $- in # (((( | case $- in # (((( |
*v*x* | *x*v* ) as_opts=-vx ;; | *v*x* | *x*v* ) as_opts=-vx ;; |
*v* ) as_opts=-v ;; | *v* ) as_opts=-v ;; |
*x* ) as_opts=-x ;; | *x* ) as_opts=-x ;; |
* ) as_opts= ;; | * ) as_opts= ;; |
esac | esac |
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| # Admittedly, this is quite paranoid, since all the known shells bail |
| # out after a failed `exec'. |
| $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| exit 255 |
fi |
fi |
|
|
if test x$as_have_required = xno; then : |
if test x$as_have_required = xno; then : |
Line 236 fi
|
Line 266 fi
|
$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 about your system, | $as_echo "$0: Please tell bug-autoconf@gnu.org and |
$0: including any error possibly output before this | $0: R.E.Wolff@BitWizard.nl about your system, including any |
$0: message. Then install a modern shell, or manually run | $0: error possibly output before this message. Then install |
$0: 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 |
Line 328 $as_echo X"$as_dir" |
|
Line 359 $as_echo X"$as_dir" |
|
|
|
|
|
} # as_fn_mkdir_p |
} # as_fn_mkdir_p |
|
|
|
# as_fn_executable_p FILE |
|
# ----------------------- |
|
# Test if FILE is an executable regular file. |
|
as_fn_executable_p () |
|
{ |
|
test -f "$1" && test -x "$1" |
|
} # as_fn_executable_p |
# as_fn_append VAR VALUE |
# as_fn_append VAR VALUE |
# ---------------------- |
# ---------------------- |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
Line 449 as_cr_alnum=$as_cr_Letters$as_cr_digits
|
Line 488 as_cr_alnum=$as_cr_Letters$as_cr_digits
|
chmod +x "$as_me.lineno" || |
chmod +x "$as_me.lineno" || |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
|
|
|
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
|
# already done that, so ensure we don't try to do so again and fall |
|
# in an infinite loop. This has already happened in practice. |
|
_as_can_reexec=no; export _as_can_reexec |
# Don't try to exec as it changes $[0], causing all sort of problems |
# Don't try to exec as it changes $[0], causing all sort of problems |
# (the dirname of $[0] is not the place where we might find the |
# (the dirname of $[0] is not the place where we might find the |
# original and so on. Autoconf is especially sensitive to this). |
# original and so on. Autoconf is especially sensitive to this). |
Line 483 if (echo >conf$$.file) 2>/dev/null; then
|
Line 526 if (echo >conf$$.file) 2>/dev/null; then
|
# ... but there are two gotchas: |
# ... but there are two gotchas: |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
# In both cases, we have to default to `cp -p'. | # In both cases, we have to default to `cp -pR'. |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
as_ln_s='cp -p' | as_ln_s='cp -pR' |
elif ln conf$$.file conf$$ 2>/dev/null; then |
elif ln conf$$.file conf$$ 2>/dev/null; then |
as_ln_s=ln |
as_ln_s=ln |
else |
else |
as_ln_s='cp -p' | as_ln_s='cp -pR' |
fi |
fi |
else |
else |
as_ln_s='cp -p' | as_ln_s='cp -pR' |
fi |
fi |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
rmdir conf$$.dir 2>/dev/null |
rmdir conf$$.dir 2>/dev/null |
Line 504 else
|
Line 547 else
|
as_mkdir_p=false |
as_mkdir_p=false |
fi |
fi |
|
|
if test -x / >/dev/null 2>&1; then | as_test_x='test -x' |
as_test_x='test -x' | as_executable_p=as_fn_executable_p |
else | |
if ls -dL / >/dev/null 2>&1; then | |
as_ls_L_option=L | |
else | |
as_ls_L_option= | |
fi | |
as_test_x=' | |
eval sh -c '\'' | |
if test -d "$1"; then | |
test -d "$1/."; | |
else | |
case $1 in #( | |
-*)set "./$1";; | |
esac; | |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | |
???[sx]*):;;*)false;;esac;fi | |
'\'' sh | |
' | |
fi | |
as_executable_p=$as_test_x | |
|
|
# Sed expression to map a string onto a valid CPP name. |
# Sed expression to map a string onto a valid CPP name. |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
Line 557 MAKEFLAGS=
|
Line 580 MAKEFLAGS=
|
# Identity of this package. |
# Identity of this package. |
PACKAGE_NAME='mtr' |
PACKAGE_NAME='mtr' |
PACKAGE_TARNAME='mtr' |
PACKAGE_TARNAME='mtr' |
PACKAGE_VERSION='0.85' | PACKAGE_VERSION='0.91.1-4c982' |
PACKAGE_STRING='mtr 0.85' | PACKAGE_STRING='mtr 0.91.1-4c982' |
PACKAGE_BUGREPORT='' | PACKAGE_BUGREPORT='R.E.Wolff@BitWizard.nl' |
PACKAGE_URL='' | PACKAGE_URL='http://www.BitWizard.nl/mtr/' |
|
|
ac_unique_file="mtr.c" | ac_unique_file="ui/mtr.c" |
# Factoring default headers for most tests. |
# Factoring default headers for most tests. |
ac_includes_default="\ |
ac_includes_default="\ |
#include <stdio.h> |
#include <stdio.h> |
Line 603 ac_subst_vars='am__EXEEXT_FALSE
|
Line 626 ac_subst_vars='am__EXEEXT_FALSE
|
am__EXEEXT_TRUE |
am__EXEEXT_TRUE |
LTLIBOBJS |
LTLIBOBJS |
LIBOBJS |
LIBOBJS |
|
BUILD_BASH_COMPLETION_FALSE |
|
BUILD_BASH_COMPLETION_TRUE |
|
bashcompletiondir |
RESOLV_LIBS |
RESOLV_LIBS |
GLIB_LIBS | WITH_IPINFO_FALSE |
GLIB_CFLAGS | WITH_IPINFO_TRUE |
PKG_CONFIG_LIBDIR | WITH_CURSES_FALSE |
PKG_CONFIG_PATH | WITH_CURSES_TRUE |
| WITH_GTK_FALSE |
| WITH_GTK_TRUE |
GTK_LIBS |
GTK_LIBS |
GTK_CFLAGS |
GTK_CFLAGS |
|
WITH_GETOPT_FALSE |
|
WITH_GETOPT_TRUE |
|
WITH_ERROR_FALSE |
|
WITH_ERROR_TRUE |
|
CYGWIN_FALSE |
|
CYGWIN_TRUE |
|
PKG_CONFIG_LIBDIR |
|
PKG_CONFIG_PATH |
PKG_CONFIG |
PKG_CONFIG |
IPINFO_FALSE | host_os |
IPINFO_TRUE | host_vendor |
EGREP | host_cpu |
GREP | host |
CPP | build_os |
| build_vendor |
| build_cpu |
| build |
| AM_BACKSLASH |
| AM_DEFAULT_VERBOSITY |
| AM_DEFAULT_V |
| AM_V |
am__fastdepCC_FALSE |
am__fastdepCC_FALSE |
am__fastdepCC_TRUE |
am__fastdepCC_TRUE |
CCDEPMODE |
CCDEPMODE |
|
am__nodep |
AMDEPBACKSLASH |
AMDEPBACKSLASH |
AMDEP_FALSE |
AMDEP_FALSE |
AMDEP_TRUE |
AMDEP_TRUE |
am__quote |
am__quote |
am__include |
am__include |
DEPDIR |
DEPDIR |
OBJEXT |
|
EXEEXT |
|
ac_ct_CC |
|
CPPFLAGS |
|
LDFLAGS |
|
CFLAGS |
|
CC |
|
CURSES_OBJ |
|
GTK_OBJ |
|
am__untar |
am__untar |
am__tar |
am__tar |
AMTAR |
AMTAR |
Line 657 am__isrc
|
Line 692 am__isrc
|
INSTALL_DATA |
INSTALL_DATA |
INSTALL_SCRIPT |
INSTALL_SCRIPT |
INSTALL_PROGRAM |
INSTALL_PROGRAM |
|
EGREP |
|
GREP |
|
CPP |
|
OBJEXT |
|
EXEEXT |
|
ac_ct_CC |
|
CPPFLAGS |
|
LDFLAGS |
|
CFLAGS |
|
CC |
target_alias |
target_alias |
host_alias |
host_alias |
build_alias |
build_alias |
Line 699 ac_subst_files=''
|
Line 744 ac_subst_files=''
|
ac_user_opts=' |
ac_user_opts=' |
enable_option_checking |
enable_option_checking |
enable_dependency_tracking |
enable_dependency_tracking |
|
enable_silent_rules |
with_gtk |
with_gtk |
with_glib | with_ncurses |
with_ipinfo |
with_ipinfo |
enable_ipv6 |
enable_ipv6 |
enable_gtktest | with_bashcompletiondir |
| enable_bash_completion |
' |
' |
ac_precious_vars='build_alias |
ac_precious_vars='build_alias |
host_alias |
host_alias |
Line 717 CPP
|
Line 764 CPP
|
PKG_CONFIG |
PKG_CONFIG |
PKG_CONFIG_PATH |
PKG_CONFIG_PATH |
PKG_CONFIG_LIBDIR |
PKG_CONFIG_LIBDIR |
GLIB_CFLAGS | GTK_CFLAGS |
GLIB_LIBS' | GTK_LIBS' |
|
|
|
|
# Initialize some variables set by options. |
# Initialize some variables set by options. |
Line 1174 target=$target_alias
|
Line 1221 target=$target_alias
|
if test "x$host_alias" != x; then |
if test "x$host_alias" != x; then |
if test "x$build_alias" = x; then |
if test "x$build_alias" = x; then |
cross_compiling=maybe |
cross_compiling=maybe |
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
|
If a cross compiler is detected then cross compile mode will be used" >&2 |
|
elif test "x$build_alias" != "x$host_alias"; then |
elif test "x$build_alias" != "x$host_alias"; then |
cross_compiling=yes |
cross_compiling=yes |
fi |
fi |
Line 1261 if test "$ac_init_help" = "long"; then
|
Line 1306 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 mtr 0.85 to adapt to many kinds of systems. | \`configure' configures mtr 0.91.1-4c982 to adapt to many kinds of systems. |
|
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
|
Line 1322 Program names:
|
Line 1367 Program names:
|
--program-prefix=PREFIX prepend PREFIX to installed program names |
--program-prefix=PREFIX prepend PREFIX to installed program names |
--program-suffix=SUFFIX append SUFFIX to installed program names |
--program-suffix=SUFFIX append SUFFIX to installed program names |
--program-transform-name=PROGRAM run sed PROGRAM on installed program names |
--program-transform-name=PROGRAM run sed PROGRAM on installed program names |
|
|
|
System types: |
|
--build=BUILD configure for building on BUILD [guessed] |
|
--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 mtr 0.85:";; | short | recursive ) echo "Configuration of mtr 0.91.1-4c982:";; |
esac |
esac |
cat <<\_ACEOF |
cat <<\_ACEOF |
|
|
Line 1335 Optional Features:
|
Line 1384 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] |
--disable-dependency-tracking speeds up one-time build | --enable-dependency-tracking |
--enable-dependency-tracking do not reject slow dependency extractors | do not reject slow dependency extractors |
| --disable-dependency-tracking |
| speeds up one-time build |
| --enable-silent-rules less verbose build output (undo: "make V=1") |
| --disable-silent-rules verbose build output (undo: "make V=0") |
--disable-ipv6 Do not enable IPv6 |
--disable-ipv6 Do not enable IPv6 |
--disable-gtktest do not try to compile and run a test GTK+ program | --disable-bash-completion |
| do not install bash completion files |
|
|
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) |
--without-gtk Do not try to use GTK+ at all | --without-gtk Build without the GTK+2.0 interface |
--without-glib Do not try to use glib at all | --without-ncurses Build without the ncurses interface |
--without-ipinfo Do not try to use ipinfo lookup at all |
--without-ipinfo Do not try to use ipinfo lookup at all |
|
--with-bashcompletiondir=DIR |
|
Bash completions directory |
|
|
Some influential environment variables: |
Some influential environment variables: |
CC C compiler command |
CC C compiler command |
Line 1361 Some influential environment variables:
|
Line 1417 Some influential environment variables:
|
directories to add to pkg-config's search path |
directories to add to pkg-config's search path |
PKG_CONFIG_LIBDIR |
PKG_CONFIG_LIBDIR |
path overriding pkg-config's built-in search path |
path overriding pkg-config's built-in search path |
GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config | GTK_CFLAGS C compiler flags for GTK, overriding pkg-config |
GLIB_LIBS linker flags for GLIB, overriding pkg-config | GTK_LIBS linker flags for GTK, 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 the package provider. | Report bugs to <R.E.Wolff@BitWizard.nl>. |
| mtr home page: <http://www.BitWizard.nl/mtr/>. |
_ACEOF |
_ACEOF |
ac_status=$? |
ac_status=$? |
fi |
fi |
Line 1430 fi
|
Line 1487 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 |
mtr configure 0.85 | mtr configure 0.91.1-4c982 |
generated by GNU Autoconf 2.68 | generated by GNU Autoconf 2.69 |
|
|
Copyright (C) 2010 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 |
Line 1482 fi
|
Line 1539 fi
|
|
|
} # ac_fn_c_try_compile |
} # ac_fn_c_try_compile |
|
|
|
# ac_fn_c_try_cpp LINENO |
|
# ---------------------- |
|
# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
|
ac_fn_c_try_cpp () |
|
{ |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
if { { ac_try="$ac_cpp conftest.$ac_ext" |
|
case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo"; } >&5 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
|
ac_status=$? |
|
if test -s conftest.err; then |
|
grep -v '^ *+' conftest.err >conftest.er1 |
|
cat conftest.er1 >&5 |
|
mv -f conftest.er1 conftest.err |
|
fi |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
test $ac_status = 0; } > conftest.i && { |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
test ! -s conftest.err |
|
}; then : |
|
ac_retval=0 |
|
else |
|
$as_echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_retval=1 |
|
fi |
|
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
as_fn_set_status $ac_retval |
|
|
|
} # ac_fn_c_try_cpp |
|
|
|
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
|
# ------------------------------------------------------- |
|
# Tests whether HEADER exists, giving a warning if it cannot be compiled using |
|
# the include files in INCLUDES and setting the cache variable VAR |
|
# accordingly. |
|
ac_fn_c_check_header_mongrel () |
|
{ |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
if eval \${$3+:} false; then : |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
$as_echo_n "checking for $2... " >&6; } |
|
if eval \${$3+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
fi |
|
eval ac_res=\$$3 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
$as_echo "$ac_res" >&6; } |
|
else |
|
# Is the header compilable? |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
|
$as_echo_n "checking $2 usability... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
$4 |
|
#include <$2> |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
ac_header_compiler=yes |
|
else |
|
ac_header_compiler=no |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
|
$as_echo "$ac_header_compiler" >&6; } |
|
|
|
# Is the header present? |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
|
$as_echo_n "checking $2 presence... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
#include <$2> |
|
_ACEOF |
|
if ac_fn_c_try_cpp "$LINENO"; then : |
|
ac_header_preproc=yes |
|
else |
|
ac_header_preproc=no |
|
fi |
|
rm -f conftest.err conftest.i conftest.$ac_ext |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
|
$as_echo "$ac_header_preproc" >&6; } |
|
|
|
# So? What about this header? |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
|
yes:no: ) |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
;; |
|
no:yes:* ) |
|
{ $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:${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:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
|
$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: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
( $as_echo "## ------------------------------------- ## |
|
## Report this to R.E.Wolff@BitWizard.nl ## |
|
## ------------------------------------- ##" |
|
) | sed "s/^/$as_me: WARNING: /" >&2 |
|
;; |
|
esac |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
$as_echo_n "checking for $2... " >&6; } |
|
if eval \${$3+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
eval "$3=\$ac_header_compiler" |
|
fi |
|
eval ac_res=\$$3 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
$as_echo "$ac_res" >&6; } |
|
fi |
|
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
|
} # ac_fn_c_check_header_mongrel |
|
|
# ac_fn_c_try_run LINENO |
# ac_fn_c_try_run LINENO |
# ---------------------- |
# ---------------------- |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
Line 1524 fi
|
Line 1709 fi
|
|
|
} # ac_fn_c_try_run |
} # ac_fn_c_try_run |
|
|
|
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
|
# ------------------------------------------------------- |
|
# Tests whether HEADER exists and can be compiled using the include files in |
|
# INCLUDES, setting the cache variable VAR accordingly. |
|
ac_fn_c_check_header_compile () |
|
{ |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
$as_echo_n "checking for $2... " >&6; } |
|
if eval \${$3+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
$4 |
|
#include <$2> |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
eval "$3=yes" |
|
else |
|
eval "$3=no" |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
fi |
|
eval ac_res=\$$3 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
$as_echo "$ac_res" >&6; } |
|
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
|
} # ac_fn_c_check_header_compile |
|
|
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES |
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES |
# -------------------------------------------- |
# -------------------------------------------- |
# Tries to find the compile-time value of EXPR in a program that includes |
# Tries to find the compile-time value of EXPR in a program that includes |
Line 1541 int
|
Line 1757 int
|
main () |
main () |
{ |
{ |
static int test_array [1 - 2 * !(($2) >= 0)]; |
static int test_array [1 - 2 * !(($2) >= 0)]; |
test_array [0] = 0 | test_array [0] = 0; |
| return test_array [0]; |
|
|
; |
; |
return 0; |
return 0; |
Line 1557 int
|
Line 1774 int
|
main () |
main () |
{ |
{ |
static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
test_array [0] = 0 | test_array [0] = 0; |
| return test_array [0]; |
|
|
; |
; |
return 0; |
return 0; |
Line 1583 int
|
Line 1801 int
|
main () |
main () |
{ |
{ |
static int test_array [1 - 2 * !(($2) < 0)]; |
static int test_array [1 - 2 * !(($2) < 0)]; |
test_array [0] = 0 | test_array [0] = 0; |
| return test_array [0]; |
|
|
; |
; |
return 0; |
return 0; |
Line 1599 int
|
Line 1818 int
|
main () |
main () |
{ |
{ |
static int test_array [1 - 2 * !(($2) >= $ac_mid)]; |
static int test_array [1 - 2 * !(($2) >= $ac_mid)]; |
test_array [0] = 0 | test_array [0] = 0; |
| return test_array [0]; |
|
|
; |
; |
return 0; |
return 0; |
Line 1633 int
|
Line 1853 int
|
main () |
main () |
{ |
{ |
static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
test_array [0] = 0 | test_array [0] = 0; |
| return test_array [0]; |
|
|
; |
; |
return 0; |
return 0; |
Line 1702 rm -f conftest.val
|
Line 1923 rm -f conftest.val
|
|
|
} # ac_fn_c_compute_int |
} # ac_fn_c_compute_int |
|
|
# ac_fn_c_try_cpp LINENO |
|
# ---------------------- |
|
# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
|
ac_fn_c_try_cpp () |
|
{ |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
if { { ac_try="$ac_cpp conftest.$ac_ext" |
|
case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo"; } >&5 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
|
ac_status=$? |
|
if test -s conftest.err; then |
|
grep -v '^ *+' conftest.err >conftest.er1 |
|
cat conftest.er1 >&5 |
|
mv -f conftest.er1 conftest.err |
|
fi |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
test $ac_status = 0; } > conftest.i && { |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
test ! -s conftest.err |
|
}; then : |
|
ac_retval=0 |
|
else |
|
$as_echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_retval=1 |
|
fi |
|
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
as_fn_set_status $ac_retval |
|
|
|
} # ac_fn_c_try_cpp |
|
|
|
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
|
# ------------------------------------------------------- |
|
# Tests whether HEADER exists and can be compiled using the include files in |
|
# INCLUDES, setting the cache variable VAR accordingly. |
|
ac_fn_c_check_header_compile () |
|
{ |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
$as_echo_n "checking for $2... " >&6; } |
|
if eval \${$3+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
$4 |
|
#include <$2> |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
eval "$3=yes" |
|
else |
|
eval "$3=no" |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
fi |
|
eval ac_res=\$$3 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
$as_echo "$ac_res" >&6; } |
|
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
|
} # ac_fn_c_check_header_compile |
|
|
|
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
|
# ------------------------------------------------------- |
|
# Tests whether HEADER exists, giving a warning if it cannot be compiled using |
|
# the include files in INCLUDES and setting the cache variable VAR |
|
# accordingly. |
|
ac_fn_c_check_header_mongrel () |
|
{ |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
if eval \${$3+:} false; then : |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
$as_echo_n "checking for $2... " >&6; } |
|
if eval \${$3+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
fi |
|
eval ac_res=\$$3 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
$as_echo "$ac_res" >&6; } |
|
else |
|
# Is the header compilable? |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
|
$as_echo_n "checking $2 usability... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
$4 |
|
#include <$2> |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
ac_header_compiler=yes |
|
else |
|
ac_header_compiler=no |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
|
$as_echo "$ac_header_compiler" >&6; } |
|
|
|
# Is the header present? |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
|
$as_echo_n "checking $2 presence... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
#include <$2> |
|
_ACEOF |
|
if ac_fn_c_try_cpp "$LINENO"; then : |
|
ac_header_preproc=yes |
|
else |
|
ac_header_preproc=no |
|
fi |
|
rm -f conftest.err conftest.i conftest.$ac_ext |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
|
$as_echo "$ac_header_preproc" >&6; } |
|
|
|
# So? What about this header? |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
|
yes:no: ) |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
;; |
|
no:yes:* ) |
|
{ $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:${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:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
|
$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: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
;; |
|
esac |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
$as_echo_n "checking for $2... " >&6; } |
|
if eval \${$3+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
eval "$3=\$ac_header_compiler" |
|
fi |
|
eval ac_res=\$$3 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
$as_echo "$ac_res" >&6; } |
|
fi |
|
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
|
} # ac_fn_c_check_header_mongrel |
|
|
|
# ac_fn_c_try_link LINENO |
# ac_fn_c_try_link LINENO |
# ----------------------- |
# ----------------------- |
# Try to link conftest.$ac_ext, and return whether this succeeded. |
# Try to link conftest.$ac_ext, and return whether this succeeded. |
Line 1884 $as_echo "$ac_try_echo"; } >&5
|
Line 1950 $as_echo "$ac_try_echo"; } >&5
|
test ! -s conftest.err |
test ! -s conftest.err |
} && test -s conftest$ac_exeext && { |
} && test -s conftest$ac_exeext && { |
test "$cross_compiling" = yes || |
test "$cross_compiling" = yes || |
$as_test_x conftest$ac_exeext | test -x conftest$ac_exeext |
}; then : |
}; then : |
ac_retval=0 |
ac_retval=0 |
else |
else |
Line 2073 cat >config.log <<_ACEOF
|
Line 2139 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 mtr $as_me 0.85, which was | It was created by mtr $as_me 0.91.1-4c982, which was |
generated by GNU Autoconf 2.68. Invocation command line was | generated by GNU Autoconf 2.69. Invocation command line was |
|
|
$ $0 $@ |
$ $0 $@ |
|
|
Line 2422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
Line 2488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
|
|
am__api_version='1.11' |
|
|
|
ac_aux_dir= |
ac_aux_dir= |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | for ac_dir in build-aux "$srcdir"/build-aux; 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" |
Line 2441 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../..";
|
Line 2505 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../..";
|
fi |
fi |
done |
done |
if test -z "$ac_aux_dir"; then |
if test -z "$ac_aux_dir"; then |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 |
fi |
fi |
|
|
# These three variables are undocumented and unsupported, |
# These three variables are undocumented and unsupported, |
Line 2453 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Pleas
|
Line 2517 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Pleas
|
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
|
|
|
|
# Find a good install program. We prefer a C program (faster), | # Expand $ac_aux_dir to an absolute path. |
# so one script is as good as another. But avoid the broken or | am_aux_dir=`cd "$ac_aux_dir" && pwd` |
# incompatible versions: | |
# SysV /etc/install, /usr/sbin/install | |
# SunOS /usr/etc/install | |
# IRIX /sbin/install | |
# AIX /bin/install | |
# AmigaOS /C/install, which installs bootblocks on floppy discs | |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
# OS/2's system install, which has a completely different semantic | |
# ./install, which can be erroneously created by make from ./install.sh. | |
# Reject install programs that cannot install multiple files. | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 | |
$as_echo_n "checking for a BSD-compatible install... " >&6; } | |
if test -z "$INSTALL"; then | |
if ${ac_cv_path_install+:} false; then : | |
$as_echo_n "(cached) " >&6 | |
else | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
for as_dir in $PATH | |
do | |
IFS=$as_save_IFS | |
test -z "$as_dir" && as_dir=. | |
# Account for people who put trailing slashes in PATH elements. | |
case $as_dir/ in #(( | |
./ | .// | /[cC]/* | \ | |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | |
/usr/ucb/* ) ;; | |
*) | |
# OSF1 and SCO ODT 3.0 have their own names for install. | |
# Don't use installbsd from OSF since it installs stuff as root | |
# by default. | |
for ac_prog in ginstall scoinst install; do | |
for ac_exec_ext in '' $ac_executable_extensions; do | |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | |
if test $ac_prog = install && | |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
# AIX install. It has an incompatible calling convention. | |
: | |
elif test $ac_prog = install && | |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
# program-specific install script used by HP pwplus--don't use. | |
: | |
else | |
rm -rf conftest.one conftest.two conftest.dir | |
echo one > conftest.one | |
echo two > conftest.two | |
mkdir conftest.dir | |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | |
test -s conftest.one && test -s conftest.two && | |
test -s conftest.dir/conftest.one && | |
test -s conftest.dir/conftest.two | |
then | |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
break 3 | |
fi | |
fi | |
fi | |
done | |
done | |
;; | |
esac | |
|
|
done |
|
IFS=$as_save_IFS |
|
|
|
rm -rf conftest.one conftest.two conftest.dir |
|
|
|
fi |
|
if test "${ac_cv_path_install+set}" = set; then |
|
INSTALL=$ac_cv_path_install |
|
else |
|
# As a last resort, use the slow shell script. Don't cache a |
|
# value for INSTALL within a source directory, because that will |
|
# break other packages using the cache if that directory is |
|
# removed, or if the value is a relative name. |
|
INSTALL=$ac_install_sh |
|
fi |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
|
$as_echo "$INSTALL" >&6; } |
|
|
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
|
# It thinks the first close brace ends the variable substitution. |
|
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
|
|
|
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
|
|
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
|
$as_echo_n "checking whether build environment is sane... " >&6; } |
|
# Just in case |
|
sleep 1 |
|
echo timestamp > conftest.file |
|
# Reject unsafe characters in $srcdir or the absolute working directory |
|
# name. Accept space and tab only in the latter. |
|
am_lf=' |
|
' |
|
case `pwd` in |
|
*[\\\"\#\$\&\'\`$am_lf]*) |
|
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
|
esac |
|
case $srcdir in |
|
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
|
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
|
esac |
|
|
|
# Do `set' in a subshell so we don't clobber the current shell's |
|
# arguments. Must try -L first in case configure is actually a |
|
# symlink; some systems play weird games with the mod time of symlinks |
|
# (eg FreeBSD returns the mod time of the symlink's containing |
|
# directory). |
|
if ( |
|
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
|
if test "$*" = "X"; then |
|
# -L didn't work. |
|
set X `ls -t "$srcdir/configure" conftest.file` |
|
fi |
|
rm -f conftest.file |
|
if test "$*" != "X $srcdir/configure conftest.file" \ |
|
&& test "$*" != "X conftest.file $srcdir/configure"; then |
|
|
|
# If neither matched, then we have a broken ls. This can happen |
|
# if, for instance, CONFIG_SHELL is bash and it inherits a |
|
# broken ls alias from the environment. This has actually |
|
# happened. Such a system could not be considered "sane". |
|
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
|
alias in your environment" "$LINENO" 5 |
|
fi |
|
|
|
test "$2" = conftest.file |
|
) |
|
then |
|
# Ok. |
|
: |
|
else |
|
as_fn_error $? "newly created file is older than distributed files! |
|
Check your system clock" "$LINENO" 5 |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
test "$program_prefix" != NONE && |
|
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
|
# Use a double $ so make ignores it. |
|
test "$program_suffix" != NONE && |
|
program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
|
# Double any \ or $. |
|
# By default was `s,x,x', remove it if useless. |
|
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
|
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
|
|
|
# expand $ac_aux_dir to an absolute path |
|
am_aux_dir=`cd $ac_aux_dir && pwd` |
|
|
|
if test x"${MISSING+set}" != xset; then |
|
case $am_aux_dir in |
|
*\ * | *\ *) |
|
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
|
*) |
|
MISSING="\${SHELL} $am_aux_dir/missing" ;; |
|
esac |
|
fi |
|
# Use eval to expand $SHELL |
|
if eval "$MISSING --run true"; then |
|
am_missing_run="$MISSING --run " |
|
else |
|
am_missing_run= |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
|
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
|
fi |
|
|
|
if test x"${install_sh}" != xset; then |
|
case $am_aux_dir in |
|
*\ * | *\ *) |
|
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
|
*) |
|
install_sh="\${SHELL} $am_aux_dir/install-sh" |
|
esac |
|
fi |
|
|
|
# Installed binaries are usually stripped using `strip' when the user |
|
# run `make install-strip'. However `strip' might not be the right |
|
# tool to use in cross-compilation environments, therefore Automake |
|
# will honor the `STRIP' environment variable to overrule this program. |
|
if test "$cross_compiling" != no; then |
|
if test -n "$ac_tool_prefix"; then |
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
|
set dummy ${ac_tool_prefix}strip; 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_prog_STRIP+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -n "$STRIP"; then |
|
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|
else |
|
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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
|
$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 |
|
|
|
fi |
|
fi |
|
STRIP=$ac_cv_prog_STRIP |
|
if test -n "$STRIP"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
|
$as_echo "$STRIP" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
|
fi |
|
if test -z "$ac_cv_prog_STRIP"; then |
|
ac_ct_STRIP=$STRIP |
|
# Extract the first word of "strip", so it can be a program name with args. |
|
set dummy strip; 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_prog_ac_ct_STRIP+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -n "$ac_ct_STRIP"; then |
|
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|
else |
|
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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
ac_cv_prog_ac_ct_STRIP="strip" |
|
$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 |
|
|
|
fi |
|
fi |
|
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
if test -n "$ac_ct_STRIP"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
|
$as_echo "$ac_ct_STRIP" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
if test "x$ac_ct_STRIP" = x; then |
|
STRIP=":" |
|
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 |
|
STRIP=$ac_ct_STRIP |
|
fi |
|
else |
|
STRIP="$ac_cv_prog_STRIP" |
|
fi |
|
|
|
fi |
|
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
|
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
|
if test -z "$MKDIR_P"; then |
|
if ${ac_cv_path_mkdir+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
|
do |
|
IFS=$as_save_IFS |
|
test -z "$as_dir" && as_dir=. |
|
for ac_prog in mkdir gmkdir; do |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
|
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
|
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
|
'mkdir (GNU coreutils) '* | \ |
|
'mkdir (coreutils) '* | \ |
|
'mkdir (fileutils) '4.1*) |
|
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
|
break 3;; |
|
esac |
|
done |
|
done |
|
done |
|
IFS=$as_save_IFS |
|
|
|
fi |
|
|
|
test -d ./--version && rmdir ./--version |
|
if test "${ac_cv_path_mkdir+set}" = set; then |
|
MKDIR_P="$ac_cv_path_mkdir -p" |
|
else |
|
# As a last resort, use the slow shell script. Don't cache a |
|
# value for MKDIR_P within a source directory, because that will |
|
# break other packages using the cache if that directory is |
|
# removed, or if the value is a relative name. |
|
MKDIR_P="$ac_install_sh -d" |
|
fi |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
|
$as_echo "$MKDIR_P" >&6; } |
|
|
|
mkdir_p="$MKDIR_P" |
|
case $mkdir_p in |
|
[\\/$]* | ?:[\\/]*) ;; |
|
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
|
esac |
|
|
|
for ac_prog in gawk mawk nawk awk |
|
do |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
set dummy $ac_prog; 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_prog_AWK+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -n "$AWK"; then |
|
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
else |
|
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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
ac_cv_prog_AWK="$ac_prog" |
|
$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 |
|
|
|
fi |
|
fi |
|
AWK=$ac_cv_prog_AWK |
|
if test -n "$AWK"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
|
$as_echo "$AWK" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
|
test -n "$AWK" && break |
|
done |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
|
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
|
set x ${MAKE-make} |
|
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
|
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
cat >conftest.make <<\_ACEOF |
|
SHELL = /bin/sh |
|
all: |
|
@echo '@@@%%%=$(MAKE)=@@@%%%' |
|
_ACEOF |
|
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
|
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
|
*@@@%%%=?*=@@@%%%*) |
|
eval ac_cv_prog_make_${ac_make}_set=yes;; |
|
*) |
|
eval ac_cv_prog_make_${ac_make}_set=no;; |
|
esac |
|
rm -f conftest.make |
|
fi |
|
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
SET_MAKE= |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
SET_MAKE="MAKE=${MAKE-make}" |
|
fi |
|
|
|
rm -rf .tst 2>/dev/null |
|
mkdir .tst 2>/dev/null |
|
if test -d .tst; then |
|
am__leading_dot=. |
|
else |
|
am__leading_dot=_ |
|
fi |
|
rmdir .tst 2>/dev/null |
|
|
|
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
|
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
|
# is not polluted with repeated "-I." |
|
am__isrc=' -I$(srcdir)' |
|
# test to see if srcdir already configured |
|
if test -f $srcdir/config.status; then |
|
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
|
fi |
|
fi |
|
|
|
# test whether we have cygpath |
|
if test -z "$CYGPATH_W"; then |
|
if (cygpath --version) >/dev/null 2>/dev/null; then |
|
CYGPATH_W='cygpath -w' |
|
else |
|
CYGPATH_W=echo |
|
fi |
|
fi |
|
|
|
|
|
# Define the identity of the package. |
|
PACKAGE='mtr' |
|
VERSION='0.85' |
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define PACKAGE "$PACKAGE" |
|
_ACEOF |
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define VERSION "$VERSION" |
|
_ACEOF |
|
|
|
# Some tools Automake needs. |
|
|
|
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
|
|
|
|
|
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
|
|
|
|
|
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
|
|
|
|
|
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
|
|
|
|
|
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
|
|
# We need awk for the "check" target. The system "awk" is bad on |
|
# some platforms. |
|
# Always define AMTAR for backward compatibility. |
|
|
|
AMTAR=${AMTAR-"${am_missing_run}tar"} |
|
|
|
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
|
|
|
|
|
|
|
|
|
|
|
|
|
ac_config_files="$ac_config_files version.h.tmp:version.h.in" |
|
|
|
|
|
|
|
|
|
|
|
GTK_OBJ=gtk.o |
|
CURSES_OBJ=curses.o |
|
|
|
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' |
Line 2961 do
|
Line 2542 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 3001 do
|
Line 2582 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_CC="gcc" |
ac_cv_prog_ac_ct_CC="gcc" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 3054 do
|
Line 2635 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 3095 do
|
Line 2676 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
ac_prog_rejected=yes |
ac_prog_rejected=yes |
continue |
continue |
Line 3153 do
|
Line 2734 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 3197 do
|
Line 2778 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_CC="$ac_prog" |
ac_cv_prog_ac_ct_CC="$ac_prog" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 3643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
Line 3224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
/* end confdefs.h. */ |
/* end confdefs.h. */ |
#include <stdarg.h> |
#include <stdarg.h> |
#include <stdio.h> |
#include <stdio.h> |
#include <sys/types.h> | struct stat; |
#include <sys/stat.h> | |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
struct buf { int x; }; |
struct buf { int x; }; |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
Line 3728 ac_cpp='$CPP $CPPFLAGS'
|
Line 3308 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 |
DEPDIR="${am__leading_dot}deps" |
|
|
|
ac_config_commands="$ac_config_commands depfiles" | ac_ext=c |
| ac_cpp='$CPP $CPPFLAGS' |
| ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
am_make=${MAKE-make} | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
cat > confinc << 'END' | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
am__doit: | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
@echo this is the am__doit target | $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
.PHONY: am__doit | if ${am_cv_prog_cc_c_o+:} false; then : |
END | |
# If we don't find an include directive, just comment out the code. | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 | |
$as_echo_n "checking for style of include used by $am_make... " >&6; } | |
am__include="#" | |
am__quote= | |
_am_result=none | |
# First try GNU make style include. | |
echo "include confinc" > confmf | |
# Ignore all kinds of additional output from `make'. | |
case `$am_make -s -f confmf 2> /dev/null` in #( | |
*the\ am__doit\ target*) | |
am__include=include | |
am__quote= | |
_am_result=GNU | |
;; | |
esac | |
# Now try BSD make style include. | |
if test "$am__include" = "#"; then | |
echo '.include "confinc"' > confmf | |
case `$am_make -s -f confmf 2> /dev/null` in #( | |
*the\ am__doit\ target*) | |
am__include=.include | |
am__quote="\"" | |
_am_result=BSD | |
;; | |
esac | |
fi | |
| |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 | |
$as_echo "$_am_result" >&6; } | |
rm -f confinc confmf | |
| |
# Check whether --enable-dependency-tracking was given. | |
if test "${enable_dependency_tracking+set}" = set; then : | |
enableval=$enable_dependency_tracking; | |
fi | |
| |
if test "x$enable_dependency_tracking" != xno; then | |
am_depcomp="$ac_aux_dir/depcomp" | |
AMDEPBACKSLASH='\' | |
fi | |
if test "x$enable_dependency_tracking" != xno; then | |
AMDEP_TRUE= | |
AMDEP_FALSE='#' | |
else | |
AMDEP_TRUE='#' | |
AMDEP_FALSE= | |
fi | |
| |
| |
| |
depcc="$CC" am_compiler_list= | |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 | |
$as_echo_n "checking dependency style of $depcc... " >&6; } | |
if ${am_cv_CC_dependencies_compiler_type+:} false; then : | |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
# We make a subdir and do the tests there. Otherwise we can end up | /* end confdefs.h. */ |
# making bogus files that we don't know about and never remove. For | |
# instance it was reported that on HP-UX the gcc test will end up | |
# making a dummy file named `D' -- because `-MD' means `put the output | |
# in D'. | |
mkdir conftest.dir | |
# Copy depcomp to subdir because otherwise we won't find it if we're | |
# using a relative directory. | |
cp "$am_depcomp" conftest.dir | |
cd conftest.dir | |
# We will build objects and dependencies in a subdirectory because | |
# it helps to detect inapplicable dependency modes. For instance | |
# both Tru64's cc and ICC support -MD to output dependencies as a | |
# side effect of compilation, but ICC will put the dependencies in | |
# the current directory while Tru64 will put them in the object | |
# directory. | |
mkdir sub | |
|
|
am_cv_CC_dependencies_compiler_type=none | int |
if test "$am_compiler_list" = ""; then | main () |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | { |
fi | |
am__universal=false | |
case " $depcc " in #( | |
*\ -arch\ *\ -arch\ *) am__universal=true ;; | |
esac | |
|
|
for depmode in $am_compiler_list; do | ; |
# Setup a source with many dependencies, because some compilers | return 0; |
# like to wrap large dependency lists on column 80 (with \), and | } |
# we should not choose a depcomp mode which is confused by this. | _ACEOF |
# | # Make sure it works both with $CC and with simple cc. |
# We need to recreate these files for each test, as the compiler may | # Following AC_PROG_CC_C_O, we do the test twice because some |
# overwrite some of them when testing with obscure command lines. | # compilers refuse to overwrite an existing .o file with -o, |
# This happens at least with the AIX C compiler. | # though they will create one. |
: > sub/conftest.c | am_cv_prog_cc_c_o=yes |
for i in 1 2 3 4 5 6; do | for am_i in 1 2; do |
echo '#include "conftst'$i'.h"' >> sub/conftest.c | if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
# Solaris 8's {/usr,}/bin/sh. | ac_status=$? |
touch sub/conftst$i.h | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
done | (exit $ac_status); } \ |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | && test -f conftest2.$ac_objext; then |
| : OK |
# We check with `-c' and `-o' for the sake of the "dashmstdout" | else |
# mode. It turns out that the SunPro C++ compiler does not properly | am_cv_prog_cc_c_o=no |
# handle `-M -o', and we need to detect this. Also, some Intel | break |
# versions had trouble with output in subdirs | |
am__obj=sub/conftest.${OBJEXT-o} | |
am__minus_obj="-o $am__obj" | |
case $depmode in | |
gcc) | |
# This depmode causes a compiler race in universal mode. | |
test "$am__universal" = false || continue | |
;; | |
nosideeffect) | |
# after this tag, mechanisms are not by side-effect, so they'll | |
# only be used when explicitly requested | |
if test "x$enable_dependency_tracking" = xyes; then | |
continue | |
else | |
break | |
fi | |
;; | |
msvisualcpp | msvcmsys) | |
# This compiler won't grok `-c -o', but also, the minuso test has | |
# not run yet. These depmodes are late enough in the game, and | |
# so weak that their functioning should not be impacted. | |
am__obj=conftest.${OBJEXT-o} | |
am__minus_obj= | |
;; | |
none) break ;; | |
esac | |
if depmode=$depmode \ | |
source=sub/conftest.c object=$am__obj \ | |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | |
>/dev/null 2>conftest.err && | |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then | |
# icc doesn't choke on unknown options, it will just issue warnings | |
# or remarks (even with -Werror). So we grep stderr for any message | |
# that says an option was ignored or not supported. | |
# When given -MP, icc 7.0 and 7.1 complain thusly: | |
# icc: Command line warning: ignoring option '-M'; no argument required | |
# The diagnosis changed in icc 8.0: | |
# icc: Command line remark: option '-MP' not supported | |
if (grep 'ignoring option' conftest.err || | |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | |
am_cv_CC_dependencies_compiler_type=$depmode | |
break | |
fi | |
fi |
fi |
done |
done |
| rm -f core conftest* |
cd .. | unset am_i |
rm -rf conftest.dir | |
else | |
am_cv_CC_dependencies_compiler_type=none | |
fi |
fi |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
| $as_echo "$am_cv_prog_cc_c_o" >&6; } |
| if test "$am_cv_prog_cc_c_o" != yes; then |
| # Losing compiler, so override with the script. |
| # FIXME: It is wrong to rewrite CC. |
| # But if we don't then we get into trouble of one sort or another. |
| # A longer-term fix would be to have automake use am__CC in this case, |
| # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
| CC="$am_aux_dir/compile $CC" |
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 | ac_ext=c |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } | ac_cpp='$CPP $CPPFLAGS' |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | 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_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
if |
|
test "x$enable_dependency_tracking" != xno \ |
|
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
|
am__fastdepCC_TRUE= |
|
am__fastdepCC_FALSE='#' |
|
else |
|
am__fastdepCC_TRUE='#' |
|
am__fastdepCC_FALSE= |
|
fi |
|
|
|
|
|
|
|
|
|
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' |
Line 4074 do
|
Line 3523 do
|
for ac_prog in grep ggrep; do |
for ac_prog in grep ggrep; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | as_fn_executable_p "$ac_path_GREP" || continue |
# Check for GNU ac_path_GREP and select it if it is found. |
# Check for GNU ac_path_GREP and select it if it is found. |
# Check for GNU $ac_path_GREP |
# Check for GNU $ac_path_GREP |
case `"$ac_path_GREP" --version 2>&1` in |
case `"$ac_path_GREP" --version 2>&1` in |
Line 4140 do
|
Line 3589 do
|
for ac_prog in egrep; do |
for ac_prog in egrep; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | as_fn_executable_p "$ac_path_EGREP" || continue |
# Check for GNU ac_path_EGREP and select it if it is found. |
# Check for GNU ac_path_EGREP and select it if it is found. |
# Check for GNU $ac_path_EGREP |
# Check for GNU $ac_path_EGREP |
case `"$ac_path_EGREP" --version 2>&1` in |
case `"$ac_path_EGREP" --version 2>&1` in |
Line 4317 fi
|
Line 3766 fi
|
done |
done |
|
|
|
|
# The cast to long int works around a bug in the HP C Compiler |
|
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
# This bug is HP SR number 8606223364. |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned char" >&5 |
|
$as_echo_n "checking size of unsigned char... " >&6; } |
|
if ${ac_cv_sizeof_unsigned_char+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned char))" "ac_cv_sizeof_unsigned_char" "$ac_includes_default"; then : |
|
|
|
|
ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" |
|
if test "x$ac_cv_header_minix_config_h" = xyes; then : |
|
MINIX=yes |
else |
else |
if test "$ac_cv_type_unsigned_char" = yes; then | MINIX= |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
as_fn_error 77 "cannot compute sizeof (unsigned char) | |
See \`config.log' for more details" "$LINENO" 5; } | |
else | |
ac_cv_sizeof_unsigned_char=0 | |
fi | |
fi |
fi |
|
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_char" >&5 |
|
$as_echo "$ac_cv_sizeof_unsigned_char" >&6; } |
|
|
|
|
if test "$MINIX" = yes; then |
|
|
|
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h |
|
|
cat >>confdefs.h <<_ACEOF |
|
#define SIZEOF_UNSIGNED_CHAR $ac_cv_sizeof_unsigned_char |
|
_ACEOF |
|
|
|
|
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h |
|
|
# The cast to long int works around a bug in the HP C Compiler | |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | $as_echo "#define _MINIX 1" >>confdefs.h |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | |
# This bug is HP SR number 8606223364. | fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5 | |
$as_echo_n "checking size of unsigned short... " >&6; } | |
if ${ac_cv_sizeof_unsigned_short+:} false; then : | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 |
| $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
| if ${ac_cv_safe_to_define___extensions__+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then : | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| /* end confdefs.h. */ |
|
|
|
# define __EXTENSIONS__ 1 |
|
$ac_includes_default |
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
ac_cv_safe_to_define___extensions__=yes |
else |
else |
if test "$ac_cv_type_unsigned_short" = yes; then | ac_cv_safe_to_define___extensions__=no |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
as_fn_error 77 "cannot compute sizeof (unsigned short) | |
See \`config.log' for more details" "$LINENO" 5; } | |
else | |
ac_cv_sizeof_unsigned_short=0 | |
fi | |
fi |
fi |
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 |
$as_echo "$ac_cv_sizeof_unsigned_short" >&6; } | $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } |
| test $ac_cv_safe_to_define___extensions__ = yes && |
| $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h |
|
|
|
$as_echo "#define _ALL_SOURCE 1" >>confdefs.h |
|
|
|
$as_echo "#define _GNU_SOURCE 1" >>confdefs.h |
|
|
cat >>confdefs.h <<_ACEOF | $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h |
#define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short | |
_ACEOF | |
|
|
|
$as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h |
|
|
# The cast to long int works around a bug in the HP C Compiler | |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | am__api_version='1.15' |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | |
# This bug is HP SR number 8606223364. | # Find a good install program. We prefer a C program (faster), |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5 | # so one script is as good as another. But avoid the broken or |
$as_echo_n "checking size of unsigned int... " >&6; } | # incompatible versions: |
if ${ac_cv_sizeof_unsigned_int+:} false; then : | # SysV /etc/install, /usr/sbin/install |
| # SunOS /usr/etc/install |
| # IRIX /sbin/install |
| # AIX /bin/install |
| # AmigaOS /C/install, which installs bootblocks on floppy discs |
| # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| # OS/2's system install, which has a completely different semantic |
| # ./install, which can be erroneously created by make from ./install.sh. |
| # Reject install programs that cannot install multiple files. |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
| $as_echo_n "checking for a BSD-compatible install... " >&6; } |
| if test -z "$INSTALL"; then |
| if ${ac_cv_path_install+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then : | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| for as_dir in $PATH |
| do |
| IFS=$as_save_IFS |
| test -z "$as_dir" && as_dir=. |
| # Account for people who put trailing slashes in PATH elements. |
| case $as_dir/ in #(( |
| ./ | .// | /[cC]/* | \ |
| /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
| /usr/ucb/* ) ;; |
| *) |
| # OSF1 and SCO ODT 3.0 have their own names for install. |
| # Don't use installbsd from OSF since it installs stuff as root |
| # by default. |
| for ac_prog in ginstall scoinst install; do |
| for ac_exec_ext in '' $ac_executable_extensions; do |
| if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
| if test $ac_prog = install && |
| grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| # AIX install. It has an incompatible calling convention. |
| : |
| elif test $ac_prog = install && |
| grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| # program-specific install script used by HP pwplus--don't use. |
| : |
| else |
| rm -rf conftest.one conftest.two conftest.dir |
| echo one > conftest.one |
| echo two > conftest.two |
| mkdir conftest.dir |
| if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
| test -s conftest.one && test -s conftest.two && |
| test -s conftest.dir/conftest.one && |
| test -s conftest.dir/conftest.two |
| then |
| ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
| break 3 |
| fi |
| fi |
| fi |
| done |
| done |
| ;; |
| esac |
|
|
else | done |
if test "$ac_cv_type_unsigned_int" = yes; then | IFS=$as_save_IFS |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
as_fn_error 77 "cannot compute sizeof (unsigned int) | |
See \`config.log' for more details" "$LINENO" 5; } | |
else | |
ac_cv_sizeof_unsigned_int=0 | |
fi | |
fi | |
|
|
|
rm -rf conftest.one conftest.two conftest.dir |
|
|
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5 | if test "${ac_cv_path_install+set}" = set; then |
$as_echo "$ac_cv_sizeof_unsigned_int" >&6; } | INSTALL=$ac_cv_path_install |
| else |
| # As a last resort, use the slow shell script. Don't cache a |
| # value for INSTALL within a source directory, because that will |
| # break other packages using the cache if that directory is |
| # removed, or if the value is a relative name. |
| INSTALL=$ac_install_sh |
| fi |
| fi |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
| $as_echo "$INSTALL" >&6; } |
|
|
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
|
# It thinks the first close brace ends the variable substitution. |
|
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
|
|
|
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
|
|
cat >>confdefs.h <<_ACEOF | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
#define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int | |
_ACEOF | |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
|
$as_echo_n "checking whether build environment is sane... " >&6; } |
|
# Reject unsafe characters in $srcdir or the absolute working directory |
|
# name. Accept space and tab only in the latter. |
|
am_lf=' |
|
' |
|
case `pwd` in |
|
*[\\\"\#\$\&\'\`$am_lf]*) |
|
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
|
esac |
|
case $srcdir in |
|
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
|
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
|
esac |
|
|
# The cast to long int works around a bug in the HP C Compiler | # Do 'set' in a subshell so we don't clobber the current shell's |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | # arguments. Must try -L first in case configure is actually a |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | # symlink; some systems play weird games with the mod time of symlinks |
# This bug is HP SR number 8606223364. | # (eg FreeBSD returns the mod time of the symlink's containing |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5 | # directory). |
$as_echo_n "checking size of unsigned long... " >&6; } | if ( |
if ${ac_cv_sizeof_unsigned_long+:} false; then : | am_has_slept=no |
$as_echo_n "(cached) " >&6 | for am_try in 1 2; do |
else | echo "timestamp, slept: $am_has_slept" > conftest.file |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then : | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
| if test "$*" = "X"; then |
| # -L didn't work. |
| set X `ls -t "$srcdir/configure" conftest.file` |
| fi |
| if test "$*" != "X $srcdir/configure conftest.file" \ |
| && test "$*" != "X conftest.file $srcdir/configure"; then |
|
|
|
# If neither matched, then we have a broken ls. This can happen |
|
# if, for instance, CONFIG_SHELL is bash and it inherits a |
|
# broken ls alias from the environment. This has actually |
|
# happened. Such a system could not be considered "sane". |
|
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
|
alias in your environment" "$LINENO" 5 |
|
fi |
|
if test "$2" = conftest.file || test $am_try -eq 2; then |
|
break |
|
fi |
|
# Just in case. |
|
sleep 1 |
|
am_has_slept=yes |
|
done |
|
test "$2" = conftest.file |
|
) |
|
then |
|
# Ok. |
|
: |
else |
else |
if test "$ac_cv_type_unsigned_long" = yes; then | as_fn_error $? "newly created file is older than distributed files! |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | Check your system clock" "$LINENO" 5 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
as_fn_error 77 "cannot compute sizeof (unsigned long) | |
See \`config.log' for more details" "$LINENO" 5; } | |
else | |
ac_cv_sizeof_unsigned_long=0 | |
fi | |
fi |
fi |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| $as_echo "yes" >&6; } |
| # If we didn't sleep, we still need to ensure time stamps of config.status and |
| # generated files are strictly newer. |
| am_sleep_pid= |
| if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
| ( sleep 1 ) & |
| am_sleep_pid=$! |
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5 |
|
$as_echo "$ac_cv_sizeof_unsigned_long" >&6; } |
|
|
|
|
rm -f conftest.file |
|
|
|
test "$program_prefix" != NONE && |
|
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
|
# Use a double $ so make ignores it. |
|
test "$program_suffix" != NONE && |
|
program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
|
# Double any \ or $. |
|
# By default was `s,x,x', remove it if useless. |
|
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
|
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
|
|
cat >>confdefs.h <<_ACEOF | if test x"${MISSING+set}" != xset; then |
#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long | case $am_aux_dir in |
_ACEOF | *\ * | *\ *) |
| MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
| *) |
| MISSING="\${SHELL} $am_aux_dir/missing" ;; |
| esac |
| fi |
| # Use eval to expand $SHELL |
| if eval "$MISSING --is-lightweight"; then |
| am_missing_run="$MISSING " |
| else |
| am_missing_run= |
| { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
| $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
| fi |
|
|
| if test x"${install_sh+set}" != xset; then |
| case $am_aux_dir in |
for ac_header in ncurses.h ncurses/curses.h curses.h cursesX.h sys/types.h fcntl.h | *\ * | *\ *) |
do : | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
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_includes_default" | install_sh="\${SHELL} $am_aux_dir/install-sh" |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | esac |
cat >>confdefs.h <<_ACEOF | |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
_ACEOF | |
| |
fi |
fi |
|
|
|
# Installed binaries are usually stripped using 'strip' when the user |
|
# run "make install-strip". However 'strip' might not be the right |
|
# tool to use in cross-compilation environments, therefore Automake |
|
# will honor the 'STRIP' environment variable to overrule this program. |
|
if test "$cross_compiling" != no; then |
|
if test -n "$ac_tool_prefix"; then |
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
|
set dummy ${ac_tool_prefix}strip; 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_prog_STRIP+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -n "$STRIP"; then |
|
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|
else |
|
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_prog_STRIP="${ac_tool_prefix}strip" |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
done |
done |
|
done |
|
IFS=$as_save_IFS |
|
|
for ac_header in socket.h sys/socket.h sys/xti.h arpa/nameser_compat.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_includes_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 |
|
|
|
fi |
fi |
|
fi |
|
STRIP=$ac_cv_prog_STRIP |
|
if test -n "$STRIP"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
|
$as_echo "$STRIP" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
done |
|
|
|
| fi |
# We don't refer to any symbols in termcap, but -lcurses on SunOS does. | if test -z "$ac_cv_prog_STRIP"; then |
# We have to trust the linker not to mess things up... (It should not | ac_ct_STRIP=$STRIP |
# pull in anything if we don't refer to anything in the lib). | # Extract the first word of "strip", so it can be a program name with args. |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5 | set dummy strip; ac_word=$2 |
$as_echo_n "checking for tgetent in -ltermcap... " >&6; } | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
if ${ac_cv_lib_termcap_tgetent+:} false; then : | $as_echo_n "checking for $ac_word... " >&6; } |
| if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_check_lib_save_LIBS=$LIBS | if test -n "$ac_ct_STRIP"; then |
LIBS="-ltermcap $LIBS" | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | else |
/* end confdefs.h. */ | 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_prog_ac_ct_STRIP="strip" |
| $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 |
|
|
/* Override any GCC internal prototype to avoid an error. | fi |
Use char because int might match the return type of a GCC | fi |
builtin and then its argument prototype would still apply. */ | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
#ifdef __cplusplus | if test -n "$ac_ct_STRIP"; then |
extern "C" | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
#endif | $as_echo "$ac_ct_STRIP" >&6; } |
char tgetent (); | |
int | |
main () | |
{ | |
return tgetent (); | |
; | |
return 0; | |
} | |
_ACEOF | |
if ac_fn_c_try_link "$LINENO"; then : | |
ac_cv_lib_termcap_tgetent=yes | |
else |
else |
ac_cv_lib_termcap_tgetent=no | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| $as_echo "no" >&6; } |
fi |
fi |
rm -f core conftest.err conftest.$ac_objext \ | |
conftest$ac_exeext conftest.$ac_ext | if test "x$ac_ct_STRIP" = x; then |
LIBS=$ac_check_lib_save_LIBS | STRIP=":" |
| 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 |
| STRIP=$ac_ct_STRIP |
| fi |
| else |
| STRIP="$ac_cv_prog_STRIP" |
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5 |
|
$as_echo "$ac_cv_lib_termcap_tgetent" >&6; } |
|
if test "x$ac_cv_lib_termcap_tgetent" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_LIBTERMCAP 1 |
|
_ACEOF |
|
|
|
LIBS="-ltermcap $LIBS" |
|
|
|
fi |
fi |
|
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltinfo" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
$as_echo_n "checking for tgetent in -ltinfo... " >&6; } | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
if ${ac_cv_lib_tinfo_tgetent+:} false; then : | if test -z "$MKDIR_P"; then |
| if ${ac_cv_path_mkdir+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_check_lib_save_LIBS=$LIBS | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
LIBS="-ltinfo $LIBS" | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | do |
/* end confdefs.h. */ | IFS=$as_save_IFS |
| test -z "$as_dir" && as_dir=. |
| for ac_prog in mkdir gmkdir; do |
| for ac_exec_ext in '' $ac_executable_extensions; do |
| as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
| case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
| 'mkdir (GNU coreutils) '* | \ |
| 'mkdir (coreutils) '* | \ |
| 'mkdir (fileutils) '4.1*) |
| ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
| break 3;; |
| esac |
| done |
| done |
| done |
| IFS=$as_save_IFS |
|
|
/* 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 tgetent (); |
|
int |
|
main () |
|
{ |
|
return tgetent (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
ac_cv_lib_tinfo_tgetent=yes |
|
else |
|
ac_cv_lib_tinfo_tgetent=no |
|
fi |
fi |
rm -f core conftest.err conftest.$ac_objext \ | |
conftest$ac_exeext conftest.$ac_ext | test -d ./--version && rmdir ./--version |
LIBS=$ac_check_lib_save_LIBS | if test "${ac_cv_path_mkdir+set}" = set; then |
| MKDIR_P="$ac_cv_path_mkdir -p" |
| else |
| # As a last resort, use the slow shell script. Don't cache a |
| # value for MKDIR_P within a source directory, because that will |
| # break other packages using the cache if that directory is |
| # removed, or if the value is a relative name. |
| MKDIR_P="$ac_install_sh -d" |
| fi |
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_tgetent" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
$as_echo "$ac_cv_lib_tinfo_tgetent" >&6; } | $as_echo "$MKDIR_P" >&6; } |
if test "x$ac_cv_lib_tinfo_tgetent" = xyes; then : | |
cat >>confdefs.h <<_ACEOF | |
#define HAVE_LIBTINFO 1 | |
_ACEOF | |
|
|
LIBS="-ltinfo $LIBS" | for ac_prog in gawk mawk nawk awk |
| do |
| # Extract the first word of "$ac_prog", so it can be a program name with args. |
| set dummy $ac_prog; 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_prog_AWK+:} false; then : |
| $as_echo_n "(cached) " >&6 |
| else |
| if test -n "$AWK"; then |
| ac_cv_prog_AWK="$AWK" # Let the user override the test. |
| else |
| 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_prog_AWK="$ac_prog" |
| $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 |
|
|
fi |
fi |
|
fi |
|
AWK=$ac_cv_prog_AWK |
|
if test -n "$AWK"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
|
$as_echo "$AWK" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
ac_fn_c_check_func "$LINENO" "initscr" "ac_cv_func_initscr" | test -n "$AWK" && break |
if test "x$ac_cv_func_initscr" = xyes; then : | done |
|
|
else | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
$as_echo_n "checking for initscr in -lncurses... " >&6; } | set x ${MAKE-make} |
if ${ac_cv_lib_ncurses_initscr+:} false; then : | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_check_lib_save_LIBS=$LIBS | cat >conftest.make <<\_ACEOF |
LIBS="-lncurses $LIBS" | SHELL = /bin/sh |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | all: |
/* end confdefs.h. */ | @echo '@@@%%%=$(MAKE)=@@@%%%' |
| |
/* 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 initscr (); | |
int | |
main () | |
{ | |
return initscr (); | |
; | |
return 0; | |
} | |
_ACEOF |
_ACEOF |
if ac_fn_c_try_link "$LINENO"; then : | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
ac_cv_lib_ncurses_initscr=yes | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
| *@@@%%%=?*=@@@%%%*) |
| eval ac_cv_prog_make_${ac_make}_set=yes;; |
| *) |
| eval ac_cv_prog_make_${ac_make}_set=no;; |
| esac |
| rm -f conftest.make |
| fi |
| if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| $as_echo "yes" >&6; } |
| SET_MAKE= |
else |
else |
ac_cv_lib_ncurses_initscr=no | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| $as_echo "no" >&6; } |
| SET_MAKE="MAKE=${MAKE-make}" |
fi |
fi |
rm -f core conftest.err conftest.$ac_objext \ | |
conftest$ac_exeext conftest.$ac_ext | rm -rf .tst 2>/dev/null |
LIBS=$ac_check_lib_save_LIBS | mkdir .tst 2>/dev/null |
| if test -d .tst; then |
| am__leading_dot=. |
| else |
| am__leading_dot=_ |
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5 | rmdir .tst 2>/dev/null |
$as_echo "$ac_cv_lib_ncurses_initscr" >&6; } | |
if test "x$ac_cv_lib_ncurses_initscr" = xyes; then : | |
cat >>confdefs.h <<_ACEOF | |
#define HAVE_LIBNCURSES 1 | |
_ACEOF | |
|
|
LIBS="-lncurses $LIBS" | DEPDIR="${am__leading_dot}deps" |
|
|
else | ac_config_commands="$ac_config_commands depfiles" |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lcurses" >&5 | |
$as_echo_n "checking for initscr in -lcurses... " >&6; } | |
if ${ac_cv_lib_curses_initscr+:} false; then : | |
$as_echo_n "(cached) " >&6 | |
else | |
ac_check_lib_save_LIBS=$LIBS | |
LIBS="-lcurses $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 | am_make=${MAKE-make} |
builtin and then its argument prototype would still apply. */ | cat > confinc << 'END' |
#ifdef __cplusplus | am__doit: |
extern "C" | @echo this is the am__doit target |
#endif | .PHONY: am__doit |
char initscr (); | END |
int | # If we don't find an include directive, just comment out the code. |
main () | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
{ | $as_echo_n "checking for style of include used by $am_make... " >&6; } |
return initscr (); | am__include="#" |
; | am__quote= |
return 0; | _am_result=none |
} | # First try GNU make style include. |
_ACEOF | echo "include confinc" > confmf |
if ac_fn_c_try_link "$LINENO"; then : | # Ignore all kinds of additional output from 'make'. |
ac_cv_lib_curses_initscr=yes | case `$am_make -s -f confmf 2> /dev/null` in #( |
else | *the\ am__doit\ target*) |
ac_cv_lib_curses_initscr=no | am__include=include |
| am__quote= |
| _am_result=GNU |
| ;; |
| esac |
| # Now try BSD make style include. |
| if test "$am__include" = "#"; then |
| echo '.include "confinc"' > confmf |
| case `$am_make -s -f confmf 2> /dev/null` in #( |
| *the\ am__doit\ target*) |
| am__include=.include |
| am__quote="\"" |
| _am_result=BSD |
| ;; |
| esac |
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_curses_initscr" >&5 |
|
$as_echo "$ac_cv_lib_curses_initscr" >&6; } |
|
if test "x$ac_cv_lib_curses_initscr" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_LIBCURSES 1 |
|
_ACEOF |
|
|
|
LIBS="-lcurses $LIBS" |
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
|
$as_echo "$_am_result" >&6; } |
|
rm -f confinc confmf |
|
|
|
# Check whether --enable-dependency-tracking was given. |
|
if test "${enable_dependency_tracking+set}" = set; then : |
|
enableval=$enable_dependency_tracking; |
|
fi |
|
|
|
if test "x$enable_dependency_tracking" != xno; then |
|
am_depcomp="$ac_aux_dir/depcomp" |
|
AMDEPBACKSLASH='\' |
|
am__nodep='_no' |
|
fi |
|
if test "x$enable_dependency_tracking" != xno; then |
|
AMDEP_TRUE= |
|
AMDEP_FALSE='#' |
else |
else |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lcursesX" >&5 | AMDEP_TRUE='#' |
$as_echo_n "checking for initscr in -lcursesX... " >&6; } | AMDEP_FALSE= |
if ${ac_cv_lib_cursesX_initscr+:} false; then : | fi |
| |
| |
| # Check whether --enable-silent-rules was given. |
| if test "${enable_silent_rules+set}" = set; then : |
| enableval=$enable_silent_rules; |
| fi |
| |
| case $enable_silent_rules in # ((( |
| yes) AM_DEFAULT_VERBOSITY=0;; |
| no) AM_DEFAULT_VERBOSITY=1;; |
| *) AM_DEFAULT_VERBOSITY=1;; |
| esac |
| am_make=${MAKE-make} |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
| $as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
| if ${am_cv_make_support_nested_variables+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_check_lib_save_LIBS=$LIBS | if $as_echo 'TRUE=$(BAR$(V)) |
LIBS="-lcursesX $LIBS" | BAR0=false |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | BAR1=true |
/* end confdefs.h. */ | V=1 |
| am__doit: |
/* Override any GCC internal prototype to avoid an error. | @$(TRUE) |
Use char because int might match the return type of a GCC | .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
builtin and then its argument prototype would still apply. */ | am_cv_make_support_nested_variables=yes |
#ifdef __cplusplus | |
extern "C" | |
#endif | |
char initscr (); | |
int | |
main () | |
{ | |
return initscr (); | |
; | |
return 0; | |
} | |
_ACEOF | |
if ac_fn_c_try_link "$LINENO"; then : | |
ac_cv_lib_cursesX_initscr=yes | |
else |
else |
ac_cv_lib_cursesX_initscr=no | am_cv_make_support_nested_variables=no |
fi |
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_cursesX_initscr" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
$as_echo "$ac_cv_lib_cursesX_initscr" >&6; } | $as_echo "$am_cv_make_support_nested_variables" >&6; } |
if test "x$ac_cv_lib_cursesX_initscr" = xyes; then : | if test $am_cv_make_support_nested_variables = yes; then |
cat >>confdefs.h <<_ACEOF | AM_V='$(V)' |
#define HAVE_LIBCURSESX 1 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
| else |
| AM_V=$AM_DEFAULT_VERBOSITY |
| AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
| fi |
| AM_BACKSLASH='\' |
| |
| if test "`cd $srcdir && pwd`" != "`pwd`"; then |
| # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
| # is not polluted with repeated "-I." |
| am__isrc=' -I$(srcdir)' |
| # test to see if srcdir already configured |
| if test -f $srcdir/config.status; then |
| as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
| fi |
| fi |
| |
| # test whether we have cygpath |
| if test -z "$CYGPATH_W"; then |
| if (cygpath --version) >/dev/null 2>/dev/null; then |
| CYGPATH_W='cygpath -w' |
| else |
| CYGPATH_W=echo |
| fi |
| fi |
| |
| |
| # Define the identity of the package. |
| PACKAGE='mtr' |
| VERSION='0.91.1-4c982' |
| |
| |
| cat >>confdefs.h <<_ACEOF |
| #define PACKAGE "$PACKAGE" |
_ACEOF |
_ACEOF |
|
|
LIBS="-lcursesX $LIBS" |
|
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define VERSION "$VERSION" |
|
_ACEOF |
|
|
|
# Some tools Automake needs. |
|
|
|
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
|
|
|
|
|
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
|
|
|
|
|
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
|
|
|
|
|
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
|
|
|
|
|
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
|
|
# For better backward compatibility. To be removed once Automake 1.9.x |
|
# dies out for good. For more background, see: |
|
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
|
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
|
mkdir_p='$(MKDIR_P)' |
|
|
|
# We need awk for the "check" target (and possibly the TAP driver). The |
|
# system "awk" is bad on some platforms. |
|
# Always define AMTAR for backward compatibility. Yes, it's still used |
|
# in the wild :-( We should find a proper way to deprecate it ... |
|
AMTAR='$${TAR-tar}' |
|
|
|
|
|
# We'll loop over all known methods to create a tar archive until one works. |
|
_am_tools='gnutar pax cpio none' |
|
|
|
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
|
|
|
|
|
|
|
|
|
|
|
depcc="$CC" am_compiler_list= |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
|
$as_echo_n "checking dependency style of $depcc... " >&6; } |
|
if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
else |
else |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building without curses display support" >&5 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
$as_echo "$as_me: WARNING: Building without curses display support" >&2;} | # We make a subdir and do the tests there. Otherwise we can end up |
| # making bogus files that we don't know about and never remove. For |
| # instance it was reported that on HP-UX the gcc test will end up |
| # making a dummy file named 'D' -- because '-MD' means "put the output |
| # in D". |
| rm -rf conftest.dir |
| mkdir conftest.dir |
| # Copy depcomp to subdir because otherwise we won't find it if we're |
| # using a relative directory. |
| cp "$am_depcomp" conftest.dir |
| cd conftest.dir |
| # We will build objects and dependencies in a subdirectory because |
| # it helps to detect inapplicable dependency modes. For instance |
| # both Tru64's cc and ICC support -MD to output dependencies as a |
| # side effect of compilation, but ICC will put the dependencies in |
| # the current directory while Tru64 will put them in the object |
| # directory. |
| mkdir sub |
|
|
$as_echo "#define NO_CURSES 1" >>confdefs.h | am_cv_CC_dependencies_compiler_type=none |
| if test "$am_compiler_list" = ""; then |
| am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
| fi |
| am__universal=false |
| case " $depcc " in #( |
| *\ -arch\ *\ -arch\ *) am__universal=true ;; |
| esac |
|
|
CURSES_OBJ= | for depmode in $am_compiler_list; do |
fi | # Setup a source with many dependencies, because some compilers |
| # like to wrap large dependency lists on column 80 (with \), and |
| # we should not choose a depcomp mode which is confused by this. |
| # |
| # We need to recreate these files for each test, as the compiler may |
| # overwrite some of them when testing with obscure command lines. |
| # This happens at least with the AIX C compiler. |
| : > sub/conftest.c |
| for i in 1 2 3 4 5 6; do |
| echo '#include "conftst'$i'.h"' >> sub/conftest.c |
| # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
| # Solaris 10 /bin/sh. |
| echo '/* dummy */' > sub/conftst$i.h |
| done |
| echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
|
|
# We check with '-c' and '-o' for the sake of the "dashmstdout" |
|
# mode. It turns out that the SunPro C++ compiler does not properly |
|
# handle '-M -o', and we need to detect this. Also, some Intel |
|
# versions had trouble with output in subdirs. |
|
am__obj=sub/conftest.${OBJEXT-o} |
|
am__minus_obj="-o $am__obj" |
|
case $depmode in |
|
gcc) |
|
# This depmode causes a compiler race in universal mode. |
|
test "$am__universal" = false || continue |
|
;; |
|
nosideeffect) |
|
# After this tag, mechanisms are not by side-effect, so they'll |
|
# only be used when explicitly requested. |
|
if test "x$enable_dependency_tracking" = xyes; then |
|
continue |
|
else |
|
break |
|
fi |
|
;; |
|
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
|
# This compiler won't grok '-c -o', but also, the minuso test has |
|
# not run yet. These depmodes are late enough in the game, and |
|
# so weak that their functioning should not be impacted. |
|
am__obj=conftest.${OBJEXT-o} |
|
am__minus_obj= |
|
;; |
|
none) break ;; |
|
esac |
|
if depmode=$depmode \ |
|
source=sub/conftest.c object=$am__obj \ |
|
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
|
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
|
>/dev/null 2>conftest.err && |
|
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
|
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
|
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
# icc doesn't choke on unknown options, it will just issue warnings |
|
# or remarks (even with -Werror). So we grep stderr for any message |
|
# that says an option was ignored or not supported. |
|
# When given -MP, icc 7.0 and 7.1 complain thusly: |
|
# icc: Command line warning: ignoring option '-M'; no argument required |
|
# The diagnosis changed in icc 8.0: |
|
# icc: Command line remark: option '-MP' not supported |
|
if (grep 'ignoring option' conftest.err || |
|
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
am_cv_CC_dependencies_compiler_type=$depmode |
|
break |
|
fi |
|
fi |
|
done |
|
|
|
cd .. |
|
rm -rf conftest.dir |
|
else |
|
am_cv_CC_dependencies_compiler_type=none |
fi |
fi |
|
|
fi |
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
|
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
|
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
|
|
|
if |
|
test "x$enable_dependency_tracking" != xno \ |
|
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
|
am__fastdepCC_TRUE= |
|
am__fastdepCC_FALSE='#' |
|
else |
|
am__fastdepCC_TRUE='#' |
|
am__fastdepCC_FALSE= |
fi |
fi |
|
|
|
|
for ac_func in attron fcntl |
|
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 `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
_ACEOF |
|
|
|
|
# POSIX will say in a future version that running "rm -f" with no argument |
|
# is OK; and we want to be able to make that assumption in our Makefile |
|
# recipes. So use an aggressive probe to check that the usage we want is |
|
# actually supported "in the wild" to an acceptable degree. |
|
# See automake bug#10828. |
|
# To make any issue more visible, cause the running configure to be aborted |
|
# by default if the 'rm' program in use doesn't match our expectations; the |
|
# user can still override this though. |
|
if rm -f && rm -fr && rm -rf; then : OK; else |
|
cat >&2 <<'END' |
|
Oops! |
|
|
|
Your 'rm' program seems unable to run without file operands specified |
|
on the command line, even when the '-f' option is present. This is contrary |
|
to the behaviour of most rm programs out there, and not conforming with |
|
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
|
|
|
Please tell bug-automake@gnu.org about your system, including the value |
|
of your $PATH and any error possibly output before this message. This |
|
can help us improve future automake versions. |
|
|
|
END |
|
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
|
echo 'Configuration will proceed anyway, since you have set the' >&2 |
|
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
|
echo >&2 |
|
else |
|
cat >&2 <<'END' |
|
Aborting the configuration process, to ensure you take notice of the issue. |
|
|
|
You can download and install GNU coreutils to get an 'rm' implementation |
|
that behaves properly: <http://www.gnu.org/software/coreutils/>. |
|
|
|
If you want to complete the configuration process using your problematic |
|
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
|
to "yes", and re-run configure. |
|
|
|
END |
|
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
|
fi |
fi |
fi |
done |
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5 | # --enable-silent-rules |
$as_echo_n "checking for floor in -lm... " >&6; } | # Check whether --enable-silent-rules was given. |
if ${ac_cv_lib_m_floor+:} false; then : | if test "${enable_silent_rules+set}" = set; then : |
| enableval=$enable_silent_rules; |
| fi |
| |
| case $enable_silent_rules in # ((( |
| yes) AM_DEFAULT_VERBOSITY=0;; |
| no) AM_DEFAULT_VERBOSITY=1;; |
| *) AM_DEFAULT_VERBOSITY=0;; |
| esac |
| am_make=${MAKE-make} |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
| $as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
| if ${am_cv_make_support_nested_variables+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_check_lib_save_LIBS=$LIBS | if $as_echo 'TRUE=$(BAR$(V)) |
LIBS="-lm $LIBS" | BAR0=false |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | BAR1=true |
/* end confdefs.h. */ | V=1 |
| am__doit: |
/* Override any GCC internal prototype to avoid an error. | @$(TRUE) |
Use char because int might match the return type of a GCC | .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
builtin and then its argument prototype would still apply. */ | am_cv_make_support_nested_variables=yes |
#ifdef __cplusplus | |
extern "C" | |
#endif | |
char floor (); | |
int | |
main () | |
{ | |
return floor (); | |
; | |
return 0; | |
} | |
_ACEOF | |
if ac_fn_c_try_link "$LINENO"; then : | |
ac_cv_lib_m_floor=yes | |
else |
else |
ac_cv_lib_m_floor=no | am_cv_make_support_nested_variables=no |
fi |
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_m_floor" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
$as_echo "$ac_cv_lib_m_floor" >&6; } | $as_echo "$am_cv_make_support_nested_variables" >&6; } |
if test "x$ac_cv_lib_m_floor" = xyes; then : | if test $am_cv_make_support_nested_variables = yes; then |
cat >>confdefs.h <<_ACEOF | AM_V='$(V)' |
#define HAVE_LIBM 1 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
_ACEOF | else |
| AM_V=$AM_DEFAULT_VERBOSITY |
| AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
| fi |
| AM_BACKSLASH='\' |
|
|
LIBS="-lm $LIBS" |
|
|
|
|
# Make sure we can run config.sub. |
|
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
|
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
|
$as_echo_n "checking build system type... " >&6; } |
|
if ${ac_cv_build+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
else |
else |
as_fn_error $? "No math library found" "$LINENO" 5 | ac_build_alias=$build_alias |
| test "x$ac_build_alias" = x && |
| ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
| test "x$ac_build_alias" = x && |
| as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
| ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
| as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
| |
fi |
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
|
$as_echo "$ac_cv_build" >&6; } |
|
case $ac_cv_build in |
|
*-*-*) ;; |
|
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
|
esac |
|
build=$ac_cv_build |
|
ac_save_IFS=$IFS; IFS='-' |
|
set x $ac_cv_build |
|
shift |
|
build_cpu=$1 |
|
build_vendor=$2 |
|
shift; shift |
|
# Remember, the first character of IFS is used to create $*, |
|
# except with old shells: |
|
build_os=$* |
|
IFS=$ac_save_IFS |
|
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
|
|
|
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
# Check whether --with-gtk was given. | $as_echo_n "checking host system type... " >&6; } |
if test "${with_gtk+set}" = set; then : | if ${ac_cv_host+:} false; then : |
withval=$with_gtk; WANTS_GTK=$withval | $as_echo_n "(cached) " >&6 |
else |
else |
WANTS_GTK=yes | if test "x$host_alias" = x; then |
| ac_cv_host=$ac_cv_build |
| else |
| ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
| as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
fi |
fi |
|
|
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
|
$as_echo "$ac_cv_host" >&6; } |
|
case $ac_cv_host in |
|
*-*-*) ;; |
|
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
|
esac |
|
host=$ac_cv_host |
|
ac_save_IFS=$IFS; IFS='-' |
|
set x $ac_cv_host |
|
shift |
|
host_cpu=$1 |
|
host_vendor=$2 |
|
shift; shift |
|
# Remember, the first character of IFS is used to create $*, |
|
# except with old shells: |
|
host_os=$* |
|
IFS=$ac_save_IFS |
|
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
|
|
|
|
# Check whether --with-glib was given. | ac_ext=c |
if test "${with_glib+set}" = set; then : | ac_cpp='$CPP $CPPFLAGS' |
withval=$with_glib; WANTS_GLIB=$withval | 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_compiler_gnu=$ac_cv_c_compiler_gnu |
| if test -n "$ac_tool_prefix"; then |
| # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
| set dummy ${ac_tool_prefix}gcc; 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_prog_CC+:} false; then : |
| $as_echo_n "(cached) " >&6 |
else |
else |
WANTS_GLIB=yes | if test -n "$CC"; then |
| ac_cv_prog_CC="$CC" # Let the user override the test. |
| else |
| 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_prog_CC="${ac_tool_prefix}gcc" |
| $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 |
| |
fi |
fi |
|
fi |
|
CC=$ac_cv_prog_CC |
|
if test -n "$CC"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
$as_echo "$CC" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
|
fi |
|
if test -z "$ac_cv_prog_CC"; then |
|
ac_ct_CC=$CC |
|
# Extract the first word of "gcc", so it can be a program name with args. |
|
set dummy gcc; 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_prog_ac_ct_CC+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -n "$ac_ct_CC"; then |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
else |
|
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_prog_ac_ct_CC="gcc" |
|
$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 |
|
|
# Check whether --with-ipinfo was given. | fi |
if test "${with_ipinfo+set}" = set; then : | fi |
withval=$with_ipinfo; case "${withval}" in | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
yes) ipinfo=true ;; | if test -n "$ac_ct_CC"; then |
no) ipinfo=false ;; | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
*) as_fn_error $? "bad value ${withval} for --with-ipinfo" "$LINENO" 5 ;; | $as_echo "$ac_ct_CC" >&6; } |
esac | |
else |
else |
ipinfo=true | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| $as_echo "no" >&6; } |
fi |
fi |
|
|
if test x$ipinfo = xtrue; then | if test "x$ac_ct_CC" = x; then |
IPINFO_TRUE= | CC="" |
IPINFO_FALSE='#' | 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 |
| CC=$ac_ct_CC |
| fi |
else |
else |
IPINFO_TRUE='#' | CC="$ac_cv_prog_CC" |
IPINFO_FALSE= | |
fi |
fi |
|
|
if test "x$ipinfo" = "xfalse"; then | if test -z "$CC"; then |
| if test -n "$ac_tool_prefix"; then |
| # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| set dummy ${ac_tool_prefix}cc; 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_prog_CC+:} false; then : |
| $as_echo_n "(cached) " >&6 |
| else |
| if test -n "$CC"; then |
| ac_cv_prog_CC="$CC" # Let the user override the test. |
| else |
| 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_prog_CC="${ac_tool_prefix}cc" |
| $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 |
|
|
$as_echo "#define NO_IPINFO 1" >>confdefs.h |
|
|
|
fi |
fi |
| fi |
# Check whether --enable-ipv6 was given. | CC=$ac_cv_prog_CC |
if test "${enable_ipv6+set}" = set; then : | if test -n "$CC"; then |
enableval=$enable_ipv6; WANTS_IPV6=$enableval | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| $as_echo "$CC" >&6; } |
else |
else |
WANTS_IPV6=yes | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| $as_echo "no" >&6; } |
fi |
fi |
|
|
|
|
if test "x$WANTS_GTK" = "xyes"; then | fi |
# Check whether --enable-gtktest was given. | fi |
if test "${enable_gtktest+set}" = set; then : | if test -z "$CC"; then |
enableval=$enable_gtktest; | # Extract the first word of "cc", so it can be a program name with args. |
| set dummy cc; 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_prog_CC+:} false; then : |
| $as_echo_n "(cached) " >&6 |
else |
else |
enable_gtktest=yes | if test -n "$CC"; then |
| ac_cv_prog_CC="$CC" # Let the user override the test. |
| else |
| ac_prog_rejected=no |
| 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 |
| if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| ac_prog_rejected=yes |
| continue |
| fi |
| ac_cv_prog_CC="cc" |
| $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 |
| |
| if test $ac_prog_rejected = yes; then |
| # We found a bogon in the path, so make sure we never use it. |
| set dummy $ac_cv_prog_CC |
| shift |
| if test $# != 0; then |
| # We chose a different compiler from the bogus one. |
| # However, it has the same basename, so the bogon will be chosen |
| # first if we set CC to just the basename; use the full file name. |
| shift |
| ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
| fi |
fi |
fi |
|
fi |
|
fi |
|
CC=$ac_cv_prog_CC |
|
if test -n "$CC"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
$as_echo "$CC" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
pkg_config_args=gtk+-2.0 | fi |
for module in . | if test -z "$CC"; then |
| if test -n "$ac_tool_prefix"; then |
| for ac_prog in cl.exe |
do |
do |
case "$module" in | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
gthread) | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
pkg_config_args="$pkg_config_args gthread-2.0" | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
;; | $as_echo_n "checking for $ac_word... " >&6; } |
esac | if ${ac_cv_prog_CC+:} false; then : |
| $as_echo_n "(cached) " >&6 |
| else |
| if test -n "$CC"; then |
| ac_cv_prog_CC="$CC" # Let the user override the test. |
| else |
| 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_prog_CC="$ac_tool_prefix$ac_prog" |
| $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| break 2 |
| fi |
| done |
done |
done |
|
IFS=$as_save_IFS |
|
|
no_gtk="" | fi |
| fi |
| CC=$ac_cv_prog_CC |
| if test -n "$CC"; then |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| $as_echo "$CC" >&6; } |
| else |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| $as_echo "no" >&6; } |
| fi |
|
|
# Extract the first word of "pkg-config", so it can be a program name with args. | |
set dummy pkg-config; ac_word=$2 | test -n "$CC" && break |
| done |
| fi |
| if test -z "$CC"; then |
| ac_ct_CC=$CC |
| for ac_prog in cl.exe |
| do |
| # Extract the first word of "$ac_prog", so it can be a program name with args. |
| set dummy $ac_prog; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if ${ac_cv_path_PKG_CONFIG+:} false; then : | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
case $PKG_CONFIG in | if test -n "$ac_ct_CC"; then |
[\\/]* | ?:[\\/]*) | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | else |
;; | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
*) | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
for as_dir in $PATH |
for as_dir in $PATH |
do |
do |
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 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" | ac_cv_prog_ac_ct_CC="$ac_prog" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
fi |
fi |
Line 4883 done
|
Line 4974 done
|
done |
done |
IFS=$as_save_IFS |
IFS=$as_save_IFS |
|
|
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
|
;; |
|
esac |
|
fi |
fi |
PKG_CONFIG=$ac_cv_path_PKG_CONFIG | fi |
if test -n "$PKG_CONFIG"; then | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | if test -n "$ac_ct_CC"; then |
$as_echo "$PKG_CONFIG" >&6; } | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| $as_echo "$ac_ct_CC" >&6; } |
else |
else |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
$as_echo "no" >&6; } |
$as_echo "no" >&6; } |
fi |
fi |
|
|
|
|
|
test -n "$ac_ct_CC" && break |
|
done |
|
|
if test x$PKG_CONFIG != xno ; then | if test "x$ac_ct_CC" = x; then |
if pkg-config --atleast-pkgconfig-version 0.7 ; then | CC="" |
: | |
else | |
echo "*** pkg-config too old; version 0.7 or better required." | |
no_gtk=yes | |
PKG_CONFIG=no | |
fi | |
else |
else |
no_gtk=yes | 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 |
| CC=$ac_ct_CC |
fi |
fi |
|
fi |
|
|
min_gtk_version=2.6.0 | fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5 | |
$as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; } | |
|
|
if test x$PKG_CONFIG != xno ; then |
|
## don't try to run the test against uninstalled libtool libs |
|
if $PKG_CONFIG --uninstalled $pkg_config_args; then |
|
echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH" |
|
enable_gtktest=no |
|
fi |
|
|
|
if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
: | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
else | as_fn_error $? "no acceptable C compiler found in \$PATH |
no_gtk=yes | See \`config.log' for more details" "$LINENO" 5; } |
fi | |
| # Provide some information about the compiler. |
| $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
| set X $ac_compile |
| ac_compiler=$2 |
| for ac_option in --version -v -V -qversion; do |
| { { ac_try="$ac_compiler $ac_option >&5" |
| case "(($ac_try" in |
| *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| *) ac_try_echo=$ac_try;; |
| esac |
| eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| $as_echo "$ac_try_echo"; } >&5 |
| (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
| ac_status=$? |
| if test -s conftest.err; then |
| sed '10a\ |
| ... rest of stderr output deleted ... |
| 10q' conftest.err >conftest.er1 |
| cat conftest.er1 >&5 |
fi |
fi |
|
rm -f conftest.er1 conftest.err |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
test $ac_status = 0; } |
|
done |
|
|
if test x"$no_gtk" = x ; then | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags` | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs` | if ${ac_cv_c_compiler_gnu+:} false; then : |
gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \ | $as_echo_n "(cached) " >&6 |
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` | |
gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \ | |
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` | |
gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \ | |
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` | |
if test "x$enable_gtktest" = "xyes" ; then | |
ac_save_CFLAGS="$CFLAGS" | |
ac_save_LIBS="$LIBS" | |
CFLAGS="$CFLAGS $GTK_CFLAGS" | |
LIBS="$GTK_LIBS $LIBS" | |
rm -f conf.gtktest | |
if test "$cross_compiling" = yes; then : | |
echo $ac_n "cross compiling; assumed OK... $ac_c" | |
else |
else |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
|
#include <gtk/gtk.h> |
|
#include <stdio.h> |
|
#include <stdlib.h> |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
int major, minor, micro; | #ifndef __GNUC__ |
char *tmp_version; | choke me |
| #endif |
|
|
fclose (fopen ("conf.gtktest", "w")); | ; |
| return 0; |
| } |
| _ACEOF |
| if ac_fn_c_try_compile "$LINENO"; then : |
| ac_compiler_gnu=yes |
| else |
| ac_compiler_gnu=no |
| fi |
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|
|
/* HP/UX 9 (%@#!) writes to sscanf strings */ | fi |
tmp_version = g_strdup("$min_gtk_version"); | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
printf("%s, bad version string\n", "$min_gtk_version"); | if test $ac_compiler_gnu = yes; then |
exit(1); | GCC=yes |
} | else |
| GCC= |
| fi |
| ac_test_CFLAGS=${CFLAGS+set} |
| ac_save_CFLAGS=$CFLAGS |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
| $as_echo_n "checking whether $CC accepts -g... " >&6; } |
| if ${ac_cv_prog_cc_g+:} false; then : |
| $as_echo_n "(cached) " >&6 |
| else |
| ac_save_c_werror_flag=$ac_c_werror_flag |
| ac_c_werror_flag=yes |
| ac_cv_prog_cc_g=no |
| CFLAGS="-g" |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| /* end confdefs.h. */ |
|
|
if ((gtk_major_version != $gtk_config_major_version) || | int |
(gtk_minor_version != $gtk_config_minor_version) || | main () |
(gtk_micro_version != $gtk_config_micro_version)) | { |
{ | |
printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", | ; |
$gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version, | return 0; |
gtk_major_version, gtk_minor_version, gtk_micro_version); | |
printf ("*** was found! If pkg-config was correct, then it is best\n"); | |
printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n"); | |
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); | |
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); | |
printf("*** required on your system.\n"); | |
printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n"); | |
printf("*** to point to the correct configuration files\n"); | |
} | |
else if ((gtk_major_version != GTK_MAJOR_VERSION) || | |
(gtk_minor_version != GTK_MINOR_VERSION) || | |
(gtk_micro_version != GTK_MICRO_VERSION)) | |
{ | |
printf("*** GTK+ header files (version %d.%d.%d) do not match\n", | |
GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); | |
printf("*** library (version %d.%d.%d)\n", | |
gtk_major_version, gtk_minor_version, gtk_micro_version); | |
} | |
else | |
{ | |
if ((gtk_major_version > major) || | |
((gtk_major_version == major) && (gtk_minor_version > minor)) || | |
((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))) | |
{ | |
return 0; | |
} | |
else | |
{ | |
printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n", | |
gtk_major_version, gtk_minor_version, gtk_micro_version); | |
printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n", | |
major, minor, micro); | |
printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n"); | |
printf("***\n"); | |
printf("*** If you have already installed a sufficiently new version, this error\n"); | |
printf("*** probably means that the wrong copy of the pkg-config shell script is\n"); | |
printf("*** being found. The easiest way to fix this is to remove the old version\n"); | |
printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n"); | |
printf("*** correct copy of pkg-config. (In this case, you will have to\n"); | |
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); | |
printf("*** so that the correct libraries are found at run-time))\n"); | |
} | |
} | |
return 1; | |
} |
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
ac_cv_prog_cc_g=yes |
|
else |
|
CFLAGS="" |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
_ACEOF |
_ACEOF |
if ac_fn_c_try_run "$LINENO"; then : | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
else |
else |
no_gtk=yes | ac_c_werror_flag=$ac_save_c_werror_flag |
| CFLAGS="-g" |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| /* end confdefs.h. */ |
| |
| int |
| main () |
| { |
| |
| ; |
| return 0; |
| } |
| _ACEOF |
| if ac_fn_c_try_compile "$LINENO"; then : |
| ac_cv_prog_cc_g=yes |
fi |
fi |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
conftest.$ac_objext conftest.beam conftest.$ac_ext | |
fi |
fi |
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
CFLAGS="$ac_save_CFLAGS" | fi |
LIBS="$ac_save_LIBS" | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
fi | ac_c_werror_flag=$ac_save_c_werror_flag |
| fi |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
| $as_echo "$ac_cv_prog_cc_g" >&6; } |
| if test "$ac_test_CFLAGS" = set; then |
| CFLAGS=$ac_save_CFLAGS |
| elif test $ac_cv_prog_cc_g = yes; then |
| if test "$GCC" = yes; then |
| CFLAGS="-g -O2" |
| else |
| CFLAGS="-g" |
fi |
fi |
if test "x$no_gtk" = x ; then | else |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5 | if test "$GCC" = yes; then |
$as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; } | CFLAGS="-O2" |
CFLAGS="$CFLAGS $GTK_CFLAGS" | |
LIBS="$LIBS $GTK_LIBS -lm" | |
else |
else |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | CFLAGS= |
$as_echo "no" >&6; } | fi |
if test "$PKG_CONFIG" = "no" ; then | fi |
echo "*** A new enough version of pkg-config was not found." | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
echo "*** See http://pkgconfig.sourceforge.net" | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
else | if ${ac_cv_prog_cc_c89+:} false; then : |
if test -f conf.gtktest ; then | $as_echo_n "(cached) " >&6 |
: | else |
else | ac_cv_prog_cc_c89=no |
echo "*** Could not run GTK+ test program, checking why..." | ac_save_CC=$CC |
ac_save_CFLAGS="$CFLAGS" | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
ac_save_LIBS="$LIBS" | |
CFLAGS="$CFLAGS $GTK_CFLAGS" | |
LIBS="$LIBS $GTK_LIBS" | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
| #include <stdarg.h> |
#include <gtk/gtk.h> | |
#include <stdio.h> |
#include <stdio.h> |
|
struct stat; |
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|
struct buf { int x; }; |
|
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
static char *e (p, i) |
|
char **p; |
|
int i; |
|
{ |
|
return p[i]; |
|
} |
|
static char *f (char * (*g) (char **, int), char **p, ...) |
|
{ |
|
char *s; |
|
va_list v; |
|
va_start (v,p); |
|
s = g (p, va_arg (v,int)); |
|
va_end (v); |
|
return s; |
|
} |
|
|
|
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
function prototypes and stuff, but not '\xHH' hex character constants. |
|
These don't provoke an error unfortunately, instead are silently treated |
|
as 'x'. The following induces an error, until -std is added to get |
|
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
|
array size at least. It's necessary to write '\x00'==0 to get something |
|
that's true only with -std. */ |
|
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
|
|
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
|
inside strings and character constants. */ |
|
#define FOO(x) 'x' |
|
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
|
|
|
int test (int i, double x); |
|
struct s1 {int (*f) (int a);}; |
|
struct s2 {int (*f) (double a);}; |
|
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|
int argc; |
|
char **argv; |
int |
int |
main () |
main () |
{ |
{ |
return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
if ac_fn_c_try_link "$LINENO"; then : | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
echo "*** The test program compiled, but did not run. This usually means" | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
echo "*** that the run-time linker is not finding GTK+ or finding the wrong" | do |
echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your" | CC="$ac_save_CC $ac_arg" |
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" | if ac_fn_c_try_compile "$LINENO"; then : |
echo "*** to the installed location Also, make sure you have run ldconfig if that" | ac_cv_prog_cc_c89=$ac_arg |
echo "*** is required on your system" | |
echo "***" | |
echo "*** If you have an old version installed, it is best to remove it, although" | |
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" | |
else | |
echo "*** The test program failed to compile or link. See the file config.log for the" | |
echo "*** exact error that occured. This usually means GTK+ is incorrectly installed." | |
fi |
fi |
rm -f core conftest.err conftest.$ac_objext \ | rm -f core conftest.err conftest.$ac_objext |
conftest$ac_exeext conftest.$ac_ext | test "x$ac_cv_prog_cc_c89" != "xno" && break |
CFLAGS="$ac_save_CFLAGS" | done |
LIBS="$ac_save_LIBS" | rm -f conftest.$ac_ext |
fi | CC=$ac_save_CC |
fi | |
GTK_CFLAGS="" | |
GTK_LIBS="" | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building without GTK2 display support" >&5 | |
$as_echo "$as_me: WARNING: Building without GTK2 display support" >&2;} | |
|
|
$as_echo "#define NO_GTK 1" >>confdefs.h | fi |
| # AC_CACHE_VAL |
| case "x$ac_cv_prog_cc_c89" in |
| x) |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| $as_echo "none needed" >&6; } ;; |
| xno) |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| $as_echo "unsupported" >&6; } ;; |
| *) |
| CC="$CC $ac_cv_prog_cc_c89" |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
| $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
| esac |
| if test "x$ac_cv_prog_cc_c89" != xno; then : |
|
|
GTK_OBJ="" | fi |
fi | |
|
|
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
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_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
rm -f conf.gtktest | ac_ext=c |
| ac_cpp='$CPP $CPPFLAGS' |
| 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_compiler_gnu=$ac_cv_c_compiler_gnu |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
| $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
| if ${am_cv_prog_cc_c_o+:} false; then : |
| $as_echo_n "(cached) " >&6 |
else |
else |
$as_echo "#define NO_GTK 1" >>confdefs.h | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| /* end confdefs.h. */ |
|
|
GTK_OBJ="" | int |
if test "x$WANTS_GLIB" = "xyes"; then | main () |
| { |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
# Make sure it works both with $CC and with simple cc. |
|
# Following AC_PROG_CC_C_O, we do the test twice because some |
|
# compilers refuse to overwrite an existing .o file with -o, |
|
# though they will create one. |
|
am_cv_prog_cc_c_o=yes |
|
for am_i in 1 2; do |
|
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
|
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } \ |
|
&& test -f conftest2.$ac_objext; then |
|
: OK |
|
else |
|
am_cv_prog_cc_c_o=no |
|
break |
|
fi |
|
done |
|
rm -f core conftest* |
|
unset am_i |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
|
$as_echo "$am_cv_prog_cc_c_o" >&6; } |
|
if test "$am_cv_prog_cc_c_o" != yes; then |
|
# Losing compiler, so override with the script. |
|
# FIXME: It is wrong to rewrite CC. |
|
# But if we don't then we get into trouble of one sort or another. |
|
# A longer-term fix would be to have automake use am__CC in this case, |
|
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
|
CC="$am_aux_dir/compile $CC" |
|
fi |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
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_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
|
|
|
|
# Check pkg-config availability. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
if test -n "$ac_tool_prefix"; then |
if test -n "$ac_tool_prefix"; then |
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
Line 5133 do
|
Line 5335 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 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" |
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 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 5176 do
|
Line 5378 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 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" |
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 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 5227 $as_echo "no" >&6; }
|
Line 5429 $as_echo "no" >&6; }
|
fi |
fi |
fi |
fi |
|
|
|
if test "$host_os" = cygwin; then |
|
CYGWIN_TRUE= |
|
CYGWIN_FALSE='#' |
|
else |
|
CYGWIN_TRUE='#' |
|
CYGWIN_FALSE= |
|
fi |
|
|
|
|
|
# Check bytes in types. |
|
# The cast to long int works around a bug in the HP C Compiler |
|
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
# This bug is HP SR number 8606223364. |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned char" >&5 |
|
$as_echo_n "checking size of unsigned char... " >&6; } |
|
if ${ac_cv_sizeof_unsigned_char+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned char))" "ac_cv_sizeof_unsigned_char" "$ac_includes_default"; then : |
|
|
|
else |
|
if test "$ac_cv_type_unsigned_char" = yes; then |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
as_fn_error 77 "cannot compute sizeof (unsigned char) |
|
See \`config.log' for more details" "$LINENO" 5; } |
|
else |
|
ac_cv_sizeof_unsigned_char=0 |
|
fi |
|
fi |
|
|
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_char" >&5 |
|
$as_echo "$ac_cv_sizeof_unsigned_char" >&6; } |
|
|
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define SIZEOF_UNSIGNED_CHAR $ac_cv_sizeof_unsigned_char |
|
_ACEOF |
|
|
|
|
|
# The cast to long int works around a bug in the HP C Compiler |
|
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
# This bug is HP SR number 8606223364. |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5 |
|
$as_echo_n "checking size of unsigned short... " >&6; } |
|
if ${ac_cv_sizeof_unsigned_short+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then : |
|
|
|
else |
|
if test "$ac_cv_type_unsigned_short" = yes; then |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
as_fn_error 77 "cannot compute sizeof (unsigned short) |
|
See \`config.log' for more details" "$LINENO" 5; } |
|
else |
|
ac_cv_sizeof_unsigned_short=0 |
|
fi |
|
fi |
|
|
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5 |
|
$as_echo "$ac_cv_sizeof_unsigned_short" >&6; } |
|
|
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short |
|
_ACEOF |
|
|
|
|
|
# The cast to long int works around a bug in the HP C Compiler |
|
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
# This bug is HP SR number 8606223364. |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5 |
|
$as_echo_n "checking size of unsigned int... " >&6; } |
|
if ${ac_cv_sizeof_unsigned_int+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then : |
|
|
|
else |
|
if test "$ac_cv_type_unsigned_int" = yes; then |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
as_fn_error 77 "cannot compute sizeof (unsigned int) |
|
See \`config.log' for more details" "$LINENO" 5; } |
|
else |
|
ac_cv_sizeof_unsigned_int=0 |
|
fi |
|
fi |
|
|
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5 |
|
$as_echo "$ac_cv_sizeof_unsigned_int" >&6; } |
|
|
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int |
|
_ACEOF |
|
|
|
|
|
# The cast to long int works around a bug in the HP C Compiler |
|
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
# This bug is HP SR number 8606223364. |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5 |
|
$as_echo_n "checking size of unsigned long... " >&6; } |
|
if ${ac_cv_sizeof_unsigned_long+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then : |
|
|
|
else |
|
if test "$ac_cv_type_unsigned_long" = yes; then |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
as_fn_error 77 "cannot compute sizeof (unsigned long) |
|
See \`config.log' for more details" "$LINENO" 5; } |
|
else |
|
ac_cv_sizeof_unsigned_long=0 |
|
fi |
|
fi |
|
|
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5 |
|
$as_echo "$ac_cv_sizeof_unsigned_long" >&6; } |
|
|
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long |
|
_ACEOF |
|
|
|
|
|
|
|
# Check headers. |
|
for ac_header in \ |
|
arpa/nameser_compat.h \ |
|
curses.h \ |
|
cursesX.h \ |
|
error.h \ |
|
fcntl.h \ |
|
linux/icmp.h \ |
|
ncurses.h \ |
|
ncurses/curses.h \ |
|
netinet/in.h \ |
|
socket.h \ |
|
sys/cdefs.h \ |
|
sys/limits.h \ |
|
sys/socket.h \ |
|
stdio_ext.h \ |
|
sys/types.h \ |
|
sys/xti.h \ |
|
values.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_includes_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 |
|
|
|
fi |
|
|
|
done |
|
|
|
|
|
# Check functions. |
|
for ac_func in \ |
|
__fpending \ |
|
fcntl \ |
|
|
|
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 `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
_ACEOF |
|
|
|
fi |
|
done |
|
|
|
|
|
ac_fn_c_check_func "$LINENO" "error" "ac_cv_func_error" |
|
if test "x$ac_cv_func_error" = xyes; then : |
|
with_error=no |
|
else |
|
for ac_func in verr verrx vwarn vwarnx |
|
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 `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
_ACEOF |
|
with_error=yes |
|
else |
|
as_fn_error $? "cannot find working error printing function" "$LINENO" 5 |
|
|
|
fi |
|
done |
|
|
|
|
|
fi |
|
|
|
if test "x$with_error" = "xyes"; then |
|
WITH_ERROR_TRUE= |
|
WITH_ERROR_FALSE='#' |
|
else |
|
WITH_ERROR_TRUE='#' |
|
WITH_ERROR_FALSE= |
|
fi |
|
|
|
|
|
ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long" |
|
if test "x$ac_cv_func_getopt_long" = xyes; then : |
|
with_getopt=no |
|
else |
|
with_getopt=yes |
|
fi |
|
|
|
if test "x$with_getopt" = "xno"; then : |
|
|
|
|
|
$as_echo "#define HAVE_GETOPT 1" >>confdefs.h |
|
|
|
|
|
fi |
|
if test "x$with_getopt" = "xyes"; then |
|
WITH_GETOPT_TRUE= |
|
WITH_GETOPT_FALSE='#' |
|
else |
|
WITH_GETOPT_TRUE='#' |
|
WITH_GETOPT_FALSE= |
|
fi |
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5 |
|
$as_echo_n "checking for floor in -lm... " >&6; } |
|
if ${ac_cv_lib_m_floor+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lm $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 floor (); |
|
int |
|
main () |
|
{ |
|
return floor (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
ac_cv_lib_m_floor=yes |
|
else |
|
ac_cv_lib_m_floor=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_m_floor" >&5 |
|
$as_echo "$ac_cv_lib_m_floor" >&6; } |
|
if test "x$ac_cv_lib_m_floor" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_LIBM 1 |
|
_ACEOF |
|
|
|
LIBS="-lm $LIBS" |
|
|
|
else |
|
as_fn_error $? "No math library found" "$LINENO" 5 |
|
fi |
|
|
|
|
|
# Find GTK |
|
|
|
# Check whether --with-gtk was given. |
|
if test "${with_gtk+set}" = set; then : |
|
withval=$with_gtk; |
|
else |
|
with_gtk=yes |
|
fi |
|
|
|
if test "x$with_gtk" = "xyes"; then : |
|
|
pkg_failed=no |
pkg_failed=no |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5 |
$as_echo_n "checking for GLIB... " >&6; } | $as_echo_n "checking for GTK... " >&6; } |
|
|
if test -n "$GLIB_CFLAGS"; then | if test -n "$GTK_CFLAGS"; then |
pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" | pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" |
elif test -n "$PKG_CONFIG"; then |
elif test -n "$PKG_CONFIG"; then |
if test -n "$PKG_CONFIG" && \ |
if test -n "$PKG_CONFIG" && \ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5 |
($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 | ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5 |
ac_status=$? |
ac_status=$? |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
test $ac_status = 0; }; then |
test $ac_status = 0; }; then |
pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null` | pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null` |
test "x$?" != "x0" && pkg_failed=yes |
test "x$?" != "x0" && pkg_failed=yes |
else |
else |
pkg_failed=yes |
pkg_failed=yes |
Line 5248 fi
|
Line 5756 fi
|
else |
else |
pkg_failed=untried |
pkg_failed=untried |
fi |
fi |
if test -n "$GLIB_LIBS"; then | if test -n "$GTK_LIBS"; then |
pkg_cv_GLIB_LIBS="$GLIB_LIBS" | pkg_cv_GTK_LIBS="$GTK_LIBS" |
elif test -n "$PKG_CONFIG"; then |
elif test -n "$PKG_CONFIG"; then |
if test -n "$PKG_CONFIG" && \ |
if test -n "$PKG_CONFIG" && \ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5 |
($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 | ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5 |
ac_status=$? |
ac_status=$? |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
test $ac_status = 0; }; then |
test $ac_status = 0; }; then |
pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null` | pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null` |
test "x$?" != "x0" && pkg_failed=yes |
test "x$?" != "x0" && pkg_failed=yes |
else |
else |
pkg_failed=yes |
pkg_failed=yes |
Line 5278 else
|
Line 5786 else
|
_pkg_short_errors_supported=no |
_pkg_short_errors_supported=no |
fi |
fi |
if test $_pkg_short_errors_supported = yes; then |
if test $_pkg_short_errors_supported = yes; then |
GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0" 2>&1` | GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0" 2>&1` |
else |
else |
GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0" 2>&1` | GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0" 2>&1` |
fi |
fi |
# Put the nasty error message in config.log where it belongs |
# Put the nasty error message in config.log where it belongs |
echo "$GLIB_PKG_ERRORS" >&5 | echo "$GTK_PKG_ERRORS" >&5 |
|
|
as_fn_error $? "Package requirements (glib-2.0) were not met: | with_gtk=no |
| |
$GLIB_PKG_ERRORS | |
| |
Consider adjusting the PKG_CONFIG_PATH environment variable if you | |
installed software in a non-standard prefix. | |
| |
Alternatively, you may set the environment variables GLIB_CFLAGS | |
and GLIB_LIBS to avoid the need to call pkg-config. | |
See the pkg-config man page for more details." "$LINENO" 5 | |
elif test $pkg_failed = untried; then |
elif test $pkg_failed = untried; then |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
$as_echo "no" >&6; } |
$as_echo "no" >&6; } |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | with_gtk=no |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it | |
is in your PATH or set the PKG_CONFIG environment variable to the full | |
path to pkg-config. | |
| |
Alternatively, you may set the environment variables GLIB_CFLAGS | |
and GLIB_LIBS to avoid the need to call pkg-config. | |
See the pkg-config man page for more details. | |
| |
To get pkg-config, see <http://pkg-config.freedesktop.org/>. | |
See \`config.log' for more details" "$LINENO" 5; } | |
else |
else |
GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS | GTK_CFLAGS=$pkg_cv_GTK_CFLAGS |
GLIB_LIBS=$pkg_cv_GLIB_LIBS | GTK_LIBS=$pkg_cv_GTK_LIBS |
{ $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; } |
|
|
|
$as_echo "#define HAVE_GTK 1" >>confdefs.h |
|
|
fi |
fi |
else |
|
|
|
$as_echo "#define NO_GLIB 1" >>confdefs.h | fi |
| if test "x$with_gtk" = xyes; then |
| WITH_GTK_TRUE= |
| WITH_GTK_FALSE='#' |
| else |
| WITH_GTK_TRUE='#' |
| WITH_GTK_FALSE= |
| fi |
|
|
fi | |
| # Find ncurses |
| |
| # Check whether --with-ncurses was given. |
| if test "${with_ncurses+set}" = set; then : |
| withval=$with_ncurses; |
| else |
| with_ncurses=yes |
fi |
fi |
|
|
|
if test "x$with_ncurses" = "xyes"; then : |
|
# Prefer ncurses over curses, if both are available. |
|
# (On Solaris 11.3, ncurses builds and links for us, but curses does not.) |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing initscr" >&5 |
|
$as_echo_n "checking for library containing initscr... " >&6; } |
|
if ${ac_cv_search_initscr+:} 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 initscr (); |
|
int |
|
main () |
|
{ |
|
return initscr (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
for ac_lib in '' ncurses curses; 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_initscr=$ac_res |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext |
|
if ${ac_cv_search_initscr+:} false; then : |
|
break |
|
fi |
|
done |
|
if ${ac_cv_search_initscr+:} false; then : |
|
|
|
else |
|
ac_cv_search_initscr=no |
|
fi |
|
rm conftest.$ac_ext |
|
LIBS=$ac_func_search_save_LIBS |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_initscr" >&5 |
|
$as_echo "$ac_cv_search_initscr" >&6; } |
|
ac_res=$ac_cv_search_initscr |
|
if test "$ac_res" != no; then : |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
|
|
$as_echo "#define HAVE_CURSES 1" >>confdefs.h |
|
|
|
else |
|
with_ncurses=no |
|
fi |
|
|
|
|
|
fi |
|
if test "x$with_ncurses" = xyes; then |
|
WITH_CURSES_TRUE= |
|
WITH_CURSES_FALSE='#' |
|
else |
|
WITH_CURSES_TRUE='#' |
|
WITH_CURSES_FALSE= |
|
fi |
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cap_set_proc in -lcap" >&5 |
|
$as_echo_n "checking for cap_set_proc in -lcap... " >&6; } |
|
if ${ac_cv_lib_cap_cap_set_proc+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lcap $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 cap_set_proc (); |
|
int |
|
main () |
|
{ |
|
return cap_set_proc (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
ac_cv_lib_cap_cap_set_proc=yes |
|
else |
|
ac_cv_lib_cap_cap_set_proc=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_cap_cap_set_proc" >&5 |
|
$as_echo "$ac_cv_lib_cap_cap_set_proc" >&6; } |
|
if test "x$ac_cv_lib_cap_cap_set_proc" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_LIBCAP 1 |
|
_ACEOF |
|
|
|
LIBS="-lcap $LIBS" |
|
|
|
else |
|
if test "$host_os" = linux-gnu; then : |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Capabilities support is strongly recommended for increased security. See SECURITY for more information." >&5 |
|
$as_echo "$as_me: WARNING: Capabilities support is strongly recommended for increased security. See SECURITY for more information." >&2;} |
|
fi |
|
fi |
|
|
|
|
|
# Enable ipinfo |
|
|
|
# Check whether --with-ipinfo was given. |
|
if test "${with_ipinfo+set}" = set; then : |
|
withval=$with_ipinfo; |
|
else |
|
with_ipinfo=yes |
|
fi |
|
|
|
if test "x$with_ipinfo" = "xyes"; then |
|
WITH_IPINFO_TRUE= |
|
WITH_IPINFO_FALSE='#' |
|
else |
|
WITH_IPINFO_TRUE='#' |
|
WITH_IPINFO_FALSE= |
|
fi |
|
|
|
if test "x$with_ipinfo" = "xyes"; then : |
|
|
|
|
|
$as_echo "#define HAVE_IPINFO 1" >>confdefs.h |
|
|
|
|
|
fi |
|
|
|
# Check whether --enable-ipv6 was given. |
|
if test "${enable_ipv6+set}" = set; then : |
|
enableval=$enable_ipv6; WANTS_IPV6=$enableval |
|
else |
|
WANTS_IPV6=yes |
|
fi |
|
|
|
|
|
if test "x$WANTS_IPV6" = "xyes"; then : |
|
|
|
|
|
$as_echo "#define ENABLE_IPV6 1" >>confdefs.h |
|
|
|
USES_IPV6=yes |
|
|
|
fi |
|
|
ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" |
ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" |
if test "x$ac_cv_func_socket" = xyes; then : |
if test "x$ac_cv_func_socket" = xyes; then : |
|
|
Line 5432 fi
|
Line 6102 fi
|
fi |
fi |
|
|
|
|
#AC_CHECK_FUNC(res_init, , | # Find resolver library. |
# AC_CHECK_LIB(bind, res_init, , | ac_fn_c_check_func "$LINENO" "res_query" "ac_cv_func_res_query" |
# AC_CHECK_LIB(resolv, res_init, , AC_MSG_ERROR(No resolver library found)))) | if test "x$ac_cv_func_res_query" = xyes; then : |
| RESOLV_LIBS="" |
| else |
|
|
for ac_func in seteuid | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_query in -lresolv" >&5 |
do : | $as_echo_n "checking for __res_query in -lresolv... " >&6; } |
ac_fn_c_check_func "$LINENO" "seteuid" "ac_cv_func_seteuid" | if ${ac_cv_lib_resolv___res_query+:} false; then : |
if test "x$ac_cv_func_seteuid" = xyes; then : | $as_echo_n "(cached) " >&6 |
cat >>confdefs.h <<_ACEOF | else |
#define HAVE_SETEUID 1 | ac_check_lib_save_LIBS=$LIBS |
_ACEOF | LIBS="-lresolv $LIBS" |
| |
fi | |
done | |
| |
# AC_CHECK_FUNC(setuid, , AC_MSG_ERROR (I Need either seteuid or setuid)) | |
| |
#AC_CHECK_FUNC(res_mkquery, , | |
# AC_CHECK_LIB(bind, res_mkquery, , | |
# AC_CHECK_LIB(resolv, res_mkquery, , | |
# AC_CHECK_LIB(resolv, __res_mkquery, , AC_MSG_ERROR(No resolver library found))))) | |
| |
# See if a library is needed for res_mkquery and if so put it in RESOLV_LIBS | |
RESOLV_LIBS= | |
| |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether library required for res_mkquery" >&5 | |
$as_echo_n "checking whether library required for res_mkquery... " >&6; } | |
RESOLV_LIB_NONE= | |
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. |
#include <netinet/in.h> | Use char because int might match the return type of a GCC |
#include <resolv.h> | builtin and then its argument prototype would still apply. */ |
| #ifdef __cplusplus |
| extern "C" |
| #endif |
| char __res_query (); |
int |
int |
main () |
main () |
{ |
{ |
| return __res_query (); |
int (*res_mkquery_func)(int,...) = (int (*)(int,...))res_mkquery; | |
(void)(*res_mkquery_func)(0); | |
| |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
if ac_fn_c_try_link "$LINENO"; then : |
if ac_fn_c_try_link "$LINENO"; then : |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ac_cv_lib_resolv___res_query=yes |
$as_echo "no" >&6; } | |
RESOLV_LIB_NONE=yes | |
else |
else |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ac_cv_lib_resolv___res_query=no |
$as_echo "yes" >&6; } | |
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 |
if test "x$RESOLV_LIB_NONE" = "x"; then | LIBS=$ac_check_lib_save_LIBS |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_mkquery in -lbind" >&5 | fi |
$as_echo_n "checking for res_mkquery in -lbind... " >&6; } | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_query" >&5 |
STASH_LIBS="$LIBS" | $as_echo "$ac_cv_lib_resolv___res_query" >&6; } |
LIBS="$STASH_LIBS -lbind" | if test "x$ac_cv_lib_resolv___res_query" = xyes; then : |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | RESOLV_LIBS="-lresolv" |
| else |
| |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_query in -lresolv" >&5 |
| $as_echo_n "checking for res_query in -lresolv... " >&6; } |
| if ${ac_cv_lib_resolv_res_query+:} false; then : |
| $as_echo_n "(cached) " >&6 |
| else |
| ac_check_lib_save_LIBS=$LIBS |
| LIBS="-lresolv $LIBS" |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
|
| /* Override any GCC internal prototype to avoid an error. |
#include <netinet/in.h> | Use char because int might match the return type of a GCC |
#include <resolv.h> | builtin and then its argument prototype would still apply. */ |
| #ifdef __cplusplus |
| extern "C" |
| #endif |
| char res_query (); |
int |
int |
main () |
main () |
{ |
{ |
| return res_query (); |
int (*res_mkquery_func)(int,...) = (int (*)(int,...))res_mkquery; | |
(void)(*res_mkquery_func)(0); | |
| |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
if ac_fn_c_try_link "$LINENO"; then : |
if ac_fn_c_try_link "$LINENO"; then : |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ac_cv_lib_resolv_res_query=yes |
$as_echo "yes" >&6; } | |
RESOLV_LIBS=-lbind | |
else |
else |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ac_cv_lib_resolv_res_query=no |
$as_echo "no" >&6; } | |
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 |
if test "x$RESOLV_LIBS" = "x"; then | LIBS=$ac_check_lib_save_LIBS |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_mkquery in -lresolv" >&5 | fi |
$as_echo_n "checking for res_mkquery in -lresolv... " >&6; } | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_query" >&5 |
LIBS="$STASH_LIBS -lresolv" | $as_echo "$ac_cv_lib_resolv_res_query" >&6; } |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | if test "x$ac_cv_lib_resolv_res_query" = xyes; then : |
| RESOLV_LIBS="-lresolv" |
| else |
| |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_query in -lbind" >&5 |
| $as_echo_n "checking for res_query in -lbind... " >&6; } |
| if ${ac_cv_lib_bind_res_query+:} false; then : |
| $as_echo_n "(cached) " >&6 |
| else |
| ac_check_lib_save_LIBS=$LIBS |
| LIBS="-lbind $LIBS" |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
|
| /* Override any GCC internal prototype to avoid an error. |
#include <netinet/in.h> | Use char because int might match the return type of a GCC |
#include <resolv.h> | builtin and then its argument prototype would still apply. */ |
| #ifdef __cplusplus |
| extern "C" |
| #endif |
| char res_query (); |
int |
int |
main () |
main () |
{ |
{ |
| return res_query (); |
int (*res_mkquery_func)(int,...) = (int (*)(int,...))res_mkquery; | |
(void)(*res_mkquery_func)(0); | |
| |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
if ac_fn_c_try_link "$LINENO"; then : |
if ac_fn_c_try_link "$LINENO"; then : |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ac_cv_lib_bind_res_query=yes |
$as_echo "yes" >&6; } | |
RESOLV_LIBS=-lresolv | |
else |
else |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ac_cv_lib_bind_res_query=no |
$as_echo "no" >&6; } | |
as_fn_error $? "No resolver library found" "$LINENO" 5 | |
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 |
fi | LIBS=$ac_check_lib_save_LIBS |
LIBS="$STASH_LIBS" | |
fi |
fi |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_res_query" >&5 |
ac_fn_c_check_func "$LINENO" "herror" "ac_cv_func_herror" | $as_echo "$ac_cv_lib_bind_res_query" >&6; } |
if test "x$ac_cv_func_herror" = xyes; then : | if test "x$ac_cv_lib_bind_res_query" = xyes; then : |
| RESOLV_LIBS="-lbind" |
else |
else |
|
|
$as_echo "#define NO_HERROR 1" >>confdefs.h | as_fn_error $? "No resolver library found" "$LINENO" 5 |
|
|
fi |
fi |
|
|
ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror" |
|
if test "x$ac_cv_func_strerror" = xyes; then : |
|
|
|
else | fi |
|
|
$as_echo "#define NO_STRERROR 1" >>confdefs.h |
|
|
|
fi |
fi |
|
|
|
|
USES_IPV6= |
|
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" |
|
if test "x$ac_cv_func_getaddrinfo" = xyes; then : |
|
if test "$WANTS_IPV6" = "yes"; then |
|
|
|
$as_echo "#define ENABLE_IPV6 /**/" >>confdefs.h |
|
|
|
USES_IPV6=yes |
|
fi |
fi |
fi |
|
|
|
|
if test "x" = "x$RESOLV_LIBS"; then : |
|
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dn_expand in -lresolv" >&5 |
| $as_echo_n "checking for dn_expand in -lresolv... " >&6; } |
if test "x$USES_IPV6" = "xyes"; then | if ${ac_cv_lib_resolv_dn_expand+:} false; then : |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __res_state_ext needs to be defined" >&5 | $as_echo_n "(cached) " >&6 |
$as_echo_n "checking whether __res_state_ext needs to be defined... " >&6; } | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
/* end confdefs.h. */ | |
| |
| |
#include <netinet/in.h> | |
#include <resolv.h> | |
#ifdef __GLIBC__ | |
#define RESEXTIN6(r,i) (*(r._u._ext.nsaddrs[i])) | |
#else | |
#define RESEXTIN6(r,i) (r._u._ext.ext->nsaddrs[i].sin6) | |
#endif | |
| |
int | |
main () | |
{ | |
| |
struct __res_state res; | |
return RESEXTIN6(res,0).sin6_addr.s6_addr[0]; | |
| |
; | |
return 0; | |
} | |
_ACEOF | |
if ac_fn_c_try_compile "$LINENO"; then : | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
$as_echo "no" >&6; } | |
else |
else |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ac_check_lib_save_LIBS=$LIBS |
$as_echo "yes" >&6; } | LIBS="-lresolv $LIBS" |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether provided __res_state_ext definition can be compiled" >&5 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
$as_echo_n "checking whether provided __res_state_ext definition can be compiled... " >&6; } | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
|
| /* Override any GCC internal prototype to avoid an error. |
#include <netinet/in.h> | Use char because int might match the return type of a GCC |
#include <resolv.h> | builtin and then its argument prototype would still apply. */ |
#ifdef __GLIBC__ | #ifdef __cplusplus |
#define RESEXTIN6(r,i) (*(r._u._ext.nsaddrs[i])) | extern "C" |
#else | |
#define RESEXTIN6(r,i) (r._u._ext.ext->nsaddrs[i].sin6) | |
struct __res_state_ext { | |
union res_sockaddr_union nsaddrs[MAXNS]; | |
struct sort_list { | |
int af; | |
union { | |
struct in_addr ina; | |
struct in6_addr in6a; | |
} addr, mask; | |
} sort_list[MAXRESOLVSORT]; | |
char nsuffix[64]; | |
char nsuffix2[64]; | |
}; | |
#endif |
#endif |
| char dn_expand (); |
int |
int |
main () |
main () |
{ |
{ |
| return dn_expand (); |
struct __res_state res; | |
return RESEXTIN6(res,0).sin6_addr.s6_addr[0]; | |
| |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
if ac_fn_c_try_compile "$LINENO"; then : | if ac_fn_c_try_link "$LINENO"; then : |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ac_cv_lib_resolv_dn_expand=yes |
$as_echo "yes" >&6; } | |
| |
$as_echo "#define NEED_RES_STATE_EXT 1" >>confdefs.h | |
| |
else |
else |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ac_cv_lib_resolv_dn_expand=no |
$as_echo "no" >&6; } | |
as_fn_error $? "Need definition for struct __res_state_ext but unable to define it." "$LINENO" 5 | |
fi |
fi |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | rm -f core conftest.err conftest.$ac_objext \ |
| conftest$ac_exeext conftest.$ac_ext |
| LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_dn_expand" >&5 |
| $as_echo "$ac_cv_lib_resolv_dn_expand" >&6; } |
| if test "x$ac_cv_lib_resolv_dn_expand" = xyes; then : |
| RESOLV_LIBS="-lresolv" |
fi |
fi |
|
|
|
|
|
fi |
|
|
|
|
|
# Check errno and socket data types. |
ac_fn_c_check_decl "$LINENO" "errno" "ac_cv_have_decl_errno" " |
ac_fn_c_check_decl "$LINENO" "errno" "ac_cv_have_decl_errno" " |
#include <errno.h> |
#include <errno.h> |
#include <sys/errno.h> |
#include <sys/errno.h> |
Line 5693 cat >>confdefs.h <<_ACEOF
|
Line 6304 cat >>confdefs.h <<_ACEOF
|
_ACEOF |
_ACEOF |
|
|
|
|
ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" " | ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <netinet/in.h> |
#include <netinet/in.h> | |
#ifdef HAVE_SOCKET_H |
#ifdef HAVE_SOCKET_H |
#include <socket.h> |
#include <socket.h> |
#endif |
#endif |
#ifdef HAVE_SYS_SOCKET_H |
#ifdef HAVE_SYS_SOCKET_H |
#include <sys/socket.h> |
#include <sys/socket.h> |
#endif |
#endif |
|
|
" |
" |
if test "x$ac_cv_type_socklen_t" = xyes; then : |
if test "x$ac_cv_type_socklen_t" = xyes; then : |
|
|
Line 5710 $as_echo "#define HAVE_SOCKLEN_T /**/" >>confdefs.h
|
Line 6319 $as_echo "#define HAVE_SOCKLEN_T /**/" >>confdefs.h
|
fi |
fi |
|
|
|
|
ac_fn_c_check_type "$LINENO" "struct in_addr" "ac_cv_type_struct_in_addr" " | ac_fn_c_check_type "$LINENO" "time_t" "ac_cv_type_time_t" " |
#include <netinet/in.h> | #include <time.h> |
|
|
" |
" |
if test "x$ac_cv_type_struct_in_addr" = xyes; then : | if test "x$ac_cv_type_time_t" = xyes; then : |
|
|
$as_echo "#define HAVE_STRUCT_INADDR /**/" >>confdefs.h | cat >>confdefs.h <<_ACEOF |
| #define HAVE_TIME_T 1 |
| _ACEOF |
|
|
|
|
fi |
fi |
|
|
|
|
|
# Add C flags to display more warnings |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C flags to get more warnings" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C flags to get more warnings" >&5 |
$as_echo_n "checking for C flags to get more warnings... " >&6; } |
$as_echo_n "checking for C flags to get more warnings... " >&6; } |
ac_save_CFLAGS="$CFLAGS" |
ac_save_CFLAGS="$CFLAGS" |
if test "x$ac_cv_c_compiler_gnu" = "xyes" ; then | |
| if test "x$ac_cv_c_compiler_gnu" = "xyes"; then : |
| |
warning_CFLAGS="-Wall" |
warning_CFLAGS="-Wall" |
# Check if compiler supports -Wno-pointer-sign and add it if supports |
# Check if compiler supports -Wno-pointer-sign and add it if supports |
CFLAGS_saved="$CFLAGS" |
CFLAGS_saved="$CFLAGS" |
CFLAGS="$CFLAGS -Wno-pointer-sign" |
CFLAGS="$CFLAGS -Wno-pointer-sign" |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
int foo; | int foo; |
_ACEOF |
_ACEOF |
if ac_fn_c_try_compile "$LINENO"; then : |
if ac_fn_c_try_compile "$LINENO"; then : |
warning_CFLAGS="${warning_CFLAGS} -Wno-pointer-sign" | warning_CFLAGS="${warning_CFLAGS} -Wno-pointer-sign" |
fi |
fi |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
CFLAGS="$CFLAGS_saved" |
CFLAGS="$CFLAGS_saved" |
|
|
else |
else |
case "$host_os" in | |
irix*) | case $host_os in #( |
| irix*) : |
| |
CFLAGS="$CFLAGS -fullwarn" |
CFLAGS="$CFLAGS -fullwarn" |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
#include <stdio.h> | |
| #include <stdio.h> |
int |
int |
main () |
main () |
{ |
{ |
Line 5757 if ac_fn_c_try_compile "$LINENO"; then :
|
Line 6376 if ac_fn_c_try_compile "$LINENO"; then :
|
warning_CFLAGS="-fullwarn" |
warning_CFLAGS="-fullwarn" |
fi |
fi |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
;; | ;; #( |
| sunos*) : |
|
|
sunos*) | if test "$CC" = "acc"; then : |
if "$CC" = "acc" ; then | |
CFLAGS="$CFLAGS -vc" | CFLAGS="$CFLAGS -vc" |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
#include <stdio.h> | |
| #include <stdio.h> |
int |
int |
main () |
main () |
{ |
{ |
Line 5777 if ac_fn_c_try_compile "$LINENO"; then :
|
Line 6398 if ac_fn_c_try_compile "$LINENO"; then :
|
warning_CFLAGS="-vc" |
warning_CFLAGS="-vc" |
fi |
fi |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
fi |
|
;; |
|
|
|
*) | fi |
| |
| * ;; #( |
| *) : |
| |
warning_CFLAGS="none" |
warning_CFLAGS="none" |
;; | |
esac | ;; |
| esac |
| |
fi |
fi |
CFLAGS="$ac_save_CFLAGS" |
CFLAGS="$ac_save_CFLAGS" |
if test "$warning_CFLAGS" = "none" ; then | |
| if test "$warning_CFLAGS" = "none"; then : |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
$as_echo "none" >&6; } |
$as_echo "none" >&6; } |
|
|
else |
else |
|
|
CFLAGS="$CFLAGS $warning_CFLAGS" |
CFLAGS="$CFLAGS $warning_CFLAGS" |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_CFLAGS" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_CFLAGS" >&5 |
$as_echo "$warning_CFLAGS" >&6; } |
$as_echo "$warning_CFLAGS" >&6; } |
|
|
fi |
fi |
|
|
|
# bash-completion |
|
|
|
# Check whether --with-bashcompletiondir was given. |
|
if test "${with_bashcompletiondir+set}" = set; then : |
|
withval=$with_bashcompletiondir; |
|
else |
|
if `$PKG_CONFIG --exists bash-completion`; then : |
|
|
|
with_bashcompletiondir=`$PKG_CONFIG --variable=completionsdir bash-completion` |
|
|
|
else |
|
|
|
with_bashcompletiondir=${datadir}/bash-completion/completions |
|
|
|
fi |
|
|
|
fi |
|
|
|
bashcompletiondir=$with_bashcompletiondir |
|
|
|
# Check whether --enable-bash-completion was given. |
|
if test "${enable_bash_completion+set}" = set; then : |
|
enableval=$enable_bash_completion; |
|
else |
|
enable_bash_completion=yes |
|
|
|
fi |
|
|
|
if test "x$enable_bash_completion" = xyes; then |
|
BUILD_BASH_COMPLETION_TRUE= |
|
BUILD_BASH_COMPLETION_FALSE='#' |
|
else |
|
BUILD_BASH_COMPLETION_TRUE='#' |
|
BUILD_BASH_COMPLETION_FALSE= |
|
fi |
|
|
|
|
|
# Prepare config.h, Makefile, and output them. |
ac_config_headers="$ac_config_headers config.h" |
ac_config_headers="$ac_config_headers config.h" |
|
|
ac_config_files="$ac_config_files Makefile img/Makefile" | ac_config_files="$ac_config_files 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 |
Line 5911 LIBOBJS=$ac_libobjs
|
Line 6576 LIBOBJS=$ac_libobjs
|
LTLIBOBJS=$ac_ltlibobjs |
LTLIBOBJS=$ac_ltlibobjs |
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
|
$as_echo_n "checking that generated files are newer than configure... " >&6; } |
|
if test -n "$am_sleep_pid"; then |
|
# Hide warnings about reused PIDs. |
|
wait $am_sleep_pid 2>/dev/null |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
|
$as_echo "done" >&6; } |
|
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
|
as_fn_error $? "conditional \"AMDEP\" was never defined. |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
fi |
|
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
|
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
fi |
if test -n "$EXEEXT"; then |
if test -n "$EXEEXT"; then |
am__EXEEXT_TRUE= |
am__EXEEXT_TRUE= |
am__EXEEXT_FALSE='#' |
am__EXEEXT_FALSE='#' |
Line 5919 else
|
Line 6600 else
|
am__EXEEXT_FALSE= |
am__EXEEXT_FALSE= |
fi |
fi |
|
|
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | if test -z "${CYGWIN_TRUE}" && test -z "${CYGWIN_FALSE}"; then |
as_fn_error $? "conditional \"AMDEP\" was never defined. | as_fn_error $? "conditional \"CYGWIN\" 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 "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | if test -z "${WITH_ERROR_TRUE}" && test -z "${WITH_ERROR_FALSE}"; then |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. | as_fn_error $? "conditional \"WITH_ERROR\" 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 "${IPINFO_TRUE}" && test -z "${IPINFO_FALSE}"; then | if test -z "${WITH_GETOPT_TRUE}" && test -z "${WITH_GETOPT_FALSE}"; then |
as_fn_error $? "conditional \"IPINFO\" was never defined. | as_fn_error $? "conditional \"WITH_GETOPT\" 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 "${WITH_GTK_TRUE}" && test -z "${WITH_GTK_FALSE}"; then |
|
as_fn_error $? "conditional \"WITH_GTK\" was never defined. |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
fi |
|
if test -z "${WITH_CURSES_TRUE}" && test -z "${WITH_CURSES_FALSE}"; then |
|
as_fn_error $? "conditional \"WITH_CURSES\" was never defined. |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
fi |
|
if test -z "${WITH_IPINFO_TRUE}" && test -z "${WITH_IPINFO_FALSE}"; then |
|
as_fn_error $? "conditional \"WITH_IPINFO\" was never defined. |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
fi |
|
if test -z "${BUILD_BASH_COMPLETION_TRUE}" && test -z "${BUILD_BASH_COMPLETION_FALSE}"; then |
|
as_fn_error $? "conditional \"BUILD_BASH_COMPLETION\" was never defined. |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
fi |
|
|
: "${CONFIG_STATUS=./config.status}" |
: "${CONFIG_STATUS=./config.status}" |
ac_write_fail=0 |
ac_write_fail=0 |
Line 6229 if (echo >conf$$.file) 2>/dev/null; then
|
Line 6926 if (echo >conf$$.file) 2>/dev/null; then
|
# ... but there are two gotchas: |
# ... but there are two gotchas: |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
# In both cases, we have to default to `cp -p'. | # In both cases, we have to default to `cp -pR'. |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
as_ln_s='cp -p' | as_ln_s='cp -pR' |
elif ln conf$$.file conf$$ 2>/dev/null; then |
elif ln conf$$.file conf$$ 2>/dev/null; then |
as_ln_s=ln |
as_ln_s=ln |
else |
else |
as_ln_s='cp -p' | as_ln_s='cp -pR' |
fi |
fi |
else |
else |
as_ln_s='cp -p' | as_ln_s='cp -pR' |
fi |
fi |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
rmdir conf$$.dir 2>/dev/null |
rmdir conf$$.dir 2>/dev/null |
Line 6298 else
|
Line 6995 else
|
as_mkdir_p=false |
as_mkdir_p=false |
fi |
fi |
|
|
if test -x / >/dev/null 2>&1; then |
|
as_test_x='test -x' |
|
else |
|
if ls -dL / >/dev/null 2>&1; then |
|
as_ls_L_option=L |
|
else |
|
as_ls_L_option= |
|
fi |
|
as_test_x=' |
|
eval sh -c '\'' |
|
if test -d "$1"; then |
|
test -d "$1/."; |
|
else |
|
case $1 in #( |
|
-*)set "./$1";; |
|
esac; |
|
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
???[sx]*):;;*)false;;esac;fi |
|
'\'' sh |
|
' |
|
fi |
|
as_executable_p=$as_test_x |
|
|
|
|
# as_fn_executable_p FILE |
|
# ----------------------- |
|
# Test if FILE is an executable regular file. |
|
as_fn_executable_p () |
|
{ |
|
test -f "$1" && test -x "$1" |
|
} # as_fn_executable_p |
|
as_test_x='test -x' |
|
as_executable_p=as_fn_executable_p |
|
|
# Sed expression to map a string onto a valid CPP name. |
# Sed expression to map a string onto a valid CPP name. |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
|
Line 6340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
Line 7025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
# 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 mtr $as_me 0.85, which was | This file was extended by mtr $as_me 0.91.1-4c982, which was |
generated by GNU Autoconf 2.68. 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 |
Line 6400 $config_headers
|
Line 7085 $config_headers
|
Configuration commands: |
Configuration commands: |
$config_commands |
$config_commands |
|
|
Report bugs to the package provider." | Report bugs to <R.E.Wolff@BitWizard.nl>. |
| mtr home page: <http://www.BitWizard.nl/mtr/>." |
|
|
_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="\\ |
mtr config.status 0.85 | mtr config.status 0.91.1-4c982 |
configured by $0, generated by GNU Autoconf 2.68, | configured by $0, generated by GNU Autoconf 2.69, |
with options \\"\$ac_cs_config\\" |
with options \\"\$ac_cs_config\\" |
|
|
Copyright (C) 2010 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." |
|
|
Line 6501 fi
|
Line 7187 fi
|
_ACEOF |
_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
if \$ac_cs_recheck; then |
if \$ac_cs_recheck; then |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
shift |
shift |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
CONFIG_SHELL='$SHELL' |
CONFIG_SHELL='$SHELL' |
Line 6535 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
Line 7221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
for ac_config_target in $ac_config_targets |
for ac_config_target in $ac_config_targets |
do |
do |
case $ac_config_target in |
case $ac_config_target in |
"version.h.tmp") CONFIG_FILES="$CONFIG_FILES version.h.tmp:version.h.in" ;; |
|
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
"img/Makefile") CONFIG_FILES="$CONFIG_FILES img/Makefile" ;; |
|
|
|
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
esac |
esac |
Line 7136 $as_echo "$as_me: executing $ac_file commands" >&6;}
|
Line 7820 $as_echo "$as_me: executing $ac_file commands" >&6;}
|
|
|
case $ac_file$ac_mode in |
case $ac_file$ac_mode in |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
# Autoconf 2.62 quotes --file arguments for eval, but not when files | # Older Autoconf quotes --file arguments for eval, but not when files |
# are listed without --file. Let's play safe and only enable the eval |
# are listed without --file. Let's play safe and only enable the eval |
# if we detect the quoting. |
# if we detect the quoting. |
case $CONFIG_FILES in |
case $CONFIG_FILES in |
Line 7149 $as_echo "$as_me: executing $ac_file commands" >&6;}
|
Line 7833 $as_echo "$as_me: executing $ac_file commands" >&6;}
|
# Strip MF so we end up with the name of the file. |
# Strip MF so we end up with the name of the file. |
mf=`echo "$mf" | sed -e 's/:.*$//'` |
mf=`echo "$mf" | sed -e 's/:.*$//'` |
# Check whether this is an Automake generated Makefile or not. |
# Check whether this is an Automake generated Makefile or not. |
# We used to match only the files named `Makefile.in', but | # We used to match only the files named 'Makefile.in', but |
# some people rename them; so instead we look at the file content. |
# some people rename them; so instead we look at the file content. |
# Grep'ing the first line is not enough: some people post-process |
# Grep'ing the first line is not enough: some people post-process |
# each Makefile.in and add a new line on top of each file to say so. |
# each Makefile.in and add a new line on top of each file to say so. |
Line 7183 $as_echo X"$mf" |
|
Line 7867 $as_echo X"$mf" |
|
continue |
continue |
fi |
fi |
# Extract the definition of DEPDIR, am__include, and am__quote |
# Extract the definition of DEPDIR, am__include, and am__quote |
# from the Makefile without running `make'. | # from the Makefile without running 'make'. |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
test -z "$DEPDIR" && continue |
test -z "$DEPDIR" && continue |
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
test -z "am__include" && continue | test -z "$am__include" && continue |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
# When using ansi2knr, U may be empty or an underscore; expand it |
|
U=`sed -n 's/^U = //p' < "$mf"` |
|
# Find all dependency output files, they are included files with |
# Find all dependency output files, they are included files with |
# $(DEPDIR) in their names. We invoke sed twice because it is the |
# $(DEPDIR) in their names. We invoke sed twice because it is the |
# simplest approach to changing $(DEPDIR) to its actual value in the |
# simplest approach to changing $(DEPDIR) to its actual value in the |
# expansion. |
# expansion. |
for file in `sed -n " |
for file in `sed -n " |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
# Make sure the directory exists. |
# Make sure the directory exists. |
test -f "$dirpart/$file" && continue |
test -f "$dirpart/$file" && continue |
fdir=`$as_dirname -- "$file" || |
fdir=`$as_dirname -- "$file" || |
Line 7267 if test -n "$ac_unrecognized_opts" && test "$enable_op
|
Line 7949 if test -n "$ac_unrecognized_opts" && test "$enable_op
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_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 |
|
|
|
|