|
|
|
@ -1645,7 +1645,7 @@ else
|
|
|
|
|
if { (eval echo configure:1646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
|
|
|
|
|
for file in conftest.*; do
|
|
|
|
|
case $file in
|
|
|
|
|
*.$ac_ext | *.c | *.o | *.obj) ;;
|
|
|
|
|
*.c | *.o | *.obj) ;;
|
|
|
|
|
*) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
|
|
|
|
|
esac
|
|
|
|
|
done
|
|
|
|
@ -3267,7 +3267,7 @@ EOF
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
for ac_hdr in unistd.h
|
|
|
|
|
for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
|
|
|
|
|
do
|
|
|
|
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
|
|
|
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
|
|
|
@ -3399,11 +3399,24 @@ else
|
|
|
|
|
#include <fcntl.h>
|
|
|
|
|
#include <sys/mman.h>
|
|
|
|
|
|
|
|
|
|
#if HAVE_SYS_TYPES_H
|
|
|
|
|
# include <sys/types.h>
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if HAVE_STDLIB_H
|
|
|
|
|
# include <stdlib.h>
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if HAVE_SYS_STAT_H
|
|
|
|
|
# include <sys/stat.h>
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if HAVE_UNISTD_H
|
|
|
|
|
# include <unistd.h>
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/* This mess was copied from the GNU getpagesize.h. */
|
|
|
|
|
#ifndef HAVE_GETPAGESIZE
|
|
|
|
|
# ifdef HAVE_UNISTD_H
|
|
|
|
|
# include <unistd.h>
|
|
|
|
|
# endif
|
|
|
|
|
|
|
|
|
|
/* Assume that all systems that can run configure have sys/param.h. */
|
|
|
|
|
# ifndef HAVE_SYS_PARAM_H
|
|
|
|
@ -3511,7 +3524,7 @@ main()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:3515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
|
|
if { (eval echo configure:3528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
|
|
then
|
|
|
|
|
ac_cv_func_mmap_fixed_mapped=yes
|
|
|
|
|
else
|
|
|
|
@ -3539,17 +3552,17 @@ unistd.h values.h sys/param.h
|
|
|
|
|
do
|
|
|
|
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
|
|
|
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3543: checking for $ac_hdr" >&5
|
|
|
|
|
echo "configure:3556: checking for $ac_hdr" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 3548 "configure"
|
|
|
|
|
#line 3561 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <$ac_hdr>
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:3553: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:3566: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
@ -3579,12 +3592,12 @@ done
|
|
|
|
|
__argz_count __argz_stringify __argz_next
|
|
|
|
|
do
|
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3583: checking for $ac_func" >&5
|
|
|
|
|
echo "configure:3596: checking for $ac_func" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 3588 "configure"
|
|
|
|
|
#line 3601 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
|
@ -3607,7 +3620,7 @@ $ac_func();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:3611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:3624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
|
else
|
|
|
|
@ -3636,12 +3649,12 @@ done
|
|
|
|
|
for ac_func in stpcpy
|
|
|
|
|
do
|
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3640: checking for $ac_func" >&5
|
|
|
|
|
echo "configure:3653: checking for $ac_func" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 3645 "configure"
|
|
|
|
|
#line 3658 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
|
@ -3664,7 +3677,7 @@ $ac_func();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:3668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:3681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
|
else
|
|
|
|
@ -3698,19 +3711,19 @@ EOF
|
|
|
|
|
|
|
|
|
|
if test $ac_cv_header_locale_h = yes; then
|
|
|
|
|
echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3702: checking for LC_MESSAGES" >&5
|
|
|
|
|
echo "configure:3715: checking for LC_MESSAGES" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 3707 "configure"
|
|
|
|
|
#line 3720 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <locale.h>
|
|
|
|
|
int main() {
|
|
|
|
|
return LC_MESSAGES
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:3714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:3727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
am_cv_val_LC_MESSAGES=yes
|
|
|
|
|
else
|
|
|
|
@ -3731,7 +3744,7 @@ EOF
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3735: checking whether NLS is requested" >&5
|
|
|
|
|
echo "configure:3748: checking whether NLS is requested" >&5
|
|
|
|
|
# Check whether --enable-nls or --disable-nls was given.
|
|
|
|
|
if test "${enable_nls+set}" = set; then
|
|
|
|
|
enableval="$enable_nls"
|
|
|
|
@ -3751,7 +3764,7 @@ fi
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3755: checking whether included gettext is requested" >&5
|
|
|
|
|
echo "configure:3768: checking whether included gettext is requested" >&5
|
|
|
|
|
# Check whether --with-included-gettext or --without-included-gettext was given.
|
|
|
|
|
if test "${with_included_gettext+set}" = set; then
|
|
|
|
|
withval="$with_included_gettext"
|
|
|
|
@ -3770,17 +3783,17 @@ fi
|
|
|
|
|
|
|
|
|
|
ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'`
|
|
|
|
|
echo $ac_n "checking for libintl.h""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3774: checking for libintl.h" >&5
|
|
|
|
|
echo "configure:3787: checking for libintl.h" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 3779 "configure"
|
|
|
|
|
#line 3792 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <libintl.h>
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:3784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:3797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
@ -3797,19 +3810,19 @@ fi
|
|
|
|
|
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
|
|
|
|
|
echo "$ac_t""yes" 1>&6
|
|
|
|
|
echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3801: checking for gettext in libc" >&5
|
|
|
|
|
echo "configure:3814: checking for gettext in libc" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 3806 "configure"
|
|
|
|
|
#line 3819 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <libintl.h>
|
|
|
|
|
int main() {
|
|
|
|
|
return (int) gettext ("")
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:3813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:3826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
gt_cv_func_gettext_libc=yes
|
|
|
|
|
else
|
|
|
|
@ -3825,7 +3838,7 @@ echo "$ac_t""$gt_cv_func_gettext_libc" 1>&6
|
|
|
|
|
|
|
|
|
|
if test "$gt_cv_func_gettext_libc" != "yes"; then
|
|
|
|
|
echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3829: checking for bindtextdomain in -lintl" >&5
|
|
|
|
|
echo "configure:3842: checking for bindtextdomain in -lintl" >&5
|
|
|
|
|
ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
@ -3833,7 +3846,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lintl $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 3837 "configure"
|
|
|
|
|
#line 3850 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
|
|
/* We use char because int might match the return type of a gcc2
|
|
|
|
@ -3844,7 +3857,7 @@ int main() {
|
|
|
|
|
bindtextdomain()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:3848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:3861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
|
|
|
|
else
|
|
|
|
@ -3860,19 +3873,19 @@ fi
|
|
|
|
|
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
|
|
|
|
echo "$ac_t""yes" 1>&6
|
|
|
|
|
echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3864: checking for gettext in libintl" >&5
|
|
|
|
|
echo "configure:3877: checking for gettext in libintl" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 3869 "configure"
|
|
|
|
|
#line 3882 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
return (int) gettext ("")
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:3876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:3889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
gt_cv_func_gettext_libintl=yes
|
|
|
|
|
else
|
|
|
|
@ -3900,7 +3913,7 @@ EOF
|
|
|
|
|
# Extract the first word of "msgfmt", so it can be a program name with args.
|
|
|
|
|
set dummy msgfmt; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3904: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:3917: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -3934,12 +3947,12 @@ fi
|
|
|
|
|
for ac_func in dcgettext
|
|
|
|
|
do
|
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3938: checking for $ac_func" >&5
|
|
|
|
|
echo "configure:3951: checking for $ac_func" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 3943 "configure"
|
|
|
|
|
#line 3956 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
|
@ -3962,7 +3975,7 @@ $ac_func();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:3966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:3979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
|
else
|
|
|
|
@ -3989,7 +4002,7 @@ done
|
|
|
|
|
# Extract the first word of "gmsgfmt", so it can be a program name with args.
|
|
|
|
|
set dummy gmsgfmt; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3993: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:4006: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -4025,7 +4038,7 @@ fi
|
|
|
|
|
# Extract the first word of "xgettext", so it can be a program name with args.
|
|
|
|
|
set dummy xgettext; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:4029: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:4042: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -4057,7 +4070,7 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 4061 "configure"
|
|
|
|
|
#line 4074 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
@ -4065,7 +4078,7 @@ extern int _nl_msg_cat_cntr;
|
|
|
|
|
return _nl_msg_cat_cntr
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:4069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:4082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
CATOBJEXT=.gmo
|
|
|
|
|
DATADIRNAME=share
|
|
|
|
@ -4097,7 +4110,7 @@ fi
|
|
|
|
|
# Extract the first word of "msgfmt", so it can be a program name with args.
|
|
|
|
|
set dummy msgfmt; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:4101: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:4114: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -4131,7 +4144,7 @@ fi
|
|
|
|
|
# Extract the first word of "gmsgfmt", so it can be a program name with args.
|
|
|
|
|
set dummy gmsgfmt; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:4135: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:4148: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -4167,7 +4180,7 @@ fi
|
|
|
|
|
# Extract the first word of "xgettext", so it can be a program name with args.
|
|
|
|
|
set dummy xgettext; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:4171: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:4184: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -4257,7 +4270,7 @@ fi
|
|
|
|
|
LINGUAS=
|
|
|
|
|
else
|
|
|
|
|
echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:4261: checking for catalogs to be installed" >&5
|
|
|
|
|
echo "configure:4274: checking for catalogs to be installed" >&5
|
|
|
|
|
NEW_LINGUAS=
|
|
|
|
|
for lang in ${LINGUAS=$ALL_LINGUAS}; do
|
|
|
|
|
case "$ALL_LINGUAS" in
|
|
|
|
@ -4285,17 +4298,17 @@ echo "configure:4261: checking for catalogs to be installed" >&5
|
|
|
|
|
if test "$CATOBJEXT" = ".cat"; then
|
|
|
|
|
ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'`
|
|
|
|
|
echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:4289: checking for linux/version.h" >&5
|
|
|
|
|
echo "configure:4302: checking for linux/version.h" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 4294 "configure"
|
|
|
|
|
#line 4307 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <linux/version.h>
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:4299: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:4312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
@ -4358,7 +4371,7 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:4362: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
|
|
|
|
echo "configure:4375: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
|
|
|
|
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
|
|
|
|
|
if test "${enable_maintainer_mode+set}" = set; then
|
|
|
|
|
enableval="$enable_maintainer_mode"
|
|
|
|
@ -4383,7 +4396,7 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:4387: checking for executable suffix" >&5
|
|
|
|
|
echo "configure:4400: checking for executable suffix" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -4393,10 +4406,10 @@ else
|
|
|
|
|
rm -f conftest*
|
|
|
|
|
echo 'int main () { return 0; }' > conftest.$ac_ext
|
|
|
|
|
ac_cv_exeext=
|
|
|
|
|
if { (eval echo configure:4397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:4410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
|
|
|
|
|
for file in conftest.*; do
|
|
|
|
|
case $file in
|
|
|
|
|
*.$ac_ext | *.c | *.o | *.obj) ;;
|
|
|
|
|
*.c | *.o | *.obj) ;;
|
|
|
|
|
*) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
|
|
|
|
|
esac
|
|
|
|
|
done
|
|
|
|
@ -4436,7 +4449,7 @@ AR=${AR-ar}
|
|
|
|
|
# Extract the first word of "ranlib", so it can be a program name with args.
|
|
|
|
|
set dummy ranlib; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:4440: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:4453: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -4475,7 +4488,7 @@ fi
|
|
|
|
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
|
|
|
|
# ./install, which can be erroneously created by make from ./install.sh.
|
|
|
|
|
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:4479: checking for a BSD compatible install" >&5
|
|
|
|
|
echo "configure:4492: checking for a BSD compatible install" >&5
|
|
|
|
|
if test -z "$INSTALL"; then
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
@ -4542,7 +4555,7 @@ if test "x$cross_compiling" = "xno"; then
|
|
|
|
|
EXEEXT_FOR_BUILD='$(EXEEXT)'
|
|
|
|
|
else
|
|
|
|
|
echo $ac_n "checking for build system executable suffix""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:4546: checking for build system executable suffix" >&5
|
|
|
|
|
echo "configure:4559: checking for build system executable suffix" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'bfd_cv_build_exeext'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -4577,17 +4590,17 @@ for ac_hdr in string.h strings.h stdlib.h unistd.h fcntl.h sys/file.h
|
|
|
|
|
do
|
|
|
|
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
|
|
|
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:4581: checking for $ac_hdr" >&5
|
|
|
|
|
echo "configure:4594: checking for $ac_hdr" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 4586 "configure"
|
|
|
|
|
#line 4599 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <$ac_hdr>
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:4591: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:4604: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
@ -4614,12 +4627,12 @@ fi
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:4618: checking for sys/wait.h that is POSIX.1 compatible" >&5
|
|
|
|
|
echo "configure:4631: checking for sys/wait.h that is POSIX.1 compatible" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 4623 "configure"
|
|
|
|
|
#line 4636 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#include <sys/wait.h>
|
|
|
|
@ -4635,7 +4648,7 @@ wait (&s);
|
|
|
|
|
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:4639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:4652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_header_sys_wait_h=yes
|
|
|
|
|
else
|
|
|
|
@ -4658,19 +4671,19 @@ fi
|
|
|
|
|
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
|
|
|
|
|
# for constant arguments. Useless!
|
|
|
|
|
echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:4662: checking for working alloca.h" >&5
|
|
|
|
|
echo "configure:4675: checking for working alloca.h" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 4667 "configure"
|
|
|
|
|
#line 4680 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <alloca.h>
|
|
|
|
|
int main() {
|
|
|
|
|
char *p = alloca(2 * sizeof(int));
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:4674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:4687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_header_alloca_h=yes
|
|
|
|
|
else
|
|
|
|
@ -4691,12 +4704,12 @@ EOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for alloca""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:4695: checking for alloca" >&5
|
|
|
|
|
echo "configure:4708: checking for alloca" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 4700 "configure"
|
|
|
|
|
#line 4713 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
#ifdef __GNUC__
|
|
|
|
@ -4724,7 +4737,7 @@ int main() {
|
|
|
|
|
char *p = (char *) alloca(1);
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:4728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:4741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_func_alloca_works=yes
|
|
|
|
|
else
|
|
|
|
@ -4756,12 +4769,12 @@ EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:4760: checking whether alloca needs Cray hooks" >&5
|
|
|
|
|
echo "configure:4773: checking whether alloca needs Cray hooks" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 4765 "configure"
|
|
|
|
|
#line 4778 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#if defined(CRAY) && ! defined(CRAY2)
|
|
|
|
|
webecray
|
|
|
|
@ -4786,12 +4799,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
|
|
|
|
|
if test $ac_cv_os_cray = yes; then
|
|
|
|
|
for ac_func in _getb67 GETB67 getb67; do
|
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:4790: checking for $ac_func" >&5
|
|
|
|
|
echo "configure:4803: checking for $ac_func" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 4795 "configure"
|
|
|
|
|
#line 4808 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
|
@ -4814,7 +4827,7 @@ $ac_func();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:4818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:4831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
|
else
|
|
|
|
@ -4841,7 +4854,7 @@ done
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:4845: checking stack direction for C alloca" >&5
|
|
|
|
|
echo "configure:4858: checking stack direction for C alloca" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -4849,7 +4862,7 @@ else
|
|
|
|
|
ac_cv_c_stack_direction=0
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 4853 "configure"
|
|
|
|
|
#line 4866 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
find_stack_direction ()
|
|
|
|
|
{
|
|
|
|
@ -4868,7 +4881,7 @@ main ()
|
|
|
|
|
exit (find_stack_direction() < 0);
|
|
|
|
|
}
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:4872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
|
|
if { (eval echo configure:4885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
|
|
then
|
|
|
|
|
ac_cv_c_stack_direction=1
|
|
|
|
|
else
|
|
|
|
@ -4892,12 +4905,12 @@ fi
|
|
|
|
|
for ac_func in sbrk utimes setmode getc_unlocked strcoll
|
|
|
|
|
do
|
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:4896: checking for $ac_func" >&5
|
|
|
|
|
echo "configure:4909: checking for $ac_func" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 4901 "configure"
|
|
|
|
|
#line 4914 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
|
@ -4920,7 +4933,7 @@ $ac_func();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:4924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:4937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
|
else
|
|
|
|
@ -4948,19 +4961,19 @@ done
|
|
|
|
|
# Check whether fopen64 is available and whether _LARGEFILE64_SOURCE
|
|
|
|
|
# needs to be defined for it
|
|
|
|
|
echo $ac_n "checking for fopen64""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:4952: checking for fopen64" >&5
|
|
|
|
|
echo "configure:4965: checking for fopen64" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'bu_cv_have_fopen64'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 4957 "configure"
|
|
|
|
|
#line 4970 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
int main() {
|
|
|
|
|
FILE *f = fopen64 ("/tmp/foo","r");
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:4964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:4977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
bu_cv_have_fopen64=yes
|
|
|
|
|
else
|
|
|
|
@ -4970,14 +4983,14 @@ else
|
|
|
|
|
saved_CPPFLAGS=$CPPFLAGS
|
|
|
|
|
CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 4974 "configure"
|
|
|
|
|
#line 4987 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
int main() {
|
|
|
|
|
FILE *f = fopen64 ("/tmp/foo","r");
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:4981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:4994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
bu_cv_have_fopen64="need -D_LARGEFILE64_SOURCE"
|
|
|
|
|
else
|
|
|
|
@ -5009,14 +5022,14 @@ fi
|
|
|
|
|
# Some systems have frexp only in -lm, not in -lc.
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for library containing frexp""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:5013: checking for library containing frexp" >&5
|
|
|
|
|
echo "configure:5026: checking for library containing frexp" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_search_frexp'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
ac_func_search_save_LIBS="$LIBS"
|
|
|
|
|
ac_cv_search_frexp="no"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 5020 "configure"
|
|
|
|
|
#line 5033 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
|
|
/* We use char because int might match the return type of a gcc2
|
|
|
|
@ -5027,7 +5040,7 @@ int main() {
|
|
|
|
|
frexp()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:5031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:5044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_search_frexp="none required"
|
|
|
|
|
else
|
|
|
|
@ -5038,7 +5051,7 @@ rm -f conftest*
|
|
|
|
|
test "$ac_cv_search_frexp" = "no" && for i in m; do
|
|
|
|
|
LIBS="-l$i $ac_func_search_save_LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 5042 "configure"
|
|
|
|
|
#line 5055 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
|
|
/* We use char because int might match the return type of a gcc2
|
|
|
|
@ -5049,7 +5062,7 @@ int main() {
|
|
|
|
|
frexp()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:5053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:5066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_search_frexp="-l$i"
|
|
|
|
|
break
|
|
|
|
@ -5071,19 +5084,19 @@ else :
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for time_t in time.h""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:5075: checking for time_t in time.h" >&5
|
|
|
|
|
echo "configure:5088: checking for time_t in time.h" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'bu_cv_decl_time_t_time_h'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 5080 "configure"
|
|
|
|
|
#line 5093 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <time.h>
|
|
|
|
|
int main() {
|
|
|
|
|
time_t i;
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:5087: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:5100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
bu_cv_decl_time_t_time_h=yes
|
|
|
|
|
else
|
|
|
|
@ -5104,19 +5117,19 @@ EOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for time_t in sys/types.h""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:5108: checking for time_t in sys/types.h" >&5
|
|
|
|
|
echo "configure:5121: checking for time_t in sys/types.h" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'bu_cv_decl_time_t_types_h'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 5113 "configure"
|
|
|
|
|
#line 5126 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
int main() {
|
|
|
|
|
time_t i;
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:5120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:5133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
bu_cv_decl_time_t_types_h=yes
|
|
|
|
|
else
|
|
|
|
@ -5139,12 +5152,12 @@ fi
|
|
|
|
|
# Under Next 3.2 <utime.h> apparently does not define struct utimbuf
|
|
|
|
|
# by default.
|
|
|
|
|
echo $ac_n "checking for utime.h""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:5143: checking for utime.h" >&5
|
|
|
|
|
echo "configure:5156: checking for utime.h" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'bu_cv_header_utime_h'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 5148 "configure"
|
|
|
|
|
#line 5161 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#ifdef HAVE_TIME_H
|
|
|
|
@ -5155,7 +5168,7 @@ int main() {
|
|
|
|
|
struct utimbuf s;
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:5159: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:5172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
bu_cv_header_utime_h=yes
|
|
|
|
|
else
|
|
|
|
@ -5176,12 +5189,12 @@ EOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether fprintf must be declared""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:5180: checking whether fprintf must be declared" >&5
|
|
|
|
|
echo "configure:5193: checking whether fprintf must be declared" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'bfd_cv_decl_needed_fprintf'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 5185 "configure"
|
|
|
|
|
#line 5198 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
@ -5202,7 +5215,7 @@ int main() {
|
|
|
|
|
char *(*pfn) = (char *(*)) fprintf
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:5206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:5219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
bfd_cv_decl_needed_fprintf=no
|
|
|
|
|
else
|
|
|
|
@ -5223,12 +5236,12 @@ EOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether strstr must be declared""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:5227: checking whether strstr must be declared" >&5
|
|
|
|
|
echo "configure:5240: checking whether strstr must be declared" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'bfd_cv_decl_needed_strstr'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 5232 "configure"
|
|
|
|
|
#line 5245 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
@ -5249,7 +5262,7 @@ int main() {
|
|
|
|
|
char *(*pfn) = (char *(*)) strstr
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:5253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:5266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
bfd_cv_decl_needed_strstr=no
|
|
|
|
|
else
|
|
|
|
@ -5270,12 +5283,12 @@ EOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether sbrk must be declared""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:5274: checking whether sbrk must be declared" >&5
|
|
|
|
|
echo "configure:5287: checking whether sbrk must be declared" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'bfd_cv_decl_needed_sbrk'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 5279 "configure"
|
|
|
|
|
#line 5292 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
@ -5296,7 +5309,7 @@ int main() {
|
|
|
|
|
char *(*pfn) = (char *(*)) sbrk
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:5300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:5313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
bfd_cv_decl_needed_sbrk=no
|
|
|
|
|
else
|
|
|
|
@ -5317,12 +5330,12 @@ EOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether getenv must be declared""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:5321: checking whether getenv must be declared" >&5
|
|
|
|
|
echo "configure:5334: checking whether getenv must be declared" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'bfd_cv_decl_needed_getenv'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 5326 "configure"
|
|
|
|
|
#line 5339 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
@ -5343,7 +5356,7 @@ int main() {
|
|
|
|
|
char *(*pfn) = (char *(*)) getenv
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:5347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:5360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
bfd_cv_decl_needed_getenv=no
|
|
|
|
|
else
|
|
|
|
@ -5364,12 +5377,12 @@ EOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether environ must be declared""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:5368: checking whether environ must be declared" >&5
|
|
|
|
|
echo "configure:5381: checking whether environ must be declared" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'bfd_cv_decl_needed_environ'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 5373 "configure"
|
|
|
|
|
#line 5386 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
@ -5390,7 +5403,7 @@ int main() {
|
|
|
|
|
char *(*pfn) = (char *(*)) environ
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:5394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:5407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
bfd_cv_decl_needed_environ=no
|
|
|
|
|
else
|
|
|
|
|