]> git.sur5r.net Git - openldap/blobdiff - build/ltmain.sh
Don't return frontend as SLAPI_BACKEND, return actual backend instead
[openldap] / build / ltmain.sh
index f2014c73ddda4f3adc00b7c87b9365963e8eca4a..d54be8d39d481e9dee7ca93b6a2f0a1dfe35faee 100755 (executable)
@@ -28,7 +28,7 @@
 # configuration script generated by Autoconf, and is distributable
 # under the same distributions terms as OpenLDAP inself.
 
-## Copyright 1998-2003 The OpenLDAP Foundation.
+## Copyright 1998-2005 The OpenLDAP Foundation.
 ## All rights reserved.
 ##
 ## Redistribution and use in source and binary forms, with or without
@@ -201,6 +201,22 @@ do
   --mode) prevopt="--mode" prev=mode ;;
   --mode=*) mode="$optarg" ;;
 
+  --tag=*)
+       case "$optarg" in
+       CC)
+               ;;
+       disable-shared)
+               build_libtool_libs=no
+               ;;
+       disable-static)
+               build_old_libs=no
+               ;;
+       *)
+               echo "unknown tag"
+               exit 1;
+       esac
+       ;;
+
   --preserve-dup-deps) duplicate_deps="yes" ;;
 
   --quiet | --silent)
@@ -1420,14 +1436,14 @@ compiler."
            continue
          fi
          name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
-         for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
-           # Search the libtool library
-           lib="$searchdir/lib${name}.la"
-           if test -f "$lib"; then
-             found=yes
-             break
-           fi
-         done
+#        for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
+#          # Search the libtool library
+#          lib="$searchdir/lib${name}.la"
+#          if test -f "$lib"; then
+#            found=yes
+#            break
+#          fi
+#        done
          if test "$found" != yes; then
            # deplib doesn't seem to be a libtool library
            if test "$linkmode,$pass" = "prog,link"; then