fix: [action-if-found] part of AC_CHECK_TYPE macro cannot be quoted when empty
authorYang Tse <yangsita@gmail.com>
Wed, 21 May 2008 18:24:09 +0000 (18:24 +0000)
committerYang Tse <yangsita@gmail.com>
Wed, 21 May 2008 18:24:09 +0000 (18:24 +0000)
acinclude.m4
ares/acinclude.m4

index 06eaafc..b3d64a1 100644 (file)
@@ -773,9 +773,7 @@ dnl an equivalent type if socklen_t not available
 
 AC_DEFUN([CURL_CHECK_TYPE_SOCKLEN_T], [
   AC_REQUIRE([CURL_CHECK_HEADER_WS2TCPIP])dnl
-  AC_CHECK_TYPE([socklen_t], [
-    dnl socklen_t is available
-  ],[
+  AC_CHECK_TYPE([socklen_t], ,[
     dnl socklen_t not available
     AC_CACHE_CHECK([for socklen_t equivalent],
       [curl_cv_socklen_t_equiv], [
index e7e9062..8b12473 100644 (file)
@@ -242,9 +242,7 @@ dnl an equivalent type if socklen_t not available
 
 AC_DEFUN([CURL_CHECK_TYPE_SOCKLEN_T], [
   AC_REQUIRE([CURL_CHECK_HEADER_WS2TCPIP])dnl
-  AC_CHECK_TYPE([socklen_t], [
-    dnl socklen_t is available
-  ],[
+  AC_CHECK_TYPE([socklen_t], ,[
     dnl socklen_t not available
     AC_CACHE_CHECK([for socklen_t equivalent],
       [curl_cv_socklen_t_equiv], [