Changeset 22259 in vbox
- Timestamp:
- Aug 14, 2009 1:42:10 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r21903 r22259 89 89 BUILD_LIBXSLT= 90 90 BUILD_LIBCURL= 91 BUILD_LIBSSL= 91 92 CC="gcc" 92 93 CC32="" … … 809 810 check_ssl() 810 811 { 811 test_header ssl 812 cat > $ODIR.tmp_src.cc << EOF 812 if [ -z "$BUILD_LIBSSL" ]; then 813 test_header ssl 814 cat > $ODIR.tmp_src.cc << EOF 813 815 #include <cstdio> 814 816 #include <openssl/opensslv.h> … … 825 827 } 826 828 EOF 827 if test_compile $LIBCRYPTO libcrypto openssl; then 828 if test_execute nofatal; then 829 cnf_append "SDK_VBOX_OPENSSL_INCS" "" 830 cnf_append "SDK_VBOX_OPENSSL_LIBS" "`strip_l "$LIBCRYPTO"`" 829 if test_compile $LIBCRYPTO libcrypto openssl; then 830 if test_execute nofatal; then 831 cnf_append "SDK_VBOX_OPENSSL_INCS" "" 832 cnf_append "SDK_VBOX_OPENSSL_LIBS" "`strip_l "$LIBCRYPTO"`" 833 fi 831 834 fi 832 835 fi … … 1836 1839 darwin_ver=`uname -r` 1837 1840 case "$darwin_ver" in 1841 10\.*) 1842 darwin_ver="10.6" 1843 ;; 1838 1844 9\.*) 1839 1845 darwin_ver="10.5" … … 1844 1850 ;; 1845 1851 *) 1846 echo " failed to determin darwin version. (uname -r: $darwin_ver)"1852 echo " failed to determine Darwin version. (uname -r: $darwin_ver)" 1847 1853 fail 1848 1854 darwin_ver="unknown" … … 2160 2166 BUILD_LIBXSLT=1 2161 2167 BUILD_LIBXML2=1 2162 [ $OSE -eq 1 ] && BUILD_LIBCURL=1 2168 [ $OSE -eq 1 ] || BUILD_LIBCURL=1 2169 [ $OSE -eq 1 ] || BUILD_LIBSSL=1 2163 2170 fi 2164 2171 … … 2186 2193 [ $WITH_XPCOM -eq 1 ] && check_libxslt 2187 2194 [ $WITH_LIBIDL -eq 1 ] && check_libidl 2188 # build openssl on Darwin in every case 2189 [ "$OS" != "darwin" ] && check_ssl2195 check_ssl 2196 check_curl 2190 2197 [ "$OS" != "darwin" ] && check_z 2191 2198 [ "$OS" != "darwin" -a "$OS" != "freebsd" ] && check_png 2192 check_curl2193 2199 [ $OSE -eq 0 -a "$OS" = "linux" ] && check_pam 2194 2200 [ $WITH_SDL -eq 1 ] && check_sdl … … 2246 2252 if [ "$OS" = "darwin" ]; then 2247 2253 check_darwinversion 2248 check_i386elfgcc2254 # check_i386elfgcc 2249 2255 fi 2250 2256
Note:
See TracChangeset
for help on using the changeset viewer.