diff --git a/configure.ac b/configure.ac
index 2d22a0052225..b447c8ba8ee7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12223,21 +12223,9 @@ if test "$with_system_box2d" = "yes"; then
     AC_MSG_RESULT([external])
     SYSTEM_BOX2D=TRUE
     AC_LANG_PUSH([C++])
-    BOX2D_VERSION=`$PKG_CONFIG --modversion box2d 2>/dev/null`
-    BOX2D_MAJOR=`echo $BOX2D_VERSION | cut -d"." -f1`
-    BOX2D_MINOR=`echo $BOX2D_VERSION | cut -d"." -f2`
-    if test "$BOX2D_MAJOR" -eq "2"; then
-        if test "$BOX2D_MINOR" -eq "4"; then
-            _BOX2D_LIB=box2d
-            AC_DEFINE(BOX2D_HEADER,<box2d/box2d.h>)
-        else
-            # fail this. there's no other alternative to check when we are here.
-            AC_CHECK_HEADER([Box2D/Box2D.h], [],
-                [AC_MSG_ERROR(box2d headers not found.)])
-            _BOX2D_LIB=Box2D
-            AC_DEFINE(BOX2D_HEADER,<Box2D/Box2D.h>)
-        fi
-    fi
+    _BOX2D_LIB=box2d
+     AC_DEFINE(BOX2D_HEADER,<box2d/box2d.h>)
+
     AC_CHECK_LIB([$_BOX2D_LIB], [main], [:],
         [ AC_MSG_ERROR(box2d library not found.) ], [])
     BOX2D_LIBS=-l$_BOX2D_LIB
