diff --git a/ChangeLog b/ChangeLog
index 6f7e4e5114f1f87abd8d95896364128a811c3e8f..a25b1726fa6edf2d5d69aefae1467a009d593107 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-09-03  Georg-Johann Lay  <avr@gjlay.de>
+
+	* configure.ac (noconfigdirs,target=avr): Add target-libquadmath.
+	* configure: Regenerate.
+
 2012-08-27  Ulrich Drepper  <drepper@gmail.com>
 
 	* MAINTAINERS: Fix my email address.
diff --git a/configure b/configure
index 60e269e00e58a9844a7c62d294076d276bfaca86..dba94743ff49014fdbfec81d079a3160e606a81c 100755
--- a/configure
+++ b/configure
@@ -3153,6 +3153,13 @@ case "${target}" in
     ;;
 esac
 
+# Disable libquadmath for some systems.
+case "${target}" in
+  avr-*-*)
+    noconfigdirs="$noconfigdirs target-libquadmath"
+    ;;
+esac
+
 # Disable libstdc++-v3 for some systems.
 case "${target}" in
   *-*-vxworks*)
diff --git a/configure.ac b/configure.ac
index 27692b45bf82c042a9d4d04dc4c3bb1804f2639e..e3ae26de1d26a11109f2256052bbccc44ad31e52 100644
--- a/configure.ac
+++ b/configure.ac
@@ -544,6 +544,13 @@ case "${target}" in
     ;;
 esac
 
+# Disable libquadmath for some systems.
+case "${target}" in
+  avr-*-*)
+    noconfigdirs="$noconfigdirs target-libquadmath"
+    ;;
+esac
+
 # Disable libstdc++-v3 for some systems.
 case "${target}" in
   *-*-vxworks*)