ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/configure
(Generate patch)

Comparing gvpe/configure (file contents):
Revision 1.35 by pcg, Sat Nov 10 15:16:37 2007 UTC vs.
Revision 1.36 by pcg, Sat Nov 10 19:43:37 2007 UTC

10043 10043
10044fi 10044fi
10045 10045
10046 10046
10047 10047
10048{ echo "$as_me:$LINENO: checking for ceil in -lm" >&5
10049echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6; }
10050if test "${ac_cv_lib_m_ceil+set}" = set; then
10051 echo $ECHO_N "(cached) $ECHO_C" >&6
10052else
10053 ac_check_lib_save_LIBS=$LIBS
10054LIBS="-lm $LIBS"
10055cat >conftest.$ac_ext <<_ACEOF
10056/* confdefs.h. */
10057_ACEOF
10058cat confdefs.h >>conftest.$ac_ext
10059cat >>conftest.$ac_ext <<_ACEOF
10060/* end confdefs.h. */
10061
10062/* Override any GCC internal prototype to avoid an error.
10063 Use char because int might match the return type of a GCC
10064 builtin and then its argument prototype would still apply. */
10065#ifdef __cplusplus
10066extern "C"
10067#endif
10068char ceil ();
10069int
10070main ()
10071{
10072return ceil ();
10073 ;
10074 return 0;
10075}
10076_ACEOF
10077rm -f conftest.$ac_objext conftest$ac_exeext
10078if { (ac_try="$ac_link"
10079case "(($ac_try" in
10080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10081 *) ac_try_echo=$ac_try;;
10082esac
10083eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10084 (eval "$ac_link") 2>conftest.er1
10085 ac_status=$?
10086 grep -v '^ *+' conftest.er1 >conftest.err
10087 rm -f conftest.er1
10088 cat conftest.err >&5
10089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10090 (exit $ac_status); } && {
10091 test -z "$ac_c_werror_flag" ||
10092 test ! -s conftest.err
10093 } && test -s conftest$ac_exeext &&
10094 $as_test_x conftest$ac_exeext; then
10095 ac_cv_lib_m_ceil=yes
10096else
10097 echo "$as_me: failed program was:" >&5
10098sed 's/^/| /' conftest.$ac_ext >&5
10099
10100 ac_cv_lib_m_ceil=no
10101fi
10102
10103rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10104 conftest$ac_exeext conftest.$ac_ext
10105LIBS=$ac_check_lib_save_LIBS
10106fi
10107{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
10108echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6; }
10109if test $ac_cv_lib_m_ceil = yes; then
10110 cat >>confdefs.h <<_ACEOF
10111#define HAVE_LIBM 1
10112_ACEOF
10113
10114 LIBS="-lm $LIBS"
10115
10116fi
10117
10118
10119
10048 10120
10049 10121
10050 10122
10051ac_ext=cpp 10123ac_ext=cpp
10052ac_cpp='$CXXCPP $CPPFLAGS' 10124ac_cpp='$CXXCPP $CPPFLAGS'
11149fi 11221fi
11150 11222
11151if $CXX -v --help 2>&1 | grep -q fexceptions; then 11223if $CXX -v --help 2>&1 | grep -q fexceptions; then
11152 CXXFLAGS="$CXXFLAGS -fno-exceptions" 11224 CXXFLAGS="$CXXFLAGS -fno-exceptions"
11153fi 11225fi
11226
11227LIBS="$EXTRA_LIBS $LIBS"
11154 11228
11155 11229
11156 11230
11157 11231
11158ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile doc/Makefile lib/Makefile m4/Makefile" 11232ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile doc/Makefile lib/Makefile m4/Makefile"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines