| 466 |
# include <unistd.h> |
# include <unistd.h> |
| 467 |
#endif" |
#endif" |
| 468 |
|
|
| 469 |
ac_subdirs_all="$ac_subdirs_all modules/gpm-gtk" |
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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot sl4includedir sl4libdir sl4libexecdir docdir sl4docdir sl4sharedir examplesdir moduledir systemrcdir modulercdir MODULE_LDFLAGS CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP LN_S RANLIB ac_ct_RANLIB YACC EGREP ECHO AR ac_ct_AR CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LEX LEXLIB LEX_OUTPUT_ROOT SHLIBPATH_VAR MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT PTHREAD_CFLAGS PTHREAD_LIBS TERMCAP_LIBS LIBOBJS POW_LIB 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot sl4includedir sl4libdir sl4libexecdir docdir sl4docdir sl4sharedir examplesdir moduledir systemrcdir modulercdir MODULE_LDFLAGS 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 CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE YACC CPP LN_S RANLIB ac_ct_RANLIB EGREP ECHO AR ac_ct_AR CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LEX LEXLIB LEX_OUTPUT_ROOT SHLIBPATH_VAR MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT PTHREAD_CFLAGS PTHREAD_LIBS TERMCAP_LIBS LIBOBJS subdirs LTLIBOBJS' |
|
| 470 |
ac_subst_files='' |
ac_subst_files='' |
| 471 |
|
|
| 472 |
# Initialize some variables set by options. |
# Initialize some variables set by options. |
| 907 |
ac_env_target_alias_value=$target_alias |
ac_env_target_alias_value=$target_alias |
| 908 |
ac_cv_env_target_alias_set=${target_alias+set} |
ac_cv_env_target_alias_set=${target_alias+set} |
| 909 |
ac_cv_env_target_alias_value=$target_alias |
ac_cv_env_target_alias_value=$target_alias |
|
ac_env_CC_set=${CC+set} |
|
|
ac_env_CC_value=$CC |
|
|
ac_cv_env_CC_set=${CC+set} |
|
|
ac_cv_env_CC_value=$CC |
|
|
ac_env_CFLAGS_set=${CFLAGS+set} |
|
|
ac_env_CFLAGS_value=$CFLAGS |
|
|
ac_cv_env_CFLAGS_set=${CFLAGS+set} |
|
|
ac_cv_env_CFLAGS_value=$CFLAGS |
|
|
ac_env_LDFLAGS_set=${LDFLAGS+set} |
|
|
ac_env_LDFLAGS_value=$LDFLAGS |
|
|
ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
|
|
ac_cv_env_LDFLAGS_value=$LDFLAGS |
|
|
ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
|
|
ac_env_CPPFLAGS_value=$CPPFLAGS |
|
|
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
|
|
ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
|
| 910 |
ac_env_CXX_set=${CXX+set} |
ac_env_CXX_set=${CXX+set} |
| 911 |
ac_env_CXX_value=$CXX |
ac_env_CXX_value=$CXX |
| 912 |
ac_cv_env_CXX_set=${CXX+set} |
ac_cv_env_CXX_set=${CXX+set} |
| 915 |
ac_env_CXXFLAGS_value=$CXXFLAGS |
ac_env_CXXFLAGS_value=$CXXFLAGS |
| 916 |
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} |
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} |
| 917 |
ac_cv_env_CXXFLAGS_value=$CXXFLAGS |
ac_cv_env_CXXFLAGS_value=$CXXFLAGS |
| 918 |
|
ac_env_LDFLAGS_set=${LDFLAGS+set} |
| 919 |
|
ac_env_LDFLAGS_value=$LDFLAGS |
| 920 |
|
ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
| 921 |
|
ac_cv_env_LDFLAGS_value=$LDFLAGS |
| 922 |
|
ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
| 923 |
|
ac_env_CPPFLAGS_value=$CPPFLAGS |
| 924 |
|
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
| 925 |
|
ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
| 926 |
|
ac_env_CC_set=${CC+set} |
| 927 |
|
ac_env_CC_value=$CC |
| 928 |
|
ac_cv_env_CC_set=${CC+set} |
| 929 |
|
ac_cv_env_CC_value=$CC |
| 930 |
|
ac_env_CFLAGS_set=${CFLAGS+set} |
| 931 |
|
ac_env_CFLAGS_value=$CFLAGS |
| 932 |
|
ac_cv_env_CFLAGS_set=${CFLAGS+set} |
| 933 |
|
ac_cv_env_CFLAGS_value=$CFLAGS |
| 934 |
ac_env_CPP_set=${CPP+set} |
ac_env_CPP_set=${CPP+set} |
| 935 |
ac_env_CPP_value=$CPP |
ac_env_CPP_value=$CPP |
| 936 |
ac_cv_env_CPP_set=${CPP+set} |
ac_cv_env_CPP_set=${CPP+set} |
| 1056 |
--with-x use the X Window System |
--with-x use the X Window System |
| 1057 |
|
|
| 1058 |
Some influential environment variables: |
Some influential environment variables: |
| 1059 |
CC C compiler command |
CXX C++ compiler command |
| 1060 |
CFLAGS C compiler flags |
CXXFLAGS C++ compiler flags |
| 1061 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
| 1062 |
nonstandard directory <lib dir> |
nonstandard directory <lib dir> |
| 1063 |
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
| 1064 |
headers in a nonstandard directory <include dir> |
headers in a nonstandard directory <include dir> |
| 1065 |
CXX C++ compiler command |
CC C compiler command |
| 1066 |
CXXFLAGS C++ compiler flags |
CFLAGS C compiler flags |
| 1067 |
CPP C preprocessor |
CPP C preprocessor |
| 1068 |
CXXCPP C++ preprocessor |
CXXCPP C++ preprocessor |
| 1069 |
F77 Fortran 77 compiler command |
F77 Fortran 77 compiler command |
| 2033 |
fi; |
fi; |
| 2034 |
|
|
| 2035 |
|
|
| 2036 |
ac_ext=c |
ac_ext=cc |
| 2037 |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 2038 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2039 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 2040 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 2041 |
if test -n "$ac_tool_prefix"; then |
if test -n "$ac_tool_prefix"; then |
| 2042 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
|
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
break 2 |
|
|
fi |
|
|
done |
|
|
done |
|
|
|
|
|
fi |
|
|
fi |
|
|
CC=$ac_cv_prog_CC |
|
|
if test -n "$CC"; then |
|
|
echo "$as_me:$LINENO: result: $CC" >&5 |
|
|
echo "${ECHO_T}$CC" >&6 |
|
|
else |
|
|
echo "$as_me:$LINENO: result: no" >&5 |
|
|
echo "${ECHO_T}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 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
ac_cv_prog_ac_ct_CC="gcc" |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
break 2 |
|
|
fi |
|
|
done |
|
|
done |
|
|
|
|
|
fi |
|
|
fi |
|
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
|
if test -n "$ac_ct_CC"; then |
|
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
|
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
|
|
else |
|
|
echo "$as_me:$LINENO: result: no" >&5 |
|
|
echo "${ECHO_T}no" >&6 |
|
|
fi |
|
|
|
|
|
CC=$ac_ct_CC |
|
|
else |
|
|
CC="$ac_cv_prog_CC" |
|
|
fi |
|
|
|
|
|
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 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
ac_cv_prog_CC="${ac_tool_prefix}cc" |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
break 2 |
|
|
fi |
|
|
done |
|
|
done |
|
|
|
|
|
fi |
|
|
fi |
|
|
CC=$ac_cv_prog_CC |
|
|
if test -n "$CC"; then |
|
|
echo "$as_me:$LINENO: result: $CC" >&5 |
|
|
echo "${ECHO_T}$CC" >&6 |
|
|
else |
|
|
echo "$as_me:$LINENO: result: no" >&5 |
|
|
echo "${ECHO_T}no" >&6 |
|
|
fi |
|
|
|
|
|
fi |
|
|
if test -z "$ac_cv_prog_CC"; then |
|
|
ac_ct_CC=$CC |
|
|
# Extract the first word of "cc", so it can be a program name with args. |
|
|
set dummy cc; ac_word=$2 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
ac_cv_prog_ac_ct_CC="cc" |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
break 2 |
|
|
fi |
|
|
done |
|
|
done |
|
|
|
|
|
fi |
|
|
fi |
|
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
|
if test -n "$ac_ct_CC"; then |
|
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
|
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
|
|
else |
|
|
echo "$as_me:$LINENO: result: no" >&5 |
|
|
echo "${ECHO_T}no" >&6 |
|
|
fi |
|
|
|
|
|
CC=$ac_ct_CC |
|
|
else |
|
|
CC="$ac_cv_prog_CC" |
|
|
fi |
|
|
|
|
|
fi |
|
|
if test -z "$CC"; then |
|
|
# Extract the first word of "cc", so it can be a program name with args. |
|
|
set dummy cc; ac_word=$2 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
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_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" |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
break 2 |
|
|
fi |
|
|
done |
|
|
done |
|
|
|
|
|
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 |
|
|
CC=$ac_cv_prog_CC |
|
|
if test -n "$CC"; then |
|
|
echo "$as_me:$LINENO: result: $CC" >&5 |
|
|
echo "${ECHO_T}$CC" >&6 |
|
|
else |
|
|
echo "$as_me:$LINENO: result: no" >&5 |
|
|
echo "${ECHO_T}no" >&6 |
|
|
fi |
|
|
|
|
|
fi |
|
|
if test -z "$CC"; then |
|
|
if test -n "$ac_tool_prefix"; then |
|
|
for ac_prog in cl |
|
| 2043 |
do |
do |
| 2044 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 2045 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 2046 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2047 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2048 |
if test "${ac_cv_prog_CC+set}" = set; then |
if test "${ac_cv_prog_CXX+set}" = set; then |
| 2049 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2050 |
else |
else |
| 2051 |
if test -n "$CC"; then |
if test -n "$CXX"; then |
| 2052 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
| 2053 |
else |
else |
| 2054 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2055 |
for as_dir in $PATH |
for as_dir in $PATH |
| 2058 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
| 2059 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2060 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2061 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
| 2062 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2063 |
break 2 |
break 2 |
| 2064 |
fi |
fi |
| 2067 |
|
|
| 2068 |
fi |
fi |
| 2069 |
fi |
fi |
| 2070 |
CC=$ac_cv_prog_CC |
CXX=$ac_cv_prog_CXX |
| 2071 |
if test -n "$CC"; then |
if test -n "$CXX"; then |
| 2072 |
echo "$as_me:$LINENO: result: $CC" >&5 |
echo "$as_me:$LINENO: result: $CXX" >&5 |
| 2073 |
echo "${ECHO_T}$CC" >&6 |
echo "${ECHO_T}$CXX" >&6 |
| 2074 |
else |
else |
| 2075 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
| 2076 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
| 2077 |
fi |
fi |
| 2078 |
|
|
| 2079 |
test -n "$CC" && break |
test -n "$CXX" && break |
| 2080 |
done |
done |
| 2081 |
fi |
fi |
| 2082 |
if test -z "$CC"; then |
if test -z "$CXX"; then |
| 2083 |
ac_ct_CC=$CC |
ac_ct_CXX=$CXX |
| 2084 |
for ac_prog in cl |
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
| 2085 |
do |
do |
| 2086 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2087 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
| 2088 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2089 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2090 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
| 2091 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2092 |
else |
else |
| 2093 |
if test -n "$ac_ct_CC"; then |
if test -n "$ac_ct_CXX"; then |
| 2094 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
| 2095 |
else |
else |
| 2096 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2097 |
for as_dir in $PATH |
for as_dir in $PATH |
| 2100 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
| 2101 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2102 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2103 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
| 2104 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2105 |
break 2 |
break 2 |
| 2106 |
fi |
fi |
| 2109 |
|
|
| 2110 |
fi |
fi |
| 2111 |
fi |
fi |
| 2112 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
| 2113 |
if test -n "$ac_ct_CC"; then |
if test -n "$ac_ct_CXX"; then |
| 2114 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
| 2115 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
echo "${ECHO_T}$ac_ct_CXX" >&6 |
| 2116 |
else |
else |
| 2117 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
| 2118 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
| 2119 |
fi |
fi |
| 2120 |
|
|
| 2121 |
test -n "$ac_ct_CC" && break |
test -n "$ac_ct_CXX" && break |
| 2122 |
done |
done |
| 2123 |
|
test -n "$ac_ct_CXX" || ac_ct_CXX="g++" |
| 2124 |
|
|
| 2125 |
CC=$ac_ct_CC |
CXX=$ac_ct_CXX |
|
fi |
|
|
|
|
| 2126 |
fi |
fi |
| 2127 |
|
|
| 2128 |
|
|
|
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
|
|
See \`config.log' for more details." >&5 |
|
|
echo "$as_me: error: no acceptable C compiler found in \$PATH |
|
|
See \`config.log' for more details." >&2;} |
|
|
{ (exit 1); exit 1; }; } |
|
|
|
|
| 2129 |
# Provide some information about the compiler. |
# Provide some information about the compiler. |
| 2130 |
echo "$as_me:$LINENO:" \ |
echo "$as_me:$LINENO:" \ |
| 2131 |
"checking for C compiler version" >&5 |
"checking for C++ compiler version" >&5 |
| 2132 |
ac_compiler=`set X $ac_compile; echo $2` |
ac_compiler=`set X $ac_compile; echo $2` |
| 2133 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
| 2134 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
| 2167 |
# Try to create an executable without -o first, disregard a.out. |
# Try to create an executable without -o first, disregard a.out. |
| 2168 |
# It will help us diagnose broken compilers, and finding out an intuition |
# It will help us diagnose broken compilers, and finding out an intuition |
| 2169 |
# of exeext. |
# of exeext. |
| 2170 |
echo "$as_me:$LINENO: checking for C compiler default output" >&5 |
echo "$as_me:$LINENO: checking for C++ compiler default output" >&5 |
| 2171 |
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6 |
| 2172 |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 2173 |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
| 2174 |
(eval $ac_link_default) 2>&5 |
(eval $ac_link_default) 2>&5 |
| 2211 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
| 2212 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2213 |
|
|
| 2214 |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables |
{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables |
| 2215 |
See \`config.log' for more details." >&5 |
See \`config.log' for more details." >&5 |
| 2216 |
echo "$as_me: error: C compiler cannot create executables |
echo "$as_me: error: C++ compiler cannot create executables |
| 2217 |
See \`config.log' for more details." >&2;} |
See \`config.log' for more details." >&2;} |
| 2218 |
{ (exit 77); exit 77; }; } |
{ (exit 77); exit 77; }; } |
| 2219 |
fi |
fi |
| 2224 |
|
|
| 2225 |
# Check the compiler produces executables we can run. If not, either |
# Check the compiler produces executables we can run. If not, either |
| 2226 |
# the compiler is broken, or we cross compile. |
# the compiler is broken, or we cross compile. |
| 2227 |
echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 |
| 2228 |
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 |
| 2229 |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
| 2230 |
# If not cross compiling, check that we can run a simple program. |
# If not cross compiling, check that we can run a simple program. |
| 2231 |
if test "$cross_compiling" != yes; then |
if test "$cross_compiling" != yes; then |
| 2240 |
if test "$cross_compiling" = maybe; then |
if test "$cross_compiling" = maybe; then |
| 2241 |
cross_compiling=yes |
cross_compiling=yes |
| 2242 |
else |
else |
| 2243 |
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
{ { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. |
| 2244 |
If you meant to cross compile, use \`--host'. |
If you meant to cross compile, use \`--host'. |
| 2245 |
See \`config.log' for more details." >&5 |
See \`config.log' for more details." >&5 |
| 2246 |
echo "$as_me: error: cannot run C compiled programs. |
echo "$as_me: error: cannot run C++ compiled programs. |
| 2247 |
If you meant to cross compile, use \`--host'. |
If you meant to cross compile, use \`--host'. |
| 2248 |
See \`config.log' for more details." >&2;} |
See \`config.log' for more details." >&2;} |
| 2249 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
| 2349 |
echo "${ECHO_T}$ac_cv_objext" >&6 |
echo "${ECHO_T}$ac_cv_objext" >&6 |
| 2350 |
OBJEXT=$ac_cv_objext |
OBJEXT=$ac_cv_objext |
| 2351 |
ac_objext=$OBJEXT |
ac_objext=$OBJEXT |
| 2352 |
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
| 2353 |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 |
| 2354 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
| 2355 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2356 |
else |
else |
| 2357 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
| 2393 |
ac_compiler_gnu=no |
ac_compiler_gnu=no |
| 2394 |
fi |
fi |
| 2395 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 2396 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
| 2397 |
|
|
| 2398 |
fi |
fi |
| 2399 |
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
| 2400 |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 |
| 2401 |
GCC=`test $ac_compiler_gnu = yes && echo yes` |
GXX=`test $ac_compiler_gnu = yes && echo yes` |
| 2402 |
ac_test_CFLAGS=${CFLAGS+set} |
ac_test_CXXFLAGS=${CXXFLAGS+set} |
| 2403 |
ac_save_CFLAGS=$CFLAGS |
ac_save_CXXFLAGS=$CXXFLAGS |
| 2404 |
CFLAGS="-g" |
CXXFLAGS="-g" |
| 2405 |
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
| 2406 |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 |
| 2407 |
if test "${ac_cv_prog_cc_g+set}" = set; then |
if test "${ac_cv_prog_cxx_g+set}" = set; then |
| 2408 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2409 |
else |
else |
| 2410 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
| 2435 |
ac_status=$? |
ac_status=$? |
| 2436 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2437 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
| 2438 |
ac_cv_prog_cc_g=yes |
ac_cv_prog_cxx_g=yes |
| 2439 |
else |
else |
| 2440 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
| 2441 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2442 |
|
|
| 2443 |
ac_cv_prog_cc_g=no |
ac_cv_prog_cxx_g=no |
| 2444 |
fi |
fi |
| 2445 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 2446 |
fi |
fi |
| 2447 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
| 2448 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
| 2449 |
if test "$ac_test_CFLAGS" = set; then |
if test "$ac_test_CXXFLAGS" = set; then |
| 2450 |
CFLAGS=$ac_save_CFLAGS |
CXXFLAGS=$ac_save_CXXFLAGS |
| 2451 |
elif test $ac_cv_prog_cc_g = yes; then |
elif test $ac_cv_prog_cxx_g = yes; then |
| 2452 |
if test "$GCC" = yes; then |
if test "$GXX" = yes; then |
| 2453 |
CFLAGS="-g -O2" |
CXXFLAGS="-g -O2" |
| 2454 |
else |
else |
| 2455 |
CFLAGS="-g" |
CXXFLAGS="-g" |
| 2456 |
fi |
fi |
| 2457 |
else |
else |
| 2458 |
if test "$GCC" = yes; then |
if test "$GXX" = yes; then |
| 2459 |
CFLAGS="-O2" |
CXXFLAGS="-O2" |
| 2460 |
else |
else |
| 2461 |
CFLAGS= |
CXXFLAGS= |
| 2462 |
fi |
fi |
| 2463 |
fi |
fi |
| 2464 |
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
for ac_declaration in \ |
|
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
|
|
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
ac_cv_prog_cc_stdc=no |
|
|
ac_save_CC=$CC |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
#line $LINENO "configure" |
|
|
/* confdefs.h. */ |
|
|
_ACEOF |
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
/* end confdefs.h. */ |
|
|
#include <stdarg.h> |
|
|
#include <stdio.h> |
|
|
#include <sys/types.h> |
|
|
#include <sys/stat.h> |
|
|
/* 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; |
|
|
} |
|
|
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 |
|
|
main () |
|
|
{ |
|
|
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|
|
; |
|
|
return 0; |
|
|
} |
|
|
_ACEOF |
|
|
# Don't try gcc -ansi; that turns off useful extensions and |
|
|
# breaks some systems' header files. |
|
|
# AIX -qlanglvl=ansi |
|
|
# Ultrix and OSF/1 -std1 |
|
|
# HP-UX 10.20 and later -Ae |
|
|
# HP-UX older versions -Aa -D_HPUX_SOURCE |
|
|
# SVR4 -Xc -D__EXTENSIONS__ |
|
|
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
|
do |
|
|
CC="$ac_save_CC $ac_arg" |
|
|
rm -f conftest.$ac_objext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
(eval $ac_compile) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } && |
|
|
{ ac_try='test -s conftest.$ac_objext' |
|
|
{ (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 |
|
|
ac_cv_prog_cc_stdc=$ac_arg |
|
|
break |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
fi |
|
|
rm -f conftest.$ac_objext |
|
|
done |
|
|
rm -f conftest.$ac_ext conftest.$ac_objext |
|
|
CC=$ac_save_CC |
|
|
|
|
|
fi |
|
|
|
|
|
case "x$ac_cv_prog_cc_stdc" in |
|
|
x|xno) |
|
|
echo "$as_me:$LINENO: result: none needed" >&5 |
|
|
echo "${ECHO_T}none needed" >&6 ;; |
|
|
*) |
|
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
|
|
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
|
|
CC="$CC $ac_cv_prog_cc_stdc" ;; |
|
|
esac |
|
|
|
|
|
# Some people use a C++ compiler to compile C. Since we use `exit', |
|
|
# in C++ we need to declare it. In case someone uses the same compiler |
|
|
# for both compiling C and C++ we need to have the C++ compiler decide |
|
|
# the declaration of exit, since it's the most demanding environment. |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
#ifndef __cplusplus |
|
|
choke me |
|
|
#endif |
|
|
_ACEOF |
|
|
rm -f conftest.$ac_objext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
(eval $ac_compile) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } && |
|
|
{ ac_try='test -s conftest.$ac_objext' |
|
|
{ (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 |
|
|
for ac_declaration in \ |
|
| 2465 |
''\ |
''\ |
| 2466 |
'#include <stdlib.h>' \ |
'#include <stdlib.h>' \ |
| 2467 |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
| 2550 |
echo '#endif' >>confdefs.h |
echo '#endif' >>confdefs.h |
| 2551 |
fi |
fi |
| 2552 |
|
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
fi |
|
|
rm -f conftest.$ac_objext conftest.$ac_ext |
|
| 2553 |
ac_ext=c |
ac_ext=c |
| 2554 |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
| 2555 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2621 |
|
|
| 2622 |
|
|
| 2623 |
|
|
| 2624 |
depcc="$CC" am_compiler_list= |
depcc="$CXX" am_compiler_list= |
| 2625 |
|
|
| 2626 |
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
| 2627 |
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
| 2628 |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then |
| 2629 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2630 |
else |
else |
| 2631 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| 2647 |
# directory. |
# directory. |
| 2648 |
mkdir sub |
mkdir sub |
| 2649 |
|
|
| 2650 |
am_cv_CC_dependencies_compiler_type=none |
am_cv_CXX_dependencies_compiler_type=none |
| 2651 |
if test "$am_compiler_list" = ""; then |
if test "$am_compiler_list" = ""; then |
| 2652 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
| 2653 |
fi |
fi |
| 2693 |
# (even with -Werror). So we grep stderr for any message |
# (even with -Werror). So we grep stderr for any message |
| 2694 |
# that says an option was ignored. |
# that says an option was ignored. |
| 2695 |
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
| 2696 |
am_cv_CC_dependencies_compiler_type=$depmode |
am_cv_CXX_dependencies_compiler_type=$depmode |
| 2697 |
break |
break |
| 2698 |
fi |
fi |
| 2699 |
fi |
fi |
| 2702 |
cd .. |
cd .. |
| 2703 |
rm -rf conftest.dir |
rm -rf conftest.dir |
| 2704 |
else |
else |
| 2705 |
am_cv_CC_dependencies_compiler_type=none |
am_cv_CXX_dependencies_compiler_type=none |
| 2706 |
fi |
fi |
| 2707 |
|
|
| 2708 |
fi |
fi |
| 2709 |
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
| 2710 |
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 |
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 |
| 2711 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
| 2712 |
|
|
| 2713 |
|
|
| 2714 |
|
|
| 2715 |
if |
if |
| 2716 |
test "x$enable_dependency_tracking" != xno \ |
test "x$enable_dependency_tracking" != xno \ |
| 2717 |
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
| 2718 |
am__fastdepCC_TRUE= |
am__fastdepCXX_TRUE= |
| 2719 |
am__fastdepCC_FALSE='#' |
am__fastdepCXX_FALSE='#' |
| 2720 |
else |
else |
| 2721 |
am__fastdepCC_TRUE='#' |
am__fastdepCXX_TRUE='#' |
| 2722 |
am__fastdepCC_FALSE= |
am__fastdepCXX_FALSE= |
| 2723 |
fi |
fi |
| 2724 |
|
|
| 2725 |
|
|
| 2726 |
ac_ext=cc |
ac_ext=c |
| 2727 |
ac_cpp='$CXXCPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
| 2728 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2729 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 2730 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2731 |
if test -n "$ac_tool_prefix"; then |
if test -n "$ac_tool_prefix"; then |
| 2732 |
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
| 2733 |
|
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| 2734 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2735 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2736 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
| 2737 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2738 |
|
else |
| 2739 |
|
if test -n "$CC"; then |
| 2740 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 2741 |
|
else |
| 2742 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2743 |
|
for as_dir in $PATH |
| 2744 |
|
do |
| 2745 |
|
IFS=$as_save_IFS |
| 2746 |
|
test -z "$as_dir" && as_dir=. |
| 2747 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2748 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2749 |
|
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 2750 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2751 |
|
break 2 |
| 2752 |
|
fi |
| 2753 |
|
done |
| 2754 |
|
done |
| 2755 |
|
|
| 2756 |
|
fi |
| 2757 |
|
fi |
| 2758 |
|
CC=$ac_cv_prog_CC |
| 2759 |
|
if test -n "$CC"; then |
| 2760 |
|
echo "$as_me:$LINENO: result: $CC" >&5 |
| 2761 |
|
echo "${ECHO_T}$CC" >&6 |
| 2762 |
|
else |
| 2763 |
|
echo "$as_me:$LINENO: result: no" >&5 |
| 2764 |
|
echo "${ECHO_T}no" >&6 |
| 2765 |
|
fi |
| 2766 |
|
|
| 2767 |
|
fi |
| 2768 |
|
if test -z "$ac_cv_prog_CC"; then |
| 2769 |
|
ac_ct_CC=$CC |
| 2770 |
|
# Extract the first word of "gcc", so it can be a program name with args. |
| 2771 |
|
set dummy gcc; ac_word=$2 |
| 2772 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2773 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2774 |
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 2775 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2776 |
|
else |
| 2777 |
|
if test -n "$ac_ct_CC"; then |
| 2778 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 2779 |
|
else |
| 2780 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2781 |
|
for as_dir in $PATH |
| 2782 |
|
do |
| 2783 |
|
IFS=$as_save_IFS |
| 2784 |
|
test -z "$as_dir" && as_dir=. |
| 2785 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2786 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2787 |
|
ac_cv_prog_ac_ct_CC="gcc" |
| 2788 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2789 |
|
break 2 |
| 2790 |
|
fi |
| 2791 |
|
done |
| 2792 |
|
done |
| 2793 |
|
|
| 2794 |
|
fi |
| 2795 |
|
fi |
| 2796 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 2797 |
|
if test -n "$ac_ct_CC"; then |
| 2798 |
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 2799 |
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
| 2800 |
|
else |
| 2801 |
|
echo "$as_me:$LINENO: result: no" >&5 |
| 2802 |
|
echo "${ECHO_T}no" >&6 |
| 2803 |
|
fi |
| 2804 |
|
|
| 2805 |
|
CC=$ac_ct_CC |
| 2806 |
|
else |
| 2807 |
|
CC="$ac_cv_prog_CC" |
| 2808 |
|
fi |
| 2809 |
|
|
| 2810 |
|
if test -z "$CC"; then |
| 2811 |
|
if test -n "$ac_tool_prefix"; then |
| 2812 |
|
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| 2813 |
|
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 2814 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2815 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2816 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
| 2817 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2818 |
|
else |
| 2819 |
|
if test -n "$CC"; then |
| 2820 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 2821 |
|
else |
| 2822 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2823 |
|
for as_dir in $PATH |
| 2824 |
|
do |
| 2825 |
|
IFS=$as_save_IFS |
| 2826 |
|
test -z "$as_dir" && as_dir=. |
| 2827 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2828 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2829 |
|
ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 2830 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2831 |
|
break 2 |
| 2832 |
|
fi |
| 2833 |
|
done |
| 2834 |
|
done |
| 2835 |
|
|
| 2836 |
|
fi |
| 2837 |
|
fi |
| 2838 |
|
CC=$ac_cv_prog_CC |
| 2839 |
|
if test -n "$CC"; then |
| 2840 |
|
echo "$as_me:$LINENO: result: $CC" >&5 |
| 2841 |
|
echo "${ECHO_T}$CC" >&6 |
| 2842 |
|
else |
| 2843 |
|
echo "$as_me:$LINENO: result: no" >&5 |
| 2844 |
|
echo "${ECHO_T}no" >&6 |
| 2845 |
|
fi |
| 2846 |
|
|
| 2847 |
|
fi |
| 2848 |
|
if test -z "$ac_cv_prog_CC"; then |
| 2849 |
|
ac_ct_CC=$CC |
| 2850 |
|
# Extract the first word of "cc", so it can be a program name with args. |
| 2851 |
|
set dummy cc; ac_word=$2 |
| 2852 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2853 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2854 |
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 2855 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2856 |
|
else |
| 2857 |
|
if test -n "$ac_ct_CC"; then |
| 2858 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 2859 |
|
else |
| 2860 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2861 |
|
for as_dir in $PATH |
| 2862 |
|
do |
| 2863 |
|
IFS=$as_save_IFS |
| 2864 |
|
test -z "$as_dir" && as_dir=. |
| 2865 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2866 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2867 |
|
ac_cv_prog_ac_ct_CC="cc" |
| 2868 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2869 |
|
break 2 |
| 2870 |
|
fi |
| 2871 |
|
done |
| 2872 |
|
done |
| 2873 |
|
|
| 2874 |
|
fi |
| 2875 |
|
fi |
| 2876 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 2877 |
|
if test -n "$ac_ct_CC"; then |
| 2878 |
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 2879 |
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
| 2880 |
|
else |
| 2881 |
|
echo "$as_me:$LINENO: result: no" >&5 |
| 2882 |
|
echo "${ECHO_T}no" >&6 |
| 2883 |
|
fi |
| 2884 |
|
|
| 2885 |
|
CC=$ac_ct_CC |
| 2886 |
|
else |
| 2887 |
|
CC="$ac_cv_prog_CC" |
| 2888 |
|
fi |
| 2889 |
|
|
| 2890 |
|
fi |
| 2891 |
|
if test -z "$CC"; then |
| 2892 |
|
# Extract the first word of "cc", so it can be a program name with args. |
| 2893 |
|
set dummy cc; ac_word=$2 |
| 2894 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2895 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2896 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
| 2897 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2898 |
|
else |
| 2899 |
|
if test -n "$CC"; then |
| 2900 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 2901 |
|
else |
| 2902 |
|
ac_prog_rejected=no |
| 2903 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2904 |
|
for as_dir in $PATH |
| 2905 |
|
do |
| 2906 |
|
IFS=$as_save_IFS |
| 2907 |
|
test -z "$as_dir" && as_dir=. |
| 2908 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2909 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2910 |
|
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 2911 |
|
ac_prog_rejected=yes |
| 2912 |
|
continue |
| 2913 |
|
fi |
| 2914 |
|
ac_cv_prog_CC="cc" |
| 2915 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2916 |
|
break 2 |
| 2917 |
|
fi |
| 2918 |
|
done |
| 2919 |
|
done |
| 2920 |
|
|
| 2921 |
|
if test $ac_prog_rejected = yes; then |
| 2922 |
|
# We found a bogon in the path, so make sure we never use it. |
| 2923 |
|
set dummy $ac_cv_prog_CC |
| 2924 |
|
shift |
| 2925 |
|
if test $# != 0; then |
| 2926 |
|
# We chose a different compiler from the bogus one. |
| 2927 |
|
# However, it has the same basename, so the bogon will be chosen |
| 2928 |
|
# first if we set CC to just the basename; use the full file name. |
| 2929 |
|
shift |
| 2930 |
|
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
| 2931 |
|
fi |
| 2932 |
|
fi |
| 2933 |
|
fi |
| 2934 |
|
fi |
| 2935 |
|
CC=$ac_cv_prog_CC |
| 2936 |
|
if test -n "$CC"; then |
| 2937 |
|
echo "$as_me:$LINENO: result: $CC" >&5 |
| 2938 |
|
echo "${ECHO_T}$CC" >&6 |
| 2939 |
|
else |
| 2940 |
|
echo "$as_me:$LINENO: result: no" >&5 |
| 2941 |
|
echo "${ECHO_T}no" >&6 |
| 2942 |
|
fi |
| 2943 |
|
|
| 2944 |
|
fi |
| 2945 |
|
if test -z "$CC"; then |
| 2946 |
|
if test -n "$ac_tool_prefix"; then |
| 2947 |
|
for ac_prog in cl |
| 2948 |
do |
do |
| 2949 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 2950 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 2951 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2952 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2953 |
if test "${ac_cv_prog_CXX+set}" = set; then |
if test "${ac_cv_prog_CC+set}" = set; then |
| 2954 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2955 |
else |
else |
| 2956 |
if test -n "$CXX"; then |
if test -n "$CC"; then |
| 2957 |
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 2958 |
else |
else |
| 2959 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2960 |
for as_dir in $PATH |
for as_dir in $PATH |
| 2963 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
| 2964 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2965 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2966 |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 2967 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2968 |
break 2 |
break 2 |
| 2969 |
fi |
fi |
| 2972 |
|
|
| 2973 |
fi |
fi |
| 2974 |
fi |
fi |
| 2975 |
CXX=$ac_cv_prog_CXX |
CC=$ac_cv_prog_CC |
| 2976 |
if test -n "$CXX"; then |
if test -n "$CC"; then |
| 2977 |
echo "$as_me:$LINENO: result: $CXX" >&5 |
echo "$as_me:$LINENO: result: $CC" >&5 |
| 2978 |
echo "${ECHO_T}$CXX" >&6 |
echo "${ECHO_T}$CC" >&6 |
| 2979 |
else |
else |
| 2980 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
| 2981 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
| 2982 |
fi |
fi |
| 2983 |
|
|
| 2984 |
test -n "$CXX" && break |
test -n "$CC" && break |
| 2985 |
done |
done |
| 2986 |
fi |
fi |
| 2987 |
if test -z "$CXX"; then |
if test -z "$CC"; then |
| 2988 |
ac_ct_CXX=$CXX |
ac_ct_CC=$CC |
| 2989 |
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
for ac_prog in cl |
| 2990 |
do |
do |
| 2991 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2992 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
| 2993 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2994 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2995 |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 2996 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2997 |
else |
else |
| 2998 |
if test -n "$ac_ct_CXX"; then |
if test -n "$ac_ct_CC"; then |
| 2999 |
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 3000 |
else |
else |
| 3001 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3002 |
for as_dir in $PATH |
for as_dir in $PATH |
| 3005 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
| 3006 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3007 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3008 |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
ac_cv_prog_ac_ct_CC="$ac_prog" |
| 3009 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3010 |
break 2 |
break 2 |
| 3011 |
fi |
fi |
| 3014 |
|
|
| 3015 |
fi |
fi |
| 3016 |
fi |
fi |
| 3017 |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 3018 |
if test -n "$ac_ct_CXX"; then |
if test -n "$ac_ct_CC"; then |
| 3019 |
echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 3020 |
echo "${ECHO_T}$ac_ct_CXX" >&6 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
| 3021 |
else |
else |
| 3022 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
| 3023 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
| 3024 |
fi |
fi |
| 3025 |
|
|
| 3026 |
test -n "$ac_ct_CXX" && break |
test -n "$ac_ct_CC" && break |
| 3027 |
done |
done |
|
test -n "$ac_ct_CXX" || ac_ct_CXX="g++" |
|
| 3028 |
|
|
| 3029 |
CXX=$ac_ct_CXX |
CC=$ac_ct_CC |
| 3030 |
|
fi |
| 3031 |
|
|
| 3032 |
fi |
fi |
| 3033 |
|
|
| 3034 |
|
|
| 3035 |
|
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
| 3036 |
|
See \`config.log' for more details." >&5 |
| 3037 |
|
echo "$as_me: error: no acceptable C compiler found in \$PATH |
| 3038 |
|
See \`config.log' for more details." >&2;} |
| 3039 |
|
{ (exit 1); exit 1; }; } |
| 3040 |
|
|
| 3041 |
# Provide some information about the compiler. |
# Provide some information about the compiler. |
| 3042 |
echo "$as_me:$LINENO:" \ |
echo "$as_me:$LINENO:" \ |
| 3043 |
"checking for C++ compiler version" >&5 |
"checking for C compiler version" >&5 |
| 3044 |
ac_compiler=`set X $ac_compile; echo $2` |
ac_compiler=`set X $ac_compile; echo $2` |
| 3045 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
| 3046 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
| 3058 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3059 |
(exit $ac_status); } |
(exit $ac_status); } |
| 3060 |
|
|
| 3061 |
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
| 3062 |
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
| 3063 |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
| 3064 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3065 |
else |
else |
| 3066 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
| 3102 |
ac_compiler_gnu=no |
ac_compiler_gnu=no |
| 3103 |
fi |
fi |
| 3104 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 3105 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 3106 |
|
|
| 3107 |
fi |
fi |
| 3108 |
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
| 3109 |
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
| 3110 |
GXX=`test $ac_compiler_gnu = yes && echo yes` |
GCC=`test $ac_compiler_gnu = yes && echo yes` |
| 3111 |
ac_test_CXXFLAGS=${CXXFLAGS+set} |
ac_test_CFLAGS=${CFLAGS+set} |
| 3112 |
ac_save_CXXFLAGS=$CXXFLAGS |
ac_save_CFLAGS=$CFLAGS |
| 3113 |
CXXFLAGS="-g" |
CFLAGS="-g" |
| 3114 |
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
| 3115 |
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
| 3116 |
if test "${ac_cv_prog_cxx_g+set}" = set; then |
if test "${ac_cv_prog_cc_g+set}" = set; then |
| 3117 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3118 |
else |
else |
| 3119 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
| 3144 |
ac_status=$? |
ac_status=$? |
| 3145 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3146 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
| 3147 |
ac_cv_prog_cxx_g=yes |
ac_cv_prog_cc_g=yes |
| 3148 |
else |
else |
| 3149 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
| 3150 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3151 |
|
|
| 3152 |
ac_cv_prog_cxx_g=no |
ac_cv_prog_cc_g=no |
| 3153 |
fi |
fi |
| 3154 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 3155 |
fi |
fi |
| 3156 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
| 3157 |
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
| 3158 |
if test "$ac_test_CXXFLAGS" = set; then |
if test "$ac_test_CFLAGS" = set; then |
| 3159 |
CXXFLAGS=$ac_save_CXXFLAGS |
CFLAGS=$ac_save_CFLAGS |
| 3160 |
elif test $ac_cv_prog_cxx_g = yes; then |
elif test $ac_cv_prog_cc_g = yes; then |
| 3161 |
if test "$GXX" = yes; then |
if test "$GCC" = yes; then |
| 3162 |
CXXFLAGS="-g -O2" |
CFLAGS="-g -O2" |
| 3163 |
else |
else |
| 3164 |
CXXFLAGS="-g" |
CFLAGS="-g" |
| 3165 |
fi |
fi |
| 3166 |
else |
else |
| 3167 |
if test "$GXX" = yes; then |
if test "$GCC" = yes; then |
| 3168 |
CXXFLAGS="-O2" |
CFLAGS="-O2" |
| 3169 |
else |
else |
| 3170 |
CXXFLAGS= |
CFLAGS= |
| 3171 |
fi |
fi |
| 3172 |
fi |
fi |
| 3173 |
for ac_declaration in \ |
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
| 3174 |
|
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
| 3175 |
|
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
| 3176 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3177 |
|
else |
| 3178 |
|
ac_cv_prog_cc_stdc=no |
| 3179 |
|
ac_save_CC=$CC |
| 3180 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 3181 |
|
#line $LINENO "configure" |
| 3182 |
|
/* confdefs.h. */ |
| 3183 |
|
_ACEOF |
| 3184 |
|
cat confdefs.h >>conftest.$ac_ext |
| 3185 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 3186 |
|
/* end confdefs.h. */ |
| 3187 |
|
#include <stdarg.h> |
| 3188 |
|
#include <stdio.h> |
| 3189 |
|
#include <sys/types.h> |
| 3190 |
|
#include <sys/stat.h> |
| 3191 |
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| 3192 |
|
struct buf { int x; }; |
| 3193 |
|
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
| 3194 |
|
static char *e (p, i) |
| 3195 |
|
char **p; |
| 3196 |
|
int i; |
| 3197 |
|
{ |
| 3198 |
|
return p[i]; |
| 3199 |
|
} |
| 3200 |
|
static char *f (char * (*g) (char **, int), char **p, ...) |
| 3201 |
|
{ |
| 3202 |
|
char *s; |
| 3203 |
|
va_list v; |
| 3204 |
|
va_start (v,p); |
| 3205 |
|
s = g (p, va_arg (v,int)); |
| 3206 |
|
va_end (v); |
| 3207 |
|
return s; |
| 3208 |
|
} |
| 3209 |
|
int test (int i, double x); |
| 3210 |
|
struct s1 {int (*f) (int a);}; |
| 3211 |
|
struct s2 {int (*f) (double a);}; |
| 3212 |
|
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
| 3213 |
|
int argc; |
| 3214 |
|
char **argv; |
| 3215 |
|
int |
| 3216 |
|
main () |
| 3217 |
|
{ |
| 3218 |
|
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
| 3219 |
|
; |
| 3220 |
|
return 0; |
| 3221 |
|
} |
| 3222 |
|
_ACEOF |
| 3223 |
|
# Don't try gcc -ansi; that turns off useful extensions and |
| 3224 |
|
# breaks some systems' header files. |
| 3225 |
|
# AIX -qlanglvl=ansi |
| 3226 |
|
# Ultrix and OSF/1 -std1 |
| 3227 |
|
# HP-UX 10.20 and later -Ae |
| 3228 |
|
# HP-UX older versions -Aa -D_HPUX_SOURCE |
| 3229 |
|
# SVR4 -Xc -D__EXTENSIONS__ |
| 3230 |
|
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 3231 |
|
do |
| 3232 |
|
CC="$ac_save_CC $ac_arg" |
| 3233 |
|
rm -f conftest.$ac_objext |
| 3234 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3235 |
|
(eval $ac_compile) 2>&5 |
| 3236 |
|
ac_status=$? |
| 3237 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3238 |
|
(exit $ac_status); } && |
| 3239 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 3240 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3241 |
|
(eval $ac_try) 2>&5 |
| 3242 |
|
ac_status=$? |
| 3243 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3244 |
|
(exit $ac_status); }; }; then |
| 3245 |
|
ac_cv_prog_cc_stdc=$ac_arg |
| 3246 |
|
break |
| 3247 |
|
else |
| 3248 |
|
echo "$as_me: failed program was:" >&5 |
| 3249 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3250 |
|
|
| 3251 |
|
fi |
| 3252 |
|
rm -f conftest.$ac_objext |
| 3253 |
|
done |
| 3254 |
|
rm -f conftest.$ac_ext conftest.$ac_objext |
| 3255 |
|
CC=$ac_save_CC |
| 3256 |
|
|
| 3257 |
|
fi |
| 3258 |
|
|
| 3259 |
|
case "x$ac_cv_prog_cc_stdc" in |
| 3260 |
|
x|xno) |
| 3261 |
|
echo "$as_me:$LINENO: result: none needed" >&5 |
| 3262 |
|
echo "${ECHO_T}none needed" >&6 ;; |
| 3263 |
|
*) |
| 3264 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
| 3265 |
|
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
| 3266 |
|
CC="$CC $ac_cv_prog_cc_stdc" ;; |
| 3267 |
|
esac |
| 3268 |
|
|
| 3269 |
|
# Some people use a C++ compiler to compile C. Since we use `exit', |
| 3270 |
|
# in C++ we need to declare it. In case someone uses the same compiler |
| 3271 |
|
# for both compiling C and C++ we need to have the C++ compiler decide |
| 3272 |
|
# the declaration of exit, since it's the most demanding environment. |
| 3273 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 3274 |
|
#ifndef __cplusplus |
| 3275 |
|
choke me |
| 3276 |
|
#endif |
| 3277 |
|
_ACEOF |
| 3278 |
|
rm -f conftest.$ac_objext |
| 3279 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3280 |
|
(eval $ac_compile) 2>&5 |
| 3281 |
|
ac_status=$? |
| 3282 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3283 |
|
(exit $ac_status); } && |
| 3284 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 3285 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3286 |
|
(eval $ac_try) 2>&5 |
| 3287 |
|
ac_status=$? |
| 3288 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3289 |
|
(exit $ac_status); }; }; then |
| 3290 |
|
for ac_declaration in \ |
| 3291 |
''\ |
''\ |
| 3292 |
'#include <stdlib.h>' \ |
'#include <stdlib.h>' \ |
| 3293 |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
| 3376 |
echo '#endif' >>confdefs.h |
echo '#endif' >>confdefs.h |
| 3377 |
fi |
fi |
| 3378 |
|
|
| 3379 |
|
else |
| 3380 |
|
echo "$as_me: failed program was:" >&5 |
| 3381 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3382 |
|
|
| 3383 |
|
fi |
| 3384 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
| 3385 |
ac_ext=c |
ac_ext=c |
| 3386 |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
| 3387 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3388 |
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' |
| 3389 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3390 |
|
|
| 3391 |
depcc="$CXX" am_compiler_list= |
depcc="$CC" am_compiler_list= |
| 3392 |
|
|
| 3393 |
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
| 3394 |
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
| 3395 |
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
| 3396 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3397 |
else |
else |
| 3398 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| 3414 |
# directory. |
# directory. |
| 3415 |
mkdir sub |
mkdir sub |
| 3416 |
|
|
| 3417 |
am_cv_CXX_dependencies_compiler_type=none |
am_cv_CC_dependencies_compiler_type=none |
| 3418 |
if test "$am_compiler_list" = ""; then |
if test "$am_compiler_list" = ""; then |
| 3419 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
| 3420 |
fi |
fi |
| 3460 |
# (even with -Werror). So we grep stderr for any message |
# (even with -Werror). So we grep stderr for any message |
| 3461 |
# that says an option was ignored. |
# that says an option was ignored. |
| 3462 |
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
| 3463 |
am_cv_CXX_dependencies_compiler_type=$depmode |
am_cv_CC_dependencies_compiler_type=$depmode |
| 3464 |
break |
break |
| 3465 |
fi |
fi |
| 3466 |
fi |
fi |
| 3469 |
cd .. |
cd .. |
| 3470 |
rm -rf conftest.dir |
rm -rf conftest.dir |
| 3471 |
else |
else |
| 3472 |
am_cv_CXX_dependencies_compiler_type=none |
am_cv_CC_dependencies_compiler_type=none |
| 3473 |
fi |
fi |
| 3474 |
|
|
| 3475 |
fi |
fi |
| 3476 |
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
| 3477 |
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 |
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 |
| 3478 |
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
| 3479 |
|
|
| 3480 |
|
|
| 3481 |
|
|
| 3482 |
if |
if |
| 3483 |
test "x$enable_dependency_tracking" != xno \ |
test "x$enable_dependency_tracking" != xno \ |
| 3484 |
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
| 3485 |
am__fastdepCXX_TRUE= |
am__fastdepCC_TRUE= |
| 3486 |
am__fastdepCXX_FALSE='#' |
am__fastdepCC_FALSE='#' |
|
else |
|
|
am__fastdepCXX_TRUE='#' |
|
|
am__fastdepCXX_FALSE= |
|
|
fi |
|
|
|
|
|
|
|
|
for ac_prog in 'bison -y' byacc |
|
|
do |
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
set dummy $ac_prog; ac_word=$2 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
if test "${ac_cv_prog_YACC+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
if test -n "$YACC"; then |
|
|
ac_cv_prog_YACC="$YACC" # 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
ac_cv_prog_YACC="$ac_prog" |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
break 2 |
|
|
fi |
|
|
done |
|
|
done |
|
|
|
|
|
fi |
|
|
fi |
|
|
YACC=$ac_cv_prog_YACC |
|
|
if test -n "$YACC"; then |
|
|
echo "$as_me:$LINENO: result: $YACC" >&5 |
|
|
echo "${ECHO_T}$YACC" >&6 |
|
| 3487 |
else |
else |
| 3488 |
echo "$as_me:$LINENO: result: no" >&5 |
am__fastdepCC_TRUE='#' |
| 3489 |
echo "${ECHO_T}no" >&6 |
am__fastdepCC_FALSE= |
| 3490 |
fi |
fi |
| 3491 |
|
|
|
test -n "$YACC" && break |
|
|
done |
|
|
test -n "$YACC" || YACC="yacc" |
|
| 3492 |
|
|
| 3493 |
ac_ext=c |
ac_ext=c |
| 3494 |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
| 3841 |
SET_MAKE="MAKE=${MAKE-make}" |
SET_MAKE="MAKE=${MAKE-make}" |
| 3842 |
fi |
fi |
| 3843 |
|
|
|
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
|
|
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
|
|
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
|
|
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
cat >conftest.make <<\_ACEOF |
|
|
all: |
|
|
@echo 'ac_maketemp="$(MAKE)"' |
|
|
_ACEOF |
|
|
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
|
|
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
|
|
if test -n "$ac_maketemp"; then |
|
|
eval ac_cv_prog_make_${ac_make}_set=yes |
|
|
else |
|
|
eval ac_cv_prog_make_${ac_make}_set=no |
|
|
fi |
|
|
rm -f conftest.make |
|
|
fi |
|
|
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
|
|
echo "$as_me:$LINENO: result: yes" >&5 |
|
|
echo "${ECHO_T}yes" >&6 |
|
|
SET_MAKE= |
|
|
else |
|
|
echo "$as_me:$LINENO: result: no" >&5 |
|
|
echo "${ECHO_T}no" >&6 |
|
|
SET_MAKE="MAKE=${MAKE-make}" |
|
|
fi |
|
|
|
|
| 3844 |
if test -n "$ac_tool_prefix"; then |
if test -n "$ac_tool_prefix"; then |
| 3845 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
| 3846 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
| 3921 |
RANLIB="$ac_cv_prog_RANLIB" |
RANLIB="$ac_cv_prog_RANLIB" |
| 3922 |
fi |
fi |
| 3923 |
|
|
| 3924 |
|
for ac_prog in 'bison -y' byacc |
| 3925 |
|
do |
| 3926 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3927 |
|
set dummy $ac_prog; ac_word=$2 |
| 3928 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3929 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3930 |
|
if test "${ac_cv_prog_YACC+set}" = set; then |
| 3931 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3932 |
|
else |
| 3933 |
|
if test -n "$YACC"; then |
| 3934 |
|
ac_cv_prog_YACC="$YACC" # Let the user override the test. |
| 3935 |
|
else |
| 3936 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3937 |
|
for as_dir in $PATH |
| 3938 |
|
do |
| 3939 |
|
IFS=$as_save_IFS |
| 3940 |
|
test -z "$as_dir" && as_dir=. |
| 3941 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3942 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3943 |
|
ac_cv_prog_YACC="$ac_prog" |
| 3944 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3945 |
|
break 2 |
| 3946 |
|
fi |
| 3947 |
|
done |
| 3948 |
|
done |
| 3949 |
|
|
| 3950 |
|
fi |
| 3951 |
|
fi |
| 3952 |
|
YACC=$ac_cv_prog_YACC |
| 3953 |
|
if test -n "$YACC"; then |
| 3954 |
|
echo "$as_me:$LINENO: result: $YACC" >&5 |
| 3955 |
|
echo "${ECHO_T}$YACC" >&6 |
| 3956 |
|
else |
| 3957 |
|
echo "$as_me:$LINENO: result: no" >&5 |
| 3958 |
|
echo "${ECHO_T}no" >&6 |
| 3959 |
|
fi |
| 3960 |
|
|
| 3961 |
|
test -n "$YACC" && break |
| 3962 |
|
done |
| 3963 |
|
test -n "$YACC" || YACC="yacc" |
| 3964 |
|
|
| 3965 |
for ac_prog in gawk mawk nawk awk |
for ac_prog in gawk mawk nawk awk |
| 3966 |
do |
do |
| 3967 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 4540 |
;; |
;; |
| 4541 |
*-*-irix6*) |
*-*-irix6*) |
| 4542 |
# Find out which ABI we are using. |
# Find out which ABI we are using. |
| 4543 |
echo '#line 4573 "configure"' > conftest.$ac_ext |
echo '#line 4543 "configure"' > conftest.$ac_ext |
| 4544 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4545 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
| 4546 |
ac_status=$? |
ac_status=$? |
| 5381 |
|
|
| 5382 |
|
|
| 5383 |
# Provide some information about the compiler. |
# Provide some information about the compiler. |
| 5384 |
echo "$as_me:5414:" \ |
echo "$as_me:5384:" \ |
| 5385 |
"checking for Fortran 77 compiler version" >&5 |
"checking for Fortran 77 compiler version" >&5 |
| 5386 |
ac_compiler=`set X $ac_compile; echo $2` |
ac_compiler=`set X $ac_compile; echo $2` |
| 5387 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
| 6386 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
| 6387 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 6388 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 6389 |
(eval echo "\"\$as_me:6419: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6389: $lt_compile\"" >&5) |
| 6390 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
| 6391 |
ac_status=$? |
ac_status=$? |
| 6392 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 6393 |
echo "$as_me:6423: \$? = $ac_status" >&5 |
echo "$as_me:6393: \$? = $ac_status" >&5 |
| 6394 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 6395 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 6396 |
# So say no if there are warnings |
# So say no if there are warnings |
| 6633 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
| 6634 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 6635 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 6636 |
(eval echo "\"\$as_me:6666: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6636: $lt_compile\"" >&5) |
| 6637 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
| 6638 |
ac_status=$? |
ac_status=$? |
| 6639 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 6640 |
echo "$as_me:6670: \$? = $ac_status" >&5 |
echo "$as_me:6640: \$? = $ac_status" >&5 |
| 6641 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 6642 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 6643 |
# So say no if there are warnings |
# So say no if there are warnings |
| 6700 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
| 6701 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 6702 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 6703 |
(eval echo "\"\$as_me:6733: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6703: $lt_compile\"" >&5) |
| 6704 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
| 6705 |
ac_status=$? |
ac_status=$? |
| 6706 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
| 6707 |
echo "$as_me:6737: \$? = $ac_status" >&5 |
echo "$as_me:6707: \$? = $ac_status" >&5 |
| 6708 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 6709 |
then |
then |
| 6710 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 8065 |
libsuff= |
libsuff= |
| 8066 |
case "$host_cpu" in |
case "$host_cpu" in |
| 8067 |
x86_64*|s390x*) |
x86_64*|s390x*) |
| 8068 |
echo '#line 8098 "configure"' > conftest.$ac_ext |
echo '#line 8068 "configure"' > conftest.$ac_ext |
| 8069 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 8070 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
| 8071 |
ac_status=$? |
ac_status=$? |
| 8761 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 8762 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
| 8763 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 8764 |
#line 8794 "configure" |
#line 8764 "configure" |
| 8765 |
#include "confdefs.h" |
#include "confdefs.h" |
| 8766 |
|
|
| 8767 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
| 8859 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 8860 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
| 8861 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 8862 |
#line 8892 "configure" |
#line 8862 "configure" |
| 8863 |
#include "confdefs.h" |
#include "confdefs.h" |
| 8864 |
|
|
| 8865 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
| 11039 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
| 11040 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 11041 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 11042 |
(eval echo "\"\$as_me:11072: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:11042: $lt_compile\"" >&5) |
| 11043 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
| 11044 |
ac_status=$? |
ac_status=$? |
| 11045 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 11046 |
echo "$as_me:11076: \$? = $ac_status" >&5 |
echo "$as_me:11046: \$? = $ac_status" >&5 |
| 11047 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 11048 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 11049 |
# So say no if there are warnings |
# So say no if there are warnings |
| 11106 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
| 11107 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 11108 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 11109 |
(eval echo "\"\$as_me:11139: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:11109: $lt_compile\"" >&5) |
| 11110 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
| 11111 |
ac_status=$? |
ac_status=$? |
| 11112 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
| 11113 |
echo "$as_me:11143: \$? = $ac_status" >&5 |
echo "$as_me:11113: \$? = $ac_status" >&5 |
| 11114 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 11115 |
then |
then |
| 11116 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 11677 |
libsuff= |
libsuff= |
| 11678 |
case "$host_cpu" in |
case "$host_cpu" in |
| 11679 |
x86_64*|s390x*) |
x86_64*|s390x*) |
| 11680 |
echo '#line 11710 "configure"' > conftest.$ac_ext |
echo '#line 11680 "configure"' > conftest.$ac_ext |
| 11681 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 11682 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
| 11683 |
ac_status=$? |
ac_status=$? |
| 12373 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 12374 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
| 12375 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 12376 |
#line 12406 "configure" |
#line 12376 "configure" |
| 12377 |
#include "confdefs.h" |
#include "confdefs.h" |
| 12378 |
|
|
| 12379 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
| 12471 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 12472 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
| 12473 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 12474 |
#line 12504 "configure" |
#line 12474 "configure" |
| 12475 |
#include "confdefs.h" |
#include "confdefs.h" |
| 12476 |
|
|
| 12477 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
| 13308 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
| 13309 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 13310 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 13311 |
(eval echo "\"\$as_me:13341: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:13311: $lt_compile\"" >&5) |
| 13312 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
| 13313 |
ac_status=$? |
ac_status=$? |
| 13314 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 13315 |
echo "$as_me:13345: \$? = $ac_status" >&5 |
echo "$as_me:13315: \$? = $ac_status" >&5 |
| 13316 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 13317 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 13318 |
# So say no if there are warnings |
# So say no if there are warnings |
| 13375 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
| 13376 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 13377 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 13378 |
(eval echo "\"\$as_me:13408: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:13378: $lt_compile\"" >&5) |
| 13379 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
| 13380 |
ac_status=$? |
ac_status=$? |
| 13381 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
| 13382 |
echo "$as_me:13412: \$? = $ac_status" >&5 |
echo "$as_me:13382: \$? = $ac_status" >&5 |
| 13383 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 13384 |
then |
then |
| 13385 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 14718 |
libsuff= |
libsuff= |
| 14719 |
case "$host_cpu" in |
case "$host_cpu" in |
| 14720 |
x86_64*|s390x*) |
x86_64*|s390x*) |
| 14721 |
echo '#line 14751 "configure"' > conftest.$ac_ext |
echo '#line 14721 "configure"' > conftest.$ac_ext |
| 14722 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 14723 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
| 14724 |
ac_status=$? |
ac_status=$? |
| 15364 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
| 15365 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 15366 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 15367 |
(eval echo "\"\$as_me:15397: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:15367: $lt_compile\"" >&5) |
| 15368 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
| 15369 |
ac_status=$? |
ac_status=$? |
| 15370 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 15371 |
echo "$as_me:15401: \$? = $ac_status" >&5 |
echo "$as_me:15371: \$? = $ac_status" >&5 |
| 15372 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 15373 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 15374 |
# So say no if there are warnings |
# So say no if there are warnings |
| 15611 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
| 15612 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 15613 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 15614 |
(eval echo "\"\$as_me:15644: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:15614: $lt_compile\"" >&5) |
| 15615 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
| 15616 |
ac_status=$? |
ac_status=$? |
| 15617 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 15618 |
echo "$as_me:15648: \$? = $ac_status" >&5 |
echo "$as_me:15618: \$? = $ac_status" >&5 |
| 15619 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 15620 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 15621 |
# So say no if there are warnings |
# So say no if there are warnings |
| 15678 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
| 15679 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 15680 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 15681 |
(eval echo "\"\$as_me:15711: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:15681: $lt_compile\"" >&5) |
| 15682 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
| 15683 |
ac_status=$? |
ac_status=$? |
| 15684 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
| 15685 |
echo "$as_me:15715: \$? = $ac_status" >&5 |
echo "$as_me:15685: \$? = $ac_status" >&5 |
| 15686 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 15687 |
then |
then |
| 15688 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 17043 |
libsuff= |
libsuff= |
| 17044 |
case "$host_cpu" in |
case "$host_cpu" in |
| 17045 |
x86_64*|s390x*) |
x86_64*|s390x*) |
| 17046 |
echo '#line 17076 "configure"' > conftest.$ac_ext |
echo '#line 17046 "configure"' > conftest.$ac_ext |
| 17047 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 17048 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
| 17049 |
ac_status=$? |
ac_status=$? |
| 17739 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 17740 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
| 17741 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 17742 |
#line 17772 "configure" |
#line 17742 "configure" |
| 17743 |
#include "confdefs.h" |
#include "confdefs.h" |
| 17744 |
|
|
| 17745 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
| 17837 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 17838 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
| 17839 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 17840 |
#line 17870 "configure" |
#line 17840 "configure" |
| 17841 |
#include "confdefs.h" |
#include "confdefs.h" |
| 17842 |
|
|
| 17843 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
| 21151 |
|
|
| 21152 |
|
|
| 21153 |
|
|
| 21154 |
for ac_header in vfork.h errno.h fcntl.h float.h limits.h \ |
|
| 21155 |
malloc.h memory.h stdlib.h string.h strings.h \ |
|
| 21156 |
sys/ioctl.h sys/file.h sys/param.h sys/time.h \ |
for ac_header in fcntl.h float.h locale.h malloc.h stddef.h stdlib.h string.h strings.h sys/file.h sys/ioctl.h sys/param.h sys/time.h sys/timeb.h termios.h unistd.h \ |
| 21157 |
sys/timeb.h termios.h unistd.h ncurses.h termcap.h \ |
vfork.h errno.h limits.h memory.h getopt.h pwd.h \ |
| 21158 |
curses.h term.h getopt.h pwd.h \ |
ncurses.h termcap.h curses.h term.h \ |
| 21159 |
windows.h direct.h io.h process.h |
windows.h direct.h io.h process.h |
| 21160 |
do |
do |
| 21161 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 21299 |
|
|
| 21300 |
|
|
| 21301 |
# Checks for typedefs, structures, and compiler characteristics. |
# Checks for typedefs, structures, and compiler characteristics. |
| 21302 |
|
echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 |
| 21303 |
|
echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6 |
| 21304 |
|
if test "${ac_cv_header_stdbool_h+set}" = set; then |
| 21305 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 21306 |
|
else |
| 21307 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 21308 |
|
#line $LINENO "configure" |
| 21309 |
|
/* confdefs.h. */ |
| 21310 |
|
_ACEOF |
| 21311 |
|
cat confdefs.h >>conftest.$ac_ext |
| 21312 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 21313 |
|
/* end confdefs.h. */ |
| 21314 |
|
|
| 21315 |
|
#include <stdbool.h> |
| 21316 |
|
#ifndef bool |
| 21317 |
|
# error bool is not defined |
| 21318 |
|
#endif |
| 21319 |
|
#ifndef false |
| 21320 |
|
# error false is not defined |
| 21321 |
|
#endif |
| 21322 |
|
#if false |
| 21323 |
|
# error false is not 0 |
| 21324 |
|
#endif |
| 21325 |
|
#ifndef true |
| 21326 |
|
# error true is not defined |
| 21327 |
|
#endif |
| 21328 |
|
#if true != 1 |
| 21329 |
|
# error true is not 1 |
| 21330 |
|
#endif |
| 21331 |
|
#ifndef __bool_true_false_are_defined |
| 21332 |
|
# error __bool_true_false_are_defined is not defined |
| 21333 |
|
#endif |
| 21334 |
|
|
| 21335 |
|
struct s { _Bool s: 1; _Bool t; } s; |
| 21336 |
|
|
| 21337 |
|
char a[true == 1 ? 1 : -1]; |
| 21338 |
|
char b[false == 0 ? 1 : -1]; |
| 21339 |
|
char c[__bool_true_false_are_defined == 1 ? 1 : -1]; |
| 21340 |
|
char d[(bool) -0.5 == true ? 1 : -1]; |
| 21341 |
|
bool e = &s; |
| 21342 |
|
char f[(_Bool) -0.0 == false ? 1 : -1]; |
| 21343 |
|
char g[true]; |
| 21344 |
|
char h[sizeof (_Bool)]; |
| 21345 |
|
char i[sizeof s.t]; |
| 21346 |
|
|
| 21347 |
|
int |
| 21348 |
|
main () |
| 21349 |
|
{ |
| 21350 |
|
return !a + !b + !c + !d + !e + !f + !g + !h + !i; |
| 21351 |
|
; |
| 21352 |
|
return 0; |
| 21353 |
|
} |
| 21354 |
|
_ACEOF |
| 21355 |
|
rm -f conftest.$ac_objext |
| 21356 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 21357 |
|
(eval $ac_compile) 2>&5 |
| 21358 |
|
ac_status=$? |
| 21359 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 21360 |
|
(exit $ac_status); } && |
| 21361 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 21362 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 21363 |
|
(eval $ac_try) 2>&5 |
| 21364 |
|
ac_status=$? |
| 21365 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 21366 |
|
(exit $ac_status); }; }; then |
| 21367 |
|
ac_cv_header_stdbool_h=yes |
| 21368 |
|
else |
| 21369 |
|
echo "$as_me: failed program was:" >&5 |
| 21370 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 21371 |
|
|
| 21372 |
|
ac_cv_header_stdbool_h=no |
| 21373 |
|
fi |
| 21374 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
| 21375 |
|
fi |
| 21376 |
|
echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 |
| 21377 |
|
echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6 |
| 21378 |
|
echo "$as_me:$LINENO: checking for _Bool" >&5 |
| 21379 |
|
echo $ECHO_N "checking for _Bool... $ECHO_C" >&6 |
| 21380 |
|
if test "${ac_cv_type__Bool+set}" = set; then |
| 21381 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 21382 |
|
else |
| 21383 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 21384 |
|
#line $LINENO "configure" |
| 21385 |
|
/* confdefs.h. */ |
| 21386 |
|
_ACEOF |
| 21387 |
|
cat confdefs.h >>conftest.$ac_ext |
| 21388 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 21389 |
|
/* end confdefs.h. */ |
| 21390 |
|
$ac_includes_default |
| 21391 |
|
int |
| 21392 |
|
main () |
| 21393 |
|
{ |
| 21394 |
|
if ((_Bool *) 0) |
| 21395 |
|
return 0; |
| 21396 |
|
if (sizeof (_Bool)) |
| 21397 |
|
return 0; |
| 21398 |
|
; |
| 21399 |
|
return 0; |
| 21400 |
|
} |
| 21401 |
|
_ACEOF |
| 21402 |
|
rm -f conftest.$ac_objext |
| 21403 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 21404 |
|
(eval $ac_compile) 2>&5 |
| 21405 |
|
ac_status=$? |
| 21406 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 21407 |
|
(exit $ac_status); } && |
| 21408 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 21409 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 21410 |
|
(eval $ac_try) 2>&5 |
| 21411 |
|
ac_status=$? |
| 21412 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 21413 |
|
(exit $ac_status); }; }; then |
| 21414 |
|
ac_cv_type__Bool=yes |
| 21415 |
|
else |
| 21416 |
|
echo "$as_me: failed program was:" >&5 |
| 21417 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 21418 |
|
|
| 21419 |
|
ac_cv_type__Bool=no |
| 21420 |
|
fi |
| 21421 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
| 21422 |
|
fi |
| 21423 |
|
echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 |
| 21424 |
|
echo "${ECHO_T}$ac_cv_type__Bool" >&6 |
| 21425 |
|
if test $ac_cv_type__Bool = yes; then |
| 21426 |
|
|
| 21427 |
|
cat >>confdefs.h <<_ACEOF |
| 21428 |
|
#define HAVE__BOOL 1 |
| 21429 |
|
_ACEOF |
| 21430 |
|
|
| 21431 |
|
|
| 21432 |
|
fi |
| 21433 |
|
|
| 21434 |
|
if test $ac_cv_header_stdbool_h = yes; then |
| 21435 |
|
|
| 21436 |
|
cat >>confdefs.h <<\_ACEOF |
| 21437 |
|
#define HAVE_STDBOOL_H 1 |
| 21438 |
|
_ACEOF |
| 21439 |
|
|
| 21440 |
|
fi |
| 21441 |
|
|
| 21442 |
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
| 21443 |
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
| 21444 |
if test "${ac_cv_c_const+set}" = set; then |
if test "${ac_cv_c_const+set}" = set; then |
| 21595 |
;; |
;; |
| 21596 |
esac |
esac |
| 21597 |
|
|
| 21598 |
|
echo "$as_me:$LINENO: checking for pid_t" >&5 |
| 21599 |
|
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 |
| 21600 |
|
if test "${ac_cv_type_pid_t+set}" = set; then |
| 21601 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 21602 |
|
else |
| 21603 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 21604 |
|
#line $LINENO "configure" |
| 21605 |
|
/* confdefs.h. */ |
| 21606 |
|
_ACEOF |
| 21607 |
|
cat confdefs.h >>conftest.$ac_ext |
| 21608 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 21609 |
|
/* end confdefs.h. */ |
| 21610 |
|
$ac_includes_default |
| 21611 |
|
int |
| 21612 |
|
main () |
| 21613 |
|
{ |
| 21614 |
|
if ((pid_t *) 0) |
| 21615 |
|
return 0; |
| 21616 |
|
if (sizeof (pid_t)) |
| 21617 |
|
return 0; |
| 21618 |
|
; |
| 21619 |
|
return 0; |
| 21620 |
|
} |
| 21621 |
|
_ACEOF |
| 21622 |
|
rm -f conftest.$ac_objext |
| 21623 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 21624 |
|
(eval $ac_compile) 2>&5 |
| 21625 |
|
ac_status=$? |
| 21626 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 21627 |
|
(exit $ac_status); } && |
| 21628 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 21629 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 21630 |
|
(eval $ac_try) 2>&5 |
| 21631 |
|
ac_status=$? |
| 21632 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 21633 |
|
(exit $ac_status); }; }; then |
| 21634 |
|
ac_cv_type_pid_t=yes |
| 21635 |
|
else |
| 21636 |
|
echo "$as_me: failed program was:" >&5 |
| 21637 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 21638 |
|
|
| 21639 |
|
ac_cv_type_pid_t=no |
| 21640 |
|
fi |
| 21641 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
| 21642 |
|
fi |
| 21643 |
|
echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 |
| 21644 |
|
echo "${ECHO_T}$ac_cv_type_pid_t" >&6 |
| 21645 |
|
if test $ac_cv_type_pid_t = yes; then |
| 21646 |
|
: |
| 21647 |
|
else |
| 21648 |
|
|
| 21649 |
|
cat >>confdefs.h <<_ACEOF |
| 21650 |
|
#define pid_t int |
| 21651 |
|
_ACEOF |
| 21652 |
|
|
| 21653 |
|
fi |
| 21654 |
|
|
| 21655 |
echo "$as_me:$LINENO: checking for size_t" >&5 |
echo "$as_me:$LINENO: checking for size_t" >&5 |
| 21656 |
echo $ECHO_N "checking for size_t... $ECHO_C" >&6 |
echo $ECHO_N "checking for size_t... $ECHO_C" >&6 |
| 21657 |
if test "${ac_cv_type_size_t+set}" = set; then |
if test "${ac_cv_type_size_t+set}" = set; then |
| 21917 |
|
|
| 21918 |
|
|
| 21919 |
# Checks for library functions. |
# Checks for library functions. |
| 21920 |
echo "$as_me:$LINENO: checking for error_at_line" >&5 |
echo "$as_me:$LINENO: checking whether closedir returns void" >&5 |
| 21921 |
echo $ECHO_N "checking for error_at_line... $ECHO_C" >&6 |
echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6 |
| 21922 |
if test "${ac_cv_lib_error_at_line+set}" = set; then |
if test "${ac_cv_func_closedir_void+set}" = set; then |
| 21923 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 21924 |
else |
else |
| 21925 |
|
if test "$cross_compiling" = yes; then |
| 21926 |
|
ac_cv_func_closedir_void=yes |
| 21927 |
|
else |
| 21928 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
| 21929 |
#line $LINENO "configure" |
#line $LINENO "configure" |
| 21930 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 21932 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 21933 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
| 21934 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
| 21935 |
|
$ac_includes_default |
| 21936 |
|
#include <$ac_header_dirent> |
| 21937 |
|
#ifndef __cplusplus |
| 21938 |
|
int closedir (); |
| 21939 |
|
#endif |
| 21940 |
|
|
| 21941 |
int |
int |
| 21942 |
main () |
main () |
| 21943 |
{ |
{ |
| 21944 |
error_at_line (0, 0, "", 0, ""); |
exit (closedir (opendir (".")) != 0); |
| 21945 |
; |
; |
| 21946 |
return 0; |
return 0; |
| 21947 |
} |
} |
| 21948 |
_ACEOF |
_ACEOF |
| 21949 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest$ac_exeext |
| 21950 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 21951 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
| 21952 |
ac_status=$? |
ac_status=$? |
| 21953 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 21954 |
(exit $ac_status); } && |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
{ ac_try='test -s conftest$ac_exeext' |
|
| 21955 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 21956 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 21957 |
ac_status=$? |
ac_status=$? |
| 21958 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 21959 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
| 21960 |
ac_cv_lib_error_at_line=yes |
ac_cv_func_closedir_void=no |
| 21961 |
else |
else |
| 21962 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
| 21963 |
|
echo "$as_me: failed program was:" >&5 |
| 21964 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 21965 |
|
|
| 21966 |
ac_cv_lib_error_at_line=no |
( exit $ac_status ) |
| 21967 |
fi |
ac_cv_func_closedir_void=yes |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_error_at_line" >&5 |
|
|
echo "${ECHO_T}$ac_cv_lib_error_at_line" >&6 |
|
|
if test $ac_cv_lib_error_at_line = no; then |
|
|
LIBOBJS="$LIBOBJS error.$ac_objext" |
|
| 21968 |
fi |
fi |
| 21969 |
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
echo "$as_me:$LINENO: checking for pid_t" >&5 |
|
|
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 |
|
|
if test "${ac_cv_type_pid_t+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
#line $LINENO "configure" |
|
|
/* confdefs.h. */ |
|
|
_ACEOF |
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
/* end confdefs.h. */ |
|
|
$ac_includes_default |
|
|
int |
|
|
main () |
|
|
{ |
|
|
if ((pid_t *) 0) |
|
|
return 0; |
|
|
if (sizeof (pid_t)) |
|
|
return 0; |
|
|
; |
|
|
return 0; |
|
|
} |
|
|
_ACEOF |
|
|
rm -f conftest.$ac_objext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
(eval $ac_compile) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } && |
|
|
{ ac_try='test -s conftest.$ac_objext' |
|
|
{ (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 |
|
|
ac_cv_type_pid_t=yes |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
ac_cv_type_pid_t=no |
|
| 21970 |
fi |
fi |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
|
| 21971 |
fi |
fi |
| 21972 |
echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5 |
| 21973 |
echo "${ECHO_T}$ac_cv_type_pid_t" >&6 |
echo "${ECHO_T}$ac_cv_func_closedir_void" >&6 |
| 21974 |
if test $ac_cv_type_pid_t = yes; then |
if test $ac_cv_func_closedir_void = yes; then |
|
: |
|
|
else |
|
| 21975 |
|
|
| 21976 |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<\_ACEOF |
| 21977 |
#define pid_t int |
#define CLOSEDIR_VOID 1 |
| 21978 |
_ACEOF |
_ACEOF |
| 21979 |
|
|
| 21980 |
fi |
fi |
| 22625 |
|
|
| 22626 |
fi |
fi |
| 22627 |
|
|
| 22628 |
|
echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5 |
| 22629 |
|
echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6 |
| 22630 |
|
if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then |
| 22631 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 22632 |
|
else |
| 22633 |
|
rm -f conftest.sym conftest.file |
| 22634 |
|
echo >conftest.file |
| 22635 |
|
if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then |
| 22636 |
|
if test "$cross_compiling" = yes; then |
| 22637 |
|
ac_cv_func_lstat_dereferences_slashed_symlink=no |
| 22638 |
|
else |
| 22639 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 22640 |
|
#line $LINENO "configure" |
| 22641 |
|
/* confdefs.h. */ |
| 22642 |
|
_ACEOF |
| 22643 |
|
cat confdefs.h >>conftest.$ac_ext |
| 22644 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 22645 |
|
/* end confdefs.h. */ |
| 22646 |
|
$ac_includes_default |
| 22647 |
|
int |
| 22648 |
|
main () |
| 22649 |
|
{ |
| 22650 |
|
struct stat sbuf; |
| 22651 |
|
/* Linux will dereference the symlink and fail. |
| 22652 |
|
That is better in the sense that it means we will not |
| 22653 |
|
have to compile and use the lstat wrapper. */ |
| 22654 |
|
exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1); |
| 22655 |
|
; |
| 22656 |
|
return 0; |
| 22657 |
|
} |
| 22658 |
|
_ACEOF |
| 22659 |
|
rm -f conftest$ac_exeext |
| 22660 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 22661 |
|
(eval $ac_link) 2>&5 |
| 22662 |
|
ac_status=$? |
| 22663 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 22664 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 22665 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 22666 |
|
(eval $ac_try) 2>&5 |
| 22667 |
|
ac_status=$? |
| 22668 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 22669 |
|
(exit $ac_status); }; }; then |
| 22670 |
|
ac_cv_func_lstat_dereferences_slashed_symlink=yes |
| 22671 |
|
else |
| 22672 |
|
echo "$as_me: program exited with status $ac_status" >&5 |
| 22673 |
|
echo "$as_me: failed program was:" >&5 |
| 22674 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 22675 |
|
|
| 22676 |
|
( exit $ac_status ) |
| 22677 |
|
ac_cv_func_lstat_dereferences_slashed_symlink=no |
| 22678 |
|
fi |
| 22679 |
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 22680 |
|
fi |
| 22681 |
|
else |
| 22682 |
|
# If the `ln -s' command failed, then we probably don't even |
| 22683 |
|
# have an lstat function. |
| 22684 |
|
ac_cv_func_lstat_dereferences_slashed_symlink=no |
| 22685 |
|
fi |
| 22686 |
|
rm -f conftest.sym conftest.file |
| 22687 |
|
|
| 22688 |
|
fi |
| 22689 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5 |
| 22690 |
|
echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6 |
| 22691 |
|
|
| 22692 |
|
test $ac_cv_func_lstat_dereferences_slashed_symlink = yes && |
| 22693 |
|
|
| 22694 |
|
cat >>confdefs.h <<_ACEOF |
| 22695 |
|
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 |
| 22696 |
|
_ACEOF |
| 22697 |
|
|
| 22698 |
|
|
| 22699 |
|
if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then |
| 22700 |
|
LIBOBJS="$LIBOBJS lstat.$ac_objext" |
| 22701 |
|
fi |
| 22702 |
|
|
| 22703 |
|
|
| 22704 |
for ac_header in stdlib.h |
for ac_header in stdlib.h |
| 22705 |
do |
do |
| 23320 |
fi |
fi |
| 23321 |
rm -f conftest.mmap |
rm -f conftest.mmap |
| 23322 |
|
|
| 23323 |
|
|
| 23324 |
|
for ac_header in stdlib.h |
| 23325 |
|
do |
| 23326 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 23327 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 23328 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 23329 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 23330 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 23331 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 23332 |
|
fi |
| 23333 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 23334 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 23335 |
|
else |
| 23336 |
|
# Is the header compilable? |
| 23337 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 23338 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 23339 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 23340 |
|
#line $LINENO "configure" |
| 23341 |
|
/* confdefs.h. */ |
| 23342 |
|
_ACEOF |
| 23343 |
|
cat confdefs.h >>conftest.$ac_ext |
| 23344 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 23345 |
|
/* end confdefs.h. */ |
| 23346 |
|
$ac_includes_default |
| 23347 |
|
#include <$ac_header> |
| 23348 |
|
_ACEOF |
| 23349 |
|
rm -f conftest.$ac_objext |
| 23350 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 23351 |
|
(eval $ac_compile) 2>&5 |
| 23352 |
|
ac_status=$? |
| 23353 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 23354 |
|
(exit $ac_status); } && |
| 23355 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 23356 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 23357 |
|
(eval $ac_try) 2>&5 |
| 23358 |
|
ac_status=$? |
| 23359 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 23360 |
|
(exit $ac_status); }; }; then |
| 23361 |
|
ac_header_compiler=yes |
| 23362 |
|
else |
| 23363 |
|
echo "$as_me: failed program was:" >&5 |
| 23364 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 23365 |
|
|
| 23366 |
|
ac_header_compiler=no |
| 23367 |
|
fi |
| 23368 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
| 23369 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 23370 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 23371 |
|
|
| 23372 |
|
# Is the header present? |
| 23373 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 23374 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 23375 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 23376 |
|
#line $LINENO "configure" |
| 23377 |
|
/* confdefs.h. */ |
| 23378 |
|
_ACEOF |
| 23379 |
|
cat confdefs.h >>conftest.$ac_ext |
| 23380 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 23381 |
|
/* end confdefs.h. */ |
| 23382 |
|
#include <$ac_header> |
| 23383 |
|
_ACEOF |
| 23384 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 23385 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 23386 |
|
ac_status=$? |
| 23387 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 23388 |
|
rm -f conftest.er1 |
| 23389 |
|
cat conftest.err >&5 |
| 23390 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 23391 |
|
(exit $ac_status); } >/dev/null; then |
| 23392 |
|
if test -s conftest.err; then |
| 23393 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
| 23394 |
|
else |
| 23395 |
|
ac_cpp_err= |
| 23396 |
|
fi |
| 23397 |
|
else |
| 23398 |
|
ac_cpp_err=yes |
| 23399 |
|
fi |
| 23400 |
|
if test -z "$ac_cpp_err"; then |
| 23401 |
|
ac_header_preproc=yes |
| 23402 |
|
else |
| 23403 |
|
echo "$as_me: failed program was:" >&5 |
| 23404 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 23405 |
|
|
| 23406 |
|
ac_header_preproc=no |
| 23407 |
|
fi |
| 23408 |
|
rm -f conftest.err conftest.$ac_ext |
| 23409 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 23410 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 23411 |
|
|
| 23412 |
|
# So? What about this header? |
| 23413 |
|
case $ac_header_compiler:$ac_header_preproc in |
| 23414 |
|
yes:no ) |
| 23415 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 23416 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 23417 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 23418 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 23419 |
|
( |
| 23420 |
|
cat <<\_ASBOX |
| 23421 |
|
## ------------------------------------ ## |
| 23422 |
|
## Report this to bug-autoconf@gnu.org. ## |
| 23423 |
|
## ------------------------------------ ## |
| 23424 |
|
_ASBOX |
| 23425 |
|
) | |
| 23426 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
| 23427 |
|
;; |
| 23428 |
|
no:yes ) |
| 23429 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 23430 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 23431 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 23432 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 23433 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 23434 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 23435 |
|
( |
| 23436 |
|
cat <<\_ASBOX |
| 23437 |
|
## ------------------------------------ ## |
| 23438 |
|
## Report this to bug-autoconf@gnu.org. ## |
| 23439 |
|
## ------------------------------------ ## |
| 23440 |
|
_ASBOX |
| 23441 |
|
) | |
| 23442 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
| 23443 |
|
;; |
| 23444 |
|
esac |
| 23445 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 23446 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 23447 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 23448 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 23449 |
|
else |
| 23450 |
|
eval "$as_ac_Header=$ac_header_preproc" |
| 23451 |
|
fi |
| 23452 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 23453 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 23454 |
|
|
| 23455 |
|
fi |
| 23456 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 23457 |
|
cat >>confdefs.h <<_ACEOF |
| 23458 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 23459 |
|
_ACEOF |
| 23460 |
|
|
| 23461 |
|
fi |
| 23462 |
|
|
| 23463 |
|
done |
| 23464 |
|
|
| 23465 |
|
echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5 |
| 23466 |
|
echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6 |
| 23467 |
|
if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then |
| 23468 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 23469 |
|
else |
| 23470 |
|
if test "$cross_compiling" = yes; then |
| 23471 |
|
ac_cv_func_realloc_0_nonnull=no |
| 23472 |
|
else |
| 23473 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 23474 |
|
#line $LINENO "configure" |
| 23475 |
|
/* confdefs.h. */ |
| 23476 |
|
_ACEOF |
| 23477 |
|
cat confdefs.h >>conftest.$ac_ext |
| 23478 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 23479 |
|
/* end confdefs.h. */ |
| 23480 |
|
#if STDC_HEADERS || HAVE_STDLIB_H |
| 23481 |
|
# include <stdlib.h> |
| 23482 |
|
#else |
| 23483 |
|
char *realloc (); |
| 23484 |
|
#endif |
| 23485 |
|
|
| 23486 |
|
int |
| 23487 |
|
main () |
| 23488 |
|
{ |
| 23489 |
|
exit (realloc (0, 0) ? 0 : 1); |
| 23490 |
|
; |
| 23491 |
|
return 0; |
| 23492 |
|
} |
| 23493 |
|
_ACEOF |
| 23494 |
|
rm -f conftest$ac_exeext |
| 23495 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 23496 |
|
(eval $ac_link) 2>&5 |
| 23497 |
|
ac_status=$? |
| 23498 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 23499 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 23500 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 23501 |
|
(eval $ac_try) 2>&5 |
| 23502 |
|
ac_status=$? |
| 23503 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 23504 |
|
(exit $ac_status); }; }; then |
| 23505 |
|
ac_cv_func_realloc_0_nonnull=yes |
| 23506 |
|
else |
| 23507 |
|
echo "$as_me: program exited with status $ac_status" >&5 |
| 23508 |
|
echo "$as_me: failed program was:" >&5 |
| 23509 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 23510 |
|
|
| 23511 |
|
( exit $ac_status ) |
| 23512 |
|
ac_cv_func_realloc_0_nonnull=no |
| 23513 |
|
fi |
| 23514 |
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 23515 |
|
fi |
| 23516 |
|
fi |
| 23517 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5 |
| 23518 |
|
echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6 |
| 23519 |
|
if test $ac_cv_func_realloc_0_nonnull = yes; then |
| 23520 |
|
|
| 23521 |
|
cat >>confdefs.h <<\_ACEOF |
| 23522 |
|
#define HAVE_REALLOC 1 |
| 23523 |
|
_ACEOF |
| 23524 |
|
|
| 23525 |
|
else |
| 23526 |
|
cat >>confdefs.h <<\_ACEOF |
| 23527 |
|
#define HAVE_REALLOC 0 |
| 23528 |
|
_ACEOF |
| 23529 |
|
|
| 23530 |
|
LIBOBJS="$LIBOBJS realloc.$ac_objext" |
| 23531 |
|
|
| 23532 |
|
cat >>confdefs.h <<\_ACEOF |
| 23533 |
|
#define realloc rpl_realloc |
| 23534 |
|
_ACEOF |
| 23535 |
|
|
| 23536 |
|
fi |
| 23537 |
|
|
| 23538 |
|
|
| 23539 |
|
|
| 23540 |
echo "$as_me:$LINENO: checking return type of signal handlers" >&5 |
echo "$as_me:$LINENO: checking return type of signal handlers" >&5 |
| 23541 |
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 |
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 |
| 23542 |
if test "${ac_cv_type_signal+set}" = set; then |
if test "${ac_cv_type_signal+set}" = set; then |
| 23656 |
|
|
| 23657 |
fi |
fi |
| 23658 |
|
|
| 23659 |
|
echo "$as_me:$LINENO: checking for working strtod" >&5 |
| 23660 |
|
echo $ECHO_N "checking for working strtod... $ECHO_C" >&6 |
| 23661 |
|
if test "${ac_cv_func_strtod+set}" = set; then |
| 23662 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 23663 |
|
else |
| 23664 |
|
if test "$cross_compiling" = yes; then |
| 23665 |
|
ac_cv_func_strtod=no |
| 23666 |
|
else |
| 23667 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 23668 |
|
#line $LINENO "configure" |
| 23669 |
|
/* confdefs.h. */ |
| 23670 |
|
_ACEOF |
| 23671 |
|
cat confdefs.h >>conftest.$ac_ext |
| 23672 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 23673 |
|
/* end confdefs.h. */ |
| 23674 |
|
|
| 23675 |
|
double strtod (); |
| 23676 |
|
int |
| 23677 |
|
main() |
| 23678 |
|
{ |
| 23679 |
|
{ |
| 23680 |
|
/* Some versions of Linux strtod mis-parse strings with leading '+'. */ |
| 23681 |
|
char *string = " +69"; |
| 23682 |
|
char *term; |
| 23683 |
|
double value; |
| 23684 |
|
value = strtod (string, &term); |
| 23685 |
|
if (value != 69 || term != (string + 4)) |
| 23686 |
|
exit (1); |
| 23687 |
|
} |
| 23688 |
|
|
| 23689 |
|
{ |
| 23690 |
|
/* Under Solaris 2.4, strtod returns the wrong value for the |
| 23691 |
|
terminating character under some conditions. */ |
| 23692 |
|
char *string = "NaN"; |
| 23693 |
|
char *term; |
| 23694 |
|
strtod (string, &term); |
| 23695 |
|
if (term != string && *(term - 1) == 0) |
| 23696 |
|
exit (1); |
| 23697 |
|
} |
| 23698 |
|
exit (0); |
| 23699 |
|
} |
| 23700 |
|
|
| 23701 |
|
_ACEOF |
| 23702 |
|
rm -f conftest$ac_exeext |
| 23703 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 23704 |
|
(eval $ac_link) 2>&5 |
| 23705 |
|
ac_status=$? |
| 23706 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 23707 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 23708 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 23709 |
|
(eval $ac_try) 2>&5 |
| 23710 |
|
ac_status=$? |
| 23711 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 23712 |
|
(exit $ac_status); }; }; then |
| 23713 |
|
ac_cv_func_strtod=yes |
| 23714 |
|
else |
| 23715 |
|
echo "$as_me: program exited with status $ac_status" >&5 |
| 23716 |
|
echo "$as_me: failed program was:" >&5 |
| 23717 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 23718 |
|
|
| 23719 |
|
( exit $ac_status ) |
| 23720 |
|
ac_cv_func_strtod=no |
| 23721 |
|
fi |
| 23722 |
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 23723 |
|
fi |
| 23724 |
|
fi |
| 23725 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5 |
| 23726 |
|
echo "${ECHO_T}$ac_cv_func_strtod" >&6 |
| 23727 |
|
if test $ac_cv_func_strtod = no; then |
| 23728 |
|
LIBOBJS="$LIBOBJS strtod.$ac_objext" |
| 23729 |
|
echo "$as_me:$LINENO: checking for pow" >&5 |
| 23730 |
|
echo $ECHO_N "checking for pow... $ECHO_C" >&6 |
| 23731 |
|
if test "${ac_cv_func_pow+set}" = set; then |
| 23732 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 23733 |
|
else |
| 23734 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 23735 |
|
#line $LINENO "configure" |
| 23736 |
|
/* confdefs.h. */ |
| 23737 |
|
_ACEOF |
| 23738 |
|
cat confdefs.h >>conftest.$ac_ext |
| 23739 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 23740 |
|
/* end confdefs.h. */ |
| 23741 |
|
/* System header to define __stub macros and hopefully few prototypes, |
| 23742 |
|
which can conflict with char pow (); below. |
| 23743 |
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 23744 |
|
<limits.h> exists even on freestanding compilers. */ |
| 23745 |
|
#ifdef __STDC__ |
| 23746 |
|
# include <limits.h> |
| 23747 |
|
#else |
| 23748 |
|
# include <assert.h> |
| 23749 |
|
#endif |
| 23750 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
| 23751 |
|
#ifdef __cplusplus |
| 23752 |
|
extern "C" |
| 23753 |
|
{ |
| 23754 |
|
#endif |
| 23755 |
|
/* We use char because int might match the return type of a gcc2 |
| 23756 |
|
builtin and then its argument prototype would still apply. */ |
| 23757 |
|
char pow (); |
| 23758 |
|
/* The GNU C library defines this for functions which it implements |
| 23759 |
|
to always fail with ENOSYS. Some functions are actually named |
| 23760 |
|
something starting with __ and the normal name is an alias. */ |
| 23761 |
|
#if defined (__stub_pow) || defined (__stub___pow) |
| 23762 |
|
choke me |
| 23763 |
|
#else |
| 23764 |
|
char (*f) () = pow; |
| 23765 |
|
#endif |
| 23766 |
|
#ifdef __cplusplus |
| 23767 |
|
} |
| 23768 |
|
#endif |
| 23769 |
|
|
| 23770 |
|
int |
| 23771 |
|
main () |
| 23772 |
|
{ |
| 23773 |
|
return f != pow; |
| 23774 |
|
; |
| 23775 |
|
return 0; |
| 23776 |
|
} |
| 23777 |
|
_ACEOF |
| 23778 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 23779 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 23780 |
|
(eval $ac_link) 2>&5 |
| 23781 |
|
ac_status=$? |
| 23782 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 23783 |
|
(exit $ac_status); } && |
| 23784 |
|
{ ac_try='test -s conftest$ac_exeext' |
| 23785 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 23786 |
|
(eval $ac_try) 2>&5 |
| 23787 |
|
ac_status=$? |
| 23788 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 23789 |
|
(exit $ac_status); }; }; then |
| 23790 |
|
ac_cv_func_pow=yes |
| 23791 |
|
else |
| 23792 |
|
echo "$as_me: failed program was:" >&5 |
| 23793 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 23794 |
|
|
| 23795 |
|
ac_cv_func_pow=no |
| 23796 |
|
fi |
| 23797 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 23798 |
|
fi |
| 23799 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5 |
| 23800 |
|
echo "${ECHO_T}$ac_cv_func_pow" >&6 |
| 23801 |
|
|
| 23802 |
|
if test $ac_cv_func_pow = no; then |
| 23803 |
|
echo "$as_me:$LINENO: checking for pow in -lm" >&5 |
| 23804 |
|
echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6 |
| 23805 |
|
if test "${ac_cv_lib_m_pow+set}" = set; then |
| 23806 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 23807 |
|
else |
| 23808 |
|
ac_check_lib_save_LIBS=$LIBS |
| 23809 |
|
LIBS="-lm $LIBS" |
| 23810 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 23811 |
|
#line $LINENO "configure" |
| 23812 |
|
/* confdefs.h. */ |
| 23813 |
|
_ACEOF |
| 23814 |
|
cat confdefs.h >>conftest.$ac_ext |
| 23815 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 23816 |
|
/* end confdefs.h. */ |
| 23817 |
|
|
| 23818 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
| 23819 |
|
#ifdef __cplusplus |
| 23820 |
|
extern "C" |
| 23821 |
|
#endif |
| 23822 |
|
/* We use char because int might match the return type of a gcc2 |
| 23823 |
|
builtin and then its argument prototype would still apply. */ |
| 23824 |
|
char pow (); |
| 23825 |
|
int |
| 23826 |
|
main () |
| 23827 |
|
{ |
| 23828 |
|
pow (); |
| 23829 |
|
; |
| 23830 |
|
return 0; |
| 23831 |
|
} |
| 23832 |
|
_ACEOF |
| 23833 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 23834 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 23835 |
|
(eval $ac_link) 2>&5 |
| 23836 |
|
ac_status=$? |
| 23837 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 23838 |
|
(exit $ac_status); } && |
| 23839 |
|
{ ac_try='test -s conftest$ac_exeext' |
| 23840 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 23841 |
|
(eval $ac_try) 2>&5 |
| 23842 |
|
ac_status=$? |
| 23843 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 23844 |
|
(exit $ac_status); }; }; then |
| 23845 |
|
ac_cv_lib_m_pow=yes |
| 23846 |
|
else |
| 23847 |
|
echo "$as_me: failed program was:" >&5 |
| 23848 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 23849 |
|
|
| 23850 |
|
ac_cv_lib_m_pow=no |
| 23851 |
|
fi |
| 23852 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 23853 |
|
LIBS=$ac_check_lib_save_LIBS |
| 23854 |
|
fi |
| 23855 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5 |
| 23856 |
|
echo "${ECHO_T}$ac_cv_lib_m_pow" >&6 |
| 23857 |
|
if test $ac_cv_lib_m_pow = yes; then |
| 23858 |
|
POW_LIB=-lm |
| 23859 |
|
else |
| 23860 |
|
{ echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5 |
| 23861 |
|
echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;} |
| 23862 |
|
fi |
| 23863 |
|
|
| 23864 |
|
fi |
| 23865 |
|
|
| 23866 |
|
fi |
| 23867 |
|
|
| 23868 |
|
|
| 23869 |
for ac_func in vprintf |
for ac_func in vprintf |
| 23870 |
do |
do |
| 24057 |
|
|
| 24058 |
|
|
| 24059 |
|
|
| 24060 |
for ac_func in bzero endpwent floor ftime getcwd gethostname gettimeofday memmove memset mkdir pow putenv rmdir setenv sqrt strchr strdup strerror strpbrk strrchr strstr strtol strncpy snprintf lockf flock vsnprintf |
|
| 24061 |
|
|
| 24062 |
|
for ac_func in endpwent floor ftime getcwd gethostname gettimeofday memset mkdir munmap pow putenv rmdir setenv setlocale sqrt strchr strdup strpbrk strrchr strstr strtol \ |
| 24063 |
|
bzero memmove strerror strncpy snprintf lockf flock vsnprintf |
| 24064 |
do |
do |
| 24065 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 24066 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 24144 |
done |
done |
| 24145 |
|
|
| 24146 |
|
|
| 24147 |
ac_config_files="$ac_config_files Makefile satellite4-config lib/Makefile lib/common/Makefile lib/shell/Makefile shell/Makefile etc/Makefile modules/Makefile modules/util/Makefile modules/system/Makefile modules/ispp/Makefile modules/ncs/Makefile modules/ncs/lib/Makefile modules/ncs/lib/common/Makefile modules/ncs/lib/simulation/Makefile modules/ncs/lib/main/Makefile modules/ncs/command/Makefile modules/ncs/ncspp/Makefile modules/npe/Makefile modules/npe/lib/Makefile modules/npe/lib/common/Makefile modules/npe/lib/estimation/Makefile modules/npe/lib/user/Makefile modules/npe/lib/ncs/Makefile modules/npe/command/Makefile modules/dcm/Makefile modules/statistics/Makefile modules/statistics/script/Makefile modules/statistics/script/data/Makefile" |
ac_config_files="$ac_config_files Makefile satellite4-config lib/Makefile lib/common/Makefile lib/shell/Makefile shell/Makefile etc/Makefile modules/Makefile modules/util/Makefile modules/system/Makefile modules/ispp/Makefile modules/gpm/Makefile modules/gpm/lib/Makefile modules/gpm/command/Makefile modules/gpm/gpm2ps/Makefile modules/gpm/gpmwin/Makefile modules/ncs/Makefile modules/ncs/lib/Makefile modules/ncs/lib/common/Makefile modules/ncs/lib/simulation/Makefile modules/ncs/lib/main/Makefile modules/ncs/command/Makefile modules/ncs/ncspp/Makefile modules/npe/Makefile modules/npe/lib/Makefile modules/npe/lib/common/Makefile modules/npe/lib/estimation/Makefile modules/npe/lib/user/Makefile modules/npe/lib/ncs/Makefile modules/npe/command/Makefile modules/dcm/Makefile modules/statistics/Makefile modules/statistics/script/Makefile modules/statistics/script/data/Makefile" |
|
|
|
|
|
|
|
|
|
|
|
|
|
subdirs="$subdirs modules/gpm-gtk" |
|
|
|
|
| 24148 |
|
|
| 24149 |
cat >confcache <<\_ACEOF |
cat >confcache <<\_ACEOF |
| 24150 |
# This file is a shell script that caches the results of configure |
# This file is a shell script that caches the results of configure |
| 24244 |
Usually this means the macro was only invoked conditionally." >&2;} |
Usually this means the macro was only invoked conditionally." >&2;} |
| 24245 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
| 24246 |
fi |
fi |
| 24247 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
| 24248 |
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. |
| 24249 |
Usually this means the macro was only invoked conditionally." >&5 |
Usually this means the macro was only invoked conditionally." >&5 |
| 24250 |
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. |
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. |
| 24251 |
Usually this means the macro was only invoked conditionally." >&2;} |
Usually this means the macro was only invoked conditionally." >&2;} |
| 24252 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
| 24253 |
fi |
fi |
| 24254 |
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
| 24255 |
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. |
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |
| 24256 |
Usually this means the macro was only invoked conditionally." >&5 |
Usually this means the macro was only invoked conditionally." >&5 |
| 24257 |
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. |
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. |
| 24258 |
Usually this means the macro was only invoked conditionally." >&2;} |
Usually this means the macro was only invoked conditionally." >&2;} |
| 24259 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
| 24260 |
fi |
fi |
| 24719 |
"modules/util/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/util/Makefile" ;; |
"modules/util/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/util/Makefile" ;; |
| 24720 |
"modules/system/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/system/Makefile" ;; |
"modules/system/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/system/Makefile" ;; |
| 24721 |
"modules/ispp/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/ispp/Makefile" ;; |
"modules/ispp/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/ispp/Makefile" ;; |
| 24722 |
|
"modules/gpm/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/gpm/Makefile" ;; |
| 24723 |
|
"modules/gpm/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/gpm/lib/Makefile" ;; |
| 24724 |
|
"modules/gpm/command/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/gpm/command/Makefile" ;; |
| 24725 |
|
"modules/gpm/gpm2ps/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/gpm/gpm2ps/Makefile" ;; |
| 24726 |
|
"modules/gpm/gpmwin/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/gpm/gpmwin/Makefile" ;; |
| 24727 |
"modules/ncs/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/ncs/Makefile" ;; |
"modules/ncs/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/ncs/Makefile" ;; |
| 24728 |
"modules/ncs/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/ncs/lib/Makefile" ;; |
"modules/ncs/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/ncs/lib/Makefile" ;; |
| 24729 |
"modules/ncs/lib/common/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/ncs/lib/common/Makefile" ;; |
"modules/ncs/lib/common/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/ncs/lib/common/Makefile" ;; |
| 24871 |
s,@systemrcdir@,$systemrcdir,;t t |
s,@systemrcdir@,$systemrcdir,;t t |
| 24872 |
s,@modulercdir@,$modulercdir,;t t |
s,@modulercdir@,$modulercdir,;t t |
| 24873 |
s,@MODULE_LDFLAGS@,$MODULE_LDFLAGS,;t t |
s,@MODULE_LDFLAGS@,$MODULE_LDFLAGS,;t t |
| 24874 |
s,@CC@,$CC,;t t |
s,@CXX@,$CXX,;t t |
| 24875 |
s,@CFLAGS@,$CFLAGS,;t t |
s,@CXXFLAGS@,$CXXFLAGS,;t t |
| 24876 |
s,@LDFLAGS@,$LDFLAGS,;t t |
s,@LDFLAGS@,$LDFLAGS,;t t |
| 24877 |
s,@CPPFLAGS@,$CPPFLAGS,;t t |
s,@CPPFLAGS@,$CPPFLAGS,;t t |
| 24878 |
s,@ac_ct_CC@,$ac_ct_CC,;t t |
s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
| 24879 |
s,@EXEEXT@,$EXEEXT,;t t |
s,@EXEEXT@,$EXEEXT,;t t |
| 24880 |
s,@OBJEXT@,$OBJEXT,;t t |
s,@OBJEXT@,$OBJEXT,;t t |
| 24881 |
s,@DEPDIR@,$DEPDIR,;t t |
s,@DEPDIR@,$DEPDIR,;t t |
| 24884 |
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t |
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t |
| 24885 |
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t |
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t |
| 24886 |
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t |
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t |
|
s,@CCDEPMODE@,$CCDEPMODE,;t t |
|
|
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t |
|
|
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t |
|
|
s,@CXX@,$CXX,;t t |
|
|
s,@CXXFLAGS@,$CXXFLAGS,;t t |
|
|
s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
|
| 24887 |
s,@CXXDEPMODE@,$CXXDEPMODE,;t t |
s,@CXXDEPMODE@,$CXXDEPMODE,;t t |
| 24888 |
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t |
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t |
| 24889 |
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t |
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t |
| 24890 |
s,@YACC@,$YACC,;t t |
s,@CC@,$CC,;t t |
| 24891 |
|
s,@CFLAGS@,$CFLAGS,;t t |
| 24892 |
|
s,@ac_ct_CC@,$ac_ct_CC,;t t |
| 24893 |
|
s,@CCDEPMODE@,$CCDEPMODE,;t t |
| 24894 |
|
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t |
| 24895 |
|
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t |
| 24896 |
s,@CPP@,$CPP,;t t |
s,@CPP@,$CPP,;t t |
| 24897 |
s,@LN_S@,$LN_S,;t t |
s,@LN_S@,$LN_S,;t t |
| 24898 |
s,@RANLIB@,$RANLIB,;t t |
s,@RANLIB@,$RANLIB,;t t |
| 24899 |
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
| 24900 |
|
s,@YACC@,$YACC,;t t |
| 24901 |
s,@EGREP@,$EGREP,;t t |
s,@EGREP@,$EGREP,;t t |
| 24902 |
s,@ECHO@,$ECHO,;t t |
s,@ECHO@,$ECHO,;t t |
| 24903 |
s,@AR@,$AR,;t t |
s,@AR@,$AR,;t t |
| 24918 |
s,@PTHREAD_LIBS@,$PTHREAD_LIBS,;t t |
s,@PTHREAD_LIBS@,$PTHREAD_LIBS,;t t |
| 24919 |
s,@TERMCAP_LIBS@,$TERMCAP_LIBS,;t t |
s,@TERMCAP_LIBS@,$TERMCAP_LIBS,;t t |
| 24920 |
s,@LIBOBJS@,$LIBOBJS,;t t |
s,@LIBOBJS@,$LIBOBJS,;t t |
| 24921 |
s,@subdirs@,$subdirs,;t t |
s,@POW_LIB@,$POW_LIB,;t t |
| 24922 |
s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
| 24923 |
CEOF |
CEOF |
| 24924 |
|
|
| 25549 |
$ac_cs_success || { (exit 1); exit 1; } |
$ac_cs_success || { (exit 1); exit 1; } |
| 25550 |
fi |
fi |
| 25551 |
|
|
|
# |
|
|
# CONFIG_SUBDIRS section. |
|
|
# |
|
|
if test "$no_recursion" != yes; then |
|
|
|
|
|
# Remove --cache-file and --srcdir arguments so they do not pile up. |
|
|
ac_sub_configure_args= |
|
|
ac_prev= |
|
|
for ac_arg in $ac_configure_args; do |
|
|
if test -n "$ac_prev"; then |
|
|
ac_prev= |
|
|
continue |
|
|
fi |
|
|
case $ac_arg in |
|
|
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
|
|
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
|
|
ac_prev=cache_file ;; |
|
|
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
|
|
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ |
|
|
| --c=*) |
|
|
;; |
|
|
--config-cache | -C) |
|
|
;; |
|
|
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
|
|
ac_prev=srcdir ;; |
|
|
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
|
|
;; |
|
|
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
|
|
ac_prev=prefix ;; |
|
|
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
|
|
;; |
|
|
*) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; |
|
|
esac |
|
|
done |
|
|
|
|
|
# Always prepend --prefix to ensure using the same prefix |
|
|
# in subdir configurations. |
|
|
ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" |
|
|
|
|
|
ac_popdir=`pwd` |
|
|
for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue |
|
|
|
|
|
# Do not complain, so a configure script can configure whichever |
|
|
# parts of a large source tree are present. |
|
|
test -d $srcdir/$ac_dir || continue |
|
|
|
|
|
{ echo "$as_me:$LINENO: configuring in $ac_dir" >&5 |
|
|
echo "$as_me: configuring in $ac_dir" >&6;} |
|
|
{ if $as_mkdir_p; then |
|
|
mkdir -p "$ac_dir" |
|
|
else |
|
|
as_dir="$ac_dir" |
|
|
as_dirs= |
|
|
while test ! -d "$as_dir"; do |
|
|
as_dirs="$as_dir $as_dirs" |
|
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
|
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
|
X"$as_dir" : 'X\(//\)$' \| \ |
|
|
X"$as_dir" : 'X\(/\)' \| \ |
|
|
. : '\(.\)' 2>/dev/null || |
|
|
echo X"$as_dir" | |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
|
/^X\(\/\/\)$/{ s//\1/; q; } |
|
|
/^X\(\/\).*/{ s//\1/; q; } |
|
|
s/.*/./; q'` |
|
|
done |
|
|
test ! -n "$as_dirs" || mkdir $as_dirs |
|
|
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
|
|
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
|
|
{ (exit 1); exit 1; }; }; } |
|
|
|
|
|
ac_builddir=. |
|
|
|
|
|
if test "$ac_dir" != .; then |
|
|
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
|
|
# A "../" for each directory in $ac_dir_suffix. |
|
|
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
|
|
else |
|
|
ac_dir_suffix= ac_top_builddir= |
|
|
fi |
|
|
|
|
|
case $srcdir in |
|
|
.) # No --srcdir option. We are building in place. |
|
|
ac_srcdir=. |
|
|
if test -z "$ac_top_builddir"; then |
|
|
ac_top_srcdir=. |
|
|
else |
|
|
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
|
|
fi ;; |
|
|
[\\/]* | ?:[\\/]* ) # Absolute path. |
|
|
ac_srcdir=$srcdir$ac_dir_suffix; |
|
|
ac_top_srcdir=$srcdir ;; |
|
|
*) # Relative path. |
|
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
|
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
|
|
esac |
|
|
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
|
|
# absolute. |
|
|
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
|
|
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
|
|
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
|
|
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
|
|
|
|
|
|
|
|
cd $ac_dir |
|
|
|
|
|
# Check for guested configure; otherwise get Cygnus style configure. |
|
|
if test -f $ac_srcdir/configure.gnu; then |
|
|
ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" |
|
|
elif test -f $ac_srcdir/configure; then |
|
|
ac_sub_configure="$SHELL '$ac_srcdir/configure'" |
|
|
elif test -f $ac_srcdir/configure.in; then |
|
|
ac_sub_configure=$ac_configure |
|
|
else |
|
|
{ echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 |
|
|
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} |
|
|
ac_sub_configure= |
|
|
fi |
|
|
|
|
|
# The recursion is here. |
|
|
if test -n "$ac_sub_configure"; then |
|
|
# Make the cache file name correct relative to the subdirectory. |
|
|
case $cache_file in |
|
|
[\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; |
|
|
*) # Relative path. |
|
|
ac_sub_cache_file=$ac_top_builddir$cache_file ;; |
|
|
esac |
|
|
|
|
|
{ echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 |
|
|
echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} |
|
|
# The eval makes quoting arguments work. |
|
|
eval $ac_sub_configure $ac_sub_configure_args \ |
|
|
--cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir || |
|
|
{ { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 |
|
|
echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} |
|
|
{ (exit 1); exit 1; }; } |
|
|
fi |
|
|
|
|
|
cd $ac_popdir |
|
|
done |
|
|
fi |
|
|
|
|