diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-12-23 08:48:59 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-12-23 08:48:59 +0000 |
commit | 3955b313625d81919da074eb550288042f10b5e8 (patch) | |
tree | 40d4c1aa44ee5c29ed3b1253a6b8b1d00ecd7285 | |
parent | 4b3fb5a01c71cc1a05e26dd3d37a5a0b4462e39d (diff) |
David Shaw fixed the disable variables so that curl-config --feature works
correctly!
-rw-r--r-- | configure.ac | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac index 60747e6c5..8868cfeec 100644 --- a/configure.ac +++ b/configure.ac @@ -133,8 +133,8 @@ AC_HELP_STRING([--disable-http],[Disable HTTP support]), AC_DEFINE(CURL_DISABLE_HTTP, 1, [to disable HTTP]) AC_MSG_WARN([disable HTTP disables FTP over proxy and GOPHER too]) AC_DEFINE(CURL_DISABLE_GOPHER, 1, [to disable GOPHER]) - AC_SUBST(CURL_DISABLE_HTTP) - AC_SUBST(CURL_DISABLE_GOPHER) + AC_SUBST(CURL_DISABLE_HTTP, [1]) + AC_SUBST(CURL_DISABLE_GOPHER, [1]) ;; *) AC_MSG_RESULT(yes) ;; @@ -149,7 +149,7 @@ AC_HELP_STRING([--disable-ftp],[Disable FTP support]), no) AC_MSG_RESULT(no) AC_DEFINE(CURL_DISABLE_FTP, 1, [to disable FTP]) - AC_SUBST(CURL_DISABLE_FTP) + AC_SUBST(CURL_DISABLE_FTP, [1]) ;; *) AC_MSG_RESULT(yes) ;; @@ -164,7 +164,7 @@ AC_HELP_STRING([--disable-gopher],[Disable GOPHER support]), no) AC_MSG_RESULT(no) AC_DEFINE(CURL_DISABLE_GOPHER, 1, [to disable GOPHER]) - AC_SUBST(CURL_DISABLE_GOPHER) + AC_SUBST(CURL_DISABLE_GOPHER, [1]) ;; *) AC_MSG_RESULT(yes) ;; @@ -179,7 +179,7 @@ AC_HELP_STRING([--disable-file],[Disable FILE support]), no) AC_MSG_RESULT(no) AC_DEFINE(CURL_DISABLE_FILE, 1, [to disable FILE]) - AC_SUBST(CURL_DISABLE_FILE) + AC_SUBST(CURL_DISABLE_FILE, [1]) ;; *) AC_MSG_RESULT(yes) ;; @@ -194,7 +194,7 @@ AC_HELP_STRING([--disable-ldap],[Disable LDAP support]), no) AC_MSG_RESULT(no) AC_DEFINE(CURL_DISABLE_LDAP, 1, [to disable LDAP]) - AC_SUBST(CURL_DISABLE_LDAP) + AC_SUBST(CURL_DISABLE_LDAP, [1]) ;; *) AC_MSG_RESULT(yes) ;; @@ -209,7 +209,7 @@ AC_HELP_STRING([--disable-dict],[Disable DICT support]), no) AC_MSG_RESULT(no) AC_DEFINE(CURL_DISABLE_DICT, 1, [to disable DICT]) - AC_SUBST(CURL_DISABLE_DICT) + AC_SUBST(CURL_DISABLE_DICT, [1]) ;; *) AC_MSG_RESULT(yes) ;; @@ -224,7 +224,7 @@ AC_HELP_STRING([--disable-telnet],[Disable TELNET support]), no) AC_MSG_RESULT(no) AC_DEFINE(CURL_DISABLE_TELNET, 1, [to disable TELNET]) - AC_SUBST(CURL_DISABLE_TELNET) + AC_SUBST(CURL_DISABLE_TELNET, [1]) ;; *) AC_MSG_RESULT(yes) ;; |