327 |
|
|
328 |
gl_header_list= |
gl_header_list= |
329 |
gl_func_list= |
gl_func_list= |
330 |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar ac_prefix_program MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP RANLIB ac_ct_RANLIB LN_S PERL CSH MKTEMP SENDMAIL PR ROFF PS2PDF TEXI2DVI MAKE_TARGETS_IN_VPATH_TRUE MAKE_TARGETS_IN_VPATH_FALSE LIBOBJS ALLOCA ALLOCA_H STDBOOL_H HAVE__BOOL FNMATCH_H YACC YFLAGS LIB_CLOCK_GETTIME GETOPT_H LIB_NANOSLEEP HAVE_LONG_64BIT HAVE_LONG_LONG_64BIT STDINT_H EOVERFLOW MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE build build_cpu build_vendor build_os host host_cpu host_vendor host_os INTL_MACOSX_LIBS LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB GLOB_H HAVE_PUTENV cvs_client_objects KRB4 ZLIB_SUBDIRS ZLIB_CPPFLAGS ZLIB_LIBS with_default_rsh RSH_DFLT EDITOR LTLIBOBJS' |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar ac_prefix_program MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP RANLIB ac_ct_RANLIB LN_S PERL CSH MKTEMP SENDMAIL PR ROFF PS2PDF TEXI2DVI MAKE_TARGETS_IN_VPATH_TRUE MAKE_TARGETS_IN_VPATH_FALSE LIBOBJS ALLOCA ALLOCA_H STDBOOL_H HAVE__BOOL FNMATCH_H YACC YFLAGS LIB_CLOCK_GETTIME GETOPT_H GLOB_H LIB_NANOSLEEP HAVE_LONG_64BIT HAVE_LONG_LONG_64BIT STDINT_H EOVERFLOW MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE build build_cpu build_vendor build_os host host_cpu host_vendor host_os INTL_MACOSX_LIBS LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB HAVE_PUTENV cvs_client_objects KRB4 ZLIB_SUBDIRS ZLIB_CPPFLAGS ZLIB_LIBS with_default_rsh RSH_DFLT EDITOR LTLIBOBJS' |
331 |
ac_subst_files='MKTEMP_SH_FUNCTION' |
ac_subst_files='MKTEMP_SH_FUNCTION' |
332 |
|
|
333 |
# Initialize some variables set by options. |
# Initialize some variables set by options. |
1480 |
gl_func_list="$gl_func_list tcsetattr" |
gl_func_list="$gl_func_list tcsetattr" |
1481 |
gl_func_list="$gl_func_list gettimeofday" |
gl_func_list="$gl_func_list gettimeofday" |
1482 |
gl_func_list="$gl_func_list nanotime" |
gl_func_list="$gl_func_list nanotime" |
1483 |
|
gl_header_list="$gl_header_list sys/cdefs.h" |
1484 |
|
gl_func_list="$gl_func_list getlogin_r" |
1485 |
|
gl_func_list="$gl_func_list getpwnam_r" |
1486 |
gl_header_list="$gl_header_list stdint.h" |
gl_header_list="$gl_header_list stdint.h" |
1487 |
gl_func_list="$gl_func_list siginterrupt" |
gl_func_list="$gl_func_list siginterrupt" |
1488 |
gl_func_list="$gl_func_list posix_memalign" |
gl_func_list="$gl_func_list posix_memalign" |
1498 |
gl_func_list="$gl_func_list mblen" |
gl_func_list="$gl_func_list mblen" |
1499 |
gl_func_list="$gl_func_list mbrlen" |
gl_func_list="$gl_func_list mbrlen" |
1500 |
gl_func_list="$gl_func_list tzset" |
gl_func_list="$gl_func_list tzset" |
|
gl_header_list="$gl_header_list sys/cdefs.h" |
|
|
gl_func_list="$gl_func_list getlogin_r" |
|
|
gl_func_list="$gl_func_list getpwnam_r" |
|
1501 |
|
|
1502 |
|
|
1503 |
|
|
11798 |
|
|
11799 |
|
|
11800 |
|
|
11801 |
|
echo "$as_me:$LINENO: checking for d_type member in directory struct" >&5 |
11802 |
|
echo $ECHO_N "checking for d_type member in directory struct... $ECHO_C" >&6 |
11803 |
|
if test "${jm_cv_struct_dirent_d_type+set}" = set; then |
11804 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11805 |
|
else |
11806 |
|
cat >conftest.$ac_ext <<_ACEOF |
11807 |
|
/* confdefs.h. */ |
11808 |
|
_ACEOF |
11809 |
|
cat confdefs.h >>conftest.$ac_ext |
11810 |
|
cat >>conftest.$ac_ext <<_ACEOF |
11811 |
|
/* end confdefs.h. */ |
11812 |
|
|
11813 |
|
#include <sys/types.h> |
11814 |
|
#ifdef HAVE_DIRENT_H |
11815 |
|
# include <dirent.h> |
11816 |
|
#else /* not HAVE_DIRENT_H */ |
11817 |
|
# define dirent direct |
11818 |
|
# ifdef HAVE_SYS_NDIR_H |
11819 |
|
# include <sys/ndir.h> |
11820 |
|
# endif /* HAVE_SYS_NDIR_H */ |
11821 |
|
# ifdef HAVE_SYS_DIR_H |
11822 |
|
# include <sys/dir.h> |
11823 |
|
# endif /* HAVE_SYS_DIR_H */ |
11824 |
|
# ifdef HAVE_NDIR_H |
11825 |
|
# include <ndir.h> |
11826 |
|
# endif /* HAVE_NDIR_H */ |
11827 |
|
#endif /* HAVE_DIRENT_H */ |
11828 |
|
|
11829 |
|
int |
11830 |
|
main () |
11831 |
|
{ |
11832 |
|
struct dirent dp; dp.d_type = 0; |
11833 |
|
; |
11834 |
|
return 0; |
11835 |
|
} |
11836 |
|
_ACEOF |
11837 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
11838 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11839 |
|
(eval $ac_link) 2>conftest.er1 |
11840 |
|
ac_status=$? |
11841 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
11842 |
|
rm -f conftest.er1 |
11843 |
|
cat conftest.err >&5 |
11844 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11845 |
|
(exit $ac_status); } && |
11846 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
11847 |
|
|| test ! -s conftest.err' |
11848 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11849 |
|
(eval $ac_try) 2>&5 |
11850 |
|
ac_status=$? |
11851 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11852 |
|
(exit $ac_status); }; } && |
11853 |
|
{ ac_try='test -s conftest$ac_exeext' |
11854 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11855 |
|
(eval $ac_try) 2>&5 |
11856 |
|
ac_status=$? |
11857 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11858 |
|
(exit $ac_status); }; }; then |
11859 |
|
jm_cv_struct_dirent_d_type=yes |
11860 |
|
else |
11861 |
|
echo "$as_me: failed program was:" >&5 |
11862 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
11863 |
|
|
11864 |
|
jm_cv_struct_dirent_d_type=no |
11865 |
|
fi |
11866 |
|
rm -f conftest.err conftest.$ac_objext \ |
11867 |
|
conftest$ac_exeext conftest.$ac_ext |
11868 |
|
|
11869 |
|
|
11870 |
|
fi |
11871 |
|
echo "$as_me:$LINENO: result: $jm_cv_struct_dirent_d_type" >&5 |
11872 |
|
echo "${ECHO_T}$jm_cv_struct_dirent_d_type" >&6 |
11873 |
|
if test $jm_cv_struct_dirent_d_type = yes; then |
11874 |
|
|
11875 |
|
cat >>confdefs.h <<\_ACEOF |
11876 |
|
#define HAVE_STRUCT_DIRENT_D_TYPE 1 |
11877 |
|
_ACEOF |
11878 |
|
|
11879 |
|
fi |
11880 |
|
|
11881 |
|
|
11882 |
|
|
11883 |
|
|
11884 |
|
|
11885 |
|
|
11886 |
|
|
11887 |
|
|
11888 |
|
|
11889 |
|
|
11890 |
|
|
11891 |
|
|
11892 |
|
|
11893 |
|
|
11894 |
|
|
11895 |
|
|
11896 |
|
|
11897 |
|
|
11898 |
|
|
11899 |
|
|
11900 |
echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5 |
echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5 |
11901 |
echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6 |
echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6 |
11902 |
if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then |
if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then |
20532 |
|
|
20533 |
fi |
fi |
20534 |
|
|
20535 |
|
GLOB_H= |
20536 |
|
|
20537 |
|
for ac_header in glob.h |
20538 |
|
do |
20539 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
20540 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
20541 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20542 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
20543 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
20544 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
20545 |
|
fi |
20546 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
20547 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
20548 |
|
else |
20549 |
|
# Is the header compilable? |
20550 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
20551 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
20552 |
|
cat >conftest.$ac_ext <<_ACEOF |
20553 |
|
/* confdefs.h. */ |
20554 |
|
_ACEOF |
20555 |
|
cat confdefs.h >>conftest.$ac_ext |
20556 |
|
cat >>conftest.$ac_ext <<_ACEOF |
20557 |
|
/* end confdefs.h. */ |
20558 |
|
$ac_includes_default |
20559 |
|
#include <$ac_header> |
20560 |
|
_ACEOF |
20561 |
|
rm -f conftest.$ac_objext |
20562 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
20563 |
|
(eval $ac_compile) 2>conftest.er1 |
20564 |
|
ac_status=$? |
20565 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
20566 |
|
rm -f conftest.er1 |
20567 |
|
cat conftest.err >&5 |
20568 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20569 |
|
(exit $ac_status); } && |
20570 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
20571 |
|
|| test ! -s conftest.err' |
20572 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20573 |
|
(eval $ac_try) 2>&5 |
20574 |
|
ac_status=$? |
20575 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20576 |
|
(exit $ac_status); }; } && |
20577 |
|
{ ac_try='test -s conftest.$ac_objext' |
20578 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20579 |
|
(eval $ac_try) 2>&5 |
20580 |
|
ac_status=$? |
20581 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20582 |
|
(exit $ac_status); }; }; then |
20583 |
|
ac_header_compiler=yes |
20584 |
|
else |
20585 |
|
echo "$as_me: failed program was:" >&5 |
20586 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
20587 |
|
|
20588 |
|
ac_header_compiler=no |
20589 |
|
fi |
20590 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
20591 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
20592 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
20593 |
|
|
20594 |
|
# Is the header present? |
20595 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
20596 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
20597 |
|
cat >conftest.$ac_ext <<_ACEOF |
20598 |
|
/* confdefs.h. */ |
20599 |
|
_ACEOF |
20600 |
|
cat confdefs.h >>conftest.$ac_ext |
20601 |
|
cat >>conftest.$ac_ext <<_ACEOF |
20602 |
|
/* end confdefs.h. */ |
20603 |
|
#include <$ac_header> |
20604 |
|
_ACEOF |
20605 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
20606 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
20607 |
|
ac_status=$? |
20608 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
20609 |
|
rm -f conftest.er1 |
20610 |
|
cat conftest.err >&5 |
20611 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20612 |
|
(exit $ac_status); } >/dev/null; then |
20613 |
|
if test -s conftest.err; then |
20614 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
20615 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
20616 |
|
else |
20617 |
|
ac_cpp_err= |
20618 |
|
fi |
20619 |
|
else |
20620 |
|
ac_cpp_err=yes |
20621 |
|
fi |
20622 |
|
if test -z "$ac_cpp_err"; then |
20623 |
|
ac_header_preproc=yes |
20624 |
|
else |
20625 |
|
echo "$as_me: failed program was:" >&5 |
20626 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
20627 |
|
|
20628 |
|
ac_header_preproc=no |
20629 |
|
fi |
20630 |
|
rm -f conftest.err conftest.$ac_ext |
20631 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
20632 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
20633 |
|
|
20634 |
|
# So? What about this header? |
20635 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
20636 |
|
yes:no: ) |
20637 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
20638 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
20639 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
20640 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
20641 |
|
ac_header_preproc=yes |
20642 |
|
;; |
20643 |
|
no:yes:* ) |
20644 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
20645 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
20646 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
20647 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
20648 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
20649 |
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
20650 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
20651 |
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
20652 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
20653 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
20654 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
20655 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
20656 |
|
( |
20657 |
|
cat <<\_ASBOX |
20658 |
|
## --------------------------------- ## |
20659 |
|
## Report this to bug-cvs@nongnu.org ## |
20660 |
|
## --------------------------------- ## |
20661 |
|
_ASBOX |
20662 |
|
) | |
20663 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
20664 |
|
;; |
20665 |
|
esac |
20666 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20667 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
20668 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
20669 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
20670 |
|
else |
20671 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
20672 |
|
fi |
20673 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
20674 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
20675 |
|
|
20676 |
|
fi |
20677 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
20678 |
|
cat >>confdefs.h <<_ACEOF |
20679 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
20680 |
|
_ACEOF |
20681 |
|
|
20682 |
|
else |
20683 |
|
GLOB_H=glob.h |
20684 |
|
fi |
20685 |
|
|
20686 |
|
done |
20687 |
|
|
20688 |
|
|
20689 |
|
if test -z "$GLOB_H"; then |
20690 |
|
echo "$as_me:$LINENO: checking for GNU glob interface version 1" >&5 |
20691 |
|
echo $ECHO_N "checking for GNU glob interface version 1... $ECHO_C" >&6 |
20692 |
|
if test "${gl_cv_gnu_glob_interface_version_1+set}" = set; then |
20693 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
20694 |
|
else |
20695 |
|
cat >conftest.$ac_ext <<_ACEOF |
20696 |
|
#include <gnu-versions.h> |
20697 |
|
char a[_GNU_GLOB_INTERFACE_VERSION == 1 ? 1 : -1]; |
20698 |
|
_ACEOF |
20699 |
|
rm -f conftest.$ac_objext |
20700 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
20701 |
|
(eval $ac_compile) 2>conftest.er1 |
20702 |
|
ac_status=$? |
20703 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
20704 |
|
rm -f conftest.er1 |
20705 |
|
cat conftest.err >&5 |
20706 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20707 |
|
(exit $ac_status); } && |
20708 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
20709 |
|
|| test ! -s conftest.err' |
20710 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20711 |
|
(eval $ac_try) 2>&5 |
20712 |
|
ac_status=$? |
20713 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20714 |
|
(exit $ac_status); }; } && |
20715 |
|
{ ac_try='test -s conftest.$ac_objext' |
20716 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20717 |
|
(eval $ac_try) 2>&5 |
20718 |
|
ac_status=$? |
20719 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20720 |
|
(exit $ac_status); }; }; then |
20721 |
|
gl_cv_gnu_glob_interface_version_1=yes |
20722 |
|
else |
20723 |
|
echo "$as_me: failed program was:" >&5 |
20724 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
20725 |
|
|
20726 |
|
gl_cv_gnu_glob_interface_version_1=no |
20727 |
|
fi |
20728 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
20729 |
|
fi |
20730 |
|
echo "$as_me:$LINENO: result: $gl_cv_gnu_glob_interface_version_1" >&5 |
20731 |
|
echo "${ECHO_T}$gl_cv_gnu_glob_interface_version_1" >&6 |
20732 |
|
|
20733 |
|
if test "$gl_cv_gnu_glob_interface_version_1" = "no"; then |
20734 |
|
GLOB_H=glob.h |
20735 |
|
fi |
20736 |
|
fi |
20737 |
|
|
20738 |
|
if test -z "$GLOB_H"; then |
20739 |
|
echo "$as_me:$LINENO: checking whether glob lists broken symlinks" >&5 |
20740 |
|
echo $ECHO_N "checking whether glob lists broken symlinks... $ECHO_C" >&6 |
20741 |
|
if test "${gl_cv_glob_lists_symlinks+set}" = set; then |
20742 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
20743 |
|
else |
20744 |
|
if ln -s conf-doesntexist conf$$-globtest 2>/dev/null; then |
20745 |
|
gl_cv_glob_lists_symlinks=maybe |
20746 |
|
else |
20747 |
|
# If we can't make a symlink, then we cannot test this issue. Be |
20748 |
|
# pessimistic about this. |
20749 |
|
gl_cv_glob_lists_symlinks=no |
20750 |
|
fi |
20751 |
|
|
20752 |
|
if test $gl_cv_glob_lists_symlinks = maybe; then |
20753 |
|
if test "$cross_compiling" = yes; then |
20754 |
|
gl_cv_glob_lists_symlinks=no |
20755 |
|
else |
20756 |
|
cat >conftest.$ac_ext <<_ACEOF |
20757 |
|
/* confdefs.h. */ |
20758 |
|
_ACEOF |
20759 |
|
cat confdefs.h >>conftest.$ac_ext |
20760 |
|
cat >>conftest.$ac_ext <<_ACEOF |
20761 |
|
/* end confdefs.h. */ |
20762 |
|
#include <stddef.h> |
20763 |
|
#include <glob.h> |
20764 |
|
int |
20765 |
|
main () |
20766 |
|
{ |
20767 |
|
glob_t found; |
20768 |
|
if (glob ("conf*-globtest", 0, NULL, &found) == GLOB_NOMATCH) return 1; |
20769 |
|
; |
20770 |
|
return 0; |
20771 |
|
} |
20772 |
|
_ACEOF |
20773 |
|
rm -f conftest$ac_exeext |
20774 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
20775 |
|
(eval $ac_link) 2>&5 |
20776 |
|
ac_status=$? |
20777 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20778 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
20779 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20780 |
|
(eval $ac_try) 2>&5 |
20781 |
|
ac_status=$? |
20782 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20783 |
|
(exit $ac_status); }; }; then |
20784 |
|
gl_cv_glob_lists_symlinks=yes |
20785 |
|
else |
20786 |
|
echo "$as_me: program exited with status $ac_status" >&5 |
20787 |
|
echo "$as_me: failed program was:" >&5 |
20788 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
20789 |
|
|
20790 |
|
( exit $ac_status ) |
20791 |
|
gl_cv_glob_lists_symlinks=no |
20792 |
|
fi |
20793 |
|
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
20794 |
|
fi |
20795 |
|
fi |
20796 |
|
fi |
20797 |
|
echo "$as_me:$LINENO: result: $gl_cv_glob_lists_symlinks" >&5 |
20798 |
|
echo "${ECHO_T}$gl_cv_glob_lists_symlinks" >&6 |
20799 |
|
|
20800 |
|
if test $gl_cv_glob_lists_symlinks = no; then |
20801 |
|
GLOB_H=glob.h |
20802 |
|
fi |
20803 |
|
fi |
20804 |
|
|
20805 |
|
rm -f conf$$-globtest |
20806 |
|
|
20807 |
|
if test -n "$GLOB_H"; then |
20808 |
|
|
20809 |
|
|
20810 |
|
: |
20811 |
|
|
20812 |
|
|
20813 |
|
|
20814 |
|
|
20815 |
|
|
20816 |
|
|
20817 |
|
|
20818 |
|
|
20819 |
|
: |
20820 |
|
|
20821 |
|
|
20822 |
|
|
20823 |
|
|
20824 |
|
|
20825 |
|
|
20826 |
|
|
20827 |
|
|
20828 |
|
for ac_header in sys/cdefs.h |
20829 |
|
do |
20830 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
20831 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
20832 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20833 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
20834 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
20835 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
20836 |
|
fi |
20837 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
20838 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
20839 |
|
else |
20840 |
|
# Is the header compilable? |
20841 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
20842 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
20843 |
|
cat >conftest.$ac_ext <<_ACEOF |
20844 |
|
/* confdefs.h. */ |
20845 |
|
_ACEOF |
20846 |
|
cat confdefs.h >>conftest.$ac_ext |
20847 |
|
cat >>conftest.$ac_ext <<_ACEOF |
20848 |
|
/* end confdefs.h. */ |
20849 |
|
$ac_includes_default |
20850 |
|
#include <$ac_header> |
20851 |
|
_ACEOF |
20852 |
|
rm -f conftest.$ac_objext |
20853 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
20854 |
|
(eval $ac_compile) 2>conftest.er1 |
20855 |
|
ac_status=$? |
20856 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
20857 |
|
rm -f conftest.er1 |
20858 |
|
cat conftest.err >&5 |
20859 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20860 |
|
(exit $ac_status); } && |
20861 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
20862 |
|
|| test ! -s conftest.err' |
20863 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20864 |
|
(eval $ac_try) 2>&5 |
20865 |
|
ac_status=$? |
20866 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20867 |
|
(exit $ac_status); }; } && |
20868 |
|
{ ac_try='test -s conftest.$ac_objext' |
20869 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20870 |
|
(eval $ac_try) 2>&5 |
20871 |
|
ac_status=$? |
20872 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20873 |
|
(exit $ac_status); }; }; then |
20874 |
|
ac_header_compiler=yes |
20875 |
|
else |
20876 |
|
echo "$as_me: failed program was:" >&5 |
20877 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
20878 |
|
|
20879 |
|
ac_header_compiler=no |
20880 |
|
fi |
20881 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
20882 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
20883 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
20884 |
|
|
20885 |
|
# Is the header present? |
20886 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
20887 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
20888 |
|
cat >conftest.$ac_ext <<_ACEOF |
20889 |
|
/* confdefs.h. */ |
20890 |
|
_ACEOF |
20891 |
|
cat confdefs.h >>conftest.$ac_ext |
20892 |
|
cat >>conftest.$ac_ext <<_ACEOF |
20893 |
|
/* end confdefs.h. */ |
20894 |
|
#include <$ac_header> |
20895 |
|
_ACEOF |
20896 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
20897 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
20898 |
|
ac_status=$? |
20899 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
20900 |
|
rm -f conftest.er1 |
20901 |
|
cat conftest.err >&5 |
20902 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20903 |
|
(exit $ac_status); } >/dev/null; then |
20904 |
|
if test -s conftest.err; then |
20905 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
20906 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
20907 |
|
else |
20908 |
|
ac_cpp_err= |
20909 |
|
fi |
20910 |
|
else |
20911 |
|
ac_cpp_err=yes |
20912 |
|
fi |
20913 |
|
if test -z "$ac_cpp_err"; then |
20914 |
|
ac_header_preproc=yes |
20915 |
|
else |
20916 |
|
echo "$as_me: failed program was:" >&5 |
20917 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
20918 |
|
|
20919 |
|
ac_header_preproc=no |
20920 |
|
fi |
20921 |
|
rm -f conftest.err conftest.$ac_ext |
20922 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
20923 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
20924 |
|
|
20925 |
|
# So? What about this header? |
20926 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
20927 |
|
yes:no: ) |
20928 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
20929 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
20930 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
20931 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
20932 |
|
ac_header_preproc=yes |
20933 |
|
;; |
20934 |
|
no:yes:* ) |
20935 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
20936 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
20937 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
20938 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
20939 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
20940 |
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
20941 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
20942 |
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
20943 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
20944 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
20945 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
20946 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
20947 |
|
( |
20948 |
|
cat <<\_ASBOX |
20949 |
|
## --------------------------------- ## |
20950 |
|
## Report this to bug-cvs@nongnu.org ## |
20951 |
|
## --------------------------------- ## |
20952 |
|
_ASBOX |
20953 |
|
) | |
20954 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
20955 |
|
;; |
20956 |
|
esac |
20957 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20958 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
20959 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
20960 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
20961 |
|
else |
20962 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
20963 |
|
fi |
20964 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
20965 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
20966 |
|
|
20967 |
|
fi |
20968 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
20969 |
|
cat >>confdefs.h <<_ACEOF |
20970 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
20971 |
|
_ACEOF |
20972 |
|
SYS_CDEFS_H=yes |
20973 |
|
else |
20974 |
|
SYS_CDEFS_H=no |
20975 |
|
fi |
20976 |
|
|
20977 |
|
done |
20978 |
|
|
20979 |
|
|
20980 |
|
if test $SYS_CDEFS_H = no; then |
20981 |
|
|
20982 |
|
cat >>confdefs.h <<\_ACEOF |
20983 |
|
#define _SYS_CDEFS_H 1 |
20984 |
|
_ACEOF |
20985 |
|
|
20986 |
|
fi |
20987 |
|
: |
20988 |
|
|
20989 |
|
GLOB_H=glob.h |
20990 |
|
case $LIBOBJS in |
20991 |
|
"glob.$ac_objext" | \ |
20992 |
|
*" glob.$ac_objext" | \ |
20993 |
|
"glob.$ac_objext "* | \ |
20994 |
|
*" glob.$ac_objext "* ) ;; |
20995 |
|
*) LIBOBJS="$LIBOBJS glob.$ac_objext" ;; |
20996 |
|
esac |
20997 |
|
|
20998 |
|
|
20999 |
|
cat >>confdefs.h <<\_ACEOF |
21000 |
|
#define GLOB_PREFIX rpl_ |
21001 |
|
_ACEOF |
21002 |
|
|
21003 |
|
|
21004 |
|
|
21005 |
|
fi |
21006 |
|
|
21007 |
|
|
21008 |
|
|
21009 |
: |
: |
30399 |
|
|
30400 |
|
|
30401 |
|
|
|
echo "$as_me:$LINENO: checking for d_type member in directory struct" >&5 |
|
|
echo $ECHO_N "checking for d_type member in directory struct... $ECHO_C" >&6 |
|
|
if test "${jm_cv_struct_dirent_d_type+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
/* confdefs.h. */ |
|
|
_ACEOF |
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
/* end confdefs.h. */ |
|
|
|
|
|
#include <sys/types.h> |
|
|
#ifdef HAVE_DIRENT_H |
|
|
# include <dirent.h> |
|
|
#else /* not HAVE_DIRENT_H */ |
|
|
# define dirent direct |
|
|
# ifdef HAVE_SYS_NDIR_H |
|
|
# include <sys/ndir.h> |
|
|
# endif /* HAVE_SYS_NDIR_H */ |
|
|
# ifdef HAVE_SYS_DIR_H |
|
|
# include <sys/dir.h> |
|
|
# endif /* HAVE_SYS_DIR_H */ |
|
|
# ifdef HAVE_NDIR_H |
|
|
# include <ndir.h> |
|
|
# endif /* HAVE_NDIR_H */ |
|
|
#endif /* HAVE_DIRENT_H */ |
|
|
|
|
|
int |
|
|
main () |
|
|
{ |
|
|
struct dirent dp; dp.d_type = 0; |
|
|
; |
|
|
return 0; |
|
|
} |
|
|
_ACEOF |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
(eval $ac_link) 2>conftest.er1 |
|
|
ac_status=$? |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
rm -f conftest.er1 |
|
|
cat conftest.err >&5 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } && |
|
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
|| test ! -s conftest.err' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; } && |
|
|
{ ac_try='test -s conftest$ac_exeext' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; }; then |
|
|
jm_cv_struct_dirent_d_type=yes |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
jm_cv_struct_dirent_d_type=no |
|
|
fi |
|
|
rm -f conftest.err conftest.$ac_objext \ |
|
|
conftest$ac_exeext conftest.$ac_ext |
|
|
|
|
|
|
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $jm_cv_struct_dirent_d_type" >&5 |
|
|
echo "${ECHO_T}$jm_cv_struct_dirent_d_type" >&6 |
|
|
if test $jm_cv_struct_dirent_d_type = yes; then |
|
|
|
|
|
cat >>confdefs.h <<\_ACEOF |
|
|
#define HAVE_STRUCT_DIRENT_D_TYPE 1 |
|
|
_ACEOF |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30402 |
GLOB_H= |
GLOB_H= |
30403 |
|
|
30404 |
for ac_header in glob.h |
for ac_header in glob.h |
42902 |
s,@YFLAGS@,$YFLAGS,;t t |
s,@YFLAGS@,$YFLAGS,;t t |
42903 |
s,@LIB_CLOCK_GETTIME@,$LIB_CLOCK_GETTIME,;t t |
s,@LIB_CLOCK_GETTIME@,$LIB_CLOCK_GETTIME,;t t |
42904 |
s,@GETOPT_H@,$GETOPT_H,;t t |
s,@GETOPT_H@,$GETOPT_H,;t t |
42905 |
|
s,@GLOB_H@,$GLOB_H,;t t |
42906 |
s,@LIB_NANOSLEEP@,$LIB_NANOSLEEP,;t t |
s,@LIB_NANOSLEEP@,$LIB_NANOSLEEP,;t t |
42907 |
s,@HAVE_LONG_64BIT@,$HAVE_LONG_64BIT,;t t |
s,@HAVE_LONG_64BIT@,$HAVE_LONG_64BIT,;t t |
42908 |
s,@HAVE_LONG_LONG_64BIT@,$HAVE_LONG_LONG_64BIT,;t t |
s,@HAVE_LONG_LONG_64BIT@,$HAVE_LONG_LONG_64BIT,;t t |
42929 |
s,@LIBINTL@,$LIBINTL,;t t |
s,@LIBINTL@,$LIBINTL,;t t |
42930 |
s,@LTLIBINTL@,$LTLIBINTL,;t t |
s,@LTLIBINTL@,$LTLIBINTL,;t t |
42931 |
s,@POSUB@,$POSUB,;t t |
s,@POSUB@,$POSUB,;t t |
|
s,@GLOB_H@,$GLOB_H,;t t |
|
42932 |
s,@HAVE_PUTENV@,$HAVE_PUTENV,;t t |
s,@HAVE_PUTENV@,$HAVE_PUTENV,;t t |
42933 |
s,@cvs_client_objects@,$cvs_client_objects,;t t |
s,@cvs_client_objects@,$cvs_client_objects,;t t |
42934 |
s,@KRB4@,$KRB4,;t t |
s,@KRB4@,$KRB4,;t t |