diff --git a/configure.ac b/configure.ac
index 6394e2eadb5c94a6cbc227924bf883540d635f73..4af60283cb5362217601eacb52e92f308465efab 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script. -*-m4-*-
 
 AC_INIT(src/opus_encoder.c)
 
-AM_CONFIG_HEADER([config.h])
+AC_CONFIG_HEADERS([config.h])
 
 dnl enable silent rules on automake 1.11 and later
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])