diff --git a/configure b/configure
index 6f4dfc6b77a37cc1c0a09ff10503608bd73a5489..7d3c07a7fb89b05cb99f46dc0f1e1d445a54411f 100755
--- a/configure
+++ b/configure
@@ -1246,9 +1246,7 @@ EOF
     exit 1;
 fi
 
-if disabled static; then
-    LIBNAME=""
-fi
+disabled static && LIBNAME=""
 
 if ! enabled libogg; then
     enabled libtheora && die "libogg must be enabled to enable libtheora."