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

Comparing gvpe/configure (file contents):
Revision 1.37 by pcg, Sat Dec 1 23:35:31 2007 UTC vs.
Revision 1.41 by pcg, Wed Sep 3 04:58:46 2008 UTC

1341 combinations are: "tincd/bsd" "tincd/solaris" 1341 combinations are: "tincd/bsd" "tincd/solaris"
1342 "tincd/mingw" "tincd/raw_socket" "tincd/uml_socket"; 1342 "tincd/mingw" "tincd/raw_socket" "tincd/uml_socket";
1343 Broken combinations are: "tincd/cygwin"; The default 1343 Broken combinations are: "tincd/cygwin"; The default
1344 is to autodetect. 1344 is to autodetect.
1345 --enable-static-daemon enable statically linked daemon. 1345 --enable-static-daemon enable statically linked daemon.
1346 --enable-rohc enable robust header compression (rfc3095).
1347 --enable-icmp enable icmp protocol support (default disabled). 1346 --enable-icmp enable icmp protocol support (default disabled).
1348 --enable-tcp enable tcp protocol support (default disabled). 1347 --enable-tcp enable tcp protocol support (default disabled).
1349 --enable-dns enable dns tunnel protocol support (DOES NOT WORK). 1348 --enable-dns enable dns tunnel protocol support (DOES NOT WORK).
1350 --enable-http-proxy enable http proxy connect support (default 1349 --enable-http-proxy enable http proxy connect support (default
1351 disabled). 1350 disabled).
2223fi 2222fi
2224 2223
2225 2224
2226# Define the identity of the package. 2225# Define the identity of the package.
2227 PACKAGE=gvpe 2226 PACKAGE=gvpe
2228 VERSION=2.01 2227 VERSION=2.21
2229 2228
2230 2229
2231cat >>confdefs.h <<_ACEOF 2230cat >>confdefs.h <<_ACEOF
2232#define PACKAGE "$PACKAGE" 2231#define PACKAGE "$PACKAGE"
2233_ACEOF 2232_ACEOF
7675done 7674done
7676 7675
7677 7676
7678 7677
7679 7678
7679
7680for ac_header in ext/hash_map clocale 7680for ac_header in tr1/unordered_map ext/hash_map clocale
7681do 7681do
7682as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7682as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7683if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7683if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7684 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7684 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7685echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7685echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9556 9556
9557 9557
9558 9558
9559 9559
9560 9560
9561
9561for ac_header in sys/inotify.h sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h 9562for ac_header in sys/inotify.h sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h sys/eventfd.h
9562do 9563do
9563as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9564as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9564if { 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
9565 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9566 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9566echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9567echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9702 9703
9703 9704
9704 9705
9705 9706
9706 9707
9708
9707for ac_func in inotify_init epoll_ctl kqueue port_create poll select 9709for ac_func in inotify_init epoll_ctl kqueue port_create poll select eventfd
9708do 9710do
9709as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9711as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9710{ echo "$as_me:$LINENO: checking for $ac_func" >&5 9712{ echo "$as_me:$LINENO: checking for $ac_func" >&5
9711echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 9713echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9712if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 9714if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9953 9955
9954 LIBS="-lrt $LIBS" 9956 LIBS="-lrt $LIBS"
9955 9957
9956fi 9958fi
9957 9959
9960 unset ac_cv_func_clock_gettime
9958 9961
9959for ac_func in clock_gettime 9962for ac_func in clock_gettime
9963do
9964as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9965{ echo "$as_me:$LINENO: checking for $ac_func" >&5
9966echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9967if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9968 echo $ECHO_N "(cached) $ECHO_C" >&6
9969else
9970 cat >conftest.$ac_ext <<_ACEOF
9971/* confdefs.h. */
9972_ACEOF
9973cat confdefs.h >>conftest.$ac_ext
9974cat >>conftest.$ac_ext <<_ACEOF
9975/* end confdefs.h. */
9976/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9978#define $ac_func innocuous_$ac_func
9979
9980/* System header to define __stub macros and hopefully few prototypes,
9981 which can conflict with char $ac_func (); below.
9982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9983 <limits.h> exists even on freestanding compilers. */
9984
9985#ifdef __STDC__
9986# include <limits.h>
9987#else
9988# include <assert.h>
9989#endif
9990
9991#undef $ac_func
9992
9993/* Override any GCC internal prototype to avoid an error.
9994 Use char because int might match the return type of a GCC
9995 builtin and then its argument prototype would still apply. */
9996#ifdef __cplusplus
9997extern "C"
9998#endif
9999char $ac_func ();
10000/* The GNU C library defines this for functions which it implements
10001 to always fail with ENOSYS. Some functions are actually named
10002 something starting with __ and the normal name is an alias. */
10003#if defined __stub_$ac_func || defined __stub___$ac_func
10004choke me
10005#endif
10006
10007int
10008main ()
10009{
10010return $ac_func ();
10011 ;
10012 return 0;
10013}
10014_ACEOF
10015rm -f conftest.$ac_objext conftest$ac_exeext
10016if { (ac_try="$ac_link"
10017case "(($ac_try" in
10018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10019 *) ac_try_echo=$ac_try;;
10020esac
10021eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10022 (eval "$ac_link") 2>conftest.er1
10023 ac_status=$?
10024 grep -v '^ *+' conftest.er1 >conftest.err
10025 rm -f conftest.er1
10026 cat conftest.err >&5
10027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10028 (exit $ac_status); } && {
10029 test -z "$ac_c_werror_flag" ||
10030 test ! -s conftest.err
10031 } && test -s conftest$ac_exeext &&
10032 $as_test_x conftest$ac_exeext; then
10033 eval "$as_ac_var=yes"
10034else
10035 echo "$as_me: failed program was:" >&5
10036sed 's/^/| /' conftest.$ac_ext >&5
10037
10038 eval "$as_ac_var=no"
10039fi
10040
10041rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10042 conftest$ac_exeext conftest.$ac_ext
10043fi
10044ac_res=`eval echo '${'$as_ac_var'}'`
10045 { echo "$as_me:$LINENO: result: $ac_res" >&5
10046echo "${ECHO_T}$ac_res" >&6; }
10047if test `eval echo '${'$as_ac_var'}'` = yes; then
10048 cat >>confdefs.h <<_ACEOF
10049#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10050_ACEOF
10051
10052fi
10053done
10054
10055 fi
10056
10057fi
10058
10059
10060{ echo "$as_me:$LINENO: checking for nanosleep" >&5
10061echo $ECHO_N "checking for nanosleep... $ECHO_C" >&6; }
10062if test "${ac_cv_func_nanosleep+set}" = set; then
10063 echo $ECHO_N "(cached) $ECHO_C" >&6
10064else
10065 cat >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/* Define nanosleep to an innocuous variant, in case <limits.h> declares nanosleep.
10072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10073#define nanosleep innocuous_nanosleep
10074
10075/* System header to define __stub macros and hopefully few prototypes,
10076 which can conflict with char nanosleep (); below.
10077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10078 <limits.h> exists even on freestanding compilers. */
10079
10080#ifdef __STDC__
10081# include <limits.h>
10082#else
10083# include <assert.h>
10084#endif
10085
10086#undef nanosleep
10087
10088/* Override any GCC internal prototype to avoid an error.
10089 Use char because int might match the return type of a GCC
10090 builtin and then its argument prototype would still apply. */
10091#ifdef __cplusplus
10092extern "C"
10093#endif
10094char nanosleep ();
10095/* The GNU C library defines this for functions which it implements
10096 to always fail with ENOSYS. Some functions are actually named
10097 something starting with __ and the normal name is an alias. */
10098#if defined __stub_nanosleep || defined __stub___nanosleep
10099choke me
10100#endif
10101
10102int
10103main ()
10104{
10105return nanosleep ();
10106 ;
10107 return 0;
10108}
10109_ACEOF
10110rm -f conftest.$ac_objext conftest$ac_exeext
10111if { (ac_try="$ac_link"
10112case "(($ac_try" in
10113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10114 *) ac_try_echo=$ac_try;;
10115esac
10116eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10117 (eval "$ac_link") 2>conftest.er1
10118 ac_status=$?
10119 grep -v '^ *+' conftest.er1 >conftest.err
10120 rm -f conftest.er1
10121 cat conftest.err >&5
10122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10123 (exit $ac_status); } && {
10124 test -z "$ac_c_werror_flag" ||
10125 test ! -s conftest.err
10126 } && test -s conftest$ac_exeext &&
10127 $as_test_x conftest$ac_exeext; then
10128 ac_cv_func_nanosleep=yes
10129else
10130 echo "$as_me: failed program was:" >&5
10131sed 's/^/| /' conftest.$ac_ext >&5
10132
10133 ac_cv_func_nanosleep=no
10134fi
10135
10136rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10137 conftest$ac_exeext conftest.$ac_ext
10138fi
10139{ echo "$as_me:$LINENO: result: $ac_cv_func_nanosleep" >&5
10140echo "${ECHO_T}$ac_cv_func_nanosleep" >&6; }
10141if test $ac_cv_func_nanosleep = yes; then
10142 :
10143else
10144
10145 if test -z "$LIBEV_M4_AVOID_LIBRT"; then
10146
10147{ echo "$as_me:$LINENO: checking for nanosleep in -lrt" >&5
10148echo $ECHO_N "checking for nanosleep in -lrt... $ECHO_C" >&6; }
10149if test "${ac_cv_lib_rt_nanosleep+set}" = set; then
10150 echo $ECHO_N "(cached) $ECHO_C" >&6
10151else
10152 ac_check_lib_save_LIBS=$LIBS
10153LIBS="-lrt $LIBS"
10154cat >conftest.$ac_ext <<_ACEOF
10155/* confdefs.h. */
10156_ACEOF
10157cat confdefs.h >>conftest.$ac_ext
10158cat >>conftest.$ac_ext <<_ACEOF
10159/* end confdefs.h. */
10160
10161/* Override any GCC internal prototype to avoid an error.
10162 Use char because int might match the return type of a GCC
10163 builtin and then its argument prototype would still apply. */
10164#ifdef __cplusplus
10165extern "C"
10166#endif
10167char nanosleep ();
10168int
10169main ()
10170{
10171return nanosleep ();
10172 ;
10173 return 0;
10174}
10175_ACEOF
10176rm -f conftest.$ac_objext conftest$ac_exeext
10177if { (ac_try="$ac_link"
10178case "(($ac_try" in
10179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10180 *) ac_try_echo=$ac_try;;
10181esac
10182eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10183 (eval "$ac_link") 2>conftest.er1
10184 ac_status=$?
10185 grep -v '^ *+' conftest.er1 >conftest.err
10186 rm -f conftest.er1
10187 cat conftest.err >&5
10188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10189 (exit $ac_status); } && {
10190 test -z "$ac_c_werror_flag" ||
10191 test ! -s conftest.err
10192 } && test -s conftest$ac_exeext &&
10193 $as_test_x conftest$ac_exeext; then
10194 ac_cv_lib_rt_nanosleep=yes
10195else
10196 echo "$as_me: failed program was:" >&5
10197sed 's/^/| /' conftest.$ac_ext >&5
10198
10199 ac_cv_lib_rt_nanosleep=no
10200fi
10201
10202rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10203 conftest$ac_exeext conftest.$ac_ext
10204LIBS=$ac_check_lib_save_LIBS
10205fi
10206{ echo "$as_me:$LINENO: result: $ac_cv_lib_rt_nanosleep" >&5
10207echo "${ECHO_T}$ac_cv_lib_rt_nanosleep" >&6; }
10208if test $ac_cv_lib_rt_nanosleep = yes; then
10209 cat >>confdefs.h <<_ACEOF
10210#define HAVE_LIBRT 1
10211_ACEOF
10212
10213 LIBS="-lrt $LIBS"
10214
10215fi
10216
10217 unset ac_cv_func_nanosleep
10218
10219for ac_func in nanosleep
9960do 10220do
9961as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10221as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9962{ echo "$as_me:$LINENO: checking for $ac_func" >&5 10222{ echo "$as_me:$LINENO: checking for $ac_func" >&5
9963echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 10223echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9964if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 10224if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10853 11113
10854fi 11114fi
10855 11115
10856 11116
10857 11117
10858# Check whether --enable-rohc was given.
10859if test "${enable_rohc+set}" = set; then
10860 enableval=$enable_rohc;
10861 echo
10862 echo "**********************************************************************"
10863 echo "**********************************************************************"
10864 echo "**** --enable-rohc is highly experimental, do not use ****************"
10865 echo "**********************************************************************"
10866 echo "**********************************************************************"
10867 echo
10868 rohc=true
10869
10870cat >>confdefs.h <<_ACEOF
10871#define ENABLE_ROHC 1
10872_ACEOF
10873
10874
10875
10876fi
10877
10878 11118
10879 11119
10880 11120
10881if test x$rohc = xtrue; then 11121if test x$rohc = xtrue; then
10882 ROHC_TRUE= 11122 ROHC_TRUE=
11228 11468
11229if $CXX -v --help 2>&1 | grep -q fno-rtti; then 11469if $CXX -v --help 2>&1 | grep -q fno-rtti; then
11230 CXXFLAGS="$CXXFLAGS -fno-rtti" 11470 CXXFLAGS="$CXXFLAGS -fno-rtti"
11231fi 11471fi
11232 11472
11233if $CXX -v --help 2>&1 | grep -q fexceptions; then 11473#if $CXX -v --help 2>&1 | grep -q fexceptions; then
11234 CXXFLAGS="$CXXFLAGS -fno-exceptions" 11474# CXXFLAGS="$CXXFLAGS -fno-exceptions"
11235fi 11475#fi
11236 11476
11237LIBS="$EXTRA_LIBS $LIBS" 11477LIBS="$EXTRA_LIBS $LIBS"
11238 11478
11239 11479
11240 11480

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines