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.37 by pcg, Sat Dec 1 23:35:31 2007 UTC

9552 9552
9553 9553
9554 9554
9555 9555
9556 9556
9557for ac_header in sys/epoll.h sys/event.h sys/queue.h 9557
9558
9559
9560
9561for ac_header in sys/inotify.h sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h
9558do 9562do
9559as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9563as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9560if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9564if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9561 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9565 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9562echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9566echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9694done 9698done
9695 9699
9696 9700
9697 9701
9698 9702
9699for ac_func in epoll_ctl kqueue 9703
9704
9705
9706
9707for ac_func in inotify_init epoll_ctl kqueue port_create poll select
9700do 9708do
9701as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9709as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9702{ echo "$as_me:$LINENO: checking for $ac_func" >&5 9710{ echo "$as_me:$LINENO: checking for $ac_func" >&5
9703echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 9711echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9704if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 9712if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9873echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; } 9881echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; }
9874if test $ac_cv_func_clock_gettime = yes; then 9882if test $ac_cv_func_clock_gettime = yes; then
9875 : 9883 :
9876else 9884else
9877 9885
9886 if test -z "$LIBEV_M4_AVOID_LIBRT"; then
9878 9887
9879{ echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 9888{ echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
9880echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } 9889echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; }
9881if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then 9890if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
9882 echo $ECHO_N "(cached) $ECHO_C" >&6 9891 echo $ECHO_N "(cached) $ECHO_C" >&6
10038_ACEOF 10047_ACEOF
10039 10048
10040fi 10049fi
10041done 10050done
10042 10051
10052 fi
10053
10054fi
10055
10056
10057
10058{ echo "$as_me:$LINENO: checking for ceil in -lm" >&5
10059echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6; }
10060if test "${ac_cv_lib_m_ceil+set}" = set; then
10061 echo $ECHO_N "(cached) $ECHO_C" >&6
10062else
10063 ac_check_lib_save_LIBS=$LIBS
10064LIBS="-lm $LIBS"
10065cat >conftest.$ac_ext <<_ACEOF
10066/* confdefs.h. */
10067_ACEOF
10068cat confdefs.h >>conftest.$ac_ext
10069cat >>conftest.$ac_ext <<_ACEOF
10070/* end confdefs.h. */
10071
10072/* Override any GCC internal prototype to avoid an error.
10073 Use char because int might match the return type of a GCC
10074 builtin and then its argument prototype would still apply. */
10075#ifdef __cplusplus
10076extern "C"
10077#endif
10078char ceil ();
10079int
10080main ()
10081{
10082return ceil ();
10083 ;
10084 return 0;
10085}
10086_ACEOF
10087rm -f conftest.$ac_objext conftest$ac_exeext
10088if { (ac_try="$ac_link"
10089case "(($ac_try" in
10090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10091 *) ac_try_echo=$ac_try;;
10092esac
10093eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10094 (eval "$ac_link") 2>conftest.er1
10095 ac_status=$?
10096 grep -v '^ *+' conftest.er1 >conftest.err
10097 rm -f conftest.er1
10098 cat conftest.err >&5
10099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10100 (exit $ac_status); } && {
10101 test -z "$ac_c_werror_flag" ||
10102 test ! -s conftest.err
10103 } && test -s conftest$ac_exeext &&
10104 $as_test_x conftest$ac_exeext; then
10105 ac_cv_lib_m_ceil=yes
10106else
10107 echo "$as_me: failed program was:" >&5
10108sed 's/^/| /' conftest.$ac_ext >&5
10109
10110 ac_cv_lib_m_ceil=no
10111fi
10112
10113rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10114 conftest$ac_exeext conftest.$ac_ext
10115LIBS=$ac_check_lib_save_LIBS
10116fi
10117{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
10118echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6; }
10119if test $ac_cv_lib_m_ceil = yes; then
10120 cat >>confdefs.h <<_ACEOF
10121#define HAVE_LIBM 1
10122_ACEOF
10123
10124 LIBS="-lm $LIBS"
10043 10125
10044fi 10126fi
10045 10127
10046 10128
10047 10129
11149fi 11231fi
11150 11232
11151if $CXX -v --help 2>&1 | grep -q fexceptions; then 11233if $CXX -v --help 2>&1 | grep -q fexceptions; then
11152 CXXFLAGS="$CXXFLAGS -fno-exceptions" 11234 CXXFLAGS="$CXXFLAGS -fno-exceptions"
11153fi 11235fi
11236
11237LIBS="$EXTRA_LIBS $LIBS"
11154 11238
11155 11239
11156 11240
11157 11241
11158ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile doc/Makefile lib/Makefile m4/Makefile" 11242ac_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