]> git.sur5r.net Git - openldap/blobdiff - build/ltmain.sh
update project settings
[openldap] / build / ltmain.sh
index e9350b3fab0c4d1c26d3120d0caf7b823dcd0a5a..9dff8b17dcd24e9b3eee0b93365e342775b6d1f1 100755 (executable)
@@ -163,6 +163,13 @@ if test -n "$prevopt"; then
   exit 1
 fi
 
+case "$show $MFLAGS -$MAKEFLAGS" in
+  :\ *) : ;;
+  *\ -*s*)
+       # Be silent inside 'make -s'
+       expr " $MFLAGS -$MAKEFLAGS" : '.* -[a-zA-Z]*s' >/dev/null && show=: ;;
+esac
+
 if test -z "$show_help"; then
 
   # Infer the operation mode.
@@ -967,6 +974,23 @@ if test -z "$show_help"; then
         versuffix="$current.$revision"
         ;;
 
+      freebsd)
+        version_vars="$version_vars major versuffix"
+        major="$current"
+               
+       if [ X"$OBJFORMAT" = X ]; then
+               if [ -x /usr/bin/objformat ]; then
+                       OBJECTFORMAT=`objformat`
+               fi
+       fi
+               
+       if [ "$OBJFORMAT" = elf ]; then
+               versuffix="$current";
+       else
+               versuffix="$current.$revision";
+       fi
+        ;;
+
       *)
         $echo "$modename: unknown library version type \`$version_type'" 1>&2
         echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2