# This file is distributed with OpenLDAP Software, which contains a
# configuration script generated by Autoconf, and is distributable
# under the same distributions terms as OpenLDAP inself.
-# See the OpenLDAP COPYRIGHT and LICENSE file for details.
+
+## Copyright 1998-2004 The OpenLDAP Foundation.
+## All rights reserved.
+##
+## Redistribution and use in source and binary forms, with or without
+## modification, are permitted only as authorized by the OpenLDAP
+## Public License.
+##
+## A copy of this license is available in the file LICENSE in the
+## top-level directory of the distribution or, alternatively, at
+## <http://www.OpenLDAP.org/license.html>.
# Check that we have a working $echo.
if test "X$1" = X--no-reexec; then
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
else
# We cannot seem to hardcode it, guess we'll fake it.
add_dir="-L$libdir"
+ test -d "$ladir/.libs" && add_dir="-L$ladir/.libs $add_dir"
add="-l$name"
fi