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

Comparing gvpe/configure (file contents):
Revision 1.34 by pcg, Sat Nov 10 05:14:21 2007 UTC vs.
Revision 1.36 by pcg, Sat Nov 10 19:43:37 2007 UTC

9945 LIBS="-lrt $LIBS" 9945 LIBS="-lrt $LIBS"
9946 9946
9947fi 9947fi
9948 9948
9949 9949
9950for ac_func in clock_gettime
9951do
9952as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9953{ echo "$as_me:$LINENO: checking for $ac_func" >&5
9954echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9955if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9956 echo $ECHO_N "(cached) $ECHO_C" >&6
9957else
9958 cat >conftest.$ac_ext <<_ACEOF
9959/* confdefs.h. */
9960_ACEOF
9961cat confdefs.h >>conftest.$ac_ext
9962cat >>conftest.$ac_ext <<_ACEOF
9963/* end confdefs.h. */
9964/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9966#define $ac_func innocuous_$ac_func
9967
9968/* System header to define __stub macros and hopefully few prototypes,
9969 which can conflict with char $ac_func (); below.
9970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9971 <limits.h> exists even on freestanding compilers. */
9972
9973#ifdef __STDC__
9974# include <limits.h>
9975#else
9976# include <assert.h>
9977#endif
9978
9979#undef $ac_func
9980
9981/* Override any GCC internal prototype to avoid an error.
9982 Use char because int might match the return type of a GCC
9983 builtin and then its argument prototype would still apply. */
9984#ifdef __cplusplus
9985extern "C"
9986#endif
9987char $ac_func ();
9988/* The GNU C library defines this for functions which it implements
9989 to always fail with ENOSYS. Some functions are actually named
9990 something starting with __ and the normal name is an alias. */
9991#if defined __stub_$ac_func || defined __stub___$ac_func
9992choke me
9993#endif
9994
9995int
9996main ()
9997{
9998return $ac_func ();
9999 ;
10000 return 0;
10001}
10002_ACEOF
10003rm -f conftest.$ac_objext conftest$ac_exeext
10004if { (ac_try="$ac_link"
10005case "(($ac_try" in
10006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10007 *) ac_try_echo=$ac_try;;
10008esac
10009eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10010 (eval "$ac_link") 2>conftest.er1
10011 ac_status=$?
10012 grep -v '^ *+' conftest.er1 >conftest.err
10013 rm -f conftest.er1
10014 cat conftest.err >&5
10015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10016 (exit $ac_status); } && {
10017 test -z "$ac_c_werror_flag" ||
10018 test ! -s conftest.err
10019 } && test -s conftest$ac_exeext &&
10020 $as_test_x conftest$ac_exeext; then
10021 eval "$as_ac_var=yes"
10022else
10023 echo "$as_me: failed program was:" >&5
10024sed 's/^/| /' conftest.$ac_ext >&5
10025
10026 eval "$as_ac_var=no"
10027fi
10028
10029rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10030 conftest$ac_exeext conftest.$ac_ext
10031fi
10032ac_res=`eval echo '${'$as_ac_var'}'`
10033 { echo "$as_me:$LINENO: result: $ac_res" >&5
10034echo "${ECHO_T}$ac_res" >&6; }
10035if test `eval echo '${'$as_ac_var'}'` = yes; then
10036 cat >>confdefs.h <<_ACEOF
10037#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10038_ACEOF
10039
10040fi
10041done
10042
10043
10044fi
10045
10046
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
9950fi 10116fi
9951 10117
9952 10118
9953 10119
9954 10120
11055fi 11221fi
11056 11222
11057if $CXX -v --help 2>&1 | grep -q fexceptions; then 11223if $CXX -v --help 2>&1 | grep -q fexceptions; then
11058 CXXFLAGS="$CXXFLAGS -fno-exceptions" 11224 CXXFLAGS="$CXXFLAGS -fno-exceptions"
11059fi 11225fi
11226
11227LIBS="$EXTRA_LIBS $LIBS"
11060 11228
11061 11229
11062 11230
11063 11231
11064ac_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