Changeset 19849 in vbox
- Timestamp:
- May 20, 2009 9:30:17 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/configure (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r19452 r19849 85 85 BUILD_LIBXML2= 86 86 BUILD_LIBXSLT= 87 BUILD_LIBCURL= 87 88 LIBCRYPTO="-lcrypto" 88 89 LIBPTHREAD="-lpthread" … … 931 932 check_curl() 932 933 { 933 test_header libcurl 934 cat > $ODIR.tmp_src.cc << EOF 934 if [ -z "$BUILD_LIBCURL" ]; then 935 test_header libcurl 936 cat > $ODIR.tmp_src.cc << EOF 935 937 #include <cstdio> 936 938 #include <curl/curl.h> … … 947 949 } 948 950 EOF 949 [ -n "$INCCURL" ] && I_INCCURL=`prefix_I "$INCCURL"` 950 # if test_compile "$LIBCURL $I_INCCURL" libcurl libcurl nofatal; then 951 if test_compile "$LIBCURL $I_INCCURL" libcurl libcurl; then 952 # if test_execute nofatal; then 953 if test_execute; then 954 cnf_append "SDK_VBOX_LIBCURL_LIBS" "`strip_l "$LIBCURL"`" 955 cnf_append "SDK_VBOX_LIBCURL_INCS" "$INCCURL" 951 [ -n "$INCCURL" ] && I_INCCURL=`prefix_I "$INCCURL"` 952 if test_compile "$LIBCURL $I_INCCURL" libcurl libcurl; then 953 if test_execute; then 954 cnf_append "SDK_VBOX_LIBCURL_LIBS" "`strip_l "$LIBCURL"`" 955 cnf_append "SDK_VBOX_LIBCURL_INCS" "$INCCURL" 956 fi 956 957 fi 957 958 fi … … 1888 1889 --build-libxml2 build libxml2 from sources 1889 1890 --build-libxslt build libxslt from sources 1891 --build-curl build libcurl from sources (PUEL only) 1890 1892 --setup-wine setup a Wine directory and register the hhc hack 1891 1893 … … 2011 2013 --build-libxslt) 2012 2014 BUILD_LIBXSLT=1 2015 ;; 2016 --build-libcurl) 2017 BUILD_LIBCURL=1 2013 2018 ;; 2014 2019 --build-headless) … … 2148 2153 BUILD_LIBXSLT=1 2149 2154 BUILD_LIBXML2=1 2155 BUILD_LIBCURL=1 2150 2156 fi 2151 2157 … … 2176 2182 [ "$OS" != "darwin" ] && check_z 2177 2183 [ "$OS" != "darwin" -a "$OS" != "freebsd" ] && check_png 2178 [ "$OS" != "darwin" -a$OSE -eq 0 ] && check_curl2184 [ $OSE -eq 0 ] && check_curl 2179 2185 [ $OSE -eq 0 -a "$OS" = "linux" ] && check_pam 2180 2186 [ $WITH_SDL -eq 1 ] && check_sdl
Note:
See TracChangeset
for help on using the changeset viewer.

