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.38 by pcg, Sun Dec 2 00:39:06 2007 UTC

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