--- /dev/null
+diff -Nuard avifile-0.7-0.7.38.orig/configure.in avifile-0.7-0.7.38/configure.in
+--- avifile-0.7-0.7.38.orig/configure.in 2003-07-10 13:15:54.000000000 +0200
++++ avifile-0.7-0.7.38/configure.in 2003-10-18 12:19:11.000000000 +0200
+@@ -902,10 +902,10 @@
+ FFMPEG_CFLAGS=`echo $FFMPEG_CFLAGS | sed s/-g//`
+ fi
+
+-lt_major_version=`libtool --version 2>&1 | sed 's/\(.*\ \)\([[0-9]]*\.[[0-9]]*\.[[0-9]]*\)\(\ .*\)/\2/'`
+-lt_minor_version=`echo $lt_major_version | cut -d . -f 2`
+-lt_micro_version=`echo $lt_major_version | cut -d . -f 3`
+-lt_major_version=`echo $lt_major_version | cut -d . -f 1`
++dnl lt_major_version=`libtool --version 2>&1 | sed 's/\(.*\ \)\([[0-9]]*\.[[0-9]]*\.[[0-9]]*\)\(\ .*\)/\2/'`
++dnl lt_minor_version=`echo $lt_major_version | cut -d . -f 2`
++dnl lt_micro_version=`echo $lt_major_version | cut -d . -f 3`
++dnl lt_major_version=`echo $lt_major_version | cut -d . -f 1`
+ dnl echo LT $lt_major_version $lt_minor_version $lt_micro_version
+
+ AM_CONDITIONAL(AMM_USE_QT, test x$with_qt = xyes )
+@@ -934,7 +934,8 @@
+ AM_CONDITIONAL(AMM_USE_VIDIX, test x$enable_vidix = xyes )
+ AM_CONDITIONAL(AMM_USE_LINUX, test x$enable_linux = xyes )
+ AM_CONDITIONAL(AMM_USE_FAST_BUILD, test x$enable_fast_build = xyes )
+-AM_CONDITIONAL(AMM_LINK_SHARED, test $lt_major_version -ge 1 -a $lt_minor_version -ge 4 -a $lt_micro_version -ge 3 )
++dnl AM_CONDITIONAL(AMM_LINK_SHARED, test $lt_major_version -ge 1 -a $lt_minor_version -ge 4 -a $lt_micro_version -ge 3 )
++AM_CONDITIONAL(AMM_LINK_SHARED, true)
+
+ AM_CONDITIONAL(AMM_FF_A52BIN, test x$enable_ffmpeg_a52bin = xyes)
+ AM_CONDITIONAL(AMM_FF_FAAD, test x$have_faad = xyes )