diff --git a/configure.ac b/configure.ac
index 6083b9b0c69f609fe257655375e864cf9a347b22..1467d69b2e23bbc30eb0803b1c5c7a021d69adf3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2762,7 +2762,7 @@ esac
 
 curl_h2_msg="disabled (--with-nghttp2)"
 if test X"$OPT_H2" != Xno; then
-  dnl backup the pre-librtmp variables
+  dnl backup the pre-nghttp2 variables
   CLEANLDFLAGS="$LDFLAGS"
   CLEANCPPFLAGS="$CPPFLAGS"
   CLEANLIBS="$LIBS"