diff --git a/configure b/configure
index 7016e5bc02ea63c8f85f274bf3de540045b9a430..70ad8a5700d6a4254fb6a7b61304fb43f4b4e2cf 100755
--- a/configure
+++ b/configure
@@ -252,6 +252,8 @@ EOF
   exit 0
 }
 
+quotes='""'
+
 log(){
     echo "$@" >> $logfile
 }
@@ -2723,7 +2725,7 @@ if test_ldflags -Wl,--version-script,$TMPV; then
     append SHFLAGS '-Wl,--version-script,\$(SUBDIR)lib\$(NAME).ver'
     check_cc <<EOF && enable symver_asm_label
 void ff_foo(void) __asm__ ("av_foo@VERSION");
-void ff_foo(void) {}
+void ff_foo(void) { ${inline_asm+__asm__($quotes);} }
 EOF
     check_cc <<EOF && enable symver_gnu_asm
 __asm__(".symver ff_foo,av_foo@VERSION");