[51285] trunk/base
toby at macports.org
toby at macports.org
Thu May 21 23:58:55 PDT 2009
Revision: 51285
http://trac.macports.org/changeset/51285
Author: toby at macports.org
Date: 2009-05-21 23:58:54 -0700 (Thu, 21 May 2009)
Log Message:
-----------
remove now-unnecessary HAVE_CURL_EASY_STRERROR check
Modified Paths:
--------------
trunk/base/configure
trunk/base/configure.ac
trunk/base/src/config.h.in
Modified: trunk/base/configure
===================================================================
--- trunk/base/configure 2009-05-22 06:54:16 UTC (rev 51284)
+++ trunk/base/configure 2009-05-22 06:58:54 UTC (rev 51285)
@@ -10265,82 +10265,6 @@
-# Do we have curl_easy_strerror?
-
-
-{ $as_echo "$as_me:$LINENO: checking for curl_easy_strerror in -lcurl" >&5
-$as_echo_n "checking for curl_easy_strerror in -lcurl... " >&6; }
-if test "${ac_cv_lib_curl_curl_easy_strerror+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lcurl $LDFLAGS_LIBCURL $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-/* Override any GCC internal prototype to avoid an error.
- Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-#ifdef __cplusplus
-extern "C"
-#endif
-char curl_easy_strerror ();
-int
-main ()
-{
-return curl_easy_strerror ();
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-$as_echo "$ac_try_echo") >&5
- (eval "$ac_link") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext && {
- test "$cross_compiling" = yes ||
- $as_test_x conftest$ac_exeext
- }; then
- ac_cv_lib_curl_curl_easy_strerror=yes
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_cv_lib_curl_curl_easy_strerror=no
-fi
-
-rm -rf conftest.dSYM
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_curl_curl_easy_strerror" >&5
-$as_echo "$ac_cv_lib_curl_curl_easy_strerror" >&6; }
-if test "x$ac_cv_lib_curl_curl_easy_strerror" = x""yes; then
- cat >>confdefs.h <<\_ACEOF
-#define HAVE_CURL_EASY_STRERROR 1
-_ACEOF
-
-fi
-
-
# Determine if we need to install some bundled packages
OUR_INCLUDED_PACKAGES=
Modified: trunk/base/configure.ac
===================================================================
--- trunk/base/configure.ac 2009-05-22 06:54:16 UTC (rev 51284)
+++ trunk/base/configure.ac 2009-05-22 06:58:54 UTC (rev 51285)
@@ -226,13 +226,6 @@
## libcurl
MP_LIBCURL_FLAGS
-# Do we have curl_easy_strerror?
-AH_TEMPLATE([HAVE_CURL_EASY_STRERROR],
- [Define to 1 if you have the curl_easy_strerror function.])
-AC_CHECK_LIB([curl], [curl_easy_strerror],
- [AC_DEFINE([HAVE_CURL_EASY_STRERROR])],[],
- [$LDFLAGS_LIBCURL])
-
# Determine if we need to install some bundled packages
OUR_INCLUDED_PACKAGES=
Modified: trunk/base/src/config.h.in
===================================================================
--- trunk/base/src/config.h.in 2009-05-22 06:54:16 UTC (rev 51284)
+++ trunk/base/src/config.h.in 2009-05-22 06:58:54 UTC (rev 51285)
@@ -24,9 +24,6 @@
/* Define to 1 if you have the <crt_externs.h> header file. */
#undef HAVE_CRT_EXTERNS_H
-/* Define to 1 if you have the curl_easy_strerror function. */
-#undef HAVE_CURL_EASY_STRERROR
-
/* Define to 1 if you have the declaration of `completion_matches', and to 0
if you don't. */
#undef HAVE_DECL_COMPLETION_MATCHES
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090521/335fe0e2/attachment-0001.html>
More information about the macports-changes
mailing list