--- ltmain.sh.orig	Sun Jan 17 09:41:47 1999
+++ ltmain.sh	Sun Jan 17 09:44:26 1999
@@ -967,6 +967,18 @@
         versuffix="$current.$revision"
         ;;
 
+      freebsd-aout)
+        version_vars="$version_vars major versuffix"
+        major="$current"
+        versuffix="$current.$revision";
+        ;;
+
+      freebsd-elf)
+        version_vars="$version_vars major versuffix"
+        major="$current"
+        versuffix="$current";
+        ;;
+
       *)
         $echo "$modename: unknown library version type \`$version_type'" 1>&2
         echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
